Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tprlab/vball


https://github.com/tprlab/vball

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

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.