2018-06-17 12:12:16 -0600 | received badge | ● Popular Question (source) |
2014-05-18 15:14:48 -0600 | commented question | OpenCV DescriptorMatcher match error. Wrong KeyPoints Descriptor type? Actually ... yes ^^ thank you. I forgot to compute the descriptor |
2014-05-17 07:21:35 -0600 | asked a question | OpenCV DescriptorMatcher match error. Wrong KeyPoints Descriptor type? I'm using OpenCV on Android for image recognition by computing distance between MatOfKeyPoints I use the method described here : http://stackoverflow.com/questions/15572357/compare-the-similarity-of-two-images-with-opencv At first it worked fine, then I tried to save my keyPoints for futur use. Then, when I try to match descriptors I've got : I assume the error is due to a difference in the data type. I saved one of my MatOfKeyPoints by saving each keypoint from the extracted array : each keypoint is then serialized and saved for futur use. Then I recreate my MatOfKeyPoints using : Before saving MatOfKeyPoint, the data type was CV_8UC1, after recreating it, its now CV_32FC(7) So if I get it right, the question is : Is there a way to set the data type on a newly created MatOfKeyPoint ? I've tried : but after this code, the And I've got the same error, matching 2 descriptors with datatypes : CV_8UC(7) and CV_8UC1 :/ and I'm stuck. I'd like to know what's the "(7)" here ? Thanks for any comment. |
2014-04-21 05:30:59 -0600 | asked a question | template matching with threshold Hello everyone, I've got a little probleme when using the template matching : I try to find out if my template is in the picture or not so I need to compare scores to a threshold I should get a similarity score from minmaxLoc but min is always 0 and max is always 1 even if the template is not in my picture. I've try several matching methods with the same result :/ Maybe I 've misunderstood something, How would you do that ? |
2014-04-20 07:53:14 -0600 | received badge | ● Supporter (source) |