Open antithing opened 6 years ago
Months later, i solved it.
cv::Ptr<cv::DescriptorMatcher> BruteForceMatcher::clone(bool emptyTrainData)
const {
cv::Ptr<BruteForceMatcher> matcher = cv::makePtr<BruteForceMatcher>(distance_);
if (!emptyTrainData)
{
matcher->trainDescCollection.resize(trainDescCollection.size());
std::transform(trainDescCollection.begin(), trainDescCollection.end(),
matcher->trainDescCollection.begin(), clone_op);
}
return matcher;
}
Hi, and thanks for making this code available. I am trying to build with newer versions of opencv, and am getting compile errors, in brute-force-matcher.cc, at line 59. The function:
Gives me the intelsense and compile error:
What can i do to get this running?
Thanks again.