OpenCV校准Charuco板转角子模块

2024-06-16 10:53:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个问题,我正在尝试使用charuco进行校准,我不知道我是否必须使用函数cv2.cornerSubPix,如果是,我是否必须将其用于标记角或棋盘角? 我将使用棋盘上的点进行校准

In this guide它说,如果不使用校准参数,则不应使用cornerSubPix

corners, ids, rejectedImgPoints = aruco.detectMarkers(...)
if len(corners) == 0:
   continue
for corner in corners:
   cv2.cornerSubPix(...)
interpolated_corners_count, charuco_corners, charuco_ids = aruco.interpolateCornersCharuco(...)

Tags: 函数in标记ids参数棋盘thiscv2