summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-08-01 18:10:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-08-01 18:10:27 +0200
commit8c9858285b1d6e070b9020a7e28dd1ce3dc2b60b (patch)
treeb00097a6934016f247ec8af40ead1016be809bb1 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
parentcee77941f5b708c05212ad9e520f7d7114895bcc (diff)
Don't confuse pitch axes on coplanar surface
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp2
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 d0944d39..366b5b51 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -235,7 +235,7 @@ void Tracker::run()
obj_points.at<float>(0,1)=size;
obj_points.at<float>(0,2)=0;
- cv::solvePnP(obj_points, m, intrinsics, dist_coeffs, rvec, tvec, !rvec.empty(), cv::ITERATIVE);
+ cv::solvePnP(obj_points, m, intrinsics, dist_coeffs, rvec, tvec, false, cv::ITERATIVE);
cv::Mat rotation_matrix = cv::Mat::zeros(3, 3, CV_64FC1);