Skip to content

This project is a real-time object detection, tracking, counting and performance analysis system using Ultralytics' large YOLO model. It works with a customized component that manually visualizes the bounding box, score and ID information for each detected object. This provides immediate feedback on the tracked objects.

Notifications You must be signed in to change notification settings

hocuf/Object-Detection-Tracking-Counting--Computer-Vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Object Detection, Tracking and Counting Project

person.mp4
car.mp4

This project utilizes the Ultralytics YOLO model to perform real-time object detection and tracking, focusing on specific classes such as cars and persons. It uniquely visualizes bounding boxes, scores, and IDs on detected objects while also evaluating system performance through comprehensive metrics. The modular coding approach enhances extendibility and reusability.

Features

  • Dynamic Object Tracking: Targets specific objects based on class_id (e.g., humans or cars).
  • Visualization: Visualizes bounding boxes, scores, and IDs on detected objects in real-time.
  • Performance Analysis: Evaluates system performance using metrics like FPS and average processing time per frame.
  • Modular Design: Facilitates easy adaptation and extension through modular and reusable code components.

Demo Videos

Check out our demonstration videos showing the project's capability in tracking cars and persons. These videos are stored in the assets folder:

  • Car Tracking: assets/car.mp4
  • Person Tracking: assets/person.mp4

Note: Due to GitHub's limitations, direct video playback in the README is not supported. Please download the videos from the assets folder to view them.

Getting Started

Follow these simple steps to get a local copy up and running.

Performance Display

performance_metric

Prerequisites

  • Python 3.6 or later
  • OpenCV library
  • Ultralytics YOLO model

Installation - Useage

  • Clone the repository:
    git clone https://github.com/hocuf/Object-Detection-Tracking-Counting--Computer-Vision.git
  • To run the main script and start processing your video feed:
    python main.py
    

Videos

Source: pixabay

About

This project is a real-time object detection, tracking, counting and performance analysis system using Ultralytics' large YOLO model. It works with a customized component that manually visualizes the bounding box, score and ID information for each detected object. This provides immediate feedback on the tracked objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages