com.google.mlkit.vision.face

  • Annotations provide options for face contour types, classification modes (like smiling and eyes open), contour and landmark enablement, and performance trade-offs.

  • The FaceDetector interface is used to find faces in an image.

  • Classes include Face (representing a detected face), FaceContour (representing a face contour), FaceDetection (the entry point for getting a FaceDetector), FaceDetectorOptions (options for the FaceDetector), FaceDetectorOptions.Builder (for building FaceDetectorOptions), and FaceLandmark (representing a face landmark).

Annotations

FaceContour.ContourType Contour types for face. 
FaceDetectorOptions.ClassificationMode Defines options for characterizing attributes such as "smiling" * and "eyes open". 
FaceDetectorOptions.ContourMode Defines options to enable face contours or not. 
FaceDetectorOptions.LandmarkMode Defines options to enable face landmarks or not. 
FaceDetectorOptions.PerformanceMode Defines options to control accuracy / speed trade-offs in performing face detection. 
FaceLandmark.LandmarkType Landmark types for face. 

Interfaces

FaceDetector A FaceDetection client for finding Faces in a supplied image. 

Classes

Face Represents a face detected by FaceDetector
FaceContour Represent a face contour. 
FaceDetection Entry point to get a FaceDetector for finding Faces in a supplied image. 
FaceDetectorOptions Options for FaceDetector
FaceDetectorOptions.Builder Builder class of FaceDetectorOptions
FaceLandmark Represent a face landmark.