Options for FaceDetector.
| class | FaceDetectorOptions.Builder | Builder class of FaceDetectorOptions. |
|
| @interface | FaceDetectorOptions.ClassificationMode | Defines options for characterizing attributes such as "smiling" * and "eyes open". | |
| @interface | FaceDetectorOptions.ContourMode | Defines options to enable face contours or not. | |
| @interface | FaceDetectorOptions.LandmarkMode | Defines options to enable face landmarks or not. | |
| @interface | FaceDetectorOptions.PerformanceMode | Defines options to control accuracy / speed trade-offs in performing face detection. | |
| int | CLASSIFICATION_MODE_ALL | Performs "eyes open" and "smiling" classification. |
| int | CLASSIFICATION_MODE_NONE | Does not perform classification. |
| int | CONTOUR_MODE_ALL | Detects FaceContour
for a given face. |
| int | CONTOUR_MODE_NONE | Does not perform contour detection. |
| int | LANDMARK_MODE_ALL | Detects FaceLandmark
for a given face. |
| int | LANDMARK_MODE_NONE | Does not perform landmark detection. |
| int | PERFORMANCE_MODE_ACCURATE | Indicates a preference for accuracy in the options that may make an accuracy vs. |
| int | PERFORMANCE_MODE_FAST | Indicates a preference for speed in the options that may make an accuracy vs. |
| boolean | |
| int |
hashCode()
Returns a hash code value for the object.
|
| String |
toString()
|
Performs "eyes open" and "smiling" classification.
Does not perform classification.
Detects FaceContour
for a given face. Note that it would return contours for up to 5 faces
Does not perform contour detection.
Detects FaceLandmark
for a given face.
Does not perform landmark detection.
Indicates a preference for accuracy in the options that may make an accuracy vs. speed trade-off. This will tend to detect more faces and may be more precise in determining values such as position, at the cost of speed.
Indicates a preference for speed in the options that may make an accuracy vs. speed trade-off. This will tend to detect fewer faces and may be less precise in determining values such as position, but will run faster.
Indicates whether some other object is "equal to" this one.
Returns a hash code value for the object.