Attribute Result
Each Labeling result is the combination of Annotation and Attribute Result.Attribute Result is the question & answer regarding the annotation or the task. There are 2 type of Attribute Result.
Base structure of AttributeResult is
| Name | Type | Description |
|---|---|---|
| attribute_key | string | This block provide the key of the attribute. |
| attribute_value_list | object | This block provide the value of the attribute. |
| value | array | This block provide the list of values of the attribute. |
{
"attribute_key" : "What is in the image",
"attribute_value_list" : {
"value" : [ "car" ]
}
}
¶ 1. Task Attribute Result
This attribute Result key depends on the worktype
for example for Image Labeling key will be image_attribute_results and for image segmentation key will be image_semantic_segmentation_attribute_results
"image_attribute_results" : [ {
"attribute_key" : "What is in the image",
"attribute_value_list" : {
"value" : [ "Bus" ]
}
} ]
¶ 2. Annotation Level Attribute Result
For annotation level attribute result it will come in the annotation itself Below is the Example of ANNOTATION_TYPE_SEGMENTATION with annotation level attribute result
{
"annotation_label" : {
"title" : "Car"
},
"annotation_type" : "ANNOTATION_TYPE_SEGMENTATION",
"annotation_data" : {
"attribute_results" : [ {
"attribute_key" : "Is this car a sedan",
"attribute_value_list" : {
"value" : [ "Yes" ]
}
} , {
"attribute_key" : "What is the color of the car",
"attribute_value_list" : {
"value" : [ "blue" ]
}
}]
}
//the segmentation data would also be there
}