Media Server 25.1
Media Server Help

# 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 25.1 | Last updated January 2025

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: Knowledge Discovery Media Server 25.1

Topic Title: RelabelObjectClassAnnotation