public static class SimplePoseTranslator.Builder extends ImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>
flag, pipeline| Modifier and Type | Method and Description |
|---|---|
SimplePoseTranslator |
build()
Builds the translator.
|
SimplePoseTranslator.Builder |
optThreshold(float threshold)
Sets the threshold for prediction accuracy.
|
protected SimplePoseTranslator.Builder |
self() |
optFlag, setPipelineprotected SimplePoseTranslator.Builder self()
self in class ImageTranslator.BaseBuilder<SimplePoseTranslator.Builder>public SimplePoseTranslator.Builder optThreshold(float threshold)
Predictions below the threshold will be dropped.
threshold - the threshold for prediction accuracypublic SimplePoseTranslator build()