Skip to content

pkdogcom/opencv-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

opencv-docker

Dockerfile for OpenCV 3.2 with CUDA enabled

Prerequisites

A CUDA 8.0 capable driver is required.

Run with GUI

To enable GUI in Docker (e.g. Need to capture and display video in OpenCV), install X Server in host by

sudo apt-get install fxlrg xserver-xorg-core xserver-xorg xorg openbox

then enable local access to X server in host by

xhost +local:root

and run the docker using

docker run -it -e="DISPLAY" -e="QT_X11_NO_MITSHM=1" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" pkdogcom/opencv3.2 bash

Refer to http://wiki.ros.org/docker/Tutorials/GUI for more details to enable GUI in Docker.

About

Dockerfile for OpenCV 3.2 with CUDA enabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published