Imports an existing classifier into your training database.
Type: asynchronous
Parameter | Description | Required |
---|---|---|
classifier
|
The name to give to the imported classifier. | Yes |
classifierdata
|
The classifier data to import. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or classifierpath |
classifierpath
|
The path to the file that contains the classifier to import. | Set this or classifierdata |
The following example imports an existing classifier:
/action=ImportClassifier&classifier=imagenet &classifierpath=./pretrained/objectclass/imagenet.dat
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.
|