OCR-D / ocrd_tesserocr

Run tesseract with the tesserocr bindings with @OCR-D's interfaces
MIT License
38 stars 11 forks source link

Skip recognition when text exists and not `overwrite_text` #170

Closed bertsky closed 3 years ago

bertsky commented 3 years ago

This redefines the meaning of overwrite_text: If text exists for a segment, then skip it (instead of always running the recognition and just appending new results).

codecov[bot] commented 3 years ago

Codecov Report

Merging #170 (010ad73) into master (fd17386) will decrease coverage by 0.33%. The diff coverage is 9.67%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
- Coverage   31.22%   30.89%   -0.34%     
==========================================
  Files          11       11              
  Lines        1217     1230      +13     
  Branches      279      287       +8     
==========================================
  Hits          380      380              
- Misses        762      775      +13     
  Partials       75       75              
Impacted Files Coverage Δ
ocrd_tesserocr/recognize.py 30.43% <9.67%> (-0.57%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fd17386...010ad73. Read the comment docs.