Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  • there is no such thing as cv2.cv2 (probably a typo on your side)
  • opencv's main repo has :
    1. cv2.createBackgroundSubtractorMOG2()
    2. cv2.createBackgroundSubtractorKNN()
  • both cv2.createBackgroundSubtractorMOG() and cv2.createBackgroundSubtractorGMG() were moved to the cv2.bgsegm module in opencv_contrib (to use those, you'll have to rebuild cv2 with contrib src)