To detect regions that contain text
Create a new configuration to send to HPE Media Server with the process
action, or open an existing configuration that you want to modify.
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
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, HPE 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 HPE 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 (HPE 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 HPE Media Server Reference.
Save and close the configuration file. HPE recommends that you save your configuration files in the location specified by the ConfigDirectory
parameter.
|