🎨 Rename boxed-* to my_ocrd_workflow-*

This commit is contained in:
Gerber, Mike 2020-08-14 17:52:57 +02:00
parent a820d72526
commit 73ffa01d12
8 changed files with 17 additions and 17 deletions

24
Dockerfile-ocrd_calamari Normal file
View file

@ -0,0 +1,24 @@
FROM my_ocrd_workflow-core
# Build pip installable stuff
RUN pip3 install --no-cache-dir \
# Resolve conflicts early:
'tensorflow-gpu == 1.15.*' \
'calamari-ocr == 0.3.5' \
# Now the real stuff:
'ocrd_calamari >= 0.0.7'
# Copy OCR models
RUN mkdir -p /var/lib/calamari-models
COPY data/calamari-models/GT4HistOCR /var/lib/calamari-models/GT4HistOCR
# Check pip dependencies
RUN pip3 check
# Default command
CMD ["ocrd-calamari-recognize"]