From 6d5305d07be195602015740daf30a019a6bc9b2d Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 10 Feb 2020 14:37:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Docker:=20Move=20textline=5Fdete?= =?UTF-8?q?ction=20model=20copy=20to=20the=20other=20OCR=20model=20copies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d881a4e..7a6f0d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \