Set up Text Detection

To detect regions that contain text

  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=DetectText
    
  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 TextDetection.
    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.
    DetectionThreshold (Optional) The minimum confidence score required for Media Server to detect text.
    NumParallel (Optional) The maximum number of CPU threads to use for analysis. In most cases this specifies the number of video frames to analyze concurrently. This parameter has no effect on single images (Media Server always uses a single thread on images).

    For example:

    [DetectText]
    Type=TextDetection
    DetectionThreshold=55

    For more information about the parameters you can use to customize text detection, 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.


_HP_HTML5_bannerTitle.htm