1 | initial version |
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.
e.g.
fgbg = cv2.bgsegm.createBackgroundSubtractorMOG()
this worked for me.