diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:50:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:50:03 +0100 |
commit | f281ba0224b31eec31469372b3cbc27706a9b381 (patch) | |
tree | 8d1eef75026464457af0ddcc63ff59380b3f7ec9 /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | |
parent | fcda9735bf3df5b43286cbd340f4c85de9228323 (diff) |
Revert "use correct scale for point coords"
This reverts commit 3ea8dbeb7574e7a61388adcc3a9fd722798504fe.
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp index 9f74127f..c94fa3ff 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp @@ -86,7 +86,7 @@ void Tracker::run() for (auto p : points)
{
auto p2 = cv::Point(p[0] * frame.cols + frame.cols/2,
- -p[1] * frame.cols + frame.rows/2);
+ p[1] * frame.rows + frame.rows/2);
cv::Scalar color(0, 255, 0);
qDebug() << p2.x << p2.y;
cv::line(frame,
|