asdfasdfqrqwer commited on
Commit
c992ecd
·
1 Parent(s): ccb4579

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +114 -0
README.md ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ task_categories:
6
+ - object-detection
7
+ task_ids:
8
+ - object-detection
9
+ pretty_name: CATI Singapore Expressway Traffic Dataset
10
+ size_categories:
11
+ - 10K<n<100K
12
+ tags:
13
+ - traffic
14
+ - singapore
15
+ - expressway
16
+ - smart-city
17
+ - vehicle-detection
18
+ - computer-vision
19
+ - lta
20
+ ---
21
+
22
+ # CATI Singapore Expressway Traffic Dataset
23
+
24
+ Real-time vehicle detection data collected from Singapore's 90 LTA traffic cameras using **CATI (Context-Aware Traffic Intelligence)** — a novel FiLM-conditioned YOLOv11 detector that adapts to environmental conditions in real time.
25
+
26
+ ## Dataset Description
27
+
28
+ This dataset contains per-camera vehicle detection results collected continuously from Singapore's Land Transport Authority (LTA) expressway camera network. Each record captures a full detection sweep of a single camera including vehicle counts, class breakdown, directional split, and environmental context.
29
+
30
+ ### Coverage
31
+
32
+ | Expressway | Cameras |
33
+ |-----------|---------|
34
+ | CTE (Central Expressway) | ~16 |
35
+ | PIE (Pan-Island Expressway) | ~20 |
36
+ | AYE (Ayer Rajah Expressway) | ~8 |
37
+ | ECP (East Coast Parkway) | ~10 |
38
+ | MCE (Marina Coastal Expressway) | ~4 |
39
+ | TPE (Tampines Expressway) | ~8 |
40
+ | BKE (Bukit Timah Expressway) | ~6 |
41
+ | KJE (Kranji Expressway) | ~6 |
42
+ | SLE (Seletar Expressway) | ~6 |
43
+
44
+ ## Data Schema
45
+
46
+ | Column | Type | Description |
47
+ |--------|------|-------------|
48
+ | `timestamp` | string | Detection timestamp (SGT, UTC+8) |
49
+ | `camera_id` | int | LTA camera ID |
50
+ | `road` | string | Expressway code (CTE, PIE, AYE, etc.) |
51
+ | `lat` | float | Camera latitude (WGS84) |
52
+ | `lon` | float | Camera longitude (WGS84) |
53
+ | `weather` | string | Central Singapore weather at time of capture |
54
+ | `total_vehicles` | int | Total vehicles detected |
55
+ | `dir_a` | int | Vehicles moving in direction A (tracked via 2-frame IoU) |
56
+ | `dir_b` | int | Vehicles moving in direction B |
57
+ | `car` | int | Cars detected |
58
+ | `motorcycle` | int | Motorcycles detected |
59
+ | `bus` | int | Buses detected |
60
+ | `truck` | int | Trucks detected |
61
+ | `van` | int | Vans detected |
62
+ | `lorry` | int | Lorries detected |
63
+
64
+ ## Model
65
+
66
+ Detections are produced by **CATI** — a novel architecture that injects FiLM (Feature-wise Linear Modulation) layers into YOLOv11s, conditioning the backbone on real-time environmental metadata:
67
+
68
+ - Weather condition and temperature (data.gov.sg)
69
+ - Time of day (cyclical encoding)
70
+ - Camera GPS position (sinusoidal positional encoding)
71
+ - PM2.5 air quality
72
+ - Camera resolution class
73
+
74
+ Model weights: [SuhxsReddy/cati-singapore](https://huggingface.co/SuhxsReddy/cati-singapore)
75
+
76
+ ## How to Load
77
+
78
+ ```python
79
+ from datasets import load_dataset
80
+ import pandas as pd
81
+
82
+ ds = load_dataset("SuhxsReddy/cati-singapore-dataset")
83
+ df = ds["train"].to_pandas()
84
+
85
+ # Vehicles by road
86
+ print(df.groupby("road")["total_vehicles"].mean())
87
+
88
+ # Directional flow on CTE
89
+ cte = df[df["road"] == "CTE"]
90
+ print(cte[["timestamp", "camera_id", "dir_a", "dir_b", "total_vehicles"]])
91
+ ```
92
+
93
+ ## Collection
94
+
95
+ - **Sweep interval**: ~90 seconds (full network scan)
96
+ - **Detection threshold**: confidence ≥ 0.08, IoU ≤ 0.25
97
+ - **Image source**: LTA Datamall Traffic Images API
98
+ - **Infrastructure**: HuggingFace Spaces (CPU), continuous 24/7 collection
99
+
100
+ ## License
101
+
102
+ MIT — data sourced from Singapore's open data APIs under the [Singapore Open Data Licence](https://data.gov.sg/open-data-licence).
103
+
104
+ ## Citation
105
+
106
+ ```bibtex
107
+ @dataset{cati_singapore_2026,
108
+ author = {SuhxsReddy},
109
+ title = {CATI Singapore Expressway Traffic Dataset},
110
+ year = {2026},
111
+ publisher = {HuggingFace},
112
+ url = {https://huggingface.co/datasets/SuhxsReddy/cati-singapore-dataset}
113
+ }
114
+ ```