Open topic with navigation

# AddDetectionClassMetadata

Adds custom metadata (a key-value pair) to an object detection class.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`detector` | The name of the detector that contains the class. | Yes
`identifier` | The identifier of the class that you want to add metadata to. | Yes
`key` | The key to add (maximum 254 bytes). | Yes
`value` | The value to add (maximum 254 bytes). | Yes

## Example

The following example adds metadata to a class:

    /action=AddDetectionClassMetadata&detector=roadscene
                                     &identifier=car
                                     &key=key
                                     &value=value

## Response

    <autnresponse>
      <action>ADDDETECTIONCLASSMETADATA</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© 2017 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