GoodMem
ReferenceClient SDKsPython SDKResponses

OcrDocumentResponse

OcrDocumentResponse documentation for Python SDK

Response containing page-ordered OCR results.

Properties

NameTypeDescriptionNotes
detected_formatOcrInputFormat
page_countintNumber of pages processed after applying the range
pagesList[OcrPageResult]Ordered per-page OCR results
timingsDocumentTimings

Example

from goodmem_client.models.ocr_document_response import OcrDocumentResponse

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

# convert the object into a dict
ocr_document_response_dict = ocr_document_response_instance.to_dict()
# create an instance of OcrDocumentResponse from a dict
ocr_document_response_from_dict = OcrDocumentResponse.from_dict(ocr_document_response_dict)

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

On this page