Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 2.1 KB

README.md

File metadata and controls

45 lines (38 loc) · 2.1 KB

alt text

Yolo-deeplearning

Deep Learning using YOLO to locate object

What is YOLO v2 (aka YOLO 9000)

YOLO 9000 is a high speed, real time detection algorithm that can detect on OVER 9000! (object categories)

YOLO Installation Requirement

Installing YOLO using Darkflow repo

Build the library

  • Open up cmd or anaconda prompt and: python setup.py build_ext --inplace OR pip install -e Make sure to build it INSIDE your created environment

Download weight file

  • Download the YOLOv2 608x608 weights file here (https://pjreddie.com/darknet/yolov2/)
  • NOTE: there are other weights files you can try if you like
  • Create a bin folder within the darkflow-master folder
  • Put the weights file in the bin folder

Test Run YOLO - Processing video file

  • Move a sample video into darkflow-master
  • From there, open a cmd window
  • Use the command
    python flow --model cfg/yolo.cfg --load bin/yolov2.weights --demo videofile.mp4 --gpu 1.0 --saveVideo
    videofile.mp4 is the name of your video.
    NOTE if you do not have the GPU version of tensorflow, leave off the --gpu 1.0
    --saveVideo indicates to save a name video file, which has the boxes around objects