⤴ Update ocrd_tesserocr to 0.17.0

Update ocrd_tesserocr and add a test script.

Fixes #72.
This commit is contained in:
Gerber, Mike 2023-03-23 16:09:06 +01:00
parent f58c254250
commit f02b2973f9
3 changed files with 28 additions and 4 deletions

View file

@ -3,7 +3,7 @@ FROM quratorspk/ocrd-galley-core:$GIT_COMMIT
ARG PIP_INSTALL="pip install --no-cache-dir"
ARG TESSDATA_BEST_VERSION="4.0.0"
#XXX ARG OCRD_TESSEROCR_VERSION="0.16.0"
ARG OCRD_TESSEROCR_VERSION="0.17.0"
ENV TESSDATA_PREFIX /usr/local/share/tessdata
@ -19,9 +19,7 @@ RUN add-apt-repository ppa:alex-p/tesseract-ocr && \
# Build pip installable stuff
RUN ${PIP_INSTALL} \
# "ocrd_tesserocr == ${OCRD_TESSEROCR_VERSION}"
# XXX use official release again
git+https://github.com/OCR-D/ocrd_tesserocr.git@refs/pull/191/merge
"ocrd_tesserocr == ${OCRD_TESSEROCR_VERSION}"
# Check pip dependencies
RUN pip check