Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2370c8a0
Unverified
Commit
2370c8a0
authored
Dec 28, 2017
by
Alexander Alekhin
Committed by
GitHub
Dec 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10429 from wxzs5:fix-documentation
parents
2b3c140f
0a4b1b8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
py_surf_intro.markdown
...torials/py_feature2d/py_surf_intro/py_surf_intro.markdown
+1
-1
py_bg_subtraction.markdown
...als/py_video/py_bg_subtraction/py_bg_subtraction.markdown
+2
-2
No files found.
doc/py_tutorials/py_feature2d/py_surf_intro/py_surf_intro.markdown
View file @
2370c8a0
...
...
@@ -147,7 +147,7 @@ Finally we check the descriptor size and change it to 128 if it is only 64-dim.
False
# So we make it to True to get 128-dim descriptors.
>>> surf.
extended = True
>>> surf.
setExtended(True)
>>> kp, des = surf.detectAndCompute(img,None)
>>> print( surf.descriptorSize() )
128
...
...
doc/py_tutorials/py_video/py_bg_subtraction/py_bg_subtraction.markdown
View file @
2370c8a0
...
...
@@ -48,7 +48,7 @@ import cv2 as cv
cap = cv.VideoCapture('vtest.avi')
fgbg = cv.createBackgroundSubtractorMOG()
fgbg = cv.
bgsegm.
createBackgroundSubtractorMOG()
while(1):
ret, frame = cap.read()
...
...
@@ -125,7 +125,7 @@ import cv2 as cv
cap = cv.VideoCapture('vtest.avi')
kernel = cv.getStructuringElement(cv.MORPH_ELLIPSE,(3,3))
fgbg = cv.createBackgroundSubtractorGMG()
fgbg = cv.
bgsegm.
createBackgroundSubtractorGMG()
while(1):
ret, frame = cap.read()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment