I'm trying to run a simple example of FlannBasedMatcher to match features between two pictures. However, sometimes when I instantiate a Flann object I get the following error message:
FLANN_INDEX_KDTREE = 0
index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5)
search_params = dict(checks=50)
flann = cv2.FlannBasedMatcher(index_params, search_params)
Output:
Segmentation fault: 11
↧