Ask Your Question

davor's profile - activity

2019-08-19 09:17:32 -0600 received badge  Teacher (source)
2019-08-15 12:32:52 -0600 received badge  Self-Learner (source)
2019-08-15 12:32:49 -0600 marked best answer C++ ORB Feature Matching with FLANN Lsh Error

I am trying to match Orb features using FLANN matcher and LSH, and it gives me this error:

OpenCV: terminate handler is called! The last OpenCV error is:

OpenCV(4.1.0) Error: Unsupported format or combination of formats (> type=5 > ) in buildIndex_, file C:\opencv\source\opencv-4.1.0\modules\flann\src\miniflann.cpp, line 315

What is the reason for this?

Descriptors are already converted to CV_32F.

cv::FlannBasedMatcher matcher = cv::FlannBasedMatcher(cv::makePtr<cv::flann::LshIndexParams>(12, 20, 2));
std::vector< std::vector<cv::DMatch> > matches;
matcher.knnMatch(descriptors1, descriptors2, matches, 2 );
2019-08-15 12:10:11 -0600 commented question C++ ORB Feature Matching with FLANN Lsh Error

The problem was solved. The problem was that descriptors should not be converted to CV_32F and that I need to check if

2019-08-15 09:12:40 -0600 commented question C++ ORB Feature Matching with FLANN Lsh Error

When I delete that conversion, it works. But then it returns this: Process returned -1073741819 (0xC0000005) at the ra

2019-08-15 09:03:16 -0600 edited question C++ ORB Feature Matching with FLANN Lsh Error

C++ ORB Feature Matching with FLANN Lsh Error I am trying to match Orb features using FLANN matcher and LSH, and it give

2019-08-15 09:03:02 -0600 edited question C++ ORB Feature Matching with FLANN Lsh Error

C++ ORB Feature Matching with FLANN Lsh Error I am trying to match Orb features using FLANN matcher and LSH, and it give

2019-08-15 09:02:30 -0600 commented question C++ ORB Feature Matching with FLANN Lsh Error

I accidentally deleted them when I copied the code. Now I added that here.

2019-08-15 09:01:22 -0600 received badge  Editor (source)
2019-08-15 09:01:22 -0600 edited question C++ ORB Feature Matching with FLANN Lsh Error

C++ ORB Feature Matching with FLANN Lsh Error I am trying to match Orb features using FLANN matcher and LSH, and it give

2019-08-15 08:48:29 -0600 asked a question C++ ORB Feature Matching with FLANN Lsh Error

C++ ORB Feature Matching with FLANN Lsh Error I am trying to match Orb features using FLANN matcher and LSH, and it give