summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index 43ecc775..b1392953 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -88,7 +88,7 @@ void Tracker::run()
tracking_valid = point_tracker.track(points, camera.get_info().f, dt);
frame_count++;
#ifdef OPENTRACK_API
- video_widget->update_image(frame);
+ video_widget->update_image(frame.clone());
#endif
}
#ifdef PT_PERF_LOG
@@ -206,6 +206,7 @@ void Tracker::Initialize(QFrame *video_frame)
settings.load_ini();
apply(settings);
camera.start();
+ apply(settings);
start();
}