OCR-D / ocrd_tesserocr

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

custom --list-resource handler in init, #174 #176

Closed kba closed 2 years ago

kba commented 3 years ago

With this --list-resources will respect TESSDATA_PREFIX by listing all files/folders in get_tessdata_path().

BTW we should consider a package ocrd_testing so we don't need to copy tests/base.py around.

codecov[bot] commented 3 years ago

Codecov Report

Merging #176 (0567c5b) into master (ac27465) will increase coverage by 1.01%. The diff coverage is 88.00%.

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
+ Coverage   27.89%   28.91%   +1.01%     
==========================================
  Files          12       12              
  Lines        1380     1404      +24     
  Branches      316      331      +15     
==========================================
+ Hits          385      406      +21     
- Misses        940      942       +2     
- Partials       55       56       +1     
Impacted Files Coverage Δ
ocrd_tesserocr/recognize.py 27.21% <88.00%> (+1.73%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

bertsky commented 2 years ago

CI currently fails for ocrd.log showing up as a resource candidate. This should probably be gone with an update to core or whereever we restrict resources to .traineddata.

bertsky commented 2 years ago

@kba with https://github.com/OCR-D/core/pull/800 merged, what's the status here?

kba commented 2 years ago

@kba with OCR-D/core#800 merged, what's the status here?

Should have had a release last week, will have a release this weekend.