This commit is contained in:
status102
2025-06-01 14:43:57 +08:00
parent 7e9806e697
commit a33535e073

View File

@@ -188,13 +188,11 @@ asst::FeatureMatcher::ResultsVec asst::FeatureMatcher::feature_postproc(
if (i != compact_idx) {
std::swap(scene[compact_idx], scene[i]);
std::swap(obj[compact_idx], obj[i]);
std::swap(matches[compact_idx], matches[i]);
}
++compact_idx;
}
scene.resize(compact_idx);
obj.resize(compact_idx);
matches.resize(compact_idx);
}
return results;