Skip to content

jonathanfoster/ball-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ball Tracking

This project uses OpenCV to track ball movement. The process for tracking is as follows:

  • Convert color to HSV
  • Create a pixel mask to identify the ball using upper and lower color bounds
  • Erode and dilate the mask to reduce noise
  • Indentify contours and draw a circle around the ball

Prerequisites

Getting Started

Run the ball tracking script against the example video:

$ python ball_tracking.py --video ball_tracking_example.mp4

About

This project uses OpenCV to track ball movement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages