PoseDetectorOptions
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Constant Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
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\u003ePoseDetectorOptions\u003c/code\u003e provides configurations for the \u003ccode\u003ePoseDetector\u003c/code\u003e with models optimized for speed.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits options for hardware acceleration (CPU, CPU & GPU) and detection modes (single image, stream) from \u003ccode\u003ePoseDetectorOptionsBase\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA builder class, \u003ccode\u003ePoseDetectorOptions.Builder\u003c/code\u003e, is available to create instances of \u003ccode\u003ePoseDetectorOptions\u003c/code\u003e.\u003c/p\u003e\n"]]],["`PoseDetectorOptions` configures the `PoseDetector` for speed-optimized models. It has a `Builder` class for creation. Key constants include `CPU` and `CPU_GPU` for hardware configurations, and `SINGLE_IMAGE_MODE` and `STREAM_MODE` for processing types. Inherited methods include `equals`, `hashCode`, and `toString` for object comparison, hash generation and string representation respectively. The Class also inherit other functions like clone, getClass and wait.\n"],null,["# PoseDetectorOptions\n\npublic class **PoseDetectorOptions** extends [PoseDetectorOptionsBase](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase) \nOptions for [PoseDetector](/android/reference/com/google/mlkit/vision/pose/PoseDetector)\nwith models optimized for speed. \n\n### Nested Class Summary\n\n|-------|---|---|------------------------------------------------------------------------------------------------------------------|\n| class | [PoseDetectorOptions.Builder](/android/reference/com/google/mlkit/vision/pose/defaults/PoseDetectorOptions.Builder) || Builder for [PoseDetectorOptions](/android/reference/com/google/mlkit/vision/pose/defaults/PoseDetectorOptions). |\n\n### Inherited Constant Summary\n\nFrom class [com.google.mlkit.vision.pose.PoseDetectorOptionsBase](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase) \n\n|-----|----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| int | [CPU](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#CPU) | Hardware configuration that uses CPU only. |\n| int | [CPU_GPU](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#CPU_GPU) | Hardware configuration that uses both CPU and GPU. |\n| int | [SINGLE_IMAGE_MODE](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#SINGLE_IMAGE_MODE) | This mode is designed for single images where the detection of each image is independent. |\n| int | [STREAM_MODE](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#STREAM_MODE) | This mode is designed for streaming frames from video or camera. |\n\n### Inherited Method Summary\n\nFrom class [com.google.mlkit.vision.pose.PoseDetectorOptionsBase](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase) \n\n|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is \"equal to\" this one. |\n| int | [hashCode](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#hashCode())() Returns a hash code value for the object. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [toString](/android/reference/com/google/mlkit/vision/pose/PoseDetectorOptionsBase#toString())() |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |"]]