Skip to content

DetectDocumentTextResponse

Source code in docs_src/capo_textract/types/detect_document_text_response.py
class DetectDocumentTextResponse(TypedDict, closed=True):
    document_metadata: NotRequired[
        "capo_textract.types.document_metadata.DocumentMetadata"
    ]
    """<p>Metadata about the document. It contains the number of pages that are detected in the document.</p>"""
    blocks: NotRequired["capo_textract.types.block_list.BlockList"]
    """<p>An array of <code>Block</code> objects that contain the text that's detected in the document.</p>"""
    detect_document_text_model_version: NotRequired["capo_textract.types.string.String"]
    """<p></p>"""

blocks instance-attribute

blocks: NotRequired[BlockList]

An array of Block objects that contain the text that's detected in the document.

detect_document_text_model_version instance-attribute

detect_document_text_model_version: NotRequired[String]

document_metadata instance-attribute

document_metadata: NotRequired[DocumentMetadata]

Metadata about the document. It contains the number of pages that are detected in the document.