getTopK method

int getTopK()

Implementation

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