Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and 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, 2019 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, 2019 by clemz (270 points)
...