🚧 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/47pull/38/head
parent
053fc0bc34
commit
0841af5491
@ -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"]
|
@ -1 +1 @@
|
|||||||
Subproject commit 0cc78464e74fd295f00ee28a6f605ce0856d3db0
|
Subproject commit bd1628e1aefbb0766655ee3726b4b0234d20a4f1
|
Loading…
Reference in New Issue