File Content Extraction 25.1
Filter SDK Python Programming Guide

# Optical Character Recognition

When processing raster image files, File Content Extraction can perform Optical Character Recognition (OCR) to attempt to filter text that might be visible in the image. If text is detected to form part of a table, it will be filtered in the same way as tables in Word Processing documents.

NOTE: File Content Extraction performs OCR only on standalone raster files, not on images embedded inside other documents. For embedded images, you must first extract the images by using the Extract Images option.

NOTE: OCR is available only on certain platforms (see Optical Character Recognition in the platform differences section).

If your license includes OCR, it is enabled by default.

To enable or disable OCR

- Call the `ocr` method on your session configuration. For example:

      # To disable OCR...
      session.config.ocr(False)

Copyright 1997-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.1

Topic Title: Optical Character Recognition