-
Notifications
You must be signed in to change notification settings - Fork 5
/
protocol.yml
76 lines (71 loc) · 1.79 KB
/
protocol.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%YAML 1.2
---
start:
type: loadImage
transitions:
- next:
target: 'boundingbox'
# 'paragraph_bb':
# type: labelPicture
# question: Draw a bounding box around the paragraph with english text.
# maxbboxes: 1
# transitions:
# - '*':
# target: 'topic'
# 'topic':
# type: labelBBoxes
# question: What is the topic of this paragraph.
# api_call: api_singlelabel
# # from: 'paragraph_bb'
# transitions:
# - '*':
# target: 'first_line'
'boundingbox':
type: boundingBoxPicture
question: Draw bounding boxes in the image
transitions:
- '*':
target: 'polygons'
'polygons':
type: polygonPicture
question: Draw polygons in the image.
transitions:
- '*':
target: 'end'
# 'polygons':
# type: polygonPicture
# question: Bla
# transitions:
# - '*':
# target: 'lines_bb'
# 'lines_bb':
# type: labelPicture
# question: Draw a bounding box around each line in the second paragraph.
# transitions:
# - '*':
# target: 'for_loop'
# 'for_loop':
# type: loop
# for: lines_bb
# transitions:
# - 'continue':
# target: 'line_trans'
# - 'finally':
# target: 'end'
# 'line_trans':
# type: multilabelBBoxes
# question: Transcribe the first line of the paragraph.
# api_call: api_multilabel
# # api_call: transform_image
# from: 'for_loop'
# transitions:
# - '*':
# target: 'for_loop'
# # '1':
# # type: labelBBoxes
# # question: Draw a bounding box around a line with english animal names.
# # saveAll: true
# # column: test1
# # transitions:
# # - '*':
# # target: 'end'