summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 0090aa12..f2a2e3b8 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -54,6 +54,7 @@ aruco_tracker::aruco_tracker() :
adaptive_size_pos(0),
use_otsu(false)
{
+ cv::setBreakOnError(true);
// param 2 ignored for Otsu thresholding. it's required to use our fork of Aruco.
set_detector_params();
}