findChessboardCornersSBAsync function
Future<(bool, Mat)>
findChessboardCornersSBAsync(
- InputArray image,
- (int, int) patternSize,
- int flags
Implementation
Future<(bool, Mat corners)> findChessboardCornersSBAsync(
InputArray image,
(int, int) patternSize,
int flags,
) async =>
cvRunAsync2(
(callback) => cffi.findChessboardCornersSB_Async(
image.ref,
patternSize.cvd.ref,
flags,
callback,
),
(c, p, p1) {
final rval = p.cast<ffi.Bool>().value;
calloc.free(p);
final corners = Mat.fromPointer(p1.cast());
return c.complete((rval, corners));
},
);