Commit Graph

678 Commits (903c87aca0c585f4fd416665129dcbc238af112b)
 

Author SHA1 Message Date
Robert Sachunsky 903c87aca0 update readme (OCR-D section)
Robert Sachunsky dcf2ed5e22 run: also write out XML in single filename mode
Robert Sachunsky fe77171d45 run_single: reduce indentation
Robert Sachunsky c7dc952851 smoke-test: also test dir-in mode and overwrite
Robert Sachunsky 79003a083c CLI: ValueError instead of print+exit
Robert Sachunsky e17d34fafa factor run_single() out of run(), simplify kwargs
Robert Sachunsky 1a0a1cb00b remove session methods and redundant model loaders
Robert Sachunsky dd51f900b9 OCR-D: init Eynollah in 'setup', re-use instance for each page via non-public API
Robert Sachunsky ffeb4a343d Eynollah: remove useless 'pcgts' attr
Robert Sachunsky 9dc33db108 CI: add binarization models to cache
Robert Sachunsky 9c769d4cc5 CI: run CLI tests, too
Robert Sachunsky 250fc02606 add tests for binarization, remove dependency on deps-test
Robert Sachunsky 515b4023f6 sbb_binarize: fix missing reference
Robert Sachunsky 95a681aa8c add Continuous Deployment via Dockerhub and GHCR
Robert Sachunsky df3510750c
Github Actions CI: no more Docker clean or build
Robert Sachunsky 45e3ab9692
Github Actions: free space: all existing Docker images
Robert Sachunsky 31aeb9629d
Github Actions: free space more aggressively
Robert Sachunsky 7430b57b65 dockerfile: add smoke test
Robert Sachunsky f35f49376e run CLI test in TMPDIR, add ocrd-test
Robert Sachunsky ae066388ea docker: no need for g++, but install w/ 'EXTRAS=OCR'
Robert Sachunsky 722b5c6bf1 add make variable EXTRAS for optional dependencies
Robert Sachunsky c01609ff4e allow even more empty imports for optional dependencies
Robert Sachunsky 51e9bfd6d7 improve+extend dockerfile
Robert Sachunsky 09248d4829 improve+extend makefile
Robert Sachunsky 46618f4229 allow more empty imports for optional dependencies
Robert Sachunsky 4be89910a2 CLI: fix arg vs kwarg from merge
Robert Sachunsky 9d61acf173 simplify
Robert Sachunsky a1068ff2eb OCR-D: move sbb-binarize to ocrd-tool.json, update to v3
Robert Sachunsky c794d4d29f OCR-D: fix typo light_mode→light_version
Robert Sachunsky 4338259ca1 OCR-D: ensure page image gets replaced in result as well if not the original file
Robert Sachunsky 55969b0173 OCR-D: add docstring
Robert Sachunsky 3916474b8b OCR-D: require >=v3.1
Robert Sachunsky 6d02e90570 OCR-D: restrict max_workers=1
Robert Sachunsky efd3fa6775 allow empty imports for optional dependencies
Robert Sachunsky 238132e260 use 'image_filename' for pseudo-iteration outside 'dir_in' mode
Robert Sachunsky af4e2a4ffc do not require 'dir_out' outside 'dir_in' mode
Robert Sachunsky ea136e3ddd 'overwrite' check: only in 'dir_in' mode
Robert Sachunsky 1f4a17b60d Merge remote-tracking branch 'origin/machine_based_reading_order_integration' into v3-api
Robert Sachunsky edf924c2cb ocrd-tool: add dockerhub
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.
vahidrezanezhad c8b8529951 For the CNN-RNN OCR model, long text lines are split into two segments
vahidrezanezhad aa72ca3006 Resolved an issue in the OCR-D framework where dir_out received a None value
vahidrezanezhad a4f1f35125 Resolving test failure
kba 54040c1db4 Merge remote-tracking branch 'bertsky/machine_based_reading_order_integration_fixes' into machine_based_reading_order_integration
vahidrezanezhad 7110bd971f resolved an error for light version in the case that slope_deskew is smaller than slope_threshold
vahidrezanezhad 25116a2c79 resolved 2 errors
kba 869110f185 merge main
vahidrezanezhad 33fda2f8be changing cnn ocr model name
Robert Sachunsky 335aa273a1 simplify, wrap extremely long lines
Robert Sachunsky cfc65128b1 reduce redundancy/indentation