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,?> arguments) |
SimplePoseTranslator.Builder |
optThreshold(float threshold)
Sets the threshold for prediction accuracy.
|
protected SimplePoseTranslator.Builder |
self() |
addTransform, configPreProcess, optBatchifier, optFlag, setPipeline, validatepublic 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,?> arguments)
configPostProcess in class BaseImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>public SimplePoseTranslator build()