getBlobSize function

Scalar getBlobSize(
  1. Mat blob
)

GetBlobSize retrieves the 4 dimensional size information in (N,C,H,W) order

Implementation

Scalar getBlobSize(Mat blob) {
  final s = calloc<cvg.Scalar>();
  cvRun(() => cffi.Net_GetBlobSize(blob.ref, s));
  return Scalar.fromPointer(s);
}