65 Commits

Author SHA1 Message Date
Matthias Bisping
fd57fe99b7 Tweak content selecton logic 2023-01-18 16:56:25 +01:00
Matthias Bisping
5e51fd1d10 Tweak content selecton logic 2023-01-18 16:17:20 +01:00
Matthias Bisping
9c7c5e315f Select cell content conditioned on cell size class 2023-01-18 15:54:24 +01:00
Matthias Bisping
3da613af94 [WIP] recursive random table: Add recursive construction 2023-01-18 15:04:04 +01:00
Matthias Bisping
30e6350881 [WIP] recursive random table
Add padding between cell content and cell border
2023-01-18 14:50:15 +01:00
Matthias Bisping
384f0e5f28 [WIP] recursive random table: tweak cell broder and fill logic 2023-01-18 13:42:38 +01:00
Matthias Bisping
4d181448b6 [WIP] recursive random table: basic version working 2023-01-18 13:30:19 +01:00
Matthias Bisping
a5cd3d6ec9 [WIP] recursive random table 2023-01-18 13:11:15 +01:00
Matthias Bisping
893622a73e [WIP] recursive random table 2023-01-18 11:45:19 +01:00
Matthias Bisping
4d11a157e5 Cache font selection 2023-01-18 09:39:04 +01:00
Matthias Bisping
4c10d521e2 [WIP] random font selection 2023-01-17 14:58:54 +01:00
Matthias Bisping
0f6cbec1d5 Refactoring 2023-01-17 13:43:12 +01:00
Matthias Bisping
54484d9ad0 [WIP] random table segments: Table via tabulate and text -> image 2023-01-17 13:23:53 +01:00
Matthias Bisping
ca190721d6 [WIP] random table segments & refactoring 2023-01-17 13:17:33 +01:00
Matthias Bisping
5611314ff3 [WIP] random table segments 2023-01-17 11:42:11 +01:00
Matthias Bisping
4ecfe16df5 Constrain possible random layouts 2023-01-17 11:12:25 +01:00
Matthias Bisping
38c0614396 Assign box type by box aspect ratio 2023-01-17 10:59:53 +01:00
Matthias Bisping
64565f9cb0 Complete first iteraton of random plot generation 2023-01-17 10:55:09 +01:00
Matthias Bisping
232c6bed4b Refactoring: Rename 2023-01-17 09:54:50 +01:00
Matthias Bisping
8d34873d1c [WIP] random plot segments 2023-01-16 19:33:46 +01:00
Matthias Bisping
78a951a319 [WIP] random plot segments 2023-01-16 18:42:34 +01:00
Matthias Bisping
8d57d2043d [WIP] random text segments 2023-01-16 18:18:22 +01:00
Matthias Bisping
41fdda4955 [WIP] random text segments 2023-01-16 17:55:20 +01:00
Matthias Bisping
4dfdd579a2 [WIP] random text segments 2023-01-16 17:41:30 +01:00
Matthias Bisping
e831ab1382 [WIP] random text segments 2023-01-16 17:17:50 +01:00
Matthias Bisping
6fead2d9b9 [WIP] random text segments 2023-01-16 16:34:18 +01:00
Matthias Bisping
1012988475 Remove obsolete code 2023-01-16 13:35:59 +01:00
Matthias Bisping
5bc1550eae Complete page partitioning into empty boxes
Completed logic for partitioning page into content boxes. Next step is
to fill content boxes with random content.
2023-01-16 13:32:38 +01:00
Matthias Bisping
29741fc5da [WIP] random content box generation 2023-01-16 12:07:56 +01:00
Matthias Bisping
4772e3037c Remove obsolete code 2023-01-16 11:16:27 +01:00
Matthias Bisping
dd6ab94aa2 [WIP] Replace texture generation with loadig textures from files 2023-01-16 10:59:13 +01:00
Matthias Bisping
eaca8725de Balance colors of base textures
Make base textures more similar in color balance
2023-01-16 10:19:05 +01:00
Matthias Bisping
4af202f098 Add base paper textures 2023-01-16 10:09:34 +01:00
Matthias Bisping
4578413748 Improve page texture logic 2023-01-11 14:05:39 +01:00
Matthias Bisping
d5d67cb064 Fix image format (RGB/A, float/uint8, [0, 1/255]) issues 2023-01-11 12:17:07 +01:00
Matthias Bisping
d8542762e6 [WIP] Add augmentation pipeline to page generation 2023-01-10 17:13:39 +01:00
Matthias Bisping
caef416077 Tweak page generation 2023-01-10 16:37:35 +01:00
Matthias Bisping
a8708ffc56 [WIP] page generation for tests 2023-01-10 16:31:02 +01:00
Matthias Bisping
619f67f1fd Refactoring
Various
2023-01-09 16:51:58 +01:00
Matthias Bisping
94e9210faf Refactoring
Various
2023-01-09 11:21:43 +01:00
Matthias Bisping
dfd87cb4b0 Refactoring 2023-01-04 18:29:52 +01:00
Matthias Bisping
cd5457840b Refactoring
Various
2023-01-04 18:13:54 +01:00
Matthias Bisping
eee2f0e256 Refactoring
Rename module
2023-01-04 17:40:43 +01:00
Matthias Bisping
9d2f166fbf Refactoring
Various
2023-01-04 17:36:06 +01:00
Matthias Bisping
97fb4b645d Refactoring
Remove more code that is not adhering to separation of concerns from Rectangle class
2023-01-04 16:49:44 +01:00
Matthias Bisping
04f100386d Add dvc-data-pull fixture
This allows the tests that depend on input files to run without the need
to manuallt dvc-pull them beforehand.
2023-01-03 10:01:03 +01:00
Julius Unverfehrt
d14960da08 Pull request #35: RED-5527 update pdf2img with skip_pages_without_images flag, add ENV for this setting for table parsing
Merge in RR/cv-analysis from RED-5527 to master

Squashed commit of the following:

commit 1748095ce45f4a76e9d3d8547d9fc70f7deae2fb
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Tue Nov 8 15:15:16 2022 +0100

    RED-5527 update pdf2img with skip_pages_without_images flag, add ENV for this setting for table parsing
2022-11-08 15:16:53 +01:00
Julius Unverfehrt
b26253120c Pull request #33: Fix response coords
Merge in RR/cv-analysis from fix-response-coords to master

Squashed commit of the following:

commit 0c6178a564b48abc43f129f81d93091a277fc64a
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Oct 6 14:53:02 2022 +0200

    update tests

commit 46ad8737593df976555e4f60db8dc7947784d46d
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Oct 6 14:40:25 2022 +0200

    rename script

commit f541311d0aae22d5b76ba3c2580aada662812557
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Oct 6 14:40:11 2022 +0200

    response now returns natural page index, update pdf2image to correct response coordinates
2022-10-06 14:56:28 +02:00
Julius Unverfehrt
309ae0d57b Pull request #27: Image service compat
Merge in RR/cv-analysis from image-service-compat to master

Squashed commit of the following:

commit 397d12a96a6b78de762f7b3a80a72427f5f51e97
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Tue Aug 16 16:14:40 2022 +0200

    update pdf2image, adjust response format for table-parsing & figure-detection

commit f2061bda8d25d64de974e97f36148dea29af50d9
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Mon Aug 15 08:56:39 2022 +0200

    add script to save figure detection data that can be used for image-service pipeline script
2022-08-16 17:04:05 +02:00
Julius Unverfehrt
20267f2715 remove nested list for figure detection response 2022-08-12 12:34:21 +02:00