Commit Graph

641 Commits (1f4a17b60db15f047ef8b97128fa25fc940fc644)
 

Author SHA1 Message Date
Robert Sachunsky 1f4a17b60d Merge remote-tracking branch 'origin/machine_based_reading_order_integration' into v3-api 4 weeks ago
Robert Sachunsky edf924c2cb ocrd-tool: add dockerhub 4 weeks ago
vahidrezanezhad d3a4c06e7f This commit enables the export of cropped text line images along with their corresponding texts from a Page-XML file. These exported text line images and texts can be utilized for training a text line-based OCR model. 1 month ago
vahidrezanezhad c8b8529951 For the CNN-RNN OCR model, long text lines are split into two segments 1 month ago
vahidrezanezhad aa72ca3006 Resolved an issue in the OCR-D framework where dir_out received a None value 1 month ago
vahidrezanezhad a4f1f35125 Resolving test failure 2 months ago
kba 54040c1db4 Merge remote-tracking branch 'bertsky/machine_based_reading_order_integration_fixes' into machine_based_reading_order_integration 2 months ago
vahidrezanezhad 7110bd971f resolved an error for light version in the case that slope_deskew is smaller than slope_threshold 2 months ago
vahidrezanezhad 25116a2c79 resolved 2 errors 2 months ago
kba 869110f185 merge main 3 months ago
vahidrezanezhad 33fda2f8be changing cnn ocr model name 4 months ago
Robert Sachunsky 335aa273a1 simplify, wrap extremely long lines 4 months ago
Robert Sachunsky cfc65128b1 reduce redundancy/indentation 4 months ago
Robert Sachunsky 01376af905 do_order_of_regions_with_model: simplify 4 months ago
vahidrezanezhad 92bfac4b41 Provide OCR as an option to process a directory of XML files, incorporating layout and text line coordinates. 4 months ago
vahidrezanezhad fbeef79d50 adding scatter_nd inference 4 months ago
Robert Sachunsky 0ae28f7d3e switch from stdlib to loky.ProcessPoolExecutor, ensure shutdown 4 months ago
vahidrezanezhad f93c6c288d function of patch-wise inference with scatter_nd is added 4 months ago
vahidrezanezhad 0e8c561618 debugging issues 4 months ago
Robert Sachunsky e9c0d716f6 CI: install optional dependencies, too 5 months ago
Robert Sachunsky dcaf796283 change polarity of orientation angle (PAGE schema required cw=positive) 5 months ago
Robert Sachunsky b4b0890294 add option to overwrite output xml, but skip by default if file exists 5 months ago
Robert Sachunsky b9ca7a6191 log num_cols-dependent resizing 5 months ago
Robert Sachunsky 9270ea4550 annotate region angles in PAGE 5 months ago
Robert Sachunsky 3b70b11ea6 avoid deskewing patches if binary-empty 5 months ago
Robert Sachunsky 7e9ee90e6e switch from (ad-hoc) mp.Pool to (attribute) concurrent.futures.ProcessPoolExecutor 5 months ago
Robert Sachunsky 68456ea002 do_work_of_slopes_new*, do_back_rotation_and_get_cnt_back, do_work_of_contours_in_image: use mp.Pool, simplify 5 months ago
Robert Sachunsky 25e967397d exit early if no text regions found (to avoid segfault) 5 months ago
Robert Sachunsky 21efea8711 no del on function argument 5 months ago
Robert Sachunsky 5e0c1da711 simplify 5 months ago
Robert Sachunsky 54cb15056b do_image_rotation / return_deskew_slop: avoid code duplication, simplify via mp.Pool 5 months ago
Robert Sachunsky 6fe02df973 do_image_rotation: fix f93fa12 (do return results) 5 months ago
Robert Sachunsky d68017037c do_prediction: trigger GC to avoid CUDA OOM 5 months ago
Robert Sachunsky ad748d0039 do_prediction: avoid code duplication 5 months ago
Robert Sachunsky c3163caefd avoid indentation 5 months ago
Robert Sachunsky 055463d23a avoid indentation 5 months ago
Robert Sachunsky aaea2ef463 simplify 5 months ago
Robert Sachunsky 3d88b207fc run: log instead of print 5 months ago
Robert Sachunsky a520bd1f77 wrap extremely long lines 5 months ago
Robert Sachunsky cd4e426977 avoid indentation (skip_layout_and_reading_order) 5 months ago
Robert Sachunsky 5b82320707 avoid indentation 5 months ago
Robert Sachunsky 9f12fa241d log-level: only set 'eynollah' logger level 5 months ago
Robert Sachunsky 14beb46224 simplify loading models w/o dir_in mode 5 months ago
Robert Sachunsky 329fac23f6 do not reload enhancement model in dir_in mode, simplify 5 months ago
Robert Sachunsky 3b9a29bc5c simplify dir_in conditionals 5 months ago
Robert Sachunsky 7ae64f3717 RO model: do not reload when in dir_in mode 5 months ago
Robert Sachunsky f765e2603b move Torch to optional dependencies (to avoid clash with TF over CuDNN) 5 months ago
vahidrezanezhad 871d7bfc5a fixed: machine based reading order cause tuple index out of range error if number of textregion is one. 5 months ago
vahidrezanezhad 6aad006f4c filter textregions without textline 5 months ago
kba 1083d1c7fb gha: try to free disk space 5 months ago