diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-09 07:21:05 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-09 07:21:05 +0100 |
commit | b4e666a34081e9bfd22e136ee5413e39b400569b (patch) | |
tree | 52a8562875db87288660f70a53d24da511145d1b /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | |
parent | d6855de1a83fd54c43384de218d61252de7a7a1b (diff) |
fix copy-paste mistake
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 6935dd43..db3d695c 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -279,7 +279,7 @@ void Tracker::run() cv::putText(frame, buf, cv::Point(10, 54), cv::FONT_HERSHEY_PLAIN, scale, cv::Scalar(80, 255, 0), scale); if (markers.size() == 1 && markers[0].size() == 4) { - const aruco::Marker& m = static_cast<std::vector<cv::Point2f>>(markers.at(0)); + const auto& m = static_cast<std::vector<cv::Point2f>>(markers.at(0)); cv::cornerSubPix(grayscale, m, cv::Size(5, 5), cv::Size(-1, -1), |