diff --git a/Dockerfile-eynollah b/Dockerfile-eynollah index 1ce84d2..b932fc3 100644 --- a/Dockerfile-eynollah +++ b/Dockerfile-eynollah @@ -10,10 +10,6 @@ RUN ${PIP_INSTALL} \ "eynollah == ${EYNOLLAH_VERSION}" -# Copy OCR models -COPY data/eynollah /var/lib/eynollah - - # Check pip dependencies RUN pip check diff --git a/Dockerfile-ocrd_calamari b/Dockerfile-ocrd_calamari index fa38414..6181494 100644 --- a/Dockerfile-ocrd_calamari +++ b/Dockerfile-ocrd_calamari @@ -12,14 +12,6 @@ RUN ${PIP_INSTALL} \ "ocrd_calamari == $OCRD_CALAMARI_VERSION" -# 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 -# XXX experimental -#COPY data/calamari-models/GT4HistOCR/2019-12-18T17_24+0100-with-augmentation-UNTESTED /var/lib/calamari-models/GT4HistOCR/2019-12-18T17_24+0100 -#COPY data/mirror/github.com/Calamari-OCR/calamari_models/gt4histocr /var/lib/calamari-models/GT4HistOCR-chreul - - # Check pip dependencies RUN pip check diff --git a/Dockerfile-ocrd_calamari03 b/Dockerfile-ocrd_calamari03 index 43389ad..8119d2a 100644 --- a/Dockerfile-ocrd_calamari03 +++ b/Dockerfile-ocrd_calamari03 @@ -13,12 +13,6 @@ RUN ${PIP_INSTALL} \ 'ocrd_calamari == 0.0.7' -# Copy OCR models -RUN mkdir -p /var/lib/calamari-models/GT4HistOCR -COPY data/calamari-models/GT4HistOCR/2019-07-22T15_49+0200 /var/lib/calamari-models/GT4HistOCR/2019-07-22T15_49+0200 - - - # Check pip dependencies RUN pip check diff --git a/Dockerfile-ocrd_tesserocr b/Dockerfile-ocrd_tesserocr index 32b8e45..a558f33 100644 --- a/Dockerfile-ocrd_tesserocr +++ b/Dockerfile-ocrd_tesserocr @@ -17,13 +17,6 @@ RUN add-apt-repository ppa:alex-p/tesseract-ocr && \ apt-get clean && rm -rf /var/lib/apt/lists/* -# Copy OCR models -RUN mkdir -p $TESSDATA_PREFIX -ADD data/mirror/github.com/tesseract-ocr/tessdata_best/archive/${TESSDATA_BEST_VERSION}-repacked.tar.gz $TESSDATA_PREFIX/ -COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_PREFIX/ -RUN curl -sSL -O https://ub-backup.bib.uni-mannheim.de/~stweil/ocrd-train/data/Fraktur_5000000/tessdata_fast/Fraktur_50000000.502_198857.traineddata && \ - mv *.traineddata $TESSDATA_PREFIX/ - # Build pip installable stuff RUN ${PIP_INSTALL} \ "ocrd_tesserocr == ${OCRD_TESSEROCR_VERSION}" diff --git a/Dockerfile-sbb_binarization b/Dockerfile-sbb_binarization index ff298ca..e8c6496 100644 --- a/Dockerfile-sbb_binarization +++ b/Dockerfile-sbb_binarization @@ -11,10 +11,6 @@ RUN ${PIP_INSTALL} \ "sbb_binarization == $SBB_BINARIZATION_VERSION" -# Copy models -COPY data/sbb_binarization/2021-03-09 /var/lib/sbb_binarization - - # Check pip dependencies RUN pip check diff --git a/Dockerfile-sbb_textline_detector b/Dockerfile-sbb_textline_detector index d206131..d4f3b75 100644 --- a/Dockerfile-sbb_textline_detector +++ b/Dockerfile-sbb_textline_detector @@ -12,10 +12,6 @@ RUN ${PIP_INSTALL} \ https://github.com/qurator-spk/sbb_textline_detector/archive/$SBB_TEXTLINE_DETECTOR_COMMIT.tar.gz -# Copy OCR models -COPY data/textline_detection /var/lib/textline_detection - - # Check pip dependencies RUN pip check