PoseDetectorOptions

public class PoseDetectorOptions extends 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
equals(Object o)
Indicates whether some other object is "equal to" this one.
int
hashCode()
Returns a hash code value for the object.
String

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.

Constant Value: 2

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.

Constant Value: 1

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.

Constant Value: 2

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.

Constant Value: 1

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.

public String toString ()