Class RecognisedObject
- java.lang.Object
-
- org.apache.tika.parser.recognition.RecognisedObject
-
- Direct Known Subclasses:
CaptionObject
public class RecognisedObject extends Object
A model for recognised objects from graphics and texts typically includes human readable label for the object, language of the label, id and confidence score.- Since:
- Apache Tika 1.14
-
-
Constructor Summary
Constructors Constructor Description RecognisedObject(String label, String labelLang, String id, double confidence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getLabelLang
public String getLabelLang()
-
setLabelLang
public void setLabelLang(String labelLang)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getConfidence
public double getConfidence()
-
setConfidence
public void setConfidence(double confidence)
-
-