-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlabeling_interface_sam2.xml
More file actions
48 lines (48 loc) · 1.76 KB
/
labeling_interface_sam2.xml
File metadata and controls
48 lines (48 loc) · 1.76 KB
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
<View>
<Style>
.main {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 5px;
}
.container {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}
.column {
flex: 1;
padding: 5px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: center;
}
</Style>
<Image name="image" value="$image" />
<View className="main">
<View className="container">
<View className="column">
<Text name="TextGtLabels" value="Ground truth labels" />
<!-- PASTE YOUR PROJECT LABEL HERE (e.g. BrushLabels) -->
</View>
<View className="column">
<Text name="TextUseKP" value="Preannotate with Keypoint" />
<KeyPointLabels name="KplPreannotate" toName="image" smart="true">
<!-- CHANGE THE LABEL NAMES SO THAT IT MATCHES YOUR GROUND TRUTHS -->
<Label value="LABEL1" background="#250dd3" />
<Label value="LABEL2" background="#250dd3" />
</KeyPointLabels>
</View>
<View className="column">
<Text name="TextUseRect" value="Preannotate with Rectangle" />
<RectangleLabels name="RlPreannotate" toName="image" smart="true">
<!-- CHANGE THE LABEL NAMES SO THAT IT MATCHES YOUR GROUND TRUTHS -->
<Label value="LABEL1" background="#FFC069" />
<Label value="LABEL2" background="#FFC069" />
</RectangleLabels>
</View>
</View>
</View>
</View>