AmitBaroi / Object-detector

A simple program that detects some common objects in images or webcam video stream.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object-detector

This is a simple program that detects objects in static images or live webcam video feed. It then highlights the bouding boxes and names of those obejcts in unique colors. For object detection the YOLOv2 model, trained on the COCO dataset was used. The COCO dataset contains 80 different object classes. The names of the object classes are available here.

object-detection

How to run the program:

  1. Download this repository by clicking the green "Clone or download" button on the top left.
  2. Wait for the Object-detector-master folder to finish downloading (extract the compressed file, if you downloaded as zip).
  3. Download the YOLOv2 model weights from this link and put the file in the Object-detector-master/yolo-coco/ directory.
  4. Open the terminal inside the Object-detector-master folder and enter the following command: python yolo.py.
  5. Select appropriate options for images or webcam feed.

ENJOY!

Note:
  • You can test the detector on your own custom images by just adding your images to the Object-detector-master/images/ directory.
  • You can also save the object detection video and specify the frame rate for the save file (FPS values of 10-30 have been tested).

About

A simple program that detects some common objects in images or webcam video stream.


Languages

Language:Python 100.0%