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(() => cffi.Net_ImagesFromBlob(blob.ref, mats));
return VecMat.fromPointer(mats).toList();
}