Package ai.extend.types
Class ParserRunOcrWordsItem
- java.lang.Object
-
- ai.extend.types.ParserRunOcrWordsItem
-
public final class ParserRunOcrWordsItem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParserRunOcrWordsItem._FinalStagestatic interfaceParserRunOcrWordsItem.BoundingBoxStagestatic classParserRunOcrWordsItem.Builderstatic interfaceParserRunOcrWordsItem.ConfidenceStagestatic interfaceParserRunOcrWordsItem.ContentStagestatic interfaceParserRunOcrWordsItem.PageNumberStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParserRunOcrWordsItem.ContentStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()ParserRunOcrWordsItemBoundingBoxgetBoundingBox()doublegetConfidence()java.lang.StringgetContent()doublegetPageNumber()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
- Returns:
- The text content of the word.
-
getBoundingBox
public ParserRunOcrWordsItemBoundingBox 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.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ParserRunOcrWordsItem.ContentStage builder()
-
-