Package nl.dannyj.mistral.models.ocr
Class OCRPageObject.OCRPageObjectBuilder
java.lang.Object
nl.dannyj.mistral.models.ocr.OCRPageObject.OCRPageObjectBuilder
- Enclosing class:
- OCRPageObject
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dimensions
(OCRPageDimensions dimensions) The dimensions of the PDF Page's screenshot image.images
(List<OCRImageObject> images) List of all extracted images in the page.The page index in a PDF document starting from 0.The markdown string response of the page.toString()
-
Method Details
-
index
The page index in a PDF document starting from 0.- Returns:
this
.
-
markdown
The markdown string response of the page.- Returns:
this
.
-
images
List of all extracted images in the page.- Returns:
this
.
-
dimensions
The dimensions of the PDF Page's screenshot image.- Returns:
this
.
-
build
-
toString
-