getBlobSizeAsync function

Future<Scalar> getBlobSizeAsync(
  1. Mat blob
)

Implementation

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