FaceDetector

interface FaceDetector

Face Detector component.

Types

Link copied to clipboard
data class Face(val confidence: Double, val position: DetectionPosition, val aspects: FaceAspects, val quality: FaceQuality, val keypoints: FaceKeypoints, val passiveLiveness: FaceAttribute? = null, val fullFrontalImage: Image? = null, val template: Template? = null)

Detected face in the image.

Functions

Link copied to clipboard
abstract fun detect(faceImage: FaceImage, query: FaceDetectionQuery = FaceDetectionQuery(), limit: Int): List<FaceDetector.Face>

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