Skip to content

anshulkhattar/YOLO-Object-Dectection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YOLO-Object-Dectection

Object detection using YOLO Algorithm

STEPS TO RUN:

  1. Make sure all the needed softwares - Python 3, openCV , numpy etc are installed.
  2. Clone the repository.
    Folder content :
    a. yolo-coco -- Yolo COCO pretrained model
    b. yolo.py -- For detection in images
    c. yolo_video.py -- For detection in videos
    d. yolo_live.py -- For live detection using webcam
  3. Download pretrained YOLO model trained with COCO dataset from here.

Commands to be used to run the code(assuming default values for a few other arguments)

For detection in image:

python yolo.py -i imageName.jpeg -y yolo-coco

For detection in video:

python yolo_video.py -i videoName.mp4 -y yolo-coco

For live detection:

python yolo_video.py -y yolo-coco

Explanation of the arguments:

Required arguments

-i
Denotes the source image/video path
-y
To provide the path to Yolo COCO model

Optional arguments

-c
Minimum value to discard weak detection
Default value : 0.5
-t
Threshold value for non max suppression
Default value : 0.3

About

Object detection using YOLO Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages