Package ai.djl.modality.cv.translator
Class ObjectDetectionTranslatorFactory
- java.lang.Object
-
- ai.djl.modality.cv.translator.ObjectDetectionTranslatorFactory
-
- All Implemented Interfaces:
TranslatorFactory
- Direct Known Subclasses:
InstanceSegmentationTranslatorFactory
,SingleShotDetectionTranslatorFactory
,YoloTranslatorFactory
,YoloV5TranslatorFactory
public abstract class ObjectDetectionTranslatorFactory extends java.lang.Object implements TranslatorFactory
An abstractTranslatorFactory
that creates aObjectDetectionTranslator
instance.
-
-
Constructor Summary
Constructors Constructor Description ObjectDetectionTranslatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<ai.djl.util.Pair<java.lang.reflect.Type,java.lang.reflect.Type>>
getSupportedTypes()
Returns supported input/output classes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.djl.translate.TranslatorFactory
isSupported, newInstance
-
-
-
-
Method Detail
-
getSupportedTypes
public java.util.Set<ai.djl.util.Pair<java.lang.reflect.Type,java.lang.reflect.Type>> getSupportedTypes()
Returns supported input/output classes.- Specified by:
getSupportedTypes
in interfaceTranslatorFactory
- Returns:
- a set of supported input/output classes
-
-