💩 Workaround problems with recent OCR-D API vs ocrd_tesserocr

master
Gerber, Mike 2 years ago
parent c4453e7bf3
commit acbe0efce1

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

Loading…
Cancel
Save