summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/include/markerdetector.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-07 05:50:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-07 05:57:32 +0200
commitb68cf0b79cf112d919ee0f224bc205f57c7cac92 (patch)
tree466d468ff03d6ff59d99ad532c648c7fe7a67f58 /ftnoir_tracker_aruco/include/markerdetector.h
parent9e58eb6d5eebb3ca67bf4dba6b7fef58588d492e (diff)
aruco: try otsu for one frame if regular fails
Diffstat (limited to 'ftnoir_tracker_aruco/include/markerdetector.h')
-rwxr-xr-x[-rw-r--r--]ftnoir_tracker_aruco/include/markerdetector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/include/markerdetector.h b/ftnoir_tracker_aruco/include/markerdetector.h
index ac120b18..8a7e75ca 100644..100755
--- a/ftnoir_tracker_aruco/include/markerdetector.h
+++ b/ftnoir_tracker_aruco/include/markerdetector.h
@@ -277,6 +277,7 @@ private:
* This function returns in candidates all the rectangles found in a thresolded image
*/
void detectRectangles(const cv::Mat &thresImg,vector<MarkerCandidate> & candidates);
+public:
//Current threshold method
ThresholdMethods _thresMethod;
//Threshold parameters
@@ -297,7 +298,7 @@ private:
cv::Mat grey,thres,thres2,reduced;
//pointer to the function that analizes a rectangular region so as to detect its internal marker
int (* markerIdDetector_ptrfunc)(const cv::Mat &in,int &nRotations);
-
+private:
/**
*/
bool isInto(cv::Mat &contour,std::vector<cv::Point2f> &b);