getBlobSizeAsync function

Future<Scalar> getBlobSizeAsync(
  1. Mat blob
)

Implementation

Future<Scalar> getBlobSizeAsync(Mat blob) async {
  final rval = cvRunAsync<Scalar>(
    (callback) => cffi.Net_GetBlobSize_Async(blob.ref, callback),
    (c, result) => c.complete(Scalar.fromPointer(result.cast<cvg.Scalar>())),
  );
  return rval;
}