Skip to content

sherrardTr4129/Salient-ROI-Motion-Detection

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 

Salient ROI Motion Detection

Uses fourier image processing techniques to compute a saliency map. From here, saliency maps generated from sequential frames are used to detect motion of salient ROI's within the video stream.

Usage

Run the script using the following command:

python3 computeSaliencyImage.py 

Note that this script attempts to create a VideoCapture object using /dev/video0. If you need to change that on your system, please do so.

Four windows will open that display image streams taken from the various steps within the image processing pipeline (saliency map, object map, difference image, moving edges image). Once you are ready to close the program, click any of the windows and press 'q' on your keyboard. A list containing a running record of the total white pixels in the edge image is written to a CSV file in the script's local directory. From here, this data can be used to obtain a better threshold value to determine if the detected saliency ROI is moving between consecutive frames.

About

The individual algorithm implementation assignment for RBE526

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages