Skip to content

ampervue/docker-python27-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-python27-opencv

A Docker image running Ubuntu:trusty with Python 2.7, the latest FFMPEG (built from source), and OpenCV 3 (built from source)

To Build

docker build -t <imageName> .

To pull and run from hub.docker.com

Docker Hub: https://registry.hub.docker.com/u/dkarchmervue/python27-opencv/

Source and example: https://github.com/ampervue/docker-python27-opencv

docker pull dkarchmervue/python27-opencv
docker run -ti dkarchmervue/python27-opencv bash

Example

To demostrate how to use this image, see example/ where another Dockerfile is defined to demonstrate how to build OpenCV C++ code, and then access it via a VNC Client:

git clone https://[email protected]/ampervue/python27-opencv.git cd example docker build -t opencvtest . docker run -it --rm -p 5901:5901 -e USER=root opencvtest
bash -c "vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log"

Connect to vnc://:5901 via VNC client. On a terminal, call program with: opencvtest sample.jpg and open generated Gray_Image.jpg

About

Docker Image with Ubuntu 14, Python 2.7 and OpenCV 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages