public class SimplePoseTranslator extends BaseImageTranslator<Joints>
Modifier and Type | Class and Description |
---|---|
static class |
SimplePoseTranslator.Builder
The builder for Pose Estimation translator.
|
BaseImageTranslator.BaseBuilder<T extends BaseImageTranslator.BaseBuilder>, BaseImageTranslator.ClassificationBuilder<T extends BaseImageTranslator.BaseBuilder>, BaseImageTranslator.SynsetLoader
Constructor and Description |
---|
SimplePoseTranslator(SimplePoseTranslator.Builder builder)
Creates the Pose Estimation translator from the given builder.
|
Modifier and Type | Method and Description |
---|---|
static SimplePoseTranslator.Builder |
builder()
Creates a builder to build a
SimplePoseTranslator . |
static SimplePoseTranslator.Builder |
builder(java.util.Map<java.lang.String,?> arguments)
Creates a builder to build a
SimplePoseTranslator with specified arguments. |
Joints |
processOutput(TranslatorContext ctx,
NDList list)
Processes the output NDList to the corresponding output object.
|
getBatchifier, getBooleanValue, getFloatValue, getIntValue, getPipeline, getStringValue, processInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
public SimplePoseTranslator(SimplePoseTranslator.Builder builder)
builder
- the builder for the translatorpublic Joints processOutput(TranslatorContext ctx, NDList list)
ctx
- the toolkit used for post-processinglist
- the output NDList after inferencepublic static SimplePoseTranslator.Builder builder()
SimplePoseTranslator
.public static SimplePoseTranslator.Builder builder(java.util.Map<java.lang.String,?> arguments)
SimplePoseTranslator
with specified arguments.arguments
- arguments to specify builder options