FLANN_INDEX_KDTREE in Android

asked 2015-12-20 08:04:39 -0600

Taiko gravatar image

Hello, I am trying to do the following in android

# FLANN parameters
FLANN_INDEX_KDTREE = 0
index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5)
search_params = dict(checks=50)   # or pass empty dictionary

flann = cv2.FlannBasedMatcher(index_params,search_params)

But I can't seem to find any way to specify the algorithm with a FlannBasedMatcher

I create it the following way : DescriptorMatcher.create(DescriptorMatcher.FLANNBASED)

I've searched high and low, but I can't find the python source code to understand the underlying methods I am trying to call.

Any way to do that ?

Thanks !

edit retag flag offensive close merge delete