diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:14:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-02 08:21:36 +0100 |
commit | b830658e3e1657de1ef8581a53b4298769c117ee (patch) | |
tree | 14f34332ea1a909c4471349a07150de7dd51fd83 | |
parent | 9664c63af725c6e775bfa6bd64239edbf1c18192 (diff) |
tracker/{pt,aruco}: oops, disable multi threading right
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 2 | ||||
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 90531736..37e34246 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -365,7 +365,7 @@ void aruco_tracker::cycle_detection_params() void aruco_tracker::run() { - cv::setNumThreads(0); + cv::setNumThreads(1); if (!open_camera()) return; diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 08ac9785..ac514813 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -51,7 +51,7 @@ void Tracker_PT::reset_command(Command command) void Tracker_PT::run() { - cv::setNumThreads(0); + cv::setNumThreads(1); #ifdef PT_PERF_LOG QFile log_file(OPENTRACK_BASE_PATH + "/PointTrackerPerformance.txt"); |