BackgroundSubtractorGMG missing from Python bindings (Bug #4411)


Added by joe minichino over 9 years ago. Updated over 9 years ago.


Status:Done Start date:2015-06-15
Priority:Normal Due date:
Assignee:- % Done:

100%

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

Description

Only KNN and MOG2 are present in Python2 bindings, haven't checked Python3 but I would expect it's missing from there too.


History

Updated by be rak over 9 years ago

this is not a bug, both were moved to https://github.com/Itseez/opencv_contrib

once you integrate that into your main opencv repo, (cmake, make, make install), you will find them in cv2.bgsegm:

>>> help(cv2.bgsegm)
Help on module cv2.bgsegm in cv2:

NAME
    cv2.bgsegm

FILE
    (built-in)

FUNCTIONS
    createBackgroundSubtractorGMG(...)
        createBackgroundSubtractorGMG([, initializationFrames[, decisionThreshol
d]]) -> retval

    createBackgroundSubtractorMOG(...)
        createBackgroundSubtractorMOG([, history[, nmixtures[, backgroundRatio[,
 noiseSigma]]]]) -> retval

Updated by joe minichino over 9 years ago

awesome, thank you! It was there all along just didn't notice it was in bgsegm.

  • Status changed from New to Done
  • % Done changed from 0 to 100

Also available in: Atom PDF