Commit Graph

103 Commits (461d3e31cf292076258c17c62e2e289e0d1f598f)

Author SHA1 Message Date
Konstantin Baierer 461d3e31cf Merge remote-tracking branch 'origin/refactor-cntd' into ocrd-cli 4 years ago
Konstantin Baierer 48d8406fba remove unncessary try-except, formatting 4 years ago
vahidrezanezhad 881e2787ab
resolving issue with None num_col 4 years ago
Konstantin Baierer 4480302b53 write_into_page.*: use one variable name only 4 years ago
Konstantin Baierer 5f04fc7137 move the two xml serialization methods next to each other 4 years ago
Konstantin Baierer fdbcfe44a0 🎨 simplify 4 years ago
Konstantin Baierer bfb6e77db1 factor out reading order code, simplify 4 years ago
Konstantin Baierer 6035740b52 num_col should default to 0 not None 4 years ago
Konstantin Baierer 7b61b64665 🎨 remove dead code, spacing 4 years ago
Konstantin Baierer bce983f3d4 keep images in memory and copy 4 years ago
Konstantin Baierer 8c603ae16d check_dpi: use OcrdExif instead identify callout 4 years ago
vahidrezanezhad 0a92543245
functionality checked 4 years ago
Konstantin Baierer ef3ccd0d5f fix special case where num_col_classifier was unbound 4 years ago
Konstantin Baierer 5af0c5df9e Merge branch 'refactor-cntd' of https://github.com/qurator-spk/eynollah into refactor-cntd 4 years ago
Konstantin Baierer 420a9ca252 more outfactoring run code to methods 4 years ago
Konstantin Baierer b06acbf754 untangle run even further 4 years ago
Konstantin Baierer 8f82e81551 remove unnecessary patches assignment, simplify if-else 4 years ago
Konstantin Baierer 9dca742694 further untangle run 4 years ago
Konstantin Baierer bf6eaafbc7 untangle run 4 years ago
Konstantin Baierer a14462db22 remove else-pass, reset t1 after measuring 4 years ago
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 70d0b985a9 cli: add a --log-level option 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 4a903d2ec3 utils.find_num_col: clean up and simplify if-else 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 f214a39cba utils.separate_lines: fix import 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