summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-08 19:40:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-08 19:40:17 +0100
commita6bb6becb0365f2dc79a24d0e3979d42f1496a21 (patch)
tree347f0eb3ff4f35d7b3b01006dd481e94989d9820 /ftnoir_tracker_aruco
parent267010ba42b00cfd1ecc73c86d99c647ff191175 (diff)
remove redundant initialization
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 823c5578..6935dd43 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -226,10 +226,7 @@ void Tracker::run()
intrinsics.at<float> (1, 2) = grayscale.rows/2;
cv::Mat dist_coeffs = cv::Mat::zeros(5, 1, CV_32FC1);
-
- for (int i = 0; i < 5; i++)
- dist_coeffs.at<float>(i) = 0;
-
+
std::vector< aruco::Marker > markers;
const double size_min = 0.04;