public class SimplePoseTranslator extends ImageTranslator<Joints>
Modifier and Type | Class and Description |
---|---|
static class |
SimplePoseTranslator.Builder
The builder for Pose Estimation translator.
|
ImageTranslator.BaseBuilder<T extends ImageTranslator.BaseBuilder>
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 . |
Joints |
processOutput(TranslatorContext ctx,
NDList list)
Processes the output NDList to the corresponding output object.
|
getPipeline, processInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBatchifier, 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
.