cv2 3.0.0 cv2.FlannBasedMatcher: flann.knnMatch is throwing cv2 error

前端 未结 4 1378
醉梦人生
醉梦人生 2020-12-21 02:35

I want to use a flann-based matcher in Python as described in http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html

4条回答
  •  被撕碎了的回忆
    2020-12-21 03:08

    A fix has been merged into the master branch of OpenCV, and I've confirmed that it works. Unfortunately there hasn't been a new release yet so you'll have to use the nightly build, but I found it relatively easy in Ubuntu. Adrian Rosebrock has a great post on how to install OpenCV 3 from source for Ubuntu and for OSX. If you follow Adrian's guide and simply leave out the step where he checks out the 3.0.0 tag, you should remain on master and get the latest build which includes the fix.

提交回复
热议问题