We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e33844 commit 25c17b1Copy full SHA for 25c17b1
doc/py_tutorials/py_video/py_bg_subtraction/py_bg_subtraction.markdown
@@ -48,7 +48,7 @@ import cv2 as cv
48
49
cap = cv.VideoCapture('vtest.avi')
50
51
-fgbg = cv.createBackgroundSubtractorMOG()
+fgbg = cv.bgsegm.createBackgroundSubtractorMOG()
52
53
while(1):
54
ret, frame = cap.read()
@@ -125,7 +125,7 @@ import cv2 as cv
125
126
127
kernel = cv.getStructuringElement(cv.MORPH_ELLIPSE,(3,3))
128
-fgbg = cv.createBackgroundSubtractorGMG()
+fgbg = cv.bgsegm.createBackgroundSubtractorGMG()
129
130
131
0 commit comments