setInputSizeAsync method

Future<void> setInputSizeAsync(
  1. (int, int) inputSize
)

Implementation

Future<void> setInputSizeAsync((int, int) inputSize) async {
  await cvRunAsync0<void>(
      (callback) => cffi.FaceDetectorYN_SetInputSize_Async(
            ref,
            inputSize.cvd.ref,
            callback,
          ), (c) {
    return c.complete();
  });
}