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.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
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)
...