mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
FLANN_INDEX_KDTREE = 0 -> 1
0 corresponds to FLANN_INDEX_LINEAR
This commit is contained in:
parent
9cb13435a1
commit
28cfb07445
@ -86,7 +86,7 @@ kp1, des1 = sift.detectAndCompute(img1,None)
|
||||
kp2, des2 = sift.detectAndCompute(img2,None)
|
||||
|
||||
# FLANN parameters
|
||||
FLANN_INDEX_KDTREE = 0
|
||||
FLANN_INDEX_KDTREE = 1
|
||||
index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5)
|
||||
search_params = dict(checks=50)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user