OCR-D / ocrd_tesserocr

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

Fix broken docker image #219

Closed joschrew closed 3 weeks ago

joschrew commented 3 weeks ago

The current ocrd/tesserocr-image is broken. When I run docker run --rm ocrd/tesserocr ocrd-tesserocr-segment-region --help I get:

Traceback (most recent call last):
  File "/usr/local/bin/ocrd-tesserocr-recognize", line 5, in <module>
    from ocrd_tesserocr.cli import ocrd_tesserocr_recognize
ModuleNotFoundError: No module named 'ocrd_tesserocr'

I think when modifying the image lately the copy command was changed in the wrong way, which is fixed by this pr

bertsky commented 3 weeks ago

I forgot to include a smoke test for the built Docker images in the CD.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.33%. Comparing base (1f34996) to head (ce249ab). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #219 +/- ## ======================================= Coverage 57.33% 57.33% ======================================= Files 12 12 Lines 1390 1390 Branches 337 337 ======================================= Hits 797 797 Misses 448 448 Partials 145 145 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.