getUnconnectedOutLayers method

List<int> getUnconnectedOutLayers()

GetUnconnectedOutLayers returns indexes of layers with unconnected outputs.

For further details, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#ae62a73984f62c49fd3e8e689405b056a

Implementation

List<int> getUnconnectedOutLayers() {
  final ids = calloc<cvg.VecI32>();
  cvRun(() => cdnn.cv_dnn_Net_getUnconnectedOutLayers(ref, ids, ffi.nullptr));
  return VecI32.fromPointer(ids).toList();
}