public class ApplyImageModel extends AbstractImageProcessor
imageKey| Constructor and Description |
|---|
ApplyImageModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getModel()
Delivers the location, where the processor currents looks for the model image.
|
String |
getPredictionkey()
Delivers the key under which the classifier currently stores the predicted label.
|
Integer |
getT()
Returns the current threshold the processor is working with.
|
void |
init(stream.ProcessContext ctx) |
stream.Data |
process(stream.Data item,
ImageRGB img) |
void |
setModel(String model)
Tells the processor, where to find the model to be matched.
|
void |
setPredictionkey(String predictionkey)
Sets the key under which the classifier shall store the predicted label.
|
void |
setT(Integer t)
Sets the threshold t to a new value.
|
getImage, process, setImagepublic void setModel(String model)
model - String holding the location of the model imagepublic String getModel()
public void setT(Integer t)
t - Thresholdpublic Integer getT()
public void setPredictionkey(String predictionkey)
predictionkey - public String getPredictionkey()
public void init(stream.ProcessContext ctx)
throws Exception
init in interface stream.StatefulProcessorinit in class stream.AbstractProcessorExceptionpublic stream.Data process(stream.Data item,
ImageRGB img)
process in class AbstractImageProcessorCopyright © 2013. All Rights Reserved.