Commit graph

206 commits

Author SHA1 Message Date
Konstantin Baierer
e97cc82417 typo in setup.py 2021-02-05 13:36:13 +01:00
Konstantin Baierer
da563519ec require setuptools >= 50 2021-02-05 13:34:17 +01:00
Konstantin Baierer
f043eea273 setup.py: install also .utils 2021-02-05 13:26:14 +01:00
Konstantin Baierer
1dec9b8731 simplify if-else in run 2021-02-05 12:30:00 +01:00
Konstantin Baierer
916e0a1870 restrict keras version to < 2.4 2021-02-05 10:23:24 +01:00
Clemens Neudecker
306acd3618
replace PrintSpace with Border
fix https://github.com/qurator-spk/eynollah/issues/15
2021-02-04 23:48:46 +01:00
Konstantin Baierer
70d0b985a9 cli: add a --log-level option 2021-02-04 19:59:28 +01:00
Konstantin Baierer
ca23b32e9b split do_order_of_regions, lots of logging 2021-02-04 19:55:54 +01:00
Konstantin Baierer
8cd4067fc5 cli: add negative flag variants (--no/-no) 2021-02-04 18:46:03 +01:00
Konstantin Baierer
2929ba1ee3 imread: use cv2.THREAD_GRAYSCALE constant rather than 0 2021-02-04 18:33:06 +01:00
Konstantin Baierer
3b10128c8f simplify if-else logic for enhancement 2021-02-04 18:28:27 +01:00
Konstantin Baierer
e0418773d9 start logging 2021-02-04 17:39:00 +01:00
Konstantin Baierer
ef1e32ee97 restrict keras version to < 2.4 2021-02-04 15:37:36 +01:00
Konstantin Baierer
6bb32c0bfd ci: install test dependencies 2021-02-04 15:27:20 +01:00
Konstantin Baierer
4e1956df5e do an actual test run 2021-02-04 15:21:14 +01:00
vahidrezanezhad
3905203294
matplotlib.pyplot removed 2021-02-03 14:51:12 +01:00
vahidrezanezhad
306e2a0a13
Headers were not written correctly. Fixed 2021-02-03 14:49:46 +01:00
Konstantin Baierer
c2e9ebb366 move all plotting code to EynollahPlotter 2021-02-02 16:00:33 +01:00
Konstantin Baierer
853fd12e40 extract matplotlib code to method 2021-02-02 14:34:25 +01:00
Konstantin Baierer
4a903d2ec3 utils.find_num_col: clean up and simplify if-else 2021-02-02 14:33:36 +01:00
Konstantin Baierer
58c5d4dce6 eliminate unused "slope_first" arg to textline_contours_postprocessing 2021-02-02 14:12:03 +01:00
Konstantin Baierer
df3e161325 🎨 cleanup, remove unused vars, use max over if-else 2021-02-01 14:03:02 +01:00
Konstantin Baierer
8f0455590a fix signature of calculate_width_height_by_columns 2021-02-01 12:55:54 +01:00
Konstantin Baierer
0bd9a10525 continue simplifying copy/paste coordinate logic 2021-02-01 12:54:10 +01:00
Konstantin Baierer
28d35f8e6b start simplifying copy/paste coordinate logic 2021-02-01 12:07:50 +01:00
Konstantin Baierer
c7d509bb2c
Merge pull request #12 from qurator-spk/import-typo
fix import {,.}utils.xml, ht @bertsky
2021-02-01 12:04:13 +01:00
Konstantin Baierer
8498daec26 Merge branch 'import-typo' into refactor-cntd 2021-02-01 11:28:06 +01:00
Konstantin Baierer
5a46e7ed27 fix signature of calculate_polygon_coords 2021-02-01 11:27:33 +01:00
Konstantin Baierer
f214a39cba utils.separate_lines: fix import 2021-01-30 15:01:01 +01:00
Konstantin Baierer
81d7233e67 eynollah.py: use lxml not xml.etree 2021-01-30 14:57:43 +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
Clemens Neudecker
3d808067fe
Update README.md (#9)
* Update README.md

* add dla example image

* Update README.md

* Update README.md
2020-12-16 15:52:37 +01:00
Konstantin Baierer
0d47f28655 Merge branch 'lxml' into main 2020-12-16 12:51:29 +01:00
Konstantin Baierer
044ff0c5a2 Merge branch 'refactor' into main 2020-12-16 12:51:20 +01:00
Konstantin Baierer
359eea502d Merge branch 'refactor' of https://github.com/qurator-spk/eynollah into refactor
# Conflicts:
#	sbb_newspapers_org_image/eynollah.py
2020-12-16 10:53:38 +01:00