GoodMem
ReferenceClient SDKsPython SDKModels

OcrLayout Model

OcrLayout Model documentation for Python SDK

Parsed OCR layout output for a page.

Properties

NameTypeDescriptionNotes
cellsList[OcrCell]Layout cells in reading order

Example

from goodmem_client.models.ocr_layout import OcrLayout

# TODO update the JSON string below
json = "{}"
# create an instance of OcrLayout from a JSON string
ocr_layout_instance = OcrLayout.from_json(json)
# print the JSON string representation of the object
print(OcrLayout.to_json())

# convert the object into a dict
ocr_layout_dict = ocr_layout_instance.to_dict()
# create an instance of OcrLayout from a dict
ocr_layout_from_dict = OcrLayout.from_dict(ocr_layout_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page