This program tracks a region of interest in a video input stream
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Use requirements.txt
and get_models.sh
to install dependencies.
pip3 install -r requirements.txt
./get_models.sh
The application makes use of Yolo along with the config-file, the networks weights and the COCO dataset
Start the program and provide a video and mp3 file.
python ROI.py -i input_file -s sound_file
Use the mouse to draw a box on the video frame, press enter and the application will run the detection process in this selected area. It will play an alarm sound when specific objects are recognized
- The sound can be stopped with 'Q'
- The application can be closed with 'ESC'