public static abstract @interface FaceDetectorOptions.ContourMode implements Annotation
FaceDetectorOptions.ContourMode
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eFaceDetectorOptions.ContourMode\u003c/code\u003e defines whether or not to enable face contours, impacting processing time.\u003c/p\u003e\n"],["\u003cp\u003eTwo contour modes are available: \u003ccode\u003eCONTOUR_MODE_NONE\u003c/code\u003e and \u003ccode\u003eCONTOUR_MODE_ALL\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eProcessing time increases with the number of contours to search.\u003c/p\u003e\n"],["\u003cp\u003eIt 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"]]],[],null,["# FaceDetectorOptions.ContourMode\n\npublic static abstract @interface **FaceDetectorOptions.ContourMode** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nDefines options to enable face contours or not. Processing time increases as the number of\ncontours to search.\n\nContourMode constants - enumeration of supported Contour Mode:\n\n1. [FaceDetectorOptions.CONTOUR_MODE_NONE](/android/reference/com/google/mlkit/vision/face/FaceDetectorOptions#CONTOUR_MODE_NONE)\n2. [FaceDetectorOptions.CONTOUR_MODE_ALL](/android/reference/com/google/mlkit/vision/face/FaceDetectorOptions#CONTOUR_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() |"]]