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 markers, returns the corresponding image points and object points, can be used in solvePnP()

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

Parameters

detectedCorners Point2f[][]

List of detected marker corners of the board.

detectedIds InputArray

List of identifiers for each marker.

objPoints OutputArray

Vector of marker points in the board coordinate space.

imgPoints OutputArray

Vector of marker points in the image coordinate space.