@@ -163,17 +163,7 @@ enum CornerRefineMethod{
163163 * Latter is the binarized image in which contours are searched.
164164 * So all contours with a size smaller than minSideLengthCanonicalImg*minSideLengthCanonicalImg will omitted from the search.
165165 * - minMarkerLengthRatioOriginalImg: range [0,1], eq (2) from paper
166- * - cameraMotionSpeed: is in the range [0,1]. This parameter (tau_s in the paper) implements the feature proposed
167- * in Section 3.7. and is particularly useful for video sequences.
168- * The parameter tau_i has a direct influence on the processing speed. Instead of setting a fixed value for it,
169- * it can be adjusted at the end of each frame using
170- * tau_i = (1-tau_s)*P(v_s)/4 (eq. 6 in paper).
171- * Where P(v_s) is the perimeter of the smallest marker that was detected in the last frame.
172- * - useGlobalThreshold: if we process a video, the assumption is, that the illumination conditions remains
173- * constant and global instead of adaptive thresholding can be applied, speeding up the binarization step.
174- * - foundGlobalThreshold: internal variable. It is used to cache the variable to the next detector call.
175- * - otsuGlobalThreshold: internal variable. It is used to cache the global otsu threshold to the next detector call.
176- * - foundMarkerInLastFrames: internal variable. It is used to cache if markers were found in the last frame.
166+ * The parameter tau_i has a direct influence on the processing speed.
177167 */
178168struct CV_EXPORTS_W DetectorParameters {
179169
@@ -222,13 +212,6 @@ struct CV_EXPORTS_W DetectorParameters {
222212 CV_PROP_RW bool useAruco3Detection;
223213 CV_PROP_RW int minSideLengthCanonicalImg;
224214 CV_PROP_RW float minMarkerLengthRatioOriginalImg;
225-
226- // New Aruco functionality especially for video
227- CV_PROP_RW float cameraMotionSpeed;
228- CV_PROP_RW bool useGlobalThreshold;
229- CV_PROP_RW bool foundGlobalThreshold;
230- CV_PROP_RW float otsuGlobalThreshold;
231- CV_PROP_RW int foundMarkerInLastFrames;
232215};
233216
234217
@@ -256,13 +239,12 @@ struct CV_EXPORTS_W DetectorParameters {
256239 * are searched. For each detected marker, it returns the 2D position of its corner in the image
257240 * and its corresponding identifier.
258241 * Note that this function does not perform pose estimation.
259- * The function returns an estimate of the parameter minMarkerLengthRatioOriginalImg if useAruco3Detection=1. If not it returns 0.0.
260- * @sa estimatePoseSingleMarkers, estimatePoseBoard
242+ * @sa estimatePoseSingleMarkers, estimatePoseBoard
261243 *
262244 */
263- CV_EXPORTS_W float detectMarkers (InputArray image, const Ptr<Dictionary> &dictionary, OutputArrayOfArrays corners,
264- OutputArray ids, const Ptr<DetectorParameters> ¶meters = DetectorParameters::create(),
265- OutputArrayOfArrays rejectedImgPoints = noArray(), InputArray cameraMatrix= noArray(), InputArray distCoeff= noArray());
245+ CV_EXPORTS_W void detectMarkers (InputArray image, const Ptr<Dictionary> &dictionary, OutputArrayOfArrays corners,
246+ OutputArray ids, const Ptr<DetectorParameters> ¶meters = DetectorParameters::create(),
247+ OutputArrayOfArrays rejectedImgPoints = noArray(), InputArray cameraMatrix= noArray(), InputArray distCoeff= noArray());
266248
267249
268250
0 commit comments