Python bindings: cv2.createBackgroundSubtractorMOG not in 3.0.0-dev (Bug #3929)


Added by Sebastián Ramírez over 10 years ago. Updated over 10 years ago.


Status:Cancelled Start date:2014-09-29
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:python bindings
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

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

Revision 0f13208d
Added by Vadim Pisarevsky almost 10 years ago

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

Also available in: Atom PDF