diff options
-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"; |