Class SimplePoseTranslator

    • Constructor Detail

      • SimplePoseTranslator

        public SimplePoseTranslator​(SimplePoseTranslator.Builder builder)
        Creates the Pose Estimation translator from the given builder.
        Parameters:
        builder - the builder for the translator
    • Method Detail

      • processOutput

        public Joints processOutput​(TranslatorContext ctx,
                                    NDList list)
        Processes the output NDList to the corresponding output object.
        Parameters:
        ctx - the toolkit used for post-processing
        list - the output NDList after inference
        Returns:
        the output object of expected type
      • builder

        public static SimplePoseTranslator.Builder builder​(java.util.Map<java.lang.String,​?> arguments)
        Creates a builder to build a SimplePoseTranslator with specified arguments.
        Parameters:
        arguments - arguments to specify builder options
        Returns:
        a new builder