Commit graph

175 commits

Author SHA1 Message Date
Konstantin Baierer
ccd83e94b1 typo: s,cprrsp,corresp,g 2021-03-01 17:46:48 +01:00
Konstantin Baierer
1f95a69bec typo: s,rotyate,rotate,g 2021-03-01 17:45:38 +01:00
Konstantin Baierer
375e9771e2 typo: s,spliter,splitter,g 2021-03-01 17:44:51 +01:00
Konstantin Baierer
e332da34f6 typo: s,teil,tile,g 2021-03-01 17:43:56 +01:00
Konstantin Baierer
b1b0e97945 typo: s,seperate,separate,g 2021-03-01 17:43:16 +01:00
cneud
9ca00b8a07 readme 2021-03-01 14:00:36 +01:00
vahidrezanezhad
932c3fb479
Merge pull request #19 from qurator-spk/refactor-cntd
Refactor cntd
2021-03-01 07:40:09 -05:00
Konstantin Baierer
58c4403e13 rename package to qurator.eynollah 2021-02-27 17:38:55 +01:00
vahid
a96d23712d use all cpu nodes 2021-02-27 10:15:58 -05:00
vahid
3bda2f128e all options checked, failures are fixed and all tests passed 2021-02-27 09:59:10 -05:00
vahid
c25fcd8137 check pc 2021-02-27 09:01:31 -05:00
Konstantin Baierer
1b92374a2a Merge remote-tracking branch 'origin/main' into refactor-cntd 2021-02-24 18:16:53 +01:00
Konstantin Baierer
3d77b62f89 remove unused 2021-02-24 18:13:17 +01:00
Konstantin Baierer
c730e2eefd move all XML handling to EynollahXmlWriter 2021-02-24 18:13:01 +01:00
Konstantin Baierer
22184024fa cli: fail early with inconsistent plotting options 2021-02-24 16:36:03 +01:00
Konstantin Baierer
045ab86fd5 eynollah.run returns the pcgts now; 2021-02-24 16:29:40 +01:00
Konstantin Baierer
4c81fa2e46 simplify constructs, remove print-debugging stmts 2021-02-24 16:05:30 +01:00
Konstantin Baierer
0eda4a174a move xml_reading_order to utils.xml 2021-02-24 15:53:31 +01:00
Konstantin Baierer
c80fddb3b8 remove unused delete_seperator_around 2021-02-24 15:23:55 +01:00
Konstantin Baierer
133982380f implent_law_head_main_not_parallel is unused 2021-02-24 15:17:02 +01:00
Konstantin Baierer
d7d388671d return_hor_spliter_by_index is unused 2021-02-24 15:15:37 +01:00
Konstantin Baierer
2952a1ca13 remove more dead code 2021-02-24 15:06:28 +01:00
Konstantin Baierer
6398579a72 simplify calculate_page_coords 2021-02-24 14:42:15 +01:00
Konstantin Baierer
ddeb6938e5 self.kernel -> constant KERNEL 2021-02-24 13:55:12 +01:00
Konstantin Baierer
254dd35666 MAX_SLOPE constant 2021-02-24 13:48:20 +01:00
Konstantin Baierer
605f583d21 log exceptions as errors 2021-02-24 13:32:26 +01:00
Konstantin Baierer
9dcb696e99 use enumerate instead of manual counter 2021-02-24 13:21:14 +01:00
Konstantin Baierer
697ff99bba use constants for "magic numbers" 2021-02-24 13:03:42 +01:00
Konstantin Baierer
60208a46f0 remove unnecessary del/gc.collect, eliminate unnecessary constructs 2021-02-24 12:53:49 +01:00
Konstantin Baierer
cb6bc17ce1 eliminate more unused vars 2021-02-24 12:33:37 +01:00
Konstantin Baierer
6637eff3e7 eliminate curved_line argument 2021-02-24 12:12:02 +01:00
Konstantin Baierer
4e97ca0fae split generation of XML from writing to disk 2021-02-24 12:09:03 +01:00
Konstantin Baierer
cbbd7fc4f0 make line serialization uniform 2021-02-23 18:03:05 +01:00
Konstantin Baierer
718efabf89 🎨 move xml methods together 2021-02-23 17:28:23 +01:00
Konstantin Baierer
b44d298d16 📝 readme: compare full vs no-full layout 2021-02-23 17:20:35 +01:00
Konstantin Baierer
a65caa4d25 🎨 unncesssary if True 2021-02-23 17:11:32 +01:00
Konstantin Baierer
68d5c0d523 remove unused return_hor_spliter_by_index_for_without_verticals 2021-02-23 16:47:59 +01:00
Konstantin Baierer
35838069fc remove unused filter_contours_area_of_image_interiors 2021-02-23 16:42:53 +01:00
Konstantin Baierer
e2ae6dbd44 remove unused find_features_of_contours 2021-02-23 16:39:33 +01:00
Konstantin Baierer
823592126e remove unused return_bonding_box_of_contours 2021-02-23 16:38:17 +01:00
Konstantin Baierer
9454a921b1 remove unused return_contours_of_interested_region_and_bounding_box 2021-02-23 16:37:13 +01:00
Konstantin Baierer
732a27fe77 remove unused variables 2021-02-23 16:36:11 +01:00
Konstantin Baierer
f96a9c52d1 uniform coords calculation 2021-02-23 16:10:09 +01:00
Konstantin Baierer
6d476230ce remove unnecessary (hope so) try-except 2021-02-23 16:00:51 +01:00
Konstantin Baierer
23e97a5e0b factor out add_textequiv 2021-02-23 15:45:38 +01:00
Konstantin Baierer
b3dd6685e7 sys.exit not necessary 2021-02-23 15:39:42 +01:00
Konstantin Baierer
461d3e31cf Merge remote-tracking branch 'origin/refactor-cntd' into ocrd-cli 2021-02-23 15:23:43 +01:00
Konstantin Baierer
48d8406fba remove unncessary try-except, formatting 2021-02-23 15:10:01 +01:00
vahidrezanezhad
881e2787ab
resolving issue with None num_col 2021-02-23 15:07:13 +01:00
Konstantin Baierer
4480302b53 write_into_page.*: use one variable name only 2021-02-23 14:07:33 +01:00