Segfault: 11 using FlannBasedMatcher

asked 2017-06-12 15:01:07 -0500

Melkarid gravatar image

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:


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

edit retag flag offensive close merge delete