Menu

Tree [19bde1] master /
 History

HTTPS access


File Date Author Commit
 doc 2024-06-03 tamir tamir [19bde1] Initial commit.
 video 2024-06-03 tamir tamir [19bde1] Initial commit.
 .gitignore 2024-06-03 tamir tamir [19bde1] Initial commit.
 README.md 2024-06-03 tamir tamir [19bde1] Initial commit.
 aicad.py 2024-06-03 tamir tamir [19bde1] Initial commit.
 automatic_incident_classification_and_detection.txt 2024-06-03 tamir tamir [19bde1] Initial commit.
 cleanup.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 configure.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 configure_roi.py 2024-06-03 tamir tamir [19bde1] Initial commit.
 generate_requirements.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 predict.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 setup.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 setup_roi.py 2024-06-03 tamir tamir [19bde1] Initial commit.
 to_do.txt 2024-06-03 tamir tamir [19bde1] Initial commit.
 train.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 wait_for_images.py 2024-06-03 tamir tamir [19bde1] Initial commit.
 wait_for_images.sh 2024-06-03 tamir tamir [19bde1] Initial commit.
 workflow.txt 2024-06-03 tamir tamir [19bde1] Initial commit.

Read Me

Deep Learning Automatic Incident Detection

Prelude

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

Workflow (with ROI):

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

Workflow (no ROI):

./setup.sh video/London.mkv
./train.sh 10 1 output/highlights