getTopK method

int getTopK()

Implementation

int getTopK() {
  return using<int>((arena) {
    final p = arena<ffi.Int>();
    cvRun(() => cffi.FaceDetectorYN_GetTopK(ref, p));
    return p.value;
  });
}