Ask Your Question

Background subtraction

asked 2013-06-17 14:15:37 -0500

updated 2013-06-17 21:21:42 -0500

AlexanderShishkov gravatar image


Can anyone suggest me a fast way of getting the four-ground image?

Currently i am using BackgroundSubtractorMOG2 class to do this. it is very slow. and my task doesn't need that much complex algorithm.

i can get a image of the background in the binging. camera position will not change. so i believe that there is a easy way to do this.

i need to capture a blob of the object moving in front of the camera. and there will be only one object always.

thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-17 14:43:43 -0500

BeS gravatar image


You can try to use the difference between two adjacent frames or sufficiently fast adaptive algorithm VIBE(i apologize for the sloppy code, it was not possible to refactor)

Best regards, BeS

edit flag offensive delete link more



+1 for shameless plug ;)

berak gravatar imageberak ( 2013-06-17 15:51:28 -0500 )edit

thanks for getting back to me. ill look in to that

athukoralakasun gravatar imageathukoralakasun ( 2013-06-19 10:14:02 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-06-17 14:15:37 -0500

Seen: 401 times

Last updated: Jun 17 '13