Table of Contents

Method MatchImagePoints

Namespace
OpenCvSharp.Aruco
Assembly
OpenCvSharp.dll

MatchImagePoints(Point2f[], InputArray, OutputArray, OutputArray)

Given a board configuration and a set of detected ChArUco corners, returns the corresponding image points and object points, can be used in solvePnP(). Overload of MatchImagePoints(Point2f[][], InputArray, OutputArray, OutputArray) for CharucoBoard, whose detected corners are a flat list of ChArUco corners rather than a jagged per-marker array.

public void MatchImagePoints(Point2f[] detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints)

Parameters

detectedCorners Point2f[]

List of detected ChArUco corners of the board.

detectedIds InputArray

List of identifiers for each charuco corner.

objPoints OutputArray

Vector of marker points in the board coordinate space.

imgPoints OutputArray

Vector of marker points in the image coordinate space.