imagesFromBlob function
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
List<Mat> imagesFromBlob(Mat blob) {
final mats = calloc<cvg.VecMat>();
cvRun(() => cdnn.cv_dnn_imagesFromBlob(blob.ref, mats, ffi.nullptr));
return VecMat.fromPointer(mats).toList();
}