summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-12 19:50:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-12 19:50:07 +0100
commit0d2a44867c9f5c31789152e8f5735dc85987554e (patch)
treece8b3b20ecfaf048fbe687873e78dd617ca61e1a /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
parent421f63c8ff3d434fec8a93e38e9178cdb3c593c6 (diff)
Revert "display extracted points' centers"
This reverts commit cfbcc6b5dba563b3d4d41a82aa990445730b0528.
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index b4100998..83bf6911 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -83,23 +83,6 @@ void Tracker::run()
{
frame = frame_rotation.rotate_frame(frame);
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.rows + frame.rows/2);
- cv::Scalar color(0, 255, 0);
- qDebug() << p2.x << p2.y;
- cv::line(frame,
- cv::Point(p2.x - 20, p2.y),
- cv::Point(p2.x + 20, p2.y),
- color,
- 4);
- cv::line(frame,
- cv::Point(p2.x, p2.y - 20),
- cv::Point(p2.x, p2.y + 20),
- color,
- 4);
- }
tracking_valid = point_tracker.track(points, camera.get_info().fov, dt, frame.cols, frame.rows);
video_widget->update_image(frame);
}