Skip to content

Ozy20/obj-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Object Tracking with Euclidean Distance (OpenCV)

This project demonstrates object tracking in a video using OpenCV and a simple Euclidean distance tracker.
It detects moving objects with background subtraction, assigns each object an ID, and tracks their movement frame by frame.


๐Ÿ“Œ Features

  • Detects moving objects in a video using cv2.createBackgroundSubtractorMOG2.
  • Tracks objects across frames using Euclidean distance between object centers.
  • Assigns a unique ID to each detected object.
  • Displays bounding boxes and IDs for each tracked object in the video.

๐Ÿ› ๏ธ Requirements

  • Python 3.x
  • OpenCV (cv2)
  • Math library (built-in)

Install OpenCV if you donโ€™t have it:

pip install opencv-python

About

simple object tracker program based on python3 and openCV

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages