Media Server 24.3

# ImportObjectClassRecognizer

Imports an object class recognizer that was exported using the action ExportObjectClassRecognizer. You can also use this action to import pre-trained recognizers provided by OpenText.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name to give to the imported recognizer. | Yes
`recognizerdata` | The data to import. Send files to Media Server using a multipart/form-data HTTP POST request. | Set this or `recognizerpath`
`recognizerpath` | The path to the file that contains the data to import. Specify an absolute path, or a path relative to the Media Server executable file. | Set this or `recognizerdata`
`includeimages` | A Boolean value (default true) that specifies whether to import 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 import the custom metadata that has been added to object classes. | No

## Example

The following example imports an existing recognizer:

    /action=ImportObjectClassRecognizer&recognizer=RoadScene
                          &recognizerpath=./pretrained/RoadScene.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.

Copyright 2024 Open Text
Version 24.3 | Last updated June 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.3

Topic Title: ImportObjectClassRecognizer