BackgroundSubtractorMOG not working (Bug #4367)
Description
Hey!
I'm trying to use BackgroundSubtractorMOG function, but for some reason it is not working.
erro message:
fgbg = cv2.BackgroundSubtractorMOG()
AttributeError: 'module' object has no attribute 'BackgroundSubtractorMOG'
What I had tried:
createBackgroundSubtractorMOG() Didn't work.
BackgroundSubtractorMOG2() It worked fine, but I didn't like the result.
BackgroundSubtractorGMG() Didn't work.
I'm really interested to use MOG, all other functions looks bad to what I'm looking for.
Extra: I am using OpenCV 3.0.0, Eclipse + Python Interpreter, Linux (Ubuntu x64).
Thank you guys!
History
Updated by Vadim Pisarevsky almost 10 years ago
BackgroundSubtractorMOG has been superseded by BackgroundSubtractorMOG2: cv2.createBackgroundSubtractorMOG2
- Status changed from New to Cancelled