mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🚧 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:
parent
053fc0bc34
commit
0841af5491
6 changed files with 57 additions and 6 deletions
22
Dockerfile-sbb_binarization
Normal file
22
Dockerfile-sbb_binarization
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue