Datasets:
Formats:
parquet
Languages:
English
Size:
1K - 10K
Tags:
referring-expression-comprehension
visual-grounding
text-object-grounding
ocr
scene-text
autonomous-driving
License:
Add Captioning task; reorder tasks REC, Captioning, TOG, TRG, OCR
Browse files
README.md
CHANGED
|
@@ -17,44 +17,6 @@ pretty_name: Read The Object
|
|
| 17 |
size_categories:
|
| 18 |
- 1K<n<10K
|
| 19 |
dataset_info:
|
| 20 |
-
- config_name: nuscenes_captioning
|
| 21 |
-
features:
|
| 22 |
-
- name: id
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: source
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: image
|
| 27 |
-
dtype: image
|
| 28 |
-
- name: caption
|
| 29 |
-
dtype: string
|
| 30 |
-
splits:
|
| 31 |
-
- name: test
|
| 32 |
-
num_bytes: 35505332
|
| 33 |
-
num_examples: 259
|
| 34 |
-
download_size: 35459986
|
| 35 |
-
dataset_size: 35505332
|
| 36 |
-
- config_name: nuscenes_ocr
|
| 37 |
-
features:
|
| 38 |
-
- name: id
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: source
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: image
|
| 43 |
-
dtype: image
|
| 44 |
-
- name: image_bbox
|
| 45 |
-
dtype: image
|
| 46 |
-
- name: texts
|
| 47 |
-
list: string
|
| 48 |
-
- name: boxes
|
| 49 |
-
list:
|
| 50 |
-
list: float64
|
| 51 |
-
length: 4
|
| 52 |
-
splits:
|
| 53 |
-
- name: test
|
| 54 |
-
num_bytes: 86364012
|
| 55 |
-
num_examples: 259
|
| 56 |
-
download_size: 86364012
|
| 57 |
-
dataset_size: 86364012
|
| 58 |
- config_name: nuscenes_referring_expression
|
| 59 |
features:
|
| 60 |
- name: id
|
|
@@ -89,6 +51,22 @@ dataset_info:
|
|
| 89 |
num_examples: 1735
|
| 90 |
download_size: 552935523
|
| 91 |
dataset_size: 573221130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
- config_name: nuscenes_text_object_grounding
|
| 93 |
features:
|
| 94 |
- name: id
|
|
@@ -135,19 +113,37 @@ dataset_info:
|
|
| 135 |
num_examples: 2140
|
| 136 |
download_size: 668216133
|
| 137 |
dataset_size: 668216133
|
| 138 |
-
configs:
|
| 139 |
-
- config_name: nuscenes_captioning
|
| 140 |
-
data_files:
|
| 141 |
-
- split: test
|
| 142 |
-
path: nuscenes_captioning/test-*
|
| 143 |
- config_name: nuscenes_ocr
|
| 144 |
-
|
| 145 |
-
-
|
| 146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
- config_name: nuscenes_referring_expression
|
| 148 |
data_files:
|
| 149 |
- split: test
|
| 150 |
path: nuscenes_referring_expression/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
- config_name: nuscenes_text_object_grounding
|
| 152 |
data_files:
|
| 153 |
- split: test
|
|
@@ -156,6 +152,10 @@ configs:
|
|
| 156 |
data_files:
|
| 157 |
- split: test
|
| 158 |
path: nuscenes_text_region_grounding/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
---
|
| 160 |
|
| 161 |
# Read The Object
|
|
@@ -194,14 +194,17 @@ read_the_object/
|
|
| 194 |
<source>/
|
| 195 |
images/ clean source images (shared across tasks)
|
| 196 |
referring_expression/ REC samples: referring_expression.json + images_bbox/
|
| 197 |
-
|
| 198 |
text_object_grounding/ TOG samples: text_object_grounding.json + images_bbox/
|
| 199 |
text_region_grounding/ TRG samples: text_region_grounding.json + images_bbox/
|
|
|
|
| 200 |
```
|
| 201 |
|
| 202 |
Each `images_bbox/` image is drawn per-sample (red = target object box,
|
| 203 |
cyan = the specific text box(es) that sample's row refers to) — not every
|
| 204 |
-
box in the source image, only the ones relevant to that row.
|
|
|
|
|
|
|
| 205 |
|
| 206 |
For `datasets`/Dataset Viewer users, each task is also published as its own
|
| 207 |
Parquet config (embedded images, `test` split):
|
|
@@ -214,11 +217,10 @@ ds = load_dataset("act13/read_the_object", "nuscenes_referring_expression", spli
|
|
| 214 |
| config_name | task | rows |
|
| 215 |
|---|---|---|
|
| 216 |
| `nuscenes_referring_expression` | Referring Expression Comprehension | 1,735 |
|
| 217 |
-
| `
|
| 218 |
| `nuscenes_text_object_grounding` | Text–Object Grounding | 2,107 |
|
| 219 |
| `nuscenes_text_region_grounding` | Text–Region Grounding | 2,140 |
|
| 220 |
-
|
| 221 |
-
|
| 222 |
|
| 223 |
## `nuscenes/referring_expression/referring_expression.json` — Referring Expression Comprehension
|
| 224 |
|
|
@@ -241,19 +243,20 @@ referring-expression sample.
|
|
| 241 |
| `sample_type` | string | `single_text_single_object`, `multi_text_single_object`, or `disambiguated_same_category` |
|
| 242 |
| `attribute` | string (optional) | present only for `disambiguated_same_category` samples — a distinguishing visual/spatial attribute added because another object of the *same category* in the same image shares the same text (e.g. `"left blue"` in `"'23' written on left blue gate"`) |
|
| 243 |
|
| 244 |
-
## `nuscenes/
|
| 245 |
|
| 246 |
-
|
| 247 |
-
|
|
|
|
|
|
|
|
|
|
| 248 |
|
| 249 |
| field | type | description |
|
| 250 |
|---|---|---|
|
| 251 |
-
| `id` | string | unique sample id, e.g. `
|
| 252 |
| `source` | string | `"nuscenes"` |
|
| 253 |
| `image` | string | relative path to the clean image |
|
| 254 |
-
| `
|
| 255 |
-
| `texts` | `[string, ...]` | transcription of each text region in the image |
|
| 256 |
-
| `boxes` | `[[x1,y1,x2,y2], ...]` | box for each entry in `texts`, same order |
|
| 257 |
|
| 258 |
## `nuscenes/text_object_grounding/text_object_grounding.json` — Text–Object Grounding
|
| 259 |
|
|
@@ -288,3 +291,18 @@ highlighted in `image_bbox`).
|
|
| 288 |
| `query_text` | string | the text string being localized |
|
| 289 |
| `boxes` | `[[x1,y1,x2,y2], ...]` | every box where `query_text` appears in this image |
|
| 290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
size_categories:
|
| 18 |
- 1K<n<10K
|
| 19 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
- config_name: nuscenes_referring_expression
|
| 21 |
features:
|
| 22 |
- name: id
|
|
|
|
| 51 |
num_examples: 1735
|
| 52 |
download_size: 552935523
|
| 53 |
dataset_size: 573221130
|
| 54 |
+
- config_name: nuscenes_captioning
|
| 55 |
+
features:
|
| 56 |
+
- name: id
|
| 57 |
+
dtype: string
|
| 58 |
+
- name: source
|
| 59 |
+
dtype: string
|
| 60 |
+
- name: image
|
| 61 |
+
dtype: image
|
| 62 |
+
- name: caption
|
| 63 |
+
dtype: string
|
| 64 |
+
splits:
|
| 65 |
+
- name: test
|
| 66 |
+
num_bytes: 35505332
|
| 67 |
+
num_examples: 259
|
| 68 |
+
download_size: 35459986
|
| 69 |
+
dataset_size: 35505332
|
| 70 |
- config_name: nuscenes_text_object_grounding
|
| 71 |
features:
|
| 72 |
- name: id
|
|
|
|
| 113 |
num_examples: 2140
|
| 114 |
download_size: 668216133
|
| 115 |
dataset_size: 668216133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
- config_name: nuscenes_ocr
|
| 117 |
+
features:
|
| 118 |
+
- name: id
|
| 119 |
+
dtype: string
|
| 120 |
+
- name: source
|
| 121 |
+
dtype: string
|
| 122 |
+
- name: image
|
| 123 |
+
dtype: image
|
| 124 |
+
- name: image_bbox
|
| 125 |
+
dtype: image
|
| 126 |
+
- name: texts
|
| 127 |
+
list: string
|
| 128 |
+
- name: boxes
|
| 129 |
+
list:
|
| 130 |
+
list: float64
|
| 131 |
+
length: 4
|
| 132 |
+
splits:
|
| 133 |
+
- name: test
|
| 134 |
+
num_bytes: 86364012
|
| 135 |
+
num_examples: 259
|
| 136 |
+
download_size: 86364012
|
| 137 |
+
dataset_size: 86364012
|
| 138 |
+
configs:
|
| 139 |
- config_name: nuscenes_referring_expression
|
| 140 |
data_files:
|
| 141 |
- split: test
|
| 142 |
path: nuscenes_referring_expression/test-*
|
| 143 |
+
- config_name: nuscenes_captioning
|
| 144 |
+
data_files:
|
| 145 |
+
- split: test
|
| 146 |
+
path: nuscenes_captioning/test-*
|
| 147 |
- config_name: nuscenes_text_object_grounding
|
| 148 |
data_files:
|
| 149 |
- split: test
|
|
|
|
| 152 |
data_files:
|
| 153 |
- split: test
|
| 154 |
path: nuscenes_text_region_grounding/test-*
|
| 155 |
+
- config_name: nuscenes_ocr
|
| 156 |
+
data_files:
|
| 157 |
+
- split: test
|
| 158 |
+
path: nuscenes_ocr/test-*
|
| 159 |
---
|
| 160 |
|
| 161 |
# Read The Object
|
|
|
|
| 194 |
<source>/
|
| 195 |
images/ clean source images (shared across tasks)
|
| 196 |
referring_expression/ REC samples: referring_expression.json + images_bbox/
|
| 197 |
+
captioning/ Captioning samples: captioning.json
|
| 198 |
text_object_grounding/ TOG samples: text_object_grounding.json + images_bbox/
|
| 199 |
text_region_grounding/ TRG samples: text_region_grounding.json + images_bbox/
|
| 200 |
+
ocr/ OCR samples: ocr.json + images_bbox/
|
| 201 |
```
|
| 202 |
|
| 203 |
Each `images_bbox/` image is drawn per-sample (red = target object box,
|
| 204 |
cyan = the specific text box(es) that sample's row refers to) — not every
|
| 205 |
+
box in the source image, only the ones relevant to that row. Captioning
|
| 206 |
+
has no `images_bbox/`, since its output is a whole-image caption rather
|
| 207 |
+
than a box.
|
| 208 |
|
| 209 |
For `datasets`/Dataset Viewer users, each task is also published as its own
|
| 210 |
Parquet config (embedded images, `test` split):
|
|
|
|
| 217 |
| config_name | task | rows |
|
| 218 |
|---|---|---|
|
| 219 |
| `nuscenes_referring_expression` | Referring Expression Comprehension | 1,735 |
|
| 220 |
+
| `nuscenes_captioning` | Multi-Text Captioning | 259 |
|
| 221 |
| `nuscenes_text_object_grounding` | Text–Object Grounding | 2,107 |
|
| 222 |
| `nuscenes_text_region_grounding` | Text–Region Grounding | 2,140 |
|
| 223 |
+
| `nuscenes_ocr` | OCR | 259 |
|
|
|
|
| 224 |
|
| 225 |
## `nuscenes/referring_expression/referring_expression.json` — Referring Expression Comprehension
|
| 226 |
|
|
|
|
| 243 |
| `sample_type` | string | `single_text_single_object`, `multi_text_single_object`, or `disambiguated_same_category` |
|
| 244 |
| `attribute` | string (optional) | present only for `disambiguated_same_category` samples — a distinguishing visual/spatial attribute added because another object of the *same category* in the same image shares the same text (e.g. `"left blue"` in `"'23' written on left blue gate"`) |
|
| 245 |
|
| 246 |
+
## `nuscenes/captioning/captioning.json` — Multi-Text Captioning
|
| 247 |
|
| 248 |
+
Generate a caption that jointly describes the objects in the image and the
|
| 249 |
+
visible text on them. One row per image, 259 total. Captions are 20-100
|
| 250 |
+
words, generated by grounding on the same verified object/text annotations
|
| 251 |
+
as the other tasks, then manually spot-checked against the source images
|
| 252 |
+
for accuracy.
|
| 253 |
|
| 254 |
| field | type | description |
|
| 255 |
|---|---|---|
|
| 256 |
+
| `id` | string | unique sample id, e.g. `nuscenes_caption_00000` |
|
| 257 |
| `source` | string | `"nuscenes"` |
|
| 258 |
| `image` | string | relative path to the clean image |
|
| 259 |
+
| `caption` | string | a 20-100 word caption describing the scene and weaving in the visible scene-text |
|
|
|
|
|
|
|
| 260 |
|
| 261 |
## `nuscenes/text_object_grounding/text_object_grounding.json` — Text–Object Grounding
|
| 262 |
|
|
|
|
| 291 |
| `query_text` | string | the text string being localized |
|
| 292 |
| `boxes` | `[[x1,y1,x2,y2], ...]` | every box where `query_text` appears in this image |
|
| 293 |
|
| 294 |
+
## `nuscenes/ocr/ocr.json` — OCR
|
| 295 |
+
|
| 296 |
+
Detect and recognize all visible text regions in the image. One row per
|
| 297 |
+
image; `image_bbox` shows every verified text box in that image.
|
| 298 |
+
|
| 299 |
+
| field | type | description |
|
| 300 |
+
|---|---|---|
|
| 301 |
+
| `id` | string | unique sample id, e.g. `nuscenes_ocr_00000` |
|
| 302 |
+
| `source` | string | `"nuscenes"` |
|
| 303 |
+
| `image` | string | relative path to the clean image |
|
| 304 |
+
| `image_bbox` | string | relative path to the image with all text boxes drawn |
|
| 305 |
+
| `texts` | `[string, ...]` | transcription of each text region in the image |
|
| 306 |
+
| `boxes` | `[[x1,y1,x2,y2], ...]` | box for each entry in `texts`, same order |
|
| 307 |
+
|
| 308 |
+
|