Skip to content

Incorrect aruco board corners refinement with CORNER_REFINE_SUBPIX #24113

@victor1234

Description

@victor1234

System Information

OpenCV python version: 4.8.0.74
OS: Debian 11 bullseye
Python: 3.9.2

Detailed description

CORNER_REFINE_SUBPIX works incorrectly with aruco board

aruco-board-subpix-fragment

Other methods on the same image work without problems

Steps to reproduce

detector_parameters = cv.aruco.DetectorParameters()
detector_parameters.cornerRefinementMethod = cv.aruco.CORNER_REFINE_SUBPIX

detector = cv.aruco.ArucoDetector(board.getDictionary(), detector_parameters)
corners, ids, rejected = detector.detectMarkers(gray)

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions