getBlobSize function

VecI32 getBlobSize(
  1. Mat blob
)

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

Implementation

VecI32 getBlobSize(Mat blob) {
  final s = calloc<cvg.VecI32>();
  cvRun(() => cdnn.cv_dnn_getBlobSize(blob.ref, s));
  return VecI32.fromPointer(s);
}