Package nl.dannyj.mistral.models.ocr
Class OCRImageObject.OCRImageObjectBuilder
java.lang.Object
nl.dannyj.mistral.models.ocr.OCRImageObject.OCRImageObjectBuilder
- Enclosing class:
- OCRImageObject
-
Method Summary
Modifier and TypeMethodDescriptionbottomRightX
(Integer bottomRightX) X coordinate of bottom-right corner of the extracted image.bottomRightY
(Integer bottomRightY) Y coordinate of bottom-right corner of the extracted image.build()
Image ID for extracted image in a page.imageBase64
(String imageBase64) Base64 string of the extracted image.X coordinate of top-left corner of the extracted image.Y coordinate of top-left corner of the extracted image.toString()
-
Method Details
-
id
Image ID for extracted image in a page.- Returns:
this
.
-
topLeftX
X coordinate of top-left corner of the extracted image.- Returns:
this
.
-
topLeftY
Y coordinate of top-left corner of the extracted image.- Returns:
this
.
-
bottomRightX
X coordinate of bottom-right corner of the extracted image.- Returns:
this
.
-
bottomRightY
Y coordinate of bottom-right corner of the extracted image.- Returns:
this
.
-
imageBase64
Base64 string of the extracted image.- Returns:
this
.
-
build
-
toString
-