Ask Your Question

p.chaturvedi's profile - activity

2013-09-18 00:46:28 -0600 asked a question i want code to extract foreground from video frames by finding a difference between each frame and the background(already detected)

i want code to extract foreground from video frames by finding a difference between each frame and the background(already detected)

I am working on a project where i have to extract the foreground object from a video, i have already extracted frames from the video, i have already obtained its background by averaging those frames of video, but now i want to extract the foreground by finding out the difference between frames and the back ground,

Can anybody please suggest a c++ code to me for extracting the background, please help, and thanks in advance

2013-09-16 16:16:34 -0600 commented answer OpenCV 2.4.3 MinGW cannot run program

thanks, tried everything, bt only this worked ,