Ask Your Question

Revision history [back]

Hi, Christopher. Are you solved this question?
(it was a half year ago...)

I got same problems. but i got it clear.

I think, we needed take the descriptions at the type "float32".
so, it will be nice in this code bellow.

flann.add(np.float32(des2))

also we should teke same type in matching.

matches = flann.knnMatch(np.float32(des1),k=2)

see this question and the answer.
http://stackoverflow.com/questions/19615888/python-using-flann-type-error

try it. yuzu

# i don't write/speak english well.. so i hope you understand this post. ;)