Known Direct Subclasses |
Base options for PoseDetector
.
Nested Class Summary
@interface | PoseDetectorOptionsBase.DetectorMode | The detector mode which indicates whether detection is for single image or for streaming. | |
@interface | PoseDetectorOptionsBase.HardwareConfig | Hardware configuration for pose detection. |
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 |
hashCode()
Returns a hash code value for the object.
|
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.