setTopKAsync method

Future<void> setTopKAsync(
  1. int topK
)

Implementation

Future<void> setTopKAsync(int topK) async {
  await cvRunAsync0<void>((callback) => cffi.FaceDetectorYN_SetTopK_Async(ref, topK, callback), (c) {
    return c.complete();
  });
}