Media Server 12.11

# RelabelObjectClassAnnotation

Relabels an annotation for an object class recognition training image. Use this action to change the label for a annotation that you have already added to an image.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer that contains the image. | Yes
`imagelabel` | The label of the image. | Yes
`annotationlabel` | The label of the annotation to relabel. | Yes
`newannotationlabel` | The new label (maximum 254 bytes). | Yes

## Example

The following example relabels an annotation on the image `image1`, using the new label `region1`.

    /action=RelabelObjectClassAnnotation&recognizer=vehicles
                                        &imagelabel=image1
                                        &annotationlabel=0e7419a2
                                        &newannotationlabel=region1

## Response

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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.11

Topic Title: RelabelObjectClassAnnotation