Skip to content

rahularepaka/ObjectDetectionYOLO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLOv3 Object Detection 📸

Object Detection using coco.names dataset , weights and configuration files of real time object detection algorithm YOLOv3

To change the weights and configurations file , you may do so by changing the file directory of the same.

Requirements 🏫

- pip install opencv-python
- pip install numpy

Usage 👥

# Paramaters which can be tuned to your requirements
confThreshold = 0.5
nmsThreshold = 0.2

# for reading all the datasets from the coco.names file into the array
with open("coco.names", 'rt') as f:
    class_names = f.read().rstrip('\n').split('\n')
    
# configration and weights file location
model_config_file = "yolo-config\\yolov3-tiny.cfg"
model_weight = "yolo-weights\\yolov3-tiny.weights"

How to Run this Program 🏃‍♂️

python run main.py

Reference 🧾

You can read more about YOLO

Contact 📞

You may reach me using

Releases

No releases published

Packages

No packages published

Languages