matchImagePoints method

(Mat, Mat) matchImagePoints(
  1. VecPoint2f detectedCharuco,
  2. VecI32 detectedIds, {
  3. Mat? objPoints,
  4. Mat? imgPoints,
})

Implementation

(Mat objPoints, Mat imgPoints) matchImagePoints(
  VecPoint2f detectedCharuco,
  VecI32 detectedIds, {
  Mat? objPoints,
  Mat? imgPoints,
}) {
  objPoints ??= Mat.empty();
  imgPoints ??= Mat.empty();
  cvRun(
    () => ccontrib.cv_aruco_charucoBoard_matchImagePoints(
      ref,
      detectedCharuco.ref,
      detectedIds.ref,
      objPoints!.ref,
      imgPoints!.ref,
      ffi.nullptr,
    ),
  );
  return (objPoints, imgPoints);
}