public class RecognisedObject extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
confidence
Confidence score
|
protected String |
id
Identifier for this object
|
protected String |
label
Label of this object.
|
protected String |
labelLang
Language of label, Example : english
|
Constructor and Description |
---|
RecognisedObject(String label,
String labelLang,
String id,
double confidence) |
Modifier and Type | Method and Description |
---|---|
double |
getConfidence() |
String |
getId() |
String |
getLabel() |
String |
getLabelLang() |
void |
setConfidence(double confidence) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setLabelLang(String labelLang) |
String |
toString() |
protected String label
protected String labelLang
protected String id
protected double confidence
public String getLabel()
public void setLabel(String label)
public String getLabelLang()
public void setLabelLang(String labelLang)
public String getId()
public void setId(String id)
public double getConfidence()
public void setConfidence(double confidence)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.