GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MehakArora/Ball_Tracking: Tracks trajectory of a ball using OpenCV and Kalman Filters

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
detector.py
detector.py
 
 
kalmanfilter.py
kalmanfilter.py
 
 
run.py
run.py
 
 

Repository files navigation

Tracking a ball's trajectory using OpenCV and a Python 3.8 implementation of Kalman Filters

This project is being done for multiple applications, primarily to study the translational motion of objects.

I hope to extend it to tracking multiple objects (maybe players in a basketball video) to gain more insightful data that could be applied to improve game understanding in various sports.

Videos used for this purpose are of a person shooting a basketball, recorded with a fixed camera.

High-level Steps implemented:

  1. Gray-level Conversion and Background Subtraction
  2. Using OpenCV's findContours function to identify contours and processing them to identify circular objects.
  3. Detecting object in each frame of the video.
  4. Using Kalman Filters we can eventually move on to detecting objects after skipping certain number of frames in between. This will also be useful in tracking objects that move out of the frame of the video.

References:

  1. https://github.com/srianant/kalman_filter_multi_object_tracking
  2. http://campar.in.tum.de/Chair/KalmanFilter
  3. https://www.bzarg.com/p/how-a-kalman-filter-works-in-pictures/

About

Tracks trajectory of a ball using OpenCV and Kalman Filters

Topics

ball-trackingcomputer-visionimage-processingkalman-trackingobject-recognitionopencv-python

Resources

Readme
Activity

Stars

12 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.