mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +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
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user