FaceMeshDetectorOptions

  • FaceMeshDetectorOptions provides configuration options for the FaceMeshDetector.

  • It includes nested classes for building options and defining use cases.

  • Constants define different detection use cases, such as only returning a bounding box or including face mesh information.

  • Public methods like equals, hashCode, and toString are available for object comparison and representation.

public class FaceMeshDetectorOptions extends Object

Options for FaceMeshDetector.

Nested Class Summary

class FaceMeshDetectorOptions.Builder Builder class of FaceMeshDetectorOptions
@interface FaceMeshDetectorOptions.UseCase Defines options for main use case. 

Constant Summary

int BOUNDING_BOX_ONLY FaceMeshDetectorOptions.UseCase to only return bounding box for detected face.
int FACE_MESH FaceMeshDetectorOptions.UseCase to also return face mesh info for detected face.

Public Method Summary

boolean
equals(Object o)
Indicates whether some other object is "equal to" this one.
int
hashCode()
Returns a hash code value for the object.
String

Inherited Method Summary

Constants

public static final int BOUNDING_BOX_ONLY

FaceMeshDetectorOptions.UseCase to only return bounding box for detected face.

Constant Value: 0

public static final int FACE_MESH

FaceMeshDetectorOptions.UseCase to also return face mesh info for detected face. It returns at most 2 FaceMeshs in this use case.

Constant Value: 1

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.

public String toString ()