mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🧹 Docker: Move textline_detection model copy to the other OCR model copies
This commit is contained in:
parent
041cee707e
commit
6d5305d07b
1 changed files with 1 additions and 3 deletions
|
@ -67,13 +67,11 @@ RUN mkdir -p /var/lib/calamari-models
|
|||
COPY data/calamari-models/GT4HistOCR /var/lib/calamari-models/GT4HistOCR
|
||||
RUN mkdir -p $TESSDATA_PREFIX
|
||||
COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_PREFIX/
|
||||
COPY data/textline_detection /var/lib/textline_detection
|
||||
|
||||
RUN tesseract --list-langs
|
||||
|
||||
|
||||
COPY data/textline_detection /var/lib/textline_detection
|
||||
|
||||
|
||||
COPY requirements.txt /tmp/
|
||||
RUN pip3 install --no-cache-dir --upgrade pip && \
|
||||
pip3 install --no-cache-dir -r /tmp/requirements.txt && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue