Docker images with OpenCV and Python bindings
- OpenCV + contrib
- Python 3.9
- Numpy
- Tesseract
- Eigen
- OpenBlas
- Intel TBB
- libjpeg, libpng, libtiff, libwebp and openjpeg
Available on
$ docker run -it dkimg/opencv python3
>>> import cv2
Config build options
-D OPENCV_ENABLE_NONFREE=ON
-D WITH_JPEG=ON
-D WITH_PNG=ON
-D WITH_TIFF=ON
-D WITH_WEBP=ON
-D WITH_JASPER=ON
-D WITH_EIGEN=ON
-D WITH_TBB=ON
-D WITH_LAPACK=ON
-D WITH_PROTOBUF=ON
-D WITH_V4L=OFF
-D WITH_GSTREAMER=OFF
-D WITH_GTK=OFF
-D WITH_QT=OFF
-D WITH_CUDA=OFF
-D WITH_VTK=OFF
-D WITH_OPENEXR=OFF
-D WITH_FFMPEG=OFF
-D WITH_OPENCL=OFF
-D WITH_OPENNI=OFF
-D WITH_XINE=OFF
-D WITH_GDAL=OFF
-D WITH_IPP=OFF
-D BUILD_OPENCV_PYTHON3=ON
-D BUILD_OPENCV_PYTHON2=OFF
-D BUILD_OPENCV_JAVA=OFF
-D BUILD_TESTS=OFF
-D BUILD_IPP_IW=OFF
-D BUILD_PERF_TESTS=OFF
-D BUILD_EXAMPLES=OFF
-D BUILD_ANDROID_EXAMPLES=OFF
-D BUILD_DOCS=OFF
-D BUILD_ITT=OFF
-D INSTALL_PYTHON_EXAMPLES=OFF
-D INSTALL_C_EXAMPLES=OFF
-D INSTALL_TESTS=OFF
To build locally
$ make build CV=4.5.5 DIST=fedora