Class 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 Detail

      • RecognisedObject

        public RecognisedObject​(String label,
                                String labelLang,
                                String id,
                                double confidence)
    • 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)