summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-05 12:33:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-05 12:46:01 +0200
commit63b7fc37dc2df96ccda2b3854fe18ab57b4296b3 (patch)
treeac030eb69b54842cce4fd2e81bbefcb377921b15 /tracker-easy
parentc2ddd53c161a15a10f5552d4c024d8408bcb93ec (diff)
tracker/easy: don't recreate preview all the time
Diffstat (limited to 'tracker-easy')
-rw-r--r--tracker-easy/tracker-easy.cpp8
1 files changed, 0 insertions, 8 deletions
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";