findChessboardCornersSB function

(bool, Mat) findChessboardCornersSB(
  1. InputArray image,
  2. (int, int) patternSize,
  3. int flags, {
  4. OutputArray? corners,
})

Implementation

(bool, Mat corners) findChessboardCornersSB(
  InputArray image,
  (int, int) patternSize,
  int flags, {
  OutputArray? corners,
}) {
  corners ??= Mat.empty();
  final b = calloc<ffi.Bool>();
  cvRun(() => cffi.FindChessboardCornersSB(image.ref, patternSize.cvd.ref, corners!.ref, flags, b));
  final rval = b.value;
  calloc.free(b);
  return (rval, corners);
}