public static class SimplePoseTranslator.Builder extends BaseImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>
batchifier, flag, height, pipeline, width
Modifier and Type | Method and Description |
---|---|
SimplePoseTranslator |
build()
Builds the translator.
|
protected void |
configPostProcess(java.util.Map<java.lang.String,java.lang.Object> arguments) |
SimplePoseTranslator.Builder |
optThreshold(float threshold)
Sets the threshold for prediction accuracy.
|
protected SimplePoseTranslator.Builder |
self() |
addTransform, configPreProcess, optBatchifier, optFlag, setPipeline, validate
public SimplePoseTranslator.Builder optThreshold(float threshold)
Predictions below the threshold will be dropped.
threshold
- the threshold for prediction accuracyprotected SimplePoseTranslator.Builder self()
self
in class BaseImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>
protected void configPostProcess(java.util.Map<java.lang.String,java.lang.Object> arguments)
configPostProcess
in class BaseImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>
public SimplePoseTranslator build()