AI-generated Key Takeaways
-
FaceMeshDetectorOptions
provides configuration settings for theFaceMeshDetector
in ML Kit. -
It offers two main use cases: detecting only the bounding box of a face (
BOUNDING_BOX_ONLY
) or detecting the face mesh along with the bounding box (FACE_MESH
). -
A builder class (
FaceMeshDetectorOptions.Builder
) is available for creating instances ofFaceMeshDetectorOptions
. -
FaceMeshDetectorOptions
includes standard methods likeequals
,hashCode
, andtoString
.
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 | |
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
|
Inherited Method Summary
Constants
public static final int BOUNDING_BOX_ONLY
FaceMeshDetectorOptions.UseCase
to only return bounding box for detected
face.
public static final int FACE_MESH
FaceMeshDetectorOptions.UseCase
to also return face mesh info for detected
face. It returns at most 2 FaceMesh
s
in this use case.
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.