mirror of
https://github.com/opencv/opencv.git
synced 2025-06-19 00:46:39 +08:00
Use class' method to set attribute value
This commit is contained in:
parent
25c17b107e
commit
0a4b1b8d68
@ -147,7 +147,7 @@ Finally we check the descriptor size and change it to 128 if it is only 64-dim.
|
|||||||
False
|
False
|
||||||
|
|
||||||
# So we make it to True to get 128-dim descriptors.
|
# So we make it to True to get 128-dim descriptors.
|
||||||
>>> surf.extended = True
|
>>> surf.setExtended(True)
|
||||||
>>> kp, des = surf.detectAndCompute(img,None)
|
>>> kp, des = surf.detectAndCompute(img,None)
|
||||||
>>> print( surf.descriptorSize() )
|
>>> print( surf.descriptorSize() )
|
||||||
128
|
128
|
||||||
|
Loading…
Reference in New Issue
Block a user