Builder for AccuratePoseDetectorOptions
.
Public Constructor Summary
Builder()
|
Public Method Summary
AccuratePoseDetectorOptions |
build()
|
AccuratePoseDetectorOptions.Builder |
setDetectorMode(int detectorMode)
Set the detector mode to be used, depending on what kind of input is being
processed.
|
AccuratePoseDetectorOptions.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public AccuratePoseDetectorOptions build ()
public AccuratePoseDetectorOptions.Builder setDetectorMode (int detectorMode)
Set the detector mode to be used, depending on what kind of input is being
processed. The
PoseDetector.process(InputImage)
call will treat the inputs differently
based on this mode.
Default:
PoseDetectorOptionsBase.STREAM_MODE
Use
PoseDetectorOptionsBase.STREAM_MODE
for input frames consisting of related
images, for example, frames from a user's camera. This mode uses tracking, which
provides a speed-up when the frames consists of related images without much of a scene
change.
Use
PoseDetectorOptionsBase.SINGLE_IMAGE_MODE
for a single still image, or when
the input frames are unrelated.
Parameters
detectorMode | the detector mode used, depending on what kind of input is being processed. One
of
PoseDetectorOptionsBase.STREAM_MODE or
PoseDetectorOptionsBase.SINGLE_IMAGE_MODE . |
---|