summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-11 18:13:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-11 18:13:01 +0100
commit69dddfbab322d55d6b26336f20fcfdb2ebaecdad (patch)
treee4673ec8bd32b6d92209877e8ed0161c29c39bb5 /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
parentfa0908c3a5d449afab5d48553c6af7294e1b6998 (diff)
FINALLY fix d_order -> image pos
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index 102f62ee..c949b8d0 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -85,8 +85,7 @@ void Tracker::run()
const std::vector<cv::Vec2f>& points = point_extractor.extract_points(frame, dt, true);
for (auto p : points)
{
- auto p2 = cv::Point(p[0] * frame.cols + frame.cols/2,
- -p[1] * frame.cols + frame.rows/2);
+ auto p2 = cv::Point(p[0] * frame.cols + frame.cols/2, -p[1] * frame.cols + frame.rows/2);
cv::Scalar color(0, 255, 0);
cv::line(frame,
cv::Point(p2.x - 20, p2.y),