Class ParseRunOutputOcrWordsItem


  • public final class ParseRunOutputOcrWordsItem
    extends java.lang.Object
    • Method Detail

      • getContent

        public java.lang.String getContent()
        Returns:
        The text content of the word.
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Returns:
        The bounding box coordinates of the word.
      • getConfidence

        public double getConfidence()
        Returns:
        The confidence score of the OCR detection for this word, between 0 and 1.
      • getPageNumber

        public double getPageNumber()
        Returns:
        The page number where the word was detected.
      • getBlockId

        public java.util.Optional<java.lang.String> getBlockId()
        Returns:
        The id of the block (see the Block schema) this word was assigned to, based on bounding-box overlap. Omitted when the word doesn't fall within any block's bounding box.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object