1.下载darknet
git clone https://github.com/pjreddie/darknet.git
2.修改make
GPU=
CUDNN=
OPENCV=
DEBUG=
3.编译
cd darknet
make
4.测试
下载yolo.weights。
./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg
视频测试。
./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights billylynn-tlr1_h720p.mov