Skip to content

calabozo/opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

OpenCV Docker

This includes two docker files for creating images for x86 and ARM processors.

To build the images go into the directory where the corresponding Dockerfile is located and execute:

docker build -t opencv .

Or you can download the images from docker hub:

To execute simply run:

docker run -it -e DISPLAY=$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/video0 opencv

This image includes a small example in /root/webcamtest.py to test the webcam. You can execute with the following command:

docker run -it -e DISPLAY=$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/video0 opencv python /root/webcamtest.py

Note: To execute the webcamtest example you need to enable the display in your session. This can be done with xhost +

About

OpenCV 3.2 compiled from source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages