Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Background subtraction from Opencv

0 votes
Hi ,

I was trying to use the Opencv BackgroundSubtraction MOG2 one and I get either a white screen if I set the 'detectshadows' option to false or a grey screen if no option specified.

screencaptures : https://postimg.cc/pp9TQ5nM  and https://postimg.cc/r0nVxqVp

could you help using this function plz ?

thank you by advance.

Clément
asked Mar 13 in Programmer Questions by clemz (270 points)

1 Answer

0 votes
oh ok sorry , I set the mask ( cv2.createBackgroundSubtractorMOG2 .. )  under the init function and no more in the process one . it works now :)

it's slow but it works :P
answered Mar 13 by clemz (270 points)
...