OcrCell Model
OcrCell Model documentation for Python SDK
Single OCR layout element.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| bbox | BoundingBox | [optional] | |
| category_label | str | Raw category label emitted by OCR | |
| category | OcrCategory | ||
| text | str | OCR 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