Ask Your Question

manielec's profile - activity

2017-08-03 12:32:43 -0500 answered a question Cannot find BackgroundSubtractorMOG() and BackgroundSubtractorGMG() in OpenCV 3.0 with Python 2.7

I had the same problem with the same set-up. If you have compiled with --with-contrib flag, you should be fine once you use the bgsegm namespace.


fgbg = cv2.bgsegm.createBackgroundSubtractorMOG()

this worked for me.

2017-07-26 23:03:36 -0500 commented question Python OpenCV Kalman Filter, How to set the initial position ?

I have the same problem. I just call predict and update in a loop on the initial condition, a hack-y solution though