Document
¶
Used by
Source code in docs_src/capo_textract/types/document.py
bytes
instance-attribute
¶
bytes: NotRequired[ImageBlob]
A blob of base64-encoded document bytes. The maximum size of a document that's provided in a blob of bytes is 5 MB. The document bytes must be in PNG or JPEG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes passed using the Bytes field.