Class RecognisedObject

java.lang.Object
org.apache.tika.parser.recognition.RecognisedObject
Direct Known Subclasses:
CaptionObject

@Deprecated(since="2026-04-30") public class RecognisedObject extends Object
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
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 Details

    • RecognisedObject

      public RecognisedObject(String label, String labelLang, String id, double confidence)
      Deprecated.
  • Method Details

    • getLabel

      public String getLabel()
      Deprecated.
    • setLabel

      public void setLabel(String label)
      Deprecated.
    • getLabelLang

      public String getLabelLang()
      Deprecated.
    • setLabelLang

      public void setLabelLang(String labelLang)
      Deprecated.
    • getId

      public String getId()
      Deprecated.
    • setId

      public void setId(String id)
      Deprecated.
    • getConfidence

      public double getConfidence()
      Deprecated.
    • setConfidence

      public void setConfidence(double confidence)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object