ExportObjectClassRecognizer

Exports an object class recognizer to a file, so that it can be imported into a different training database.

Type: asynchronous

Parameter Description Required
recognizer The name of the recognizer to export. Yes
recognizerpath

The path of the file to create, containing the data. Specify an absolute path, or a path relative to the Media Server executable file. Media Server must be permitted to write to the path (see AllowedOutputDirectoryCSVs).

Yes
includeimages A Boolean value (default true) that specifies whether to export the training images, image labels, and annotations. You can run object class recognition without this data, but future enhancements to object class recognition might require retraining and this is not possible without it. No
includemetadata A Boolean value (default true) that specifies whether to export the custom metadata you have added to object classes. No

Example

The following example exports the recognizer named "PersonCar":

/action=ExportObjectClassRecognizer&recognizer=PersonCar
                        &recognizerpath=./exported/PersonCar.dat

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 your request.