Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tprlab/vball
https://github.com/tprlab/vball
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tprlab/vball
- Owner: tprlab
- License: apache-2.0
- Created: 2020-07-09T04:15:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-13T13:51:16.000Z (11 months ago)
- Last Synced: 2024-08-14T07:08:31.472Z (4 months ago)
- Language: Python
- Size: 17.2 MB
- Stars: 83
- Watchers: 10
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - tprlab/vball - (Python)
README
# Ball tracking in volleyball
This repo is for ball recognition and tracking in live volleyball game.
## Requirements
- Python3
- OpenCV
- Keras with Tensorflow## How to use
1. Get a video file with a game fragment
2. Get highest blobs:*python3 high.py *
3. Classify manually the blobs into 2 classes (b)all/(n)ot ball
4. Put the classified data into vball-net/train
5. cd vball-net
6. Python3 train.py
7. Test blobber:*python3 blobber.py
You will see and output with ball paths like that:
8. Run a player with the live ball tracking:
*python3 ball_play.py
## Links
- Used an open dataset from [some austrian league](https://www.tugraz.at/institute/icg/research/team-bischof/lrs/downloads/vb14/)
- [Story @ TowardDataScience](https://towardsdatascience.com/ball-tracking-in-volleyball-with-opencv-and-tensorflow-3d6e857bd2e7)
- [Story @ Habr(Russian)](https://habr.com/ru/post/505672/)
- [vball.io](https://vball.io) - a service I started to cut rallies and digest volleball videos based on this ball tracking algo.