summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-07-29 15:04:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-07-29 15:04:21 +0200
commit8a5e1af19308601502ca56d303e8c59a745fb270 (patch)
tree4c58ca442505e56baf67a6134975c54d510fbed7 /ftnoir_tracker_aruco
parent5e52c80e5d9994c7f7fd304f15d91ec7517e06a4 (diff)
Don't downscale THAT much
Diffstat (limited to 'ftnoir_tracker_aruco')
-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 b1f08542..c9b390df 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -191,7 +191,7 @@ void Tracker::run()
if (!camera.read(color))
break;
cv::cvtColor(color, tmp, cv::COLOR_BGR2GRAY);
- cv::resize(tmp, grayscale, cv::Size(color.cols*0.5, color.rows*0.5), cv::INTER_AREA);
+ cv::resize(tmp, grayscale, cv::Size(color.cols*0.75, color.rows*0.75), cv::INTER_AREA);
const float focal_length_w = 0.5 * grayscale.cols / tan(0.5 * fov * HT_PI / 180);
const float focal_length_h = 0.5 * grayscale.rows / tan(0.5 * fov * grayscale.rows / grayscale.cols * HT_PI / 180.0);
cv::Mat intrinsics = cv::Mat::eye(3, 3, CV_32FC1);