Difference between revisions of "YOLO"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
*[[Darknet Installation]]
 
*[[Darknet Installation]]
  
*Go to the directory:
+
*Go to the directory and download the YOLO weights:
 
  cd darknet
 
  cd darknet
 
*Download the YOLO weights:
 
 
  wget https://pjreddie.com/media/files/yolov3.weights
 
  wget https://pjreddie.com/media/files/yolov3.weights
  

Revision as of 22:59, 4 January 2019

Installation

  • Go to the directory and download the YOLO weights:
cd darknet
wget https://pjreddie.com/media/files/yolov3.weights

Using YOLO

  • Using YOLO with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04
  • 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