Skip to content

A small project for tracking specific regions in videos or streams.

License

Notifications You must be signed in to change notification settings

flixstn/region-tracking

Repository files navigation

Tracking application

This program tracks a region of interest in a video input stream

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installation

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

Running the application

Start the program and provide a video and mp3 file.

python ROI.py -i input_file -s sound_file

Usage

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'

Possible test files

About

A small project for tracking specific regions in videos or streams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published