Commit
·
7f7da98
1
Parent(s):
4795398
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,70 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- object-detection
|
5 |
+
size_categories:
|
6 |
+
- n<1K
|
7 |
---
|
8 |
+
|
9 |
+
# Carla-COCO-Object-Detection-Dataset
|
10 |
+
|
11 |
+
**COCO-Style Labelled Dataset for Object Detection in Carla Simulator**
|
12 |
+
|
13 |
+
This dataset contains images and publically accessible URLs for 1028 images, each 640x380 pixels.
|
14 |
+
The dataset is split into 249 test and 779 training examples.
|
15 |
+
Every image comes with an associated label .xml file in the pascal VOC format ([`./labels/`](https://github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/tree/master/labels) folder).
|
16 |
+
A MS COCO format of the dataset is available in the [`./train.json`](https://github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/blob/master/train.json) and [`./test.json`](https://github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/blob/master/test.json) files.
|
17 |
+
The dataset was collected in Carla Simulator, driving around in autopilot mode in various environments (Town01, Town02, Town03, Town04, Town05) and saving every i-th frame.
|
18 |
+
The labels where then automatically generated using the semantic segmentation information.
|
19 |
+
|
20 |
+
**Available classes are:**
|
21 |
+
|
22 |
+
* Automobile (Car, Truck)
|
23 |
+
* Bike
|
24 |
+
* Motorbike
|
25 |
+
* Traffic light
|
26 |
+
* Traffic sign
|
27 |
+
|
28 |
+
**Example image:**
|
29 |
+
|
30 |
+
![example image](https://github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/raw/master/images/train/Town01_011940.png)
|
31 |
+
|
32 |
+
**Example annotated image:**
|
33 |
+
|
34 |
+
![example image with annotations](https://github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/raw/master/Town01_011940_annotated.png)
|
35 |
+
|
36 |
+
## Dataset Structure
|
37 |
+
### Data Instances
|
38 |
+
A data point comprises an image file name, its publically accessible URL, and its object annotations.
|
39 |
+
```json
|
40 |
+
{
|
41 |
+
"image_id": 14,
|
42 |
+
"width": 640,
|
43 |
+
"height": 380,
|
44 |
+
"file_name": "Town01_001860.png",
|
45 |
+
"url": "https: //github.com/yunusskeete/Carla-COCO-Object-Detection-Dataset/blob/master/images/train/Town01_001860.png",
|
46 |
+
"objects": {
|
47 |
+
"id": [1, 2],
|
48 |
+
"area": [41650, 150],
|
49 |
+
"bbox": [
|
50 |
+
[201, 205, 238, 175],
|
51 |
+
[363, 159, 6, 25]
|
52 |
+
],
|
53 |
+
"category": [0, 3]
|
54 |
+
}
|
55 |
+
}
|
56 |
+
```
|
57 |
+
|
58 |
+
### Data Fields
|
59 |
+
* **image_id**: the image id
|
60 |
+
* **width**: the image width
|
61 |
+
* **height**: the image height
|
62 |
+
* **objects**: a dictionary containing bounding box metadata for the objects present on the image
|
63 |
+
* **id**: the annotation id
|
64 |
+
* **area**: the area of the bounding box
|
65 |
+
* **bbox**: the object's bounding box (in the coco format)
|
66 |
+
* **category**: the object's category, with possible values including automobile (1), bike (2), motorbike (3), traffic_light (4) and traffic_sign (5)
|
67 |
+
|
68 |
+
## Contributions
|
69 |
+
This repo is a fork from [Carla-Object-Detection-Dataset](https://github.com/DanielHfnr/Carla-Object-Detection-Dataset).
|
70 |
+
Acknowledgements are made to [DanielHfnr](https://github.com/DanielHfnr) for the original data collection and dataset preparation.
|