Commit graph

62 commits

Author SHA1 Message Date
Konstantin Baierer
5a46e7ed27 fix signature of calculate_polygon_coords 2021-02-01 11:27:33 +01:00
Konstantin Baierer
b93c1923d0 clean up empty lines, fix syntax error 2021-01-29 17:44:54 +01:00
Konstantin Baierer
7905b3b9d2 outfactor calculate_width_height_by_columns 2021-01-29 17:34:18 +01:00
Konstantin Baierer
fd0ea5e0a4 Merge branch 'import-typo' into refactor-cntd 2021-01-29 17:13:02 +01:00
Konstantin Baierer
90c8af9595 fix import {,.}utils.xml, ht @bertsky 2021-01-29 16:10:15 +01:00
Konstantin Baierer
ae1d335010 🎨 remove extraneous empty lines, simplify elif to else where possible 2021-01-28 19:11:28 +01:00
Konstantin Baierer
dfb294eb25 outfactor calculate_polygon_coords 2021-01-28 18:39:45 +01:00
Konstantin Baierer
4d31a21c3e keep id_indexer_l thru serialize_lines_in_region 2021-01-28 18:39:16 +01:00
Konstantin Baierer
e11d9adfea outfactor serialize_lines_in_region 2021-01-28 17:23:43 +01:00
Konstantin Baierer
4a5c99008a eynollah: define self.cont_page in __init__, extract page coord calculation 2021-01-28 15:10:06 +01:00
Konstantin Baierer
52df6972ad rename: image_{dir,filename}, {f_name,image_filename_stem} 2021-01-27 12:52:51 +01:00
Konstantin Baierer
f5e11a1056 remove commented out code in eynollah.py 2021-01-27 12:11:26 +01:00
Konstantin Baierer
19895b0194 rename: image_{dir,filename}, {f_name,image_filename_stem} 2021-01-27 11:59:42 +01:00
Konstantin Baierer
2bef2d4c04 use pathlib to determine f_name 2021-01-27 11:51:23 +01:00
vahidrezanezhad
85d631aadf
Update separate_lines.py from local 2021-01-12 10:56:53 +01:00
vahidrezanezhad
a8f7776f85
Update __init__.py from local 2021-01-12 10:50:19 +01:00
vahidrezanezhad
f3c70861e0
Update eynolllah.py from local 2021-01-12 10:47:20 +01:00
Konstantin Baierer
ff7b5ce409 use lxml, factor PAGE creation to utils.xml 2020-12-11 13:23:56 +01:00
Konstantin Baierer
14d80700d4 remove import seaborn 2020-12-11 12:41:36 +01:00
Clemens Neudecker
e9d132e1b8
upgrade to PAGE-XML 2019
(fixes https://github.com/qurator-spk/eynollah/issues/6)
2020-12-09 22:41:55 +01:00
vahidrezanezhad
3aecf47f53
Update eynollah.py 2020-12-09 17:11:05 +01:00
vahidrezanezhad
38a7154130
Missing functions from contour added 2020-12-09 17:07:04 +01:00
vahidrezanezhad
87a967e622
missing functions and remove self. prefix 2020-12-09 17:04:27 +01:00
Konstantin Baierer
c16533dc2c remove unused VERY_LARGE_NUMBER constant 2020-12-03 18:25:42 +01:00
Konstantin Baierer
a4c748246a Merge branch 'main' into refactor 2020-12-02 17:05:53 +01:00
Konstantin Baierer
f210054eb4 Merge remote-tracking branch 'origin/main' into basic-python-tooling 2020-12-01 13:46:55 +01:00
Konstantin Baierer
c0ae2dc7fa deduplicate code seperate_lines{,_vertical} 2020-11-30 13:54:06 +01:00
Konstantin Baierer
11315da683 remove type annotations in unused 2020-11-30 13:26:00 +01:00
Konstantin Baierer
87ef313502 more outsourcing of utils 2020-11-27 14:38:59 +01:00
Konstantin Baierer
fb247dafc2 factor more methods out of utils 2020-11-27 13:16:55 +01:00
Konstantin Baierer
8c72f8bc03 split utils into contour, rotate, separate_lines 2020-11-27 12:04:28 +01:00
Konstantin Baierer
a2341deab4 🎨 remove trailing spaces 2020-11-25 19:13:47 +01:00
Konstantin Baierer
6ab7abdfcd 🔥 manually merge 58ecb57 2020-11-25 19:12:34 +01:00
Konstantin Baierer
58ecb5708e patch in changes from 37c0338 by @vahidrezanezhad 2020-11-25 17:05:26 +01:00
Konstantin Baierer
145b2fcd98 more extraction of unused functions 2020-11-25 15:32:07 +01:00
Konstantin Baierer
915e076774 more extraction of unused functions 2020-11-25 15:02:36 +01:00
Konstantin Baierer
f8c153775b more extraction of util/unused functions 2020-11-25 14:40:51 +01:00
Konstantin Baierer
3bb516bfb5 more extraction of util/unused functions 2020-11-24 19:49:44 +01:00
Konstantin Baierer
1fa123fcf8 return_deskew_slop: move to utils 2020-11-24 19:33:16 +01:00
Konstantin Baierer
340b48ab4b return_deskew_slop: change signature, eliminate references to self 2020-11-24 19:19:07 +01:00
Konstantin Baierer
aa76a223df more extraction of util functions 2020-11-24 16:08:14 +01:00
Konstantin Baierer
890e2a6988 more extraction of util/unused functions 2020-11-24 15:45:40 +01:00
Konstantin Baierer
8796b9daf7 unify find_features_of_contour{,e}s 2020-11-24 15:15:29 +01:00
Konstantin Baierer
86c809b58f more extraction of util functions 2020-11-24 15:11:25 +01:00
Konstantin Baierer
bf209d1622 do not store dpi on instance 2020-11-24 14:06:20 +01:00
Konstantin Baierer
43f5e7e4e4 do not store dpi on instance 2020-11-24 12:49:58 +01:00
Konstantin Baierer
63fe7ac763 more extraction of util/unused functions 2020-11-24 12:43:40 +01:00
Konstantin Baierer
3f6ea176e7 more extraction of util/unused functions 2020-11-23 19:43:38 +01:00
Konstantin Baierer
cf1d9b9fd0 factor out more methods 2020-11-23 19:03:42 +01:00
Konstantin Baierer
731b8ded6f extract more methods, collect unused methods 2020-11-23 14:18:15 +01:00