drawChessboardCorners function

Mat drawChessboardCorners(
  1. InputOutputArray image,
  2. (int, int) patternSize,
  3. VecPoint2f corners,
  4. bool patternWasFound,
)

DrawChessboardCorners renders the detected chessboard corners.

For further details, please see: https://docs.opencv.org/master/d9/d0c/group__calib3d.html#ga6a10b0bb120c4907e5eabbcd22319022

Implementation

Mat drawChessboardCorners(
  InputOutputArray image,
  (int, int) patternSize,
  VecPoint2f corners,
  bool patternWasFound,
) {
  cvRun(
    () => ccalib3d.cv_drawChessboardCorners(
      image.ref,
      patternSize.cvd.ref,
      corners.ref,
      patternWasFound,
      ffi.nullptr,
    ),
  );
  return image;
}