DarleisonRodrigues commited on
Commit
f47b91d
·
verified ·
1 Parent(s): b75e8ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +66 -1
README.md CHANGED
@@ -13,4 +13,69 @@ tags:
13
  pretty_name: Quebec Traffic Signs
14
  size_categories:
15
  - 1K<n<10K
16
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  pretty_name: Quebec Traffic Signs
14
  size_categories:
15
  - 1K<n<10K
16
+ ---
17
+
18
+ # Quebec Traffic Signs Dataset
19
+
20
+ ## Dataset Description
21
+
22
+ The **Quebec Traffic Signs Dataset** is a specialized image dataset designed for the recognition and interpretation of road and traffic signs specific to the province of Quebec, Canada. This dataset aims to provide a comprehensive collection of signs, including regulatory, warning, and informational signs, with a particular focus on the unique bilingual (French/English) and complex parking/construction signage prevalent in Quebec, especially in urban areas like Montreal.
23
+
24
+ This dataset is being developed to support the creation of intelligent mobile applications that can assist drivers in understanding local traffic regulations, particularly for parking restrictions and construction zone alerts, which are often a source of confusion.
25
+
26
+ ## Dataset Structure
27
+
28
+ The dataset is organized as follows:
29
+
30
+ ```
31
+ quebec-traffic-signs/
32
+ ├── images/
33
+ │ ├── P-010-fr.png
34
+ │ ├── P-010-en.png
35
+ │ └── ... (all image files)
36
+ ├── dataset.csv
37
+ └── README.md
38
+ ```
39
+
40
+ - **`images/`**: This directory contains all the image files of the traffic signs. These include both pristine digital assets (SVG/PNG renders) and will be augmented with real-world photos captured under various challenging conditions (e.g., blur, low quality, occlusions, snow, vandalism).
41
+ - **`dataset.csv`**: This CSV file serves as the primary metadata index for the dataset. Each row corresponds to a unique traffic sign image and contains the following fields:
42
+ - `reference_id`: A unique identifier for the sign, often corresponding to official Quebec sign codes (e.g., `P-010-fr`, `P-120-10 (left)`).
43
+ - `image`: The relative path to the image file within the `images/` directory (e.g., `images/P-010-fr.png`).
44
+ - `explanation`: A short textual explanation or description of the sign's meaning or regulation. (Currently being populated, will include French and English versions in future iterations or a separate `metadata.jsonl`).
45
+ - `url`: The original source URL from which the digital asset was downloaded (primarily Wikimedia Commons).
46
+
47
+ ## Data Collection and Annotation
48
+
49
+ The initial phase of data collection focuses on digital assets sourced from Wikimedia Commons, which provides high-quality SVG renders of official Quebec road signs. These digital assets are processed to extract `reference_id` and `image_url`, and then downloaded locally.
50
+
51
+ Future iterations will incorporate:
52
+ - **Real-world photos:** Images captured in urban environments (e.g., Montreal) under diverse conditions (varying lighting, weather, angles, partial obstructions, wear and tear, graffiti) to reflect real-world challenges.
53
+ - **Synthetic data generation:** Leveraging multimodal diffusion models (e.g., Stable Diffusion with ControlNet) to augment the dataset with synthetically generated images that simulate challenging real-world conditions, based on the pristine digital assets. This will significantly increase the dataset's robustness for edge cases.
54
+
55
+ Annotations are currently derived from the `alt` attributes of image tags and will be enriched with detailed explanations (French and English) and structured metadata (e.g., `source`, `real_world_conditions`, `is_synthetic`) in a `metadata.jsonl` file for more advanced use cases.
56
+
57
+ ## Usage
58
+
59
+ This dataset is designed to be easily loaded and used with the Hugging Face `datasets` library.
60
+
61
+ ```python
62
+ from datasets import load_dataset
63
+
64
+ # To load the dataset (once it's publicly available on the Hub)
65
+ dataset = load_dataset("RDLTechworks/quebec-traffic-signs")
66
+
67
+ # Example of accessing data
68
+ # print(dataset["train"][0]["image"])
69
+ # print(dataset["train"][0]["reference_id"])
70
+ # print(dataset["train"][0]["explanation"])
71
+ ```
72
+
73
+ ## License
74
+
75
+ This dataset is intended for research and non-commercial use. The images sourced from Wikimedia Commons are typically under Creative Commons licenses (e.g., CC BY-SA), and users should verify the specific license for each image if commercial use is intended. The metadata and annotations created for this dataset will be released under a permissive license (e.g., CC BY-SA 4.0).
76
+
77
+ ## Contact
78
+
79
+ For questions or contributions, please contact [your-email@example.com] or visit the [RDLTechworks GitHub repository](https://github.com/RDLTechworks/quebec-traffic-signs) (placeholder).
80
+
81
+ ---