From 0b20d641df71b7bb9d81ec950abbece4d1f7d104 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 25 Apr 2019 11:50:32 +0200
Subject: [PATCH] Update
---
Dockerfile | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 121395a..e2f2b94 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -45,15 +45,15 @@ RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /et
wget -O - https://notesalexp.org/debian/alexp_key.asc | apt-key add - && \
apt-get update && \
apt-get install -y --no-install-recommends \
- tesseract-ocr \
- tesseract-ocr-deu-best \
- tesseract-ocr-deu-frak-legacy \
- tesseract-ocr-eng-best \
- tesseract-ocr-enm-best \
- tesseract-ocr-fra-best \
- tesseract-ocr-frm-best \
- tesseract-ocr-por-best \
- tesseract-ocr-spa-best
+ tesseract-ocr && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/deu.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata/raw/master/deu_frak.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/eng.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/enm.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/fra.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/frm.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/por.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
+ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/spa.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata
COPY ocr /usr/local/bin
COPY hocrtotei /usr/local/bin