未验证 提交 3113b491 编写于 作者: A Alexander Smorkalov 提交者: GitHub

Merge pull request #23495 from smeng9:4.x

Fix aruco module CORNER_REFINE_CONTOUR parameter gets skipped
......@@ -965,7 +965,7 @@ void ArucoDetector::detectMarkers(InputArray _image, OutputArrayOfArrays _corner
/// STEP 3, Optional : Corner refinement :: use contour container
if (detectorParams.cornerRefinementMethod == CORNER_REFINE_CONTOUR){
if (!_ids.empty()) {
if (!ids.empty()) {
// do corner refinement using the contours for each detected markers
parallel_for_(Range(0, (int)candidates.size()), [&](const Range& range) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册