Python bindings: cv2.createBackgroundSubtractorMOG not in 3.0.0-dev (Bug #3929)
Description
Hello, I just built OpenCV from source using branch master (version 3.0.0-dev).
I'm using Anaconda Python 2.7 x64 on a CentOS 6.5.
In Python, I can import cv2, but the only bindings available are createBackgroundSubtractorKNN and createBackgroundSubtractorMOG2, createBackgroundSubtractorMOG doesn't appear anymore.
In Python, I even executed:
[el for el in dir(cv2) if "Background" in el]
And the results were:
['createBackgroundSubtractorKNN', 'createBackgroundSubtractorMOG2']
Associated revisions
Merge pull request #3929 from daeyun:findEssentialMat_doc
History
Updated by be rak over 10 years ago
BackgroundSubtractorMOG was moved to the opencv_contrib repo.
you will have to clone/fork it, add its location to cmake(https://github.com/itseez/opencv_contrib/#how-to-build-opencv-with-extra-modules), and rebuild /make install.
after that, it's `cv2.bgsegm.createBackgroundSubtractorMOG(...)`
Updated by Vladislav Vinogradov over 10 years ago
- Status changed from New to Cancelled