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