Konstantin Baierer
|
1dec9b8731
|
simplify if-else in run
|
4 years ago |
Clemens Neudecker
|
306acd3618
|
replace `PrintSpace` with `Border`
fix https://github.com/qurator-spk/eynollah/issues/15
|
4 years ago |
Konstantin Baierer
|
ca23b32e9b
|
split do_order_of_regions, lots of logging
|
4 years ago |
Konstantin Baierer
|
8cd4067fc5
|
cli: add negative flag variants (--no/-no)
|
4 years ago |
Konstantin Baierer
|
2929ba1ee3
|
imread: use cv2.THREAD_GRAYSCALE constant rather than 0
|
4 years ago |
Konstantin Baierer
|
3b10128c8f
|
simplify if-else logic for enhancement
|
4 years ago |
Konstantin Baierer
|
e0418773d9
|
start logging
|
4 years ago |
vahidrezanezhad
|
3905203294
|
matplotlib.pyplot removed
|
4 years ago |
vahidrezanezhad
|
306e2a0a13
|
Headers were not written correctly. Fixed
|
4 years ago |
Konstantin Baierer
|
c2e9ebb366
|
move all plotting code to EynollahPlotter
|
4 years ago |
Konstantin Baierer
|
853fd12e40
|
extract matplotlib code to method
|
4 years ago |
Konstantin Baierer
|
58c5d4dce6
|
eliminate unused "slope_first" arg to textline_contours_postprocessing
|
4 years ago |
Konstantin Baierer
|
df3e161325
|
🎨 cleanup, remove unused vars, use max over if-else
|
4 years ago |
Konstantin Baierer
|
8f0455590a
|
fix signature of calculate_width_height_by_columns
|
4 years ago |
Konstantin Baierer
|
0bd9a10525
|
continue simplifying copy/paste coordinate logic
|
4 years ago |
Konstantin Baierer
|
28d35f8e6b
|
start simplifying copy/paste coordinate logic
|
4 years ago |
Konstantin Baierer
|
8498daec26
|
Merge branch 'import-typo' into refactor-cntd
|
4 years ago |
Konstantin Baierer
|
5a46e7ed27
|
fix signature of calculate_polygon_coords
|
4 years ago |
Konstantin Baierer
|
81d7233e67
|
eynollah.py: use lxml not xml.etree
|
4 years ago |
Konstantin Baierer
|
b93c1923d0
|
clean up empty lines, fix syntax error
|
4 years ago |
Konstantin Baierer
|
7905b3b9d2
|
outfactor calculate_width_height_by_columns
|
4 years ago |
Konstantin Baierer
|
fd0ea5e0a4
|
Merge branch 'import-typo' into refactor-cntd
|
4 years ago |
Konstantin Baierer
|
90c8af9595
|
fix import {,.}utils.xml, ht @bertsky
|
4 years ago |
Konstantin Baierer
|
ae1d335010
|
🎨 remove extraneous empty lines, simplify elif to else where possible
|
4 years ago |
Konstantin Baierer
|
dfb294eb25
|
outfactor calculate_polygon_coords
|
4 years ago |
Konstantin Baierer
|
4d31a21c3e
|
keep id_indexer_l thru serialize_lines_in_region
|
4 years ago |
Konstantin Baierer
|
e11d9adfea
|
outfactor serialize_lines_in_region
|
4 years ago |
Konstantin Baierer
|
4a5c99008a
|
eynollah: define self.cont_page in __init__, extract page coord calculation
|
4 years ago |
Konstantin Baierer
|
52df6972ad
|
rename: image_{dir,filename}, {f_name,image_filename_stem}
|
4 years ago |
Konstantin Baierer
|
f5e11a1056
|
remove commented out code in eynollah.py
|
4 years ago |
Konstantin Baierer
|
19895b0194
|
rename: image_{dir,filename}, {f_name,image_filename_stem}
|
4 years ago |
Konstantin Baierer
|
2bef2d4c04
|
use pathlib to determine f_name
|
4 years ago |
vahidrezanezhad
|
f3c70861e0
|
Update eynolllah.py from local
|
4 years ago |
Konstantin Baierer
|
ff7b5ce409
|
use lxml, factor PAGE creation to utils.xml
|
4 years ago |
Konstantin Baierer
|
14d80700d4
|
remove import seaborn
|
4 years ago |
Clemens Neudecker
|
e9d132e1b8
|
upgrade to PAGE-XML 2019
(fixes https://github.com/qurator-spk/eynollah/issues/6)
|
4 years ago |
vahidrezanezhad
|
3aecf47f53
|
Update eynollah.py
|
4 years ago |
Konstantin Baierer
|
c16533dc2c
|
remove unused VERY_LARGE_NUMBER constant
|
4 years ago |
Konstantin Baierer
|
a4c748246a
|
Merge branch 'main' into refactor
|
4 years ago |
Konstantin Baierer
|
87ef313502
|
more outsourcing of utils
|
4 years ago |
Konstantin Baierer
|
fb247dafc2
|
factor more methods out of utils
|
4 years ago |
Konstantin Baierer
|
8c72f8bc03
|
split utils into contour, rotate, separate_lines
|
4 years ago |
Konstantin Baierer
|
a2341deab4
|
🎨 remove trailing spaces
|
4 years ago |
Konstantin Baierer
|
6ab7abdfcd
|
🔥 manually merge 58ecb57
|
4 years ago |
Konstantin Baierer
|
58ecb5708e
|
patch in changes from 37c0338 by @vahidrezanezhad
|
4 years ago |
Konstantin Baierer
|
145b2fcd98
|
more extraction of unused functions
|
4 years ago |
Konstantin Baierer
|
915e076774
|
more extraction of unused functions
|
4 years ago |
Konstantin Baierer
|
f8c153775b
|
more extraction of util/unused functions
|
4 years ago |
Konstantin Baierer
|
3bb516bfb5
|
more extraction of util/unused functions
|
4 years ago |
Konstantin Baierer
|
1fa123fcf8
|
return_deskew_slop: move to utils
|
4 years ago |
Konstantin Baierer
|
340b48ab4b
|
return_deskew_slop: change signature, eliminate references to self
|
4 years ago |
Konstantin Baierer
|
aa76a223df
|
more extraction of util functions
|
4 years ago |
Konstantin Baierer
|
890e2a6988
|
more extraction of util/unused functions
|
4 years ago |
Konstantin Baierer
|
8796b9daf7
|
unify find_features_of_contour{,e}s
|
4 years ago |
Konstantin Baierer
|
86c809b58f
|
more extraction of util functions
|
4 years ago |
Konstantin Baierer
|
bf209d1622
|
do not store dpi on instance
|
4 years ago |
Konstantin Baierer
|
43f5e7e4e4
|
do not store dpi on instance
|
4 years ago |
Konstantin Baierer
|
63fe7ac763
|
more extraction of util/unused functions
|
4 years ago |
Konstantin Baierer
|
3f6ea176e7
|
more extraction of util/unused functions
|
4 years ago |
Konstantin Baierer
|
cf1d9b9fd0
|
factor out more methods
|
4 years ago |
Konstantin Baierer
|
731b8ded6f
|
extract more methods, collect unused methods
|
4 years ago |
Konstantin Baierer
|
6c305de279
|
set up constants for "magic numbers"
|
4 years ago |
Konstantin Baierer
|
97bc57be35
|
Use boolean values for eynollah's flags
|
4 years ago |
Konstantin Baierer
|
3dda276a13
|
🎨 reformat cli.py with black
|
4 years ago |
Konstantin Baierer
|
ec553a2060
|
rfct: create utils and extract filter_contours_area_of_image_tables
|
4 years ago |
Konstantin Baierer
|
62e76324be
|
rfct: move CLI to dedicated module
|
4 years ago |
Konstantin Baierer
|
9d6fc72d20
|
rfct: reorganize imports some more
|
4 years ago |
Konstantin Baierer
|
a707455ec6
|
🎨 run black -l 10000 on eynollah.py
|
4 years ago |
Konstantin Baierer
|
3bfc8c20e0
|
rfct: silence keras load messages
|
4 years ago |
Konstantin Baierer
|
eff10154cf
|
rfct: remove all trailing whitespace
|
4 years ago |
Konstantin Baierer
|
9596a449fa
|
rfct: clean up and group imports
|
4 years ago |
cneud
|
59b2dcb619
|
init
|
4 years ago |