mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:19:01 +08:00
12 lines
614 B
Diff
12 lines
614 B
Diff
|
--- a/corelib/src/MarkerDetector.cpp
|
||
|
+++ b/corelib/src/MarkerDetector.cpp
|
||
|
@@ -304,7 +304,7 @@ std::map<int, MarkerInfo> MarkerDetector::detect(const cv::Mat & image,
|
||
|
std::map<int, MarkerInfo>::iterator iter = detections.find(ids[i]);
|
||
|
if(iter!=detections.end())
|
||
|
{
|
||
|
- cv::aruco::drawAxis(*imageWithDetections, model.K(), model.D(), rvecs[i], tvecs[i], iter->second.length() * 0.5f);
|
||
|
+ cv::drawFrameAxes(*imageWithDetections, model.K(), model.D(), rvecs[i], tvecs[i], iter->second.length() * 0.5f);
|
||
|
}
|
||
|
}
|
||
|
}
|