Skip to content

ratnesh1729/basic_background_subtraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

------- Various demo/tutorial opencv functions for background subtraction -------

  1. I provide the CMakeLists.txt for compilation, tested on ubuntu 64 bit. Should be able to work on windows too (need to compile again on windows).

  2. Sample run : ./vid_works -h ; Please read comments when "-h" is used. NOTE - Please provide input (-input FOLDER) and output folder (-output FOLDER) location, at the very least. Output location is needed to save images into that directory.

  3. All 3 samples are in the same main file: mean subtraction, MOG, and MOG by Zoran. Please look at http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html for details.

  4. An implementation for removing horizontal lines, along time axis ((temporal_gradient.mp4 in folder part1)). This is a simple basic processing and should not be confused with objective of 4. This approach will only work well when movement is fast (can be parameterized with sigma of deriche filter) and the movement is perpendicular to camera optical axis. Simple line removal is noisy, hence we should try to correlate patches instead of points.

About

basic_background_subtraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages