Difference between revisions of "YOLO"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
*[[OpenCV Installation]] | *[[OpenCV Installation]] | ||
− | + | *Then, we need to install our modified version of Darknet: | |
− | * | + | *[[Darknet Installation]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | |||
== Using YOLO with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04 == | == Using YOLO with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04 == |
Revision as of 22:31, 4 January 2019
Installation
- Fist, we install OpenCV:
- OpenCV Installation
- Then, we need to install our modified version of Darknet:
- Darknet Installation
Using YOLO with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04
- Download the weights:
wget https://pjreddie.com/media/files/yolov3.weights
- Go to the directory:
cd darknet
- Run the detector (image):
./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg
- Run the detector (video):
./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights <video file>
- Run the detector (webcam):
./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights