summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:36:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:36:36 +0100
commit244055c4264dd904148726e3e966d17f15942a4f (patch)
tree6fe6741cbf0c5d3ad4638c718b1844810b152bf1
parentb36c427e532d715a2572daaeb2d736de3a7203e6 (diff)
tracker/{aruco,pt}: enable ipp fast math mode with opencv
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp2
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp2
2 files changed, 4 insertions, 0 deletions
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())