Fast Library for Approximate Nearest Neighbors
Troubleshooting
=== Unsupported format or combination of formats (type=0) ===
아래와 같은 런타임 에러가 발생할 수 있다.
error: OpenCV Error: Unsupported format or combination of formats (type=0 ) in buildIndex_, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/flann/src/miniflann.cpp, line 299
I had the same problem it seems that Flann needs the descriptors to be of type CV_32F
. Try doing this before matching:
See also
Favorite site
- FLANN - Fast Library for Approximate Nearest Neighbors
- Object detection with SURF, KNN, FLANN, OpenCV 3.X and CUDA