TODO
The following dependencies are required:
sudo apt-get install ffmpeg
pip3 install pipreqs
./generate_requirements.sh
pip install -r requirements.txt
Remove mplcursors from the requirements.txt file
Also remove Pillow==9.0.1, then:
pip install mplcursors
pip install -r requirements.txt
An example video is included in the repository, this can be inspected with:
./configure.sh video/London.mkv output/roi.txt output/roi.txt
./setup.sh video/London.mkv output/roi.txt output/roi.mkv 10
./train.sh 10 1 output/highlights
./setup.sh video/London.mkv
./train.sh 10 1 output/highlights