OcrPage Model
OcrPage Model documentation for Python SDK
OCR output for a single page.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| raw_json | str | Raw OCR JSON payload when requested | [optional] |
| markdown | str | Markdown rendering when requested | [optional] |
| layout | OcrLayout | ||
| timings | PageTimings | ||
| image | ImageInfo |
Example
from goodmem_client.models.ocr_page import OcrPage
# TODO update the JSON string below
json = "{}"
# create an instance of OcrPage from a JSON string
ocr_page_instance = OcrPage.from_json(json)
# print the JSON string representation of the object
print(OcrPage.to_json())
# convert the object into a dict
ocr_page_dict = ocr_page_instance.to_dict()
# create an instance of OcrPage from a dict
ocr_page_from_dict = OcrPage.from_dict(ocr_page_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK