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
detectedCornersPoint2f[][]List of detected marker corners of the board.
detectedIdsInputArrayList of identifiers for each marker.
objPointsOutputArrayVector of marker points in the board coordinate space.
imgPointsOutputArrayVector of marker points in the image coordinate space.