Skip to content
Snippets Groups Projects
Commit 7346e3c0 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Update processor_visual_odometry.cpp

parent f60b0fb6
No related branches found
No related tags found
2 merge requests!36After cmake and const refactor,!28Resolve "Building a new visual odometry system"
...@@ -110,7 +110,7 @@ void ProcessorVisualOdometry::preProcess() ...@@ -110,7 +110,7 @@ void ProcessorVisualOdometry::preProcess()
// -> translate to the full image corner coordinate system // -> translate to the full image corner coordinate system
kps_roi.at(0).pt.x = kps_roi.at(0).pt.x + rect_roi.x; kps_roi.at(0).pt.x = kps_roi.at(0).pt.x + rect_roi.x;
kps_roi.at(0).pt.y = kps_roi.at(0).pt.y + rect_roi.y; kps_roi.at(0).pt.y = kps_roi.at(0).pt.y + rect_roi.y;
capture_image_incoming_->addKeyPoints(kps_roi); capture_image_incoming_->addKeyPoint(kps_roi.at(0));
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment