summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-10-18 18:15:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-10-19 14:46:29 +0200
commitfda9c90a547a88861d167a1c37beb40bd457018c (patch)
tree006bfb911a90e337a19f0d5eeacc4a19ebe3fd4e /tracker-aruco/ftnoir_tracker_aruco.cpp
parent8c15b022e699c3d02faee1c34e4344e8021153b0 (diff)
tracker/pt: don't delay camera stop artificially
If the filter crashes on quick stop/start it's not our fault.
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 24923ede..a36fdd9f 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -8,7 +8,6 @@
#include "ftnoir_tracker_aruco.h"
#include "api/plugin-api.hpp"
#include "compat/camera-names.hpp"
-#include "compat/sleep.hpp"
#include "cv/video-property-page.hpp"
#include <opencv2/core.hpp>
@@ -66,8 +65,6 @@ Tracker::~Tracker()
delete videoWidget;
if(layout)
delete layout;
- // fast start/stop causes breakage
- portable::sleep(1000);
camera.release();
}
@@ -390,9 +387,6 @@ fail:
if (frame.rows > 0)
videoWidget->update_image(frame);
}
-
- // give opencv time to exit camera threads, etc.
- portable::sleep(500);
}
void Tracker::data(double *data)