1 | initial version |
The problem is that the BRIEF descriptor returns descriptors in CV_8U and the matcher expects float. You could convert the descriptors from CV_8U to CV_32F with convertTo method from Mat.
FYI, SIFT and SURF return float descriptors, therefore they are "directly" compatible with matchers.