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