findChessboardCornersSBWithMeta function

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

Implementation

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