Media Server 25.3
Media Server Help

# Set up an OCR Analysis Task

To perform OCR

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Session]` section, add a new analysis task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       Engine1=OCR

3. Create a new configuration section to contain the task settings, and set the following parameters:

   `Type` | The analysis engine to use. Set this parameter to `OCR`.
   Input | (Optional) The track to process. If you do not specify an input track, Media Server processes the first track of the correct type that is produced by the ingest engine.
   Languages | The language of the text. Setting this parameter narrows the character and word choices for the OCR process, which increases speed and accuracy. For a list of supported languages, see OCR Supported Languages.
   ProcessTextElements | (Optional) (Only affects documents) Specifies whether to merge the content of text elements into the OCR results. If the text elements in the document are not consistent with the text that appears in the image, you might want to set this parameter to `false`.
   CharacterTypes | (Optional) If the document uses a particular type of characters only, such as all uppercase, or all lowercase, you can specify the type in the `CharacterTypes` parameter. This can improve accuracy.
   HollowText | (Optional) Set this parameter if you are processing subtitles that consist of white characters with black outlines.
   Region | (Optional) Restrict OCR to a region of the image, instead of the entire image.

   For example:

       [OCR]
       Type=ocr
       Languages=en

   For more information about the parameters you can use to customize OCR, see Optical Character Recognition.

4. Save and close the configuration file. OpenText recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

Copyright 2025 Open Text
Version 25.3 | Last updated July 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: Knowledge Discovery Media Server 25.3

Topic Title: Set up an OCR Analysis Task