public class YoloTranslatorFactory extends ObjectDetectionTranslatorFactory
TranslatorFactory that creates a YoloTranslator instance.| Constructor and Description |
|---|
YoloTranslatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Translator<?,?> |
newInstance(java.lang.Class<?> input,
java.lang.Class<?> output,
Model model,
java.util.Map<java.lang.String,?> arguments)
Returns a new instance of the
Translator class. |
getSupportedTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSupportedpublic Translator<?,?> newInstance(java.lang.Class<?> input, java.lang.Class<?> output, Model model, java.util.Map<java.lang.String,?> arguments) throws TranslateException
Translator class.input - the input classoutput - the output classmodel - the Model that uses the Translatorarguments - the configurations for a new Translator instanceTranslator classTranslateException - if failed to create Translator instance