public static abstract @interface FaceDetectorOptions.LandmarkMode implements Annotation
FaceDetectorOptions.LandmarkMode
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\u003eFaceDetectorOptions.LandmarkMode\u003c/code\u003e defines whether to enable face landmarks detection, impacting processing time.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eLANDMARK_MODE_NONE\u003c/code\u003e (disables landmarks) and \u003ccode\u003eLANDMARK_MODE_ALL\u003c/code\u003e (enables all landmarks).\u003c/p\u003e\n"],["\u003cp\u003eProcessing time increases with the number of landmarks to be detected.\u003c/p\u003e\n"],["\u003cp\u003eThis annotation inherits methods from \u003ccode\u003ejava.lang.annotation.Annotation\u003c/code\u003e like \u003ccode\u003eannotationType()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"]]],["`FaceDetectorOptions.LandmarkMode` defines options for enabling face landmarks. It has two modes: `LANDMARK_MODE_NONE`, disabling landmarks, and `LANDMARK_MODE_ALL`, enabling all landmarks. Selecting landmark search increases processing time. It implements the `Annotation` interface, inheriting methods like `annotationType()`, `equals()`, `hashCode()`, and `toString()`.\n"],null,["# FaceDetectorOptions.LandmarkMode\n\npublic static abstract @interface **FaceDetectorOptions.LandmarkMode** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nDefines options to enable face landmarks or not. Processing time increases as the extra\nface landmark to search.\n\nLandmarkMode constants - enumeration of supported Landmark Mode:\n\n1. [FaceDetectorOptions.LANDMARK_MODE_NONE](/android/reference/com/google/mlkit/vision/face/FaceDetectorOptions#LANDMARK_MODE_NONE)\n2. [FaceDetectorOptions.LANDMARK_MODE_ALL](/android/reference/com/google/mlkit/vision/face/FaceDetectorOptions#LANDMARK_MODE_ALL) \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() |"]]