From 63b7fc37dc2df96ccda2b3854fe18ab57b4296b3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Jul 2019 12:33:51 +0200 Subject: tracker/easy: don't recreate preview all the time --- tracker-easy/tracker-easy.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tracker-easy') diff --git a/tracker-easy/tracker-easy.cpp b/tracker-easy/tracker-easy.cpp index 3f5c449b..211eb267 100644 --- a/tracker-easy/tracker-easy.cpp +++ b/tracker-easy/tracker-easy.cpp @@ -581,14 +581,6 @@ 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"; -- cgit v1.2.3