Open topic with navigation

# ImportDetector

Imports an existing detector into your training database.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`detector` | The name to give to the imported detector. | Yes
`detectordata` | The detector data to import. Files must be uploaded as multipart/form-data. For more information about sending data to HPE Media Server, refer to the HPE Media Server Administration Guide. | Set this or `detectorpath`
`detectorpath` | The path to the file that contains the detector to import. | Set this or `detectordata`

## Example

The following example imports an existing detector:

    /action=ImportDetector&detector=roadscene
                          &detectorpath=./pretrained/objectdetection/roadscene.dat

## Response

This action is asynchronous, so HPE 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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm