Commit 0a4b1b8d authored by wxzs5's avatar wxzs5

Use class' method to set attribute value

parent 25c17b10
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment