diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-04 13:41:46 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-04 13:41:46 +0100 |
commit | 8b845f242495a91aca45cd1bf59d1823517b32c8 (patch) | |
tree | b7c1cee3ed3944c6affc31c2fd1df431f2ae8c28 /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | |
parent | 66466d0c30e7a2aed1a0c6c45db4b86dd5f0a99e (diff) |
disable hysteresis debug; throttle frame update rate
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp index e8bc7208..6bcad861 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp @@ -83,9 +83,9 @@ void Tracker::run() if (new_frame && !frame.empty())
{
frame = frame_rotation.rotate_frame(frame);
- const std::vector<cv::Vec2f>& points = point_extractor.extract_points(frame, dt, has_observers());
+ const std::vector<cv::Vec2f>& points = point_extractor.extract_points(frame, dt, false);
tracking_valid = point_tracker.track(points, camera.get_info().f, dt);
- video_widget->update_image(frame.clone());
+ video_widget->update_image(frame);
}
#ifdef PT_PERF_LOG
log_stream<<"dt: "<<dt;
|