getInputDetailsAsync method

Future<(VecF32, VecI32)> getInputDetailsAsync()

Implementation

Future<(VecF32, VecI32)> getInputDetailsAsync() async {
  final rval = cvRunAsync2<(VecF32, VecI32)>(
    (callback) => cffi.Net_GetInputDetails_Async(ref, callback),
    (c, sc, zp) => c.complete(
      (VecF32.fromPointer(sc.cast<cvg.VecF32>()), VecI32.fromPointer(zp.cast<cvg.VecI32>())),
    ),
  );
  return rval;
}