Switch branches/tags
Nothing to show
Find file History
Latest commit c21afea Nov 11, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile add docker file Nov 11, 2018
README.md Update README.md Nov 11, 2018
test output.png add docker file Nov 11, 2018

README.md

Docker Image for Darknet, OpenCV 3.3, and CUDA.

Dockerfile to build a docker image contain Darknet, OPENCV, and CUDA. Both Darknet and Opencv were compiled with CUDA.

To build the Image

  1. Install nvidia docker by following the instructions here.
  2. Change directory to Dockerfile location.
  3. Build the docker image
    sudo nvidia-docker build -t yolo3-opencv-cuda .

To Test the image

  1. Run this command in terminal
    xhost +"local:docker@"
  2. Run image via this command
    sudo nvidia-docker  run  -it  --rm --env DISPLAY=unix$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix yolo3-opencv-cuda
  3. The output will be this demo

To use the image

xhost +"local:docker@"
sudo nvidia-docker  run  -it --entrypoint "/bin/bash" --env DISPLAY=$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix yolo3-opencv-cuda