Media Server 24.2

# 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 2024 Open Text
Version 24.2 | Last updated March 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.2

Topic Title: RelabelObjectClassAnnotation