- Each frame, tracks movement and hones in on regions where movement has occured. https://www.youtube.com/watch?v=MkcUgPhOlP8
- Next, finds the contours in the regions where movement has occurred and compares the dimensions of the contour with expected dimensions of ping pong ball. Then, template matches with template of ping pong ball (simply a screenshot from the video). https://www.youtube.com/watch?v=sghglbXyjHc
- Determines coordinates of ping pong ball in video and deduces which side of the net the ball is on. Keeps track of when the side changes to determine rally length.
- Also used imutils to resize frames. https://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/
-
Notifications
You must be signed in to change notification settings - Fork 0
Python program that tracks length of rally (how many hits in a row) of a videotaped ping pong point.
License
JeffreyKozik/PingPongRallyTracker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python program that tracks length of rally (how many hits in a row) of a videotaped ping pong point.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published