Class ImageFeatureExtractorFactory

    • Constructor Detail

      • ImageFeatureExtractorFactory

        public ImageFeatureExtractorFactory()
    • Method Detail

      • buildBaseTranslator

        protected Translator<Image,​byte[]> buildBaseTranslator​(Model model,
                                                                     java.util.Map<java.lang.String,​?> arguments)
        Builds the base translator that can be expanded.
        Specified by:
        buildBaseTranslator in class ExpansionTranslatorFactory<Image,​byte[]>
        Parameters:
        model - the Model that uses the Translator
        arguments - the configurations for a new Translator instance
        Returns:
        a base translator that can be expanded to form the factory options
      • getBaseOutputType

        public java.lang.Class<byte[]> getBaseOutputType()
        Returns the output type for the base translator.
        Specified by:
        getBaseOutputType in class ExpansionTranslatorFactory<Image,​byte[]>
        Returns:
        the output type for the base translator