上传文件至 /
This commit is contained in:
30
hh.py
Normal file
30
hh.py
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<View>
|
||||||
|
<Image name="image" value="$image"/>
|
||||||
|
<Choices name="label" toName="image" choice="single">
|
||||||
|
<Choice value="cat"/>
|
||||||
|
<Choice value="dog"/>
|
||||||
|
<Choice value="bird"/>
|
||||||
|
</Choices>
|
||||||
|
</View>
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"data": {"image": "images/cat_001.jpg"},
|
||||||
|
"annotations": [{
|
||||||
|
"result": [{
|
||||||
|
"from_name": "label",
|
||||||
|
"to_name": "image",
|
||||||
|
"type": "choices",
|
||||||
|
"value": {"choices": ["cat"]}
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
<View>
|
||||||
|
<Image name="image" value="$image"/>
|
||||||
|
<RectangleLabels name="label" toName="image" strokeWidth="3">
|
||||||
|
<Label value="person" background="#FF0000"/>
|
||||||
|
<Label value="car" background="#00FF00"/>
|
||||||
|
<Label value="bicycle" background="#0000FF"/>
|
||||||
|
</RectangleLabels>
|
||||||
|
</View>
|
||||||
Reference in New Issue
Block a user