Skip to content

Commit 0a4b1b8

Browse files
author
wxzs5
committed
Use class' method to set attribute value
1 parent 25c17b1 commit 0a4b1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/py_tutorials/py_feature2d/py_surf_intro/py_surf_intro.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Finally we check the descriptor size and change it to 128 if it is only 64-dim.
147147
False
148148

149149
# So we make it to True to get 128-dim descriptors.
150-
>>> surf.extended = True
150+
>>> surf.setExtended(True)
151151
>>> kp, des = surf.detectAndCompute(img,None)
152152
>>> print( surf.descriptorSize() )
153153
128

0 commit comments

Comments
 (0)