Skip to content

Real-time Object Detection using state-of-the-art You Only Look Once (YOLO) algorithm.

Samarthvg/Object-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Object-Detection

Real-time Object Detection using state-of-the-art You Only Look Once (YOLO) algorithm.

ez2

Requirements

  1. Tesorflow/Tensorflow-gpu (Compatibility)
  2. openCV
  3. Setting up Darkflow
  4. Weights and cfg file
  • Create a weights folder in darkflow and paste the weights in there.

Processing a video using cmd.

  • Move the video into darkflow-master.
  • Open cmd from there and use the command.

python flow --model cfg/yolo.cfg --load weights/yolov2.weights --demo "video.mp4" --gpu 0.6 --saveVideo

  • Enter your video file name instead of "video.mp4"
  • Leave off --gpu 0.6 if you are not using Tensorflow-gpu.

Swap out real-time detection to process a video.

capture = cv2.VideoCapture(filename)

About

Real-time Object Detection using state-of-the-art You Only Look Once (YOLO) algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages