Skip to content

Commit

Permalink
Fix tesseract build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Nov 15, 2019
1 parent 438e68d commit 337f50a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/ingest-file/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ RUN apt-get -qq -y update \
RUN apt-get -qq -y update \
&& apt-get -q -y install build-essential locales ca-certificates \
# python deps (mostly to install their dependencies)
python3-pip python3-dev python3-pil python3-tesserocr \
python3-pip python3-dev python3-pil \
# tesseract
tesseract-ocr libtesseract-dev libleptonica-dev pkg-config\
# libraries
libxslt1-dev libpq-dev libldap2-dev libsasl2-dev \
zlib1g-dev libicu-dev libxml2-dev \
Expand Down
2 changes: 2 additions & 0 deletions services/ingest-file/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ grpcio==1.24.3
google-cloud-vision==0.39.0
google-cloud-storage==1.21.0

tesserocr==2.4.1

# Development
nose==1.3.7
click==7.0
Expand Down

0 comments on commit 337f50a

Please sign in to comment.