Badminton Analytics using CV - so far, highlight creation and automatic score updation using TrackNet and YOLO.
pip install -r requirements.txt
-
Execute the following command line statement
argument if you want the predictions to be stored elsewhere and not the default prediction directory)python3 pre_predict.py --video_file original_short.mp4 (or any other raw footage video)
(You can choose to add a --save_dir
-
Execute the following command line statement
python3 testing.py
After running the above steps, filename_score_clip.mp4 will be created at cwd.