Zexanima commited on
Commit
61adb4b
1 Parent(s): 700753d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -103,4 +103,34 @@ The Roboflow Website Screenshots dataset is a synthetically generated dataset co
103
  - label: text labeling form fields.
104
  - text: all other text.
105
  - image: \<img>, \<svg>, or \<video> tags, and icons.
106
- - iframe: ads and 3rd party content.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  - label: text labeling form fields.
104
  - text: all other text.
105
  - image: \<img>, \<svg>, or \<video> tags, and icons.
106
+ - iframe: ads and 3rd party content.
107
+
108
+ #### label2id
109
+ ```python
110
+ label2id = {
111
+ 'button': 1,
112
+ 'elements': 0,
113
+ 'field': 2,
114
+ 'heading': 3,
115
+ 'iframe': 4,
116
+ 'image': 5,
117
+ 'label': 6,
118
+ 'link': 7,
119
+ 'text': 8
120
+ }
121
+ ```
122
+
123
+ #### id2label
124
+ ```python
125
+ id2label = {
126
+ 0: 'elements',
127
+ 1: 'button',
128
+ 2: 'field',
129
+ 3: 'heading',
130
+ 4: 'iframe',
131
+ 5: 'image',
132
+ 6: 'label',
133
+ 7: 'link',
134
+ 8: 'text'
135
+ }
136
+ ```