Use class' method to set attribute value

This commit is contained in:
wxzs5 2017-12-27 11:57:58 +08:00
parent 25c17b107e
commit 0a4b1b8d68

View File

@ -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