A YOLO inspired key-points detection model to detect corners of goals.
- torch==1.3.1
- torchvision==0.4.2
- opencv-python==4.1.2.30
- albumentations==0.4.3
- numba==0.46.0
clone and install the requirements
git clone https://github.com/UnderExpectations/YOLOK_for_goals.git
cd YOLOK_for_goals
pip3 install -r requirements.txt
first download trained model from here and use the config file with the model
to run an image
python3 predict.py path/to/image
to run video
python3 video_demo.py path/to/video
the output will be a video named output.avi in the same directory
- download goals dataset from here
- edit the dataset path in config.py
- run
python3 train.py