imagesFromBlob function

VecMat imagesFromBlob(
  1. Mat blob
)

ImagesFromBlob Parse a 4D blob and output the images it contains as 2D arrays through a simpler data structure (std::vectorcv::Mat).

For further details, please see: https://docs.opencv.org/master/d6/d0f/group__dnn.html#ga4051b5fa2ed5f54b76c059a8625df9f5

Implementation

VecMat imagesFromBlob(Mat blob) {
  final mats = VecMat();
  cvRun(() => cdnn.cv_dnn_imagesFromBlob(blob.ref, mats.ptr, ffi.nullptr));
  return mats;
}