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 | |
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.
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 FaceMesh
s
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.