detect

abstract fun detect(bgraRawImage: BgraRawImage, limit: Int): List<FaceDetector.Face>

Detect faces in the image. This operation should be called on a background thread.

Return

List of faces or empty list if no face is detected.

Parameters

bgraRawImage

BGRA raw image.

limit

Detection stops when number of detected faces reaches limit.

Throws

If DOT Face Lite library is not activated.