🚧 Prepare supporting ocrd-sbb-binarize

ocrd-sbb-binarize seems to work but its input does not work with
ocrd-sbb-textline-detector:

https://github.com/qurator-spk/sbb_binarization/issues/8
https://github.com/qurator-spk/sbb_textline_detection/issues/47
This commit is contained in:
Gerber, Mike 2020-10-22 21:08:13 +02:00
parent 053fc0bc34
commit 0841af5491
6 changed files with 57 additions and 6 deletions

View file

@ -0,0 +1,22 @@
FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ARG SBB_BINARIZATION_COMMIT="3e60a62"
# Build pip installable stuff
RUN ${PIP_INSTALL} \
# Now the real stuff:
https://github.com/qurator-spk/sbb_binarization/archive/$SBB_BINARIZATION_COMMIT.tar.gz
# Copy models
COPY data/sbb_binarization /var/lib/sbb_binarization
# Check pip dependencies
RUN pip3 check
# Default command
CMD ["ocrd-sbb-binarize"]