diff --git a/src/processor/processor_visual_odometry.cpp b/src/processor/processor_visual_odometry.cpp index b0df0fecb8823cd35656b8fbae010eacc2eb3fab..530633ccdb344623a7e84954f168470a8cd96cea 100644 --- a/src/processor/processor_visual_odometry.cpp +++ b/src/processor/processor_visual_odometry.cpp @@ -115,7 +115,7 @@ void ProcessorVisualOdometry::preProcess() if (kps_roi.size() > 0){ // retain only the best image in each region of interest - cv::KeyPointsFilter::retainBest(kps_roi, 1); + retainBest(kps_roi, 1); // Keypoints are detected in the local coordinates of the region of interest // -> translate to the full image corner coordinate system kps_roi.at(0).pt.x = kps_roi.at(0).pt.x + rect_roi.x;