Dataclusterlabs commited on
Commit
8ced603
·
verified ·
1 Parent(s): 6f9d1be

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -26
README.md CHANGED
@@ -1,19 +1,19 @@
1
  ---
2
  license: cc-by-nc-nd-4.0
3
  task_categories:
4
- - object-detection
5
- - image-classification
6
  size_categories:
7
- - n<1K
8
  tags:
9
- - indian-vehicles
10
- - vehicle-detection
11
- - object-detection
12
- - image-classification
13
- - computer-vision
14
- - automotive
15
- - self-driving
16
- - traffic-analysis
17
  pretty_name: Indian Vehicle Dataset (Sample)
18
  ---
19
 
@@ -47,7 +47,7 @@ Scenes cover a wide variety of road scenarios, including dense city traffic, hig
47
  | | Sample (this repo) | Full Dataset |
48
  | --- | --- | --- |
49
  | Images | ~200 (subset) | 50,000+ |
50
- | Annotation formats | Pascal VOC / YOLO / COCO | COCO, YOLO, Pascal VOC, TF-Record |
51
  | Locations covered | Representative subset | 1,000+ cities across India |
52
  | Resolution | HD (1920×1080 and above) | HD (1920×1080 and above) |
53
  | Scene diversity | Representative subset | Full range (urban, rural, day, night, close, far) |
@@ -64,18 +64,14 @@ indian-vehicle-dataset/
64
  ├── images/ # JPG images
65
  │ ├── image_0001.jpg
66
  │ └── ...
67
- └── annotations/ # Annotations in multiple formats
68
- ├── voc/ # Pascal VOC XML annotations (one per image)
69
- │ ├── image_0001.xml
70
- │ └── ...
71
- ├── yolo/ # YOLO TXT annotations (one per image)
72
- │ ├── image_0001.txt
73
- │ └── ...
74
- └── coco/ # COCO JSON annotations
75
- └── annotations.json
76
  ```
77
 
78
- Each annotation file contains bounding-box labels for the vehicle classes listed above, with filenames matching their corresponding image.
 
 
79
 
80
  ## Data Collection
81
 
@@ -105,17 +101,17 @@ git clone https://huggingface.co/datasets/Dataclusterlabspvtltd/Indian-Vehicle-D
105
 
106
  ### Convert VOC to YOLO or COCO
107
 
108
- If you only have Pascal VOC annotations, convert easily with `pylabel`:
109
 
110
  ```python
111
  from pylabel import importer
112
 
113
  # VOC → YOLO
114
- dataset = importer.ImportVOC(path="annotations/voc")
115
- dataset.export.ExportToYoloV5(output_path="annotations/yolo")
116
 
117
  # VOC → COCO
118
- dataset.export.ExportToCoco(output_path="annotations/coco/annotations.json")
119
  ```
120
 
121
  ## License
 
1
  ---
2
  license: cc-by-nc-nd-4.0
3
  task_categories:
4
+ - object-detection
5
+ - image-classification
6
  size_categories:
7
+ - 1K<n<10K
8
  tags:
9
+ - indian-vehicles
10
+ - vehicle-detection
11
+ - object-detection
12
+ - image-classification
13
+ - computer-vision
14
+ - automotive
15
+ - self-driving
16
+ - traffic-analysis
17
  pretty_name: Indian Vehicle Dataset (Sample)
18
  ---
19
 
 
47
  | | Sample (this repo) | Full Dataset |
48
  | --- | --- | --- |
49
  | Images | ~200 (subset) | 50,000+ |
50
+ | Annotation formats | Pascal VOC (XML) other formats available on request | COCO, YOLO, Pascal VOC, TF-Record |
51
  | Locations covered | Representative subset | 1,000+ cities across India |
52
  | Resolution | HD (1920×1080 and above) | HD (1920×1080 and above) |
53
  | Scene diversity | Representative subset | Full range (urban, rural, day, night, close, far) |
 
64
  ├── images/ # JPG images
65
  │ ├── image_0001.jpg
66
  │ └── ...
67
+ └── annotations/ # Pascal VOC XML annotations (one per image)
68
+ ├── image_0001.xml
69
+ ── ...
 
 
 
 
 
 
70
  ```
71
 
72
+ Each XML file contains bounding-box annotations in the Pascal VOC format, with filenames matching their corresponding image.
73
+
74
+ > **Need a different annotation format?** This sample ships in Pascal VOC (XML) only. YOLO, COCO, and TF-Record versions are available on request — see the conversion snippet below, or contact [sales@datacluster.ai](mailto:sales@datacluster.ai).
75
 
76
  ## Data Collection
77
 
 
101
 
102
  ### Convert VOC to YOLO or COCO
103
 
104
+ The sample ships in Pascal VOC format. Convert easily with `pylabel`:
105
 
106
  ```python
107
  from pylabel import importer
108
 
109
  # VOC → YOLO
110
+ dataset = importer.ImportVOC(path="annotations")
111
+ dataset.export.ExportToYoloV5(output_path="annotations_yolo")
112
 
113
  # VOC → COCO
114
+ dataset.export.ExportToCoco(output_path="annotations_coco/annotations.json")
115
  ```
116
 
117
  ## License