PoseDetectorOptions.PerformanceMode
Stay organized with collections
Save and categorize content based on your preferences.
Defines options to control accuracy / speed trade-offs in performing pose detection. In
general, choosing the more accurate mode will generally result in longer runtime, whereas
choosing the faster mode may result in less accurate detections.
PerformanceMode constants - enumeration of supported performance modes:
PERFORMANCE_MODE_FAST
PERFORMANCE_MODE_ACCURATE
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
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\u003ePoseDetectorOptions.PerformanceMode\u003c/code\u003e allows you to control the trade-off between the accuracy and speed of pose detection.\u003c/p\u003e\n"],["\u003cp\u003eChoosing a more accurate mode will generally increase processing time, while a faster mode may reduce detection accuracy.\u003c/p\u003e\n"],["\u003cp\u003eTwo performance modes are available: \u003ccode\u003ePERFORMANCE_MODE_FAST\u003c/code\u003e and \u003ccode\u003ePERFORMANCE_MODE_ACCURATE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# PoseDetectorOptions.PerformanceMode\n\npublic static abstract @interface **PoseDetectorOptions.PerformanceMode** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nDefines options to control accuracy / speed trade-offs in performing pose detection. In\ngeneral, choosing the more accurate mode will generally result in longer runtime, whereas\nchoosing the faster mode may result in less accurate detections.\n\nPerformanceMode constants - enumeration of supported performance modes:\n\n1. [PERFORMANCE_MODE_FAST](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptions#PERFORMANCE_MODE_FAST)\n2. [PERFORMANCE_MODE_ACCURATE](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptions#PERFORMANCE_MODE_ACCURATE) \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() |"]]