Skip to main content
Extracts text using OCR. With a destination folder the text is also stored as a .txt asset; without one it is returned only. See Text Extraction.

Signature

UploadAndExtractOptions

Returns

Blocks carries positions, for when you need where the text sits rather than just the concatenated string.

Reading an asset already in Dreep

An uploaded asset doesn’t need re-uploading. ExtractText fetches it in the txt format and returns the plain text:
Results are cached, so repeat reads of the same asset don’t run OCR again. For an asset in a signed folder, set SigningTTL and the SDK attaches exp and sig using your signing secret:
OCR is billed per page. See Errors & Retries for what happens when the quota runs out.