geometries: {
box: {
objects_to_annotate: [
'plastic_bag',
'vegetable',
{ choice: 'fruit', subchoices: ['apple', 'banana'] },
],
min_width: 0,
min_height: 0,
examples: [],
},
polygon: {
objects_to_annotate: ['camera'],
},
},
annotation_attributes: {
color: {
choices: ['green', 'white', 'yellow'],
description: 'color',
},
glare: {
description: 'Is there glare on the image?',
choices: ['sun glare', 'night headlight glare', 'none'],
conditions: {
is_global: true,
},
},
},
links: {
'Camera Sees': [
{
is_bidirectional: false,
from_allowed_labels: ['camera'],
to_allowed_labels: ['vegetable', 'apple', 'banana'],
},
],
Contains: [
{
is_bidirectional: false,
from_allowed_labels: ['plastic_bag'],
to_allowed_labels: ['vegetable', 'apple', 'banana'],
},
],
}