Page Summary
-
PoseDetectorOptionsBase is the base class for options used with the PoseDetector.
-
It has direct subclasses AccuratePoseDetectorOptions and PoseDetectorOptions, optimized for accuracy and speed respectively.
-
Nested classes define detector mode (single image or streaming) and hardware configuration (CPU or CPU/GPU).
-
Constants are provided for CPU and CPU_GPU hardware configurations, and SINGLE_IMAGE_MODE and STREAM_MODE for detector modes.
-
It includes standard Java Object methods such as equals, hashCode, and toString.
| AccuratePoseDetectorOptions | Options for PoseDetector
with models optimized for accuracy. |
| PoseDetectorOptions | Options for PoseDetector
with models optimized for speed. |
Base options for PoseDetector
.
Nested Class Summary
Constant Summary
| int | CPU | Hardware configuration that uses CPU only. |
| int | CPU_GPU | Hardware configuration that uses both CPU and GPU. |
| 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 | |
| String | toString
()
|
Inherited Method Summary
Constants
public static final int CPU
Hardware configuration that uses CPU only.
public static final int CPU_GPU
Hardware configuration that uses both CPU and GPU.
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.


