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<cdnn.Scalar>();
  cvRun(() => cdnn.Net_GetBlobSize(blob.ref, s));
  return Scalar.fromPointer(s);
}