Skip to main content
When you extract document data with Sensible, Sensible automatically OCRs the document for you, except in advanced cases. This topic covers advanced cases. For information about additional OCR options, see OCR. Use the OCR preprocessor to selectively OCR pages in a document. This preprocessor is useful when a document contains both embedded text and text images. Selectively OCRing the pages containing text images, rather than the entire document, improves extraction performance. Examples of text images include handwriting and scanned text. If the whole document is a scan or image file, you don’t need to configure this preprocessor. In that case, Sensible OCRs the whole document by default.

Parameters

Examples

The following config specifies to apply OCR processing to specific pages. The config then outputs all lines of the document ("id": "all_lines_in_doc"), to double check that OCR extracted the text on those pages.
JSON