forwardLayers method
OpenVINO not supported yet, this is not available ForwardAsync runs forward pass to compute output of layer with name outputName.
For further details, please see: https://docs.opencv.org/4.x/db/d30/classcv_1_1dnn_1_1Net.html#a814890154ea9e10b132fec00b6f6ba30 ForwardLayers forward pass to compute outputs of layers listed in outBlobNames.
For further details, please see: https://docs.opencv.org/3.4.1/db/d30/classcv_1_1dnn_1_1Net.html#adb34d7650e555264c7da3b47d967311b
Implementation
// AsyncArray forwardAsync({String outputName = ""}) {
// return using<AsyncArray>((arena) {
// final cname = outputName.toNativeUtf8(allocator: arena);
// final p = cffiDnn.Net_forwardAsync(ptr, cname.cast());
// return AsyncArray.fromPointer(p);
// });
// }
/// ForwardLayers forward pass to compute outputs of layers listed in outBlobNames.
///
/// For further details, please see:
/// https://docs.opencv.org/3.4.1/db/d30/classcv_1_1dnn_1_1Net.html#adb34d7650e555264c7da3b47d967311b
VecMat forwardLayers(List<String> names) {
final vecName = names.i8;
final vecMat = calloc<cvg.VecMat>();
cvRun(() => cdnn.cv_dnn_Net_forwardLayers(ref, vecMat, vecName.ref, ffi.nullptr));
return VecMat.fromPointer(vecMat);
}