public static abstract @interface FaceMesh.ContourType implements Annotation
FaceMesh.ContourType
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eFaceMesh.ContourType\u003c/code\u003e is an annotation interface defining the type of face contour to be detected.\u003c/p\u003e\n"],["\u003cp\u003eIt supports various predefined contour types such as face oval, eyebrows, eyes, lips, and nose bridge.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these constants to specify which facial features they want to analyze using the Face Mesh API.\u003c/p\u003e\n"]]],["`FaceMesh.ContourType` defines the types of face contours that are supported. It implements the `Annotation` interface. The supported contours are: face oval, left/right eyebrow top/bottom, left/right eye, upper/lower lip top/bottom, and nose bridge. Additionally, it inherits methods from `Annotation` such as `annotationType()`, `equals()`, `hashCode()`, and `toString()`. These methods allow the manipulation and extraction of the type of annotation.\n"],null,["# FaceMesh.ContourType\n\npublic static abstract @interface **FaceMesh.ContourType** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nType of face contour. The supported contour should be one of the following:\n\n1. [FaceMesh.FACE_OVAL](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#FACE_OVAL)\n2. [FaceMesh.LEFT_EYEBROW_TOP](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#LEFT_EYEBROW_TOP)\n3. [FaceMesh.LEFT_EYEBROW_BOTTOM](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#LEFT_EYEBROW_BOTTOM)\n4. [FaceMesh.RIGHT_EYEBROW_TOP](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#RIGHT_EYEBROW_TOP)\n5. [FaceMesh.RIGHT_EYEBROW_BOTTOM](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#RIGHT_EYEBROW_BOTTOM)\n6. [FaceMesh.LEFT_EYE](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#LEFT_EYE)\n7. [FaceMesh.RIGHT_EYE](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#RIGHT_EYE)\n8. [FaceMesh.UPPER_LIP_TOP](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#UPPER_LIP_TOP)\n9. [FaceMesh.UPPER_LIP_BOTTOM](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#UPPER_LIP_BOTTOM)\n10. [FaceMesh.LOWER_LIP_TOP](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#LOWER_LIP_TOP)\n11. [FaceMesh.LOWER_LIP_BOTTOM](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#LOWER_LIP_BOTTOM)\n12. [FaceMesh.NOSE_BRIDGE](/android/reference/com/google/mlkit/vision/facemesh/FaceMesh#NOSE_BRIDGE) \n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |"]]