First time here? Check out the FAQ!
answered 2017-05-11 23:34:58 -0600
This question bothered a few days too. I found the answer from this site
You need to convert the format of your descriptor into CV_32F
if(descriptors_1.type()!=CV_32F) { descriptors_1.convertTo(descriptors_1, CV_32F); }