Commit Graph

54 Commits (e11d9adfea65076e6f6f47b0f05bace9a550e03d)

Author SHA1 Message Date
Konstantin Baierer e11d9adfea outfactor serialize_lines_in_region
Konstantin Baierer 4a5c99008a eynollah: define self.cont_page in __init__, extract page coord calculation
Konstantin Baierer 52df6972ad rename: image_{dir,filename}, {f_name,image_filename_stem}
Konstantin Baierer f5e11a1056 remove commented out code in eynollah.py
Konstantin Baierer 19895b0194 rename: image_{dir,filename}, {f_name,image_filename_stem}
Konstantin Baierer 2bef2d4c04 use pathlib to determine f_name
vahidrezanezhad 85d631aadf
Update separate_lines.py from local
vahidrezanezhad a8f7776f85
Update __init__.py from local
vahidrezanezhad f3c70861e0
Update eynolllah.py from local
Konstantin Baierer ff7b5ce409 use lxml, factor PAGE creation to utils.xml
Konstantin Baierer 14d80700d4 remove import seaborn
Clemens Neudecker e9d132e1b8
upgrade to PAGE-XML 2019
(fixes https://github.com/qurator-spk/eynollah/issues/6)
vahidrezanezhad 3aecf47f53
Update eynollah.py
vahidrezanezhad 38a7154130
Missing functions from contour added
vahidrezanezhad 87a967e622
missing functions and remove self. prefix
Konstantin Baierer c16533dc2c remove unused VERY_LARGE_NUMBER constant
Konstantin Baierer a4c748246a Merge branch 'main' into refactor
Konstantin Baierer f210054eb4 Merge remote-tracking branch 'origin/main' into basic-python-tooling
Konstantin Baierer c0ae2dc7fa deduplicate code seperate_lines{,_vertical}
Konstantin Baierer 11315da683 remove type annotations in unused
Konstantin Baierer 87ef313502 more outsourcing of utils
Konstantin Baierer fb247dafc2 factor more methods out of utils
Konstantin Baierer 8c72f8bc03 split utils into contour, rotate, separate_lines
Konstantin Baierer a2341deab4 🎨 remove trailing spaces
Konstantin Baierer 6ab7abdfcd 🔥 manually merge 58ecb57
Konstantin Baierer 58ecb5708e patch in changes from 37c0338 by @vahidrezanezhad
Konstantin Baierer 145b2fcd98 more extraction of unused functions
Konstantin Baierer 915e076774 more extraction of unused functions
Konstantin Baierer f8c153775b more extraction of util/unused functions
Konstantin Baierer 3bb516bfb5 more extraction of util/unused functions
Konstantin Baierer 1fa123fcf8 return_deskew_slop: move to utils
Konstantin Baierer 340b48ab4b return_deskew_slop: change signature, eliminate references to self
Konstantin Baierer aa76a223df more extraction of util functions
Konstantin Baierer 890e2a6988 more extraction of util/unused functions
Konstantin Baierer 8796b9daf7 unify find_features_of_contour{,e}s
Konstantin Baierer 86c809b58f more extraction of util functions
Konstantin Baierer bf209d1622 do not store dpi on instance
Konstantin Baierer 43f5e7e4e4 do not store dpi on instance
Konstantin Baierer 63fe7ac763 more extraction of util/unused functions
Konstantin Baierer 3f6ea176e7 more extraction of util/unused functions
Konstantin Baierer cf1d9b9fd0 factor out more methods
Konstantin Baierer 731b8ded6f extract more methods, collect unused methods
Konstantin Baierer 6c305de279 set up constants for "magic numbers"
Konstantin Baierer 97bc57be35 Use boolean values for eynollah's flags
Konstantin Baierer 3dda276a13 🎨 reformat cli.py with black
Konstantin Baierer ec553a2060 rfct: create utils and extract filter_contours_area_of_image_tables
Konstantin Baierer 62e76324be rfct: move CLI to dedicated module
Konstantin Baierer 9d6fc72d20 rfct: reorganize imports some more
Konstantin Baierer a707455ec6 🎨 run black -l 10000 on eynollah.py
Konstantin Baierer 3bfc8c20e0 rfct: silence keras load messages