KeyView 24.1

# Configure OCR

In the following examples, OCR is configured to process scanned pages that contain only English or only Japanese text. Providing information about the input can result in a performance improvement, but OCR may fail to recognize text that does not match your configuration. For more information about optimizing OCR, see Optimize OCR Performance.

To configure OCR

- To configure OCR through the Python API, call the method `ocr` on your session configuration. For example:

  Copy

      import keyview.filter as kv
      session = kv.FilterSession(bin_path, license)

      session.config.ocr(
          True,
          orientation=kv.OCROrientation.Upright,
          text_finding_mode=kv.OCRTextFindingMode.Document,
          detect_alphabet=kv.OCRDetectAlphabet.Listed,
          languages=["en", "ja"]
      )

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL KeyView 24.1

Topic Title: Configure OCR