BuildObjectClassRecognizer

Trains a recognizer so that it can be used for object class recognition.

For more information about how to train object class recognition, see Train Object Class Recognition.

Type: asynchronous

Parameter Description Required
gpudeviceid

The device ID of the GPU to use, if you have enabled GPU acceleration and want to override the value of the GPUDeviceID configuration parameter. You can also set this parameter to CPU, to disable GPU acceleration for this action and use the CPU instead.

No
recognizer The name of the recognizer that you want to train. Yes

Example

/action=BuildObjectClassRecognizer&recognizer=vehicles

Response

This action is asynchronous, so Media Server always returns success accompanied by a token.

You can use this token with the QueueInfo action to retrieve the status of the action.