hrithikppawar / object-detection-using-YOLO

1 stars 1 forks source link

Object Detection Using YOLO

Yolo is a Deep Learning algorithm which is used to perform object detection in images or real time videos.

In this project I created a package using which you can easily add object detection functionalities in any of your application.

As YOLO is very Dense Neural Network, it need lot of computing power to execute. Therefore I will suggest to use GPU while running these programs.

Prerequisite for this project -

Note - I did not include yolo3.weights and yolo3.cfg files in this repository. You can download those files from https://pjreddie.com/darknet/yolo/

What's in this project -

In this repository there is a folder named detection. detection.py is a main file in which the Object Detection code is written in OOPs format. There is a class Yolo which performs the task of detection.

Yolo class from this repository needs parameters like follows -

These are the parameters that need to pass to Yolo class while creating its object.

The Yolo class contains following functions -

How to use this in Project?

I created two demo projects detection-from-image and real-time-detection which will give you an idea that how can you use this project.

detection-from-image.py file will apply object detection on images.

real-time-detection.py file will detect objects using the webcam of your PC.