imagesFromBlob function

List<Mat> 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

List<Mat> imagesFromBlob(Mat blob) {
  final mats = calloc<cdnn.VecMat>();
  cvRun(() => cdnn.Net_ImagesFromBlob(blob.ref, mats));
  return VecMat.fromPointer(mats).toList();
}