To detect objects
Create a new configuration or open an existing configuration to send to Media Server with the process
action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg
).
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=ObjectDetection
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 ObjectDetection . |
Input
|
(Optional) The image 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. |
Detector
|
The detector to use. |
DetectionThreshold
|
(Optional) The minimum confidence score necessary for Media Server to output an object detection result. Any result with a confidence score below the threshold is discarded. |
For example:
[ObjectDetection] Type=ObjectDetection Detector=roadscene DetectionThreshold=30
For more information about these parameters, refer to the Media Server Reference.
Save and close the configuration file. If you modified the Media Server configuration file, you must restart Media Server for your changes to take effect.
|