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
0a4b1b8d
Commit
0a4b1b8d
authored
Dec 27, 2017
by
wxzs5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use class' method to set attribute value
parent
25c17b10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
py_surf_intro.markdown
...torials/py_feature2d/py_surf_intro/py_surf_intro.markdown
+1
-1
No files found.
doc/py_tutorials/py_feature2d/py_surf_intro/py_surf_intro.markdown
View file @
0a4b1b8d
...
...
@@ -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
...
...
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