getAvailableTargets function
getAvailableTargets https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#ga711e5056b6642b33d9480c98c6889f56
Implementation
List<int> getAvailableTargets(int backend) {
final p = calloc<cvg.VecI32>();
cvRun(() => cdnn.cv_dnn_getAvailableTargets(backend, p));
final rval = List.generate(p.ref.length, (i) => p.ref.ptr[i]);
calloc.free(p);
return rval;
}