An OpenCV and Python Docker image, for Raspberry Pi 3 with Raspbian OS (Debian).
10K+
This image has python 2.7 and OpenCV installation, including the modules from OpenCV contrib. It is built for Raspberry Pi 3 running Raspbian. It is based on the resin.io raspberrypi3 python image.
See the OpenCV website for details.
See here.
The tags correspond to OpenCV version.
docker run -it --rm \
mohaseeb/raspberrypi3-python-opencv:4.1.0 \
python -c "import cv2; print(cv2.__version__)"
or
docker run -it --rm \
-v `pwd`/opencv_app.py:/opencv_app.py \
mohaseeb/raspberrypi3-python-opencv:4.1.0 \
python /opencv_app.py
See more examples here
FROM mohaseeb/raspberrypi3-python-opencv:latest
RUN pip install --no-cache-dir \
python_package1 \
python_package2
COPY opencv_app.py opencv_app.py
CMD ["python", "opencv_app.py"]
docker build -t my_opencv_app .
docker run -it --rm --name my_opencv_app_run my_opencv_app
If you have a problem or question, create a github issue.
Content type
Image
Digest
Size
307.8 MB
Last updated
almost 7 years ago
docker pull mohaseeb/raspberrypi3-python-opencv