summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR')
-rw-r--r--FaceTrackNoIR/UIElements/aboutFaceTrackNoIR.pngbin28783 -> 28821 bytes
-rw-r--r--FaceTrackNoIR/tracker.cpp7
2 files changed, 6 insertions, 1 deletions
diff --git a/FaceTrackNoIR/UIElements/aboutFaceTrackNoIR.png b/FaceTrackNoIR/UIElements/aboutFaceTrackNoIR.png
index 97ff1d1f..a7d80c1b 100644
--- a/FaceTrackNoIR/UIElements/aboutFaceTrackNoIR.png
+++ b/FaceTrackNoIR/UIElements/aboutFaceTrackNoIR.png
Binary files differ
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp
index 39bc8dce..01739389 100644
--- a/FaceTrackNoIR/tracker.cpp
+++ b/FaceTrackNoIR/tracker.cpp
@@ -234,6 +234,11 @@ QFrame *video_frame;
/** destructor empty **/
Tracker::~Tracker() {
+ // Stop the Tracker
+ if (pTracker) {
+ pTracker->StopTracker( true );
+ }
+
// Trigger thread to stop
::SetEvent(m_StopThread);
@@ -438,7 +443,7 @@ void Tracker::run() {
}
else {
if (setEngineStop) { // Only stop engine when option is checked
- pTracker->StopTracker();
+ pTracker->StopTracker( false );
}
}
qDebug() << "Tracker::run() says StartStop pressed, do_tracking =" << Tracker::do_tracking;