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>