Steps for compiling yolo v2
ubuntu14.04 + cuda7.5 + opencv3.0 + cudnn7.0_v4
1. Download package:
$ git clone https://github.com/pjreddie/darknet
$ cd darknet
2. Edit Makefile:(with GPU)
GPU=1
OPENCV=1
cudnn=1
NVCC=/usr/local/cuda-7.5/bin/nvcc # ur path
3. Compile:
$ make -j16
4. Demo:
$ wget http://pjreddie.com/media/files/yolo.weights
$ ./darknet detect cfg/yolo.cfg yolo.weights data/horses.jpg