This class is deprecated.
      The standalone ML Kit SDK replaces this API. For more information, refer to the migration guide.
Options for FirebaseVisionFaceDetector.
Nested Class Summary
| class | FirebaseVisionFaceDetectorOptions.Builder | Builder class of 
              FirebaseVisionFaceDetectorOptions. | |
| @interface | FirebaseVisionFaceDetectorOptions.ClassificationMode | Indicates whether to run additional classifiers for characterizing attributes such as "smiling" and "eyes open". | |
| @interface | FirebaseVisionFaceDetectorOptions.ContourMode | Sets whether to detect contours or not. | |
| @interface | FirebaseVisionFaceDetectorOptions.LandmarkMode | Sets whether to detect no landmarks or all landmarks. | |
| @interface | FirebaseVisionFaceDetectorOptions.PerformanceMode | Extended option for controlling additional accuracy / speed trade-offs in performing face detection. | |
Constant Summary
| int | ACCURATE | Indicates a preference for accuracy in extended settings that may make an accuracy vs. | 
| int | ALL_CLASSIFICATIONS | Performs "eyes open" and "smiling" classification. | 
| int | ALL_CONTOURS | Detects 
              FirebaseVisionFaceContourfor a given face. | 
| int | ALL_LANDMARKS | Detects 
              FirebaseVisionFaceLandmarkfor a given face. | 
| int | FAST | Indicates a preference for speed in extended settings that may make an accuracy vs. | 
| int | NO_CLASSIFICATIONS | Does not perform classification. | 
| int | NO_CONTOURS | Does not perform contour detection. | 
| int | NO_LANDMARKS | Does not perform landmark detection. | 
Public Method Summary
| boolean | |
| int | 
                  
                  getClassificationMode()
                   
                    Gets the classifiers mode for characterizing attributes, such as "smiling" and
                    "eyes open".
                   | 
| int | 
                  
                  getContourMode()
                   
                    Gets the contour mode for face detection.
                   | 
| int | 
                  
                  getLandmarkMode()
                   
                    Gets the landmark mode for face detection.
                   | 
| float | 
                  
                  getMinFaceSize()
                   
                    Sets the smallest desired face size, expressed as a proportion of the width of
                    the head to the image width.
                   | 
| int | 
                  
                  getPerformanceMode()
                   
                    Extended option for controlling additional accuracy / speed trade-offs in
                    performing face detection.
                   | 
| int | 
                  
                  hashCode()
                 | 
| boolean | 
                  
                  isTrackingEnabled()
                   
                    Returns if face tracking is enabled, which will maintain a consistent ID for
                    each face when processing consecutive frames.
                   | 
| String | 
                  
                  toString()
                 | 
Inherited Method Summary
Constants
public static final int ACCURATE
Indicates a preference for accuracy in extended settings 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 ALL_CLASSIFICATIONS
Performs "eyes open" and "smiling" classification.
public static final int ALL_CONTOURS
Detects 
            FirebaseVisionFaceContour for a given face. Note that it would return
            contours for up to 5 faces
public static final int ALL_LANDMARKS
Detects 
            FirebaseVisionFaceLandmark for a given face.
public static final int FAST
Indicates a preference for speed in extended settings 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 static final int NO_CLASSIFICATIONS
Does not perform classification.
public static final int NO_CONTOURS
Does not perform contour detection.
public static final int NO_LANDMARKS
Does not perform landmark detection.
Public Methods
public boolean equals (Object o)
public int getClassificationMode ()
Gets the classifiers mode for characterizing attributes, such as "smiling" and "eyes
            open". See 
            setClassificationMode(int).
public int getContourMode ()
Gets the contour mode for face detection. See 
            setContourMode(int).
public int getLandmarkMode ()
Gets the landmark mode for face detection. See 
            setLandmarkMode(int).
public float getMinFaceSize ()
Sets the smallest desired face size, expressed as a proportion of the width of the
            head to the image width. See 
            setMinFaceSize(float).
public int getPerformanceMode ()
Extended option for controlling additional accuracy / speed trade-offs in performing
            face detection. In general, choosing the more accurate mode will generally result in
            longer runtime, whereas choosing the faster mode will generally result in detecting
            fewer faces. See 
            setPerformanceMode(int).
public int hashCode ()
public boolean isTrackingEnabled ()
Returns if face tracking is enabled, which will maintain a consistent ID for each
            face when processing consecutive frames. See 
            enableTracking().