Commit 9cb13435 authored by oulenz's avatar oulenz Committed by GitHub

FLANN_INDEX_KDTREE = 0 -> 1

0 corresponds to FLANN_INDEX_LINEAR
parent 29eda007
...@@ -50,7 +50,7 @@ sift = cv2.xfeatures2d.SIFT_create() ...@@ -50,7 +50,7 @@ sift = cv2.xfeatures2d.SIFT_create()
kp1, des1 = sift.detectAndCompute(img1,None) kp1, des1 = sift.detectAndCompute(img1,None)
kp2, des2 = sift.detectAndCompute(img2,None) kp2, des2 = sift.detectAndCompute(img2,None)
FLANN_INDEX_KDTREE = 0 FLANN_INDEX_KDTREE = 1
index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5) index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5)
search_params = dict(checks = 50) search_params = dict(checks = 50)
......
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