Skip to content

Python-OpenCV code for tracking multiple colored balls

Notifications You must be signed in to change notification settings

muhabdulhaq/ball-tracking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

COLORED BALL TRACKING USING OPENCV

Python-OpenCV code for tracking multiple colored balls

Working

The file trackballs.py tracks two colored balls(red and green) in the given HSV range and displays the traces on screen.

Usage:

Run normally if reading from webcam: python trackballs.py

Provide video name as argument when using an existing video: python trackballs.py --video sample.mkv

Limitations to work on:

Tracks only the two colors within the defined range. clearing excessive noise when using video source.

About

Python-OpenCV code for tracking multiple colored balls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%