This commit is contained in:
Patrick Jentsch
2019-04-25 11:40:27 +02:00
parent d25204d6a9
commit efbf6f24e6
2 changed files with 20 additions and 17 deletions

View File

@ -42,18 +42,20 @@ RUN wget -nv https://github.com/Illumina/pyflow/releases/download/v"$PYFLOW_VERS
# Install Tesseract OCR and Data Files
RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /etc/apt/sources.list && \
echo "deb https://notesalexp.org/tesseract-ocr/tessdata_best/ stretch main" >> /etc/apt/sources.list && \
echo "deb https://notesalexp.org/tesseract-ocr/tessdata_legacy/ stretch main" >> /etc/apt/sources.list && \
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 \
tesseract-ocr-frk \
tesseract-ocr-eng \
tesseract-ocr-enm \
tesseract-ocr-fra \
tesseract-ocr-frm \
tesseract-ocr-por \
tesseract-ocr-spa
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
COPY ocr /usr/local/bin
COPY hocrtotei /usr/local/bin