Open topic with navigation

# 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 `[Analysis]` section, add a new analysis task by setting the `AnalysisEngineN` parameter. You can give the task any name, for example:

       [Analysis]
       AnalysisEngine0=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.
   `RegionUnit` | (Optional) The units to use for specifying the region (default `percent`). To specify the position and size of the region in pixels, set this parameter to `pixel`.

   For example:

       [OCR]
       Type=ocr
       Languages=en

   For more information about the parameters you can use to customize OCR, refer to the Media Server Reference.

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

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm