GoodMem
ReferenceClient SDKsPython SDKModels

OcrCell Model

OcrCell Model documentation for Python SDK

Single OCR layout element.

Properties

NameTypeDescriptionNotes
bboxBoundingBox[optional]
category_labelstrRaw category label emitted by OCR
categoryOcrCategory
textstrOCR text content

Example

from goodmem_client.models.ocr_cell import OcrCell

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

# convert the object into a dict
ocr_cell_dict = ocr_cell_instance.to_dict()
# create an instance of OcrCell from a dict
ocr_cell_from_dict = OcrCell.from_dict(ocr_cell_dict)

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

On this page