summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-18 19:45:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-18 19:45:29 +0100
commitfd99faebde3361e5acf1dfc4ebebfe4727a47124 (patch)
treee85c92e91252ffd3628747556d9de533dd85b11d /tracker-pt/ftnoir_tracker_pt.cpp
parent02fe02c3e09ff28ce235a90bdd7f70eba1da95c8 (diff)
tracker/pt: move ctor out of the loop
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index 3dd91a45..877b58fd 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -79,12 +79,12 @@ void Tracker_PT::run()
#endif
apply_settings();
+ cv::Mat frame;
while((commands & ABORT) == 0)
{
const double dt = time.elapsed() * 1e-9;
time.start();
- cv::Mat frame;
bool new_frame;
{