detectFaces
fun FaceDetectionModelBase<Bitmap>.detectFaces(imageProxy: ImageProxy, topK: Int = 5, iouThreshold: Float = 0.5f): List<DetectedObject>
Content copied to clipboard
Detects topK faces on the given imageProxy. If topK is negative all detected faces are returned.
Parameters
iouThreshold
threshold IoU value for the non-maximum suppression applied during postprocessing