getLayerNames method

List<String> getLayerNames()

GetLayerNames returns all layer names.

For furtherdetails, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#ae8be9806024a0d1d41aba687cce99e6b

Implementation

List<String> getLayerNames() {
  final cNames = calloc<cdnn.VecVecChar>();
  cvRun(() => cdnn.Net_GetLayerNames(ref, cNames));
  final vec = VecVecChar.fromPointer(cNames);
  return vec.asStringList();
}