This is a CNN classifier to predict where the ball will go before the kicker's contact with the ball with a single image. It was hard to find high resolution images of real players. Therefore, I decided to collect and create my own dataset using FIFA 18.
- Download the custom dataset HERE
- Place the dataset in
./data/
- Download the pre-trained model HERE
- Place the
.h5
model in./model/
- Run
python inference.py
once you place images you want to test in./data/test/
For video_inference
, place your .mp4 file in ./data/test/video/
and run python video_inference.py
. Note the video must be in 1280x720 (Width x Height).
Watch a working demo here
It has more details on the project.
This was my personal project for CMPE257 (Machine Learning) @ San Jose State University in Spring 2019.