mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-27 06:24:18 +00:00
Update Dockerfile
This commit is contained in:
parent
f73a191314
commit
f731634ba1
@ -26,7 +26,7 @@ RUN wget -nv https://github.com/tmbdev/ocropy/archive/v"$OCROPY_VERSION".tar.gz
|
|||||||
wget -nv http://www.tmbdev.net/en-default.pyrnn.gz -P models/ && \
|
wget -nv http://www.tmbdev.net/en-default.pyrnn.gz -P models/ && \
|
||||||
python2.7 setup.py install && \
|
python2.7 setup.py install && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -r v"$OCROPY_VERSION".tar.gz ocropy-"$OCROPY_VERSION"
|
rm -r ocropy-"$OCROPY_VERSION" v"$OCROPY_VERSION".tar.gz
|
||||||
|
|
||||||
# Install pyFlow
|
# Install pyFlow
|
||||||
ENV PYFLOW_VERSION 1.1.20
|
ENV PYFLOW_VERSION 1.1.20
|
||||||
@ -35,7 +35,7 @@ RUN wget -nv https://github.com/Illumina/pyflow/releases/download/v"$PYFLOW_VERS
|
|||||||
cd pyflow-"$PYFLOW_VERSION" && \
|
cd pyflow-"$PYFLOW_VERSION" && \
|
||||||
python2.7 setup.py build install && \
|
python2.7 setup.py build install && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -r pyflow-"$PYFLOW_VERSION".tar.gz pyflow-"$PYFLOW_VERSION"
|
rm -r pyflow-"$PYFLOW_VERSION" pyflow-"$PYFLOW_VERSION".tar.gz
|
||||||
|
|
||||||
# Install Tesseract OCR and Data Files
|
# Install Tesseract OCR and Data Files
|
||||||
RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /etc/apt/sources.list && \
|
RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /etc/apt/sources.list && \
|
||||||
|
Loading…
Reference in New Issue
Block a user