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