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 SummaryConstructors Constructor Description RecognisedObject(String label, String labelLang, String id, double confidence)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetConfidence()StringgetId()StringgetLabel()StringgetLabelLang()voidsetConfidence(double confidence)voidsetId(String id)voidsetLabel(String label)voidsetLabelLang(String labelLang)StringtoString()
 
- 
- 
- 
Method Detail- 
getLabelpublic String getLabel() 
 - 
setLabelpublic void setLabel(String label) 
 - 
getLabelLangpublic String getLabelLang() 
 - 
setLabelLangpublic void setLabelLang(String labelLang) 
 - 
getIdpublic String getId() 
 - 
setIdpublic void setId(String id) 
 - 
getConfidencepublic double getConfidence() 
 - 
setConfidencepublic void setConfidence(double confidence) 
 
- 
 
-