Media Server 24.3

# Optimize Performance when Processing Images

When Media Server begins an analysis task it might have to load information. For example, if you start processing and your configuration includes OCR, Media Server must load language data for the languages that you have chosen. You can optimize performance by configuring Media Server to load the data when it starts and keep the data in memory. Throughput is improved because the data required is already stored in memory, and the overhead of loading data at the start of each task and unloading it at the end is removed. This can significantly increase throughput when you run many `process` actions that complete quickly, for example when you are processing batches of images or individual frames extracted from a video. Loading data when Media Server starts does not significantly improve throughput when you are processing video files or streams.

TIP: Media Server automatically loads training data for analysis tasks such as face recognition or object recognition. For information about customizing how training data is loaded, see the relevant sections in Analyze Media.

## Number Plate Recognition

To load number plate formats when Media Server starts, and keep the data in memory, set the `NumberPlateLocation` parameter in the `[PersistentData]` section of the configuration file:

    [PersistentData]
    NumberPlateLocation=US-ME

This parameter accepts a comma-separated list of ISO-3166 location codes. To obtain a list of supported locations with ISO-3166 codes, use the action `ListNumberPlateLocations`.

NOTE: If you set this parameter then all number plate recognition tasks must be configured with the same location (when you configure the number plate analysis task, set the `Location` parameter to the same value).

## OCR

To load OCR languages when Media Server starts, and keep the data in memory, set the `OCRLanguages` parameter in the `[PersistentData]` section of the configuration file:

    [PersistentData]
    OCRLanguages=en,fr

This parameter accepts a comma-separated list of ISO 639-1 language codes. For a list of supported languages and their language codes, see OCR Supported Languages.

You must still set the `Languages` parameter when you configure an OCR task. If an OCR task requires languages that are not pre-loaded, the languages are loaded when the task begins and unloaded when the task ends.

To load the resources necessary for OCR orientation and alphabet detection when Media Server starts, and keep the resources in memory, set the `OCRAlphabetAndOrientation` parameter. This can improve performance if disk access is slow. For example:

    [PersistentData]
    OCRAlphabetAndOrientation=TRUE

Copyright 2024 Open Text
Version 24.3 | Last updated June 2024

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 Media Server 24.3

Topic Title: Optimize Performance when Processing Images