diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 12:52:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 12:52:42 +0200 |
commit | 81da94a9582776c99d8d8a2fc024df4c4f43d88c (patch) | |
tree | 1b1045fc3491bdeabb733331fbef89b551c81bd2 /tracker-easy | |
parent | 2a80f8073563a4ac95a5c051e5079c20d8b59a0c (diff) |
Revert "tracker/easy: don't recreate preview all the time"
Diffstat (limited to 'tracker-easy')
-rw-r--r-- | tracker-easy/tracker-easy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tracker-easy/tracker-easy.cpp b/tracker-easy/tracker-easy.cpp index 5c1c8684..59c01f68 100644 --- a/tracker-easy/tracker-easy.cpp +++ b/tracker-easy/tracker-easy.cpp @@ -584,6 +584,14 @@ namespace EasyTracker iPreview = Preview(w, h); } } + else + { + // No preview, destroy preview pop-up + if (iDebug) + { + cv::destroyWindow("Preview"); + } + } dbgout << "Frame time:" << iTimer.elapsed_seconds(); //infout << "ProcessFrame - end"; |