Page Summary
-
FaceDetectorOptions provides options for configuring a FaceDetector.
-
Nested classes define modes for classification, contours, landmarks, and performance.
-
Constants are used to specify the various modes for face detection features.
-
The class includes standard public methods like equals, hashCode, and toString.
Options for FaceDetector
.
Nested Class Summary
Constant Summary
| 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. |
Public Method Summary
| boolean | |
| int | |
| String | toString
()
|
Inherited Method Summary
Constants
public static final int CLASSIFICATION_MODE_ALL
Performs "eyes open" and "smiling" classification.
public static final int CLASSIFICATION_MODE_NONE
Does not perform classification.
public static final int CONTOUR_MODE_ALL
Detects FaceContour
for a given face. Note that it would return contours for up to 5 faces
public static final int CONTOUR_MODE_NONE
Does not perform contour detection.
public static final int LANDMARK_MODE_ALL
Detects FaceLandmark
for a given face.
public static final int LANDMARK_MODE_NONE
Does not perform landmark detection.
public static final int PERFORMANCE_MODE_ACCURATE
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.
public static final int PERFORMANCE_MODE_FAST
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.
Public Methods
public boolean equals ( Object o)
Indicates whether some other object is "equal to" this one.
public int hashCode ()
Returns a hash code value for the object.


