Updated by Alexander Shishkov about 13 years ago
commenting the line 2455 in features2d.hpp CV_Assert( DataType<ValueType>::type [[DataType]]<ValueType>::type == matcher.trainDescCollection[iIdx].type() || matcher.trainDescCollection[iIdx].empty() );
and line 351 in matchers.cpp CV_Assert( queryDescriptors.type() == CV_32FC1 || queryDescriptors.empty() );
This happens because the brief descriptor results in integers, and BOW is expecting to use floats.
and line 351 in matchers.cpp CV_Assert( queryDescriptors.type() == CV_32FC1 || queryDescriptors.empty() );
This happens because the brief descriptor results in integers, and BOW is expecting to use floats.