mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
🚧 Add preliminary support for ocrd_calamari's Calamari 1 version
This commit is contained in:
parent
f2ed0b5cbf
commit
b6bbc7ca3a
3 changed files with 34 additions and 2 deletions
26
Dockerfile-ocrd_calamari-feat-update-calamari1
Normal file
26
Dockerfile-ocrd_calamari-feat-update-calamari1
Normal file
|
@ -0,0 +1,26 @@
|
|||
FROM my_ocrd_workflow-core
|
||||
|
||||
|
||||
# XXX https://github.com/OCR-D/core/issues/642
|
||||
#ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
|
||||
ARG PIP_INSTALL="pip3 install --no-cache-dir"
|
||||
|
||||
|
||||
# Build pip installable stuff
|
||||
RUN ${PIP_INSTALL} \
|
||||
https://github.com/OCR-D/ocrd_calamari/archive/feat/update-calamari1.zip
|
||||
|
||||
|
||||
# Copy OCR models
|
||||
RUN mkdir -p /var/lib/calamari-models/GT4HistOCR
|
||||
COPY data/calamari-models/GT4HistOCR/2019-12-11T11_10+0100 /var/lib/calamari-models/GT4HistOCR/2019-12-11T11_10+0100
|
||||
|
||||
|
||||
|
||||
# Check pip dependencies
|
||||
# XXX https://github.com/OCR-D/core/issues/642
|
||||
#RUN pip3 check
|
||||
|
||||
|
||||
# Default command
|
||||
CMD ["ocrd-calamari-recognize"]
|
Loading…
Add table
Add a link
Reference in a new issue