Page Summary
-
PoseDetectorOptions provides options for configuring a PoseDetector.
-
It includes nested classes for building options and defining detector and performance modes.
-
Constants are available to specify performance modes (accurate or fast) and detector modes (single image or stream).
-
Public methods include standard
equals,hashCode, andtoStringmethods inherited from Object.
Options for PoseDetector.
Nested Class Summary
| class | PoseDetectorOptions.Builder | Builder for PoseDetectorOptions. |
|
| @interface | PoseDetectorOptions.DetectorMode | The detector mode which indicates whether detection is for single image or for streaming. | |
| @interface | PoseDetectorOptions.PerformanceMode | Defines options to control accuracy / speed trade-offs in performing pose detection. | |
Constant Summary
| int | PERFORMANCE_MODE_ACCURATE | This mode indicates a preference for accuracy during detection. |
| int | PERFORMANCE_MODE_FAST | This mode indicates a preference for speed during detection. |
| int | SINGLE_IMAGE_MODE | This mode is designed for single images where the detection of each image is independent. |
| int | STREAM_MODE | This mode is designed for streaming frames from video or camera. |
Public Method Summary
| boolean | |
| int |
hashCode()
Returns a hash code value for the object.
|
| String |
toString()
|
Inherited Method Summary
Constants
public static final int PERFORMANCE_MODE_ACCURATE
This mode indicates a preference for accuracy during detection. This will more accurately detect the pose at the cost of speed.
public static final int PERFORMANCE_MODE_FAST
This mode indicates a preference for speed during detection. This may be less precise but will run faster.
public static final int SINGLE_IMAGE_MODE
This mode is designed for single images where the detection of each image is
independent. In this mode, the detector will return pose results slower than
STREAM_MODE.
public static final int STREAM_MODE
This mode is designed for streaming frames from video or camera. In this mode, the
detector will return pose results faster than
SINGLE_IMAGE_MODE, since it leverages the detection results from previous
images.
Public Methods
public boolean equals (Object o)
Indicates whether some other object is "equal to" this one.
public int hashCode ()
Returns a hash code value for the object.