public class SingleShotDetectionTranslator extends ImageTranslator<DetectedObjects>
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleShotDetectionTranslator.Builder
The builder for SSD translator.
|
ImageTranslator.BaseBuilder<T extends ImageTranslator.BaseBuilder>| Constructor and Description |
|---|
SingleShotDetectionTranslator(SingleShotDetectionTranslator.Builder builder)
Creates the SSD translator from the given builder.
|
| Modifier and Type | Method and Description |
|---|---|
static SingleShotDetectionTranslator.Builder |
builder()
Creates a builder to build a
SingleShotDetectionTranslator. |
DetectedObjects |
processOutput(TranslatorContext ctx,
NDList list)
Processes the output NDList to the corresponding output object.
|
getPipeline, processInputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchifierpublic SingleShotDetectionTranslator(SingleShotDetectionTranslator.Builder builder)
builder - the builder for the translatorpublic DetectedObjects processOutput(TranslatorContext ctx, NDList list) throws java.io.IOException
ctx - the toolkit used for post-processinglist - the output NDList after inferencejava.io.IOExceptionpublic static SingleShotDetectionTranslator.Builder builder()
SingleShotDetectionTranslator.