Commit f9bc302f authored by Robert Sachunsky's avatar Robert Sachunsky
Browse files

use incremental Tesseract

parent 7a61db7b
......@@ -34,6 +34,10 @@ RUN pip install --no-binary imgaug imgaug
RUN pip install tensorflow_gpu==1.15.4
# let h5py match TF 1.15 generated models
RUN pip install h5py==2.10
# merge ocrd_tesserocr#170
RUN git -C ocrd_tesserocr fetch origin pull/170/head
RUN git -C ocrd_tesserocr reset --hard FETCH_HEAD
RUN pip3 install -e ocrd_tesserocr
# remove ocrd_segment from sub-venv
RUN rm $PREFIX/bin/ocrd-segment*
# add ocrd_segment address detection branch
......@@ -63,6 +67,11 @@ COPY ocrd_logging.conf /etc
ENV DEBIAN_FRONTEND teletype
# fix ocrd_all#240
RUN ln -s $VIRTUAL_ENV/share/tessdata/* $RESDIR/ocrd-tesserocr-recognize/
# RUN apt-get install -y libatlas3-base liblapack3 libopenblas-base
# RUN apt-get install -y libatlas-base-dev liblapack-dev libopenblas-dev
# RUN pip3 install --force-reinstall --no-binary numpy -v numpy==1.18.5
# RUN ldd /usr/lib/python3.6/site-packages/numpy/core/*.so
# ENV OMP_THREAD_LIMIT=1
WORKDIR /data
VOLUME /data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment