Skip to content

tejas-trivedi/OpenCV-Object_Removal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV-Moving_Object_Removal

Sample video:

sample


- Running Average Method:

In this method, the moving objects and detected and removed. This is done by differentiating between the pixels that seem to change over time. The average is computed over previous and current frames in a loop until frames are exhausted.

Result:

result1


- Median Filtering Method:

This is a background subtraction method that approximates the median of each pixel to be the background. Here we assume that the median pixel is the background because the background is part that will be visible for most of the time in the video (considering static background with moving objects).

Result:

result1

Conclusion:

This is a very basic level implementation of background subtraction method. As we can see, the results here are not very accurate. A deep learning approach can achieve far more accuracy than this method

About

Background subtraction implementation to remove moving objects from the video of static cameras.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages