From 244055c4264dd904148726e3e966d17f15942a4f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Feb 2019 15:36:36 +0100 Subject: tracker/{aruco,pt}: enable ipp fast math mode with opencv --- tracker-aruco/ftnoir_tracker_aruco.cpp | 2 ++ tracker-pt/ftnoir_tracker_pt.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 8928566f..dccfb9ca 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -361,6 +361,8 @@ void aruco_tracker::cycle_detection_params() void aruco_tracker::run() { + cv::ipp::setUseIPP_NotExact(true); + if (!open_camera()) return; diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index a2272d1c..27197266 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -51,6 +51,8 @@ Tracker_PT::~Tracker_PT() void Tracker_PT::run() { + cv::ipp::setUseIPP_NotExact(true); + maybe_reopen_camera(); while(!isInterruptionRequested()) -- cgit v1.2.3