tags:

views:

302

answers:

1

can any body help me by suggesting me a good option for background subtraction using emgucv.my project is real time pedestrian detection.please..its urgent.

A: 

Not sure if you still need this, but...in EmguCV, if you have 2 images of say type Image<Bgr, Byte> or any other type, called img1 and img2, doing img1 - img2 does work! There is a function called AbsDiff as well, I think it works like this: img1.AbsDiff(img2), you could look into that.

If you already have the picture of the background (img1) and you have the current frame (img2), you could do the above.

aip.cd.aish