Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit f00c83a

Browse files
authored
Merge pull request #20 from Marek-CSS/feature/tesseract_opencv
added tesseract and opencv
2 parents 83efccd + d689cb8 commit f00c83a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter-all-spark/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ RUN apt-get update && \
1212
libgdal-dev libproj-dev gdal-bin \
1313
dstat \
1414
r-cran-rjava \
15+
tesseract-ocr \
16+
libtesseract-dev \
1517
&& \
1618
rm -rf /var/lib/apt/lists/*
1719

1820
USER $NB_UID
19-
RUN pip install fbprophet jupyterlab-code-formatter==1.4.* autopep8==1.5.* isort==5.7.* nbdime==2.1.* jupyterlab-python-file==0.5.* && \
21+
RUN pip install fbprophet pytesseract opencv-contrib-python-headless jupyterlab-code-formatter==1.4.* autopep8==1.5.* isort==5.7.* nbdime==2.1.* jupyterlab-python-file==0.5.* && \
2022
jupyter labextension install @ryantam626/jupyterlab_code_formatter@^v1.4.4 --no-build && \
2123
jupyter lab build -y && jupyter lab clean -y && \
2224
jupyter serverextension enable --py jupyterlab_code_formatter --sys-prefix

0 commit comments

Comments
 (0)