29 Commits

Author SHA1 Message Date
Isaac Riley
7d22db92cf added table tests for use with sonar 2022-03-22 12:54:10 +01:00
Isaac Riley
635fb84811 post-monitoring debug, especially of deskewing and skew check 2022-03-17 21:51:15 +01:00
Isaac Riley
a089fa5e42 first working version with new API 2022-03-14 21:26:49 +01:00
Isaac Riley
8b9621e798 first fully working containerization; still needs environment variables; review request data format 2022-03-08 10:01:25 +01:00
Isaac Riley
66616c64c5 fully containerize app; first full attempt and still needs testing 2022-03-03 15:02:56 +01:00
Isaac Riley
ff84734ee8 add minor edits 2022-03-02 07:43:02 +01:00
Isaac Riley
4c06206445 merge minor changes before branching 2022-02-28 08:07:08 +01:00
Isaac Riley
44d4eb5a98 format and add functions in post_processing.py missing from merge 2022-02-25 12:34:34 +01:00
Isaac Riley
fc4789101f merge hugo into main; deskew already merged 2022-02-25 11:20:40 +01:00
Isaac Riley
a09fe65ed2 minor changes to demo script 2022-02-22 16:04:11 +01:00
Isaac Riley
8ff5147ee4 change default deskew function from hough-line-based to pixel-histogram-based; use scipy.ndimage.rotation 2022-02-22 10:18:41 +01:00
Isaac Riley
59e082379c fix angle detection to make more sensitive to small angles; format with black 2022-02-21 16:52:24 +01:00
Isaac Riley
08cce36940 add deskew.py to utils, also demo 2022-02-21 14:53:09 +01:00
llocarnini
2a68e1b221 kernel size for morphology ex set bit higher, so less non-table structure are detected. Reduced the kernel size of the directional motion blurr and increased the treshold a little bit so narrow cells wont be split up.
Problem with the cell filtering for certain scanned pdfs detected.
2022-02-18 16:36:25 +01:00
llocarnini
723c6606e1 kernel size for morphology ex set bit higher, so less non-table structure are detected. Reduced the kernel size of the directional motion blurr and increased the treshold a little bit so narrow cells wont be split up.
Problem with the cell filtering for certain scanned pdfs detected.
2022-02-18 16:35:50 +01:00
llocarnini
d70781f4aa changed tolerance in adjacent1 function in postprocessing.y from 2 to 4
added function so vertical and horizontal components do not overlap the layout box of the table
2022-02-17 16:45:55 +01:00
llocarnini
07907d45dd some changes to fix some minor bugs in table_parsing.py and post_processing.py 2022-02-10 10:56:03 +01:00
llocarnini
4964c8f5a1 some changes to fix some minor bugs in table_parsing.py and post_processing.py 2022-02-10 10:22:22 +01:00
Matthias Bisping
f7d3e39692 nix dolles 2022-02-08 15:05:12 +01:00
Matthias Bisping
87cecadb44 applied black 2022-02-06 21:27:39 +01:00
Matthias Bisping
295666c28f added todo comments 2022-02-06 21:25:01 +01:00
Matthias Bisping
90b8613bf8 filtering non-tables by bounding rect check WIP 2022-02-06 21:03:40 +01:00
Matthias Bisping
36284f9a78 removed obsolete lines 2022-02-06 20:01:00 +01:00
Matthias Bisping
0fc6cf8008 fixed bug in adjaceny test 2022-02-06 20:00:38 +01:00
Matthias Bisping
106b333dca filtering for connected cells... but does not quite work yet 2022-02-06 16:44:07 +01:00
Matthias Bisping
c9b2f6bf29 Pull request #9: Refactoring
Merge in RR/vidocp from refactoring to master

Squashed commit of the following:

commit 36a62a13e51148d2420cb12930e84d78629db6b0
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:54:53 2022 +0100

    refactoring

commit e652da1fa88a048f9a5211b4e8c0b96074fb5849
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:53:17 2022 +0100

    refactoring

commit d9567da428c81f9cd7971a657281df0a90166810
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:47:18 2022 +0100

    refactoring

commit 9d30009dceec0357db6499bfaffae8ce97718ee0
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:45:53 2022 +0100

    refactoring

commit e8863d67aaaff138fb088c4e496a91b6354cc059
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:42:45 2022 +0100

    refactoring

commit 89a99d3586db4fbafa743a45bdd02eaf0c1f341f
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:39:49 2022 +0100

    refactoring

commit aa66b6865b00b0490b9e7695a6bae386e6f96723
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:31:21 2022 +0100

    refactoring

commit 98d77cb522a08821c3a13ae2cffbe7239c654762
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:27:55 2022 +0100

    refactoring

commit fed3a7e4f1b8b7ca4e14f9e495459c26490fb50b
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:26:16 2022 +0100

    refactoring

commit 504cafbd5d4bba183d9943b36c60548aae34e402
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:25:44 2022 +0100

    renaming

commit c9780a57e5a048529d36958ba678eddb11759cef
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:24:41 2022 +0100

    removed obsolete import

commit d555e86475e82024f8e1a5fc5b0ac70faa091ee1
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Sun Feb 6 14:24:04 2022 +0100

    refactored figure detection once
2022-02-06 14:55:38 +01:00
Matthias Bisping
e652da1fa8 refactoring 2022-02-06 14:53:17 +01:00
Matthias Bisping
d9567da428 refactoring 2022-02-06 14:47:18 +01:00
Matthias Bisping
9d30009dce refactoring 2022-02-06 14:45:53 +01:00