InterestingITS commited on
Commit
d950dda
·
verified ·
1 Parent(s): 572bcfc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +441 -47
README.md CHANGED
@@ -1,57 +1,451 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  U-EASWS Dataset Card
2
  ---
 
3
  pretty_name: >-
4
  U-EASWS: An Urban Expressway Type-A Short Weaving Segment UAV Vehicle
5
  Trajectory Dataset Integrated with Interaction and Risk Semantic Annotations
6
  language:
7
  - en
8
  license: cc-by-4.0
9
- task_categories:
10
- - uav-vehicle-trajectory-dataset
11
- size_categories:
12
- - 10B<n<100B
13
  tags:
14
- - >-
15
- Dataset, Expressway weaving segments, Vehicle trajectory, UAV, Semantic
16
- annotation
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ---
18
- Accurate modeling of microscopic driving behaviors under complex road geometries relies heavily on high-fidelity trajectory datasets. As typical traffic bottlenecks, Type-A short weaving segments feature intensive vehicle conflicts and coexisting discretionary/mandatory lane-changing behaviors, and have long attracted broad research attention. However, no open-source dataset specifically designed for such road segments is currently available, which greatly restricts the validation of microscopic traffic models in these high-conflict extreme environments.
19
- To address this gap, we present U-EASWS: a UAV-based vehicle trajectory dataset for urban expressway Type-A short weaving segments. The dataset covers 7 typical weaving scenarios in Changchun, China, and is enriched with comprehensive interaction semantics and traffic risk annotations. Processed via a standardized automated pipeline, U-EASWS provides a multi-layer semantic benchmark with empirical support for various microscopic driving behavior models targeting Type-A short weaving segments.
20
- Supported Tasks
21
- U-EASWS is built to support research on microscopic traffic flow and driving behavior, including but not limited to:
22
- - Microscopic driving behavior modeling and model validation
23
- - Discretionary and mandatory lane-changing behavior analysis
24
- - Traffic surrogate safety assessment and conflict identification
25
- - Multi-vehicle interaction mechanism and game dynamics research
26
- - Traffic simulation model calibration for weaving segments
27
- Dataset Structure
28
- Core Data Components
29
- U-EASWS provides three tiers of standardized data content:
30
- 1. High-fidelity continuous vehicle trajectories
31
- Vehicle trajectories are extracted using a fine-tuned YOLOv8 detection and tracking model, then reconstructed via PCHIP interpolation and sEMA filtering. All kinematic parameters have passed physical consistency verification, effectively eliminating pixel jitter and tracking noise.
32
- 2. Synchronized surrogate safety measures
33
- Multi-dimensional traffic risk indicators are calculated and aligned with trajectory timestamps, including:
34
- - Time-to-Collision (TTC)
35
- - Post-Encroachment Time (PET)
36
- - Deceleration Rate to Avoid a Crash (DRAC)
37
- 3. Spatial interaction and intensity semantics
38
- Based on proximity resistance theory, the dataset annotates inter-vehicle spatial interaction relationships and interaction intensity, to capture complex multi-vehicle game dynamics under high spatial pressure in weaving areas.
39
- Dataset Creation
40
- Data Collection
41
- - Collection platform: Unmanned Aerial Vehicle (UAV) aerial photography
42
- - Coverage: 7 typical Type-A short weaving segments on urban expressways in Changchun, China
43
- - Scenarios: Naturalistic traffic flow covering diverse traffic states and geometric conditions
44
- Processing Pipeline
45
- 1. Vehicle detection and multi-object tracking via fine-tuned YOLOv8 model
46
- 2. Trajectory reconstruction and denoising via PCHIP interpolation + sEMA filtering
47
- 3. Kinematic parameter calculation and physical consistency verification
48
- 4. Surrogate safety measure calculation and timestamp alignment
49
- 5. Spatial interaction semantics annotation based on proximity resistance theory
50
- Technical Validation
51
- The fidelity and reliability of U-EASWS have been systematically verified:
52
- 1. Exceptional vehicle detection accuracy and identity tracking stability under dense traffic conditions
53
- 2. Effective elimination of pixel jitter and tracking noise, yielding smooth, physically consistent vehicle kinematic data
54
- 3. Successful capture of volatile driving behaviors under high spatial pressure, revealing complex multi-vehicle game dynamics that cannot be fully characterized by conventional metrics
55
- Additional Information
56
- Licensing Information
57
- This dataset is licensed under CC BY 4.0.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: >-
3
+ U-EASWS: An Urban Expressway Type-A Short Weaving Segment UAV Vehicle
4
+ Trajectory Dataset Integrated with Interaction and Risk Semantic Annotations
5
+ language:
6
+ - en
7
+ license: cc-by-4.0
8
+ source_datasets:
9
+ - original
10
+ tags:
11
+ - vehicle-trajectory
12
+ - uav
13
+ - urban-expressway
14
+ - weaving-segment
15
+ - type-a-weaving
16
+ - short-weaving-segment
17
+ - microscopic-traffic
18
+ - lane-changing
19
+ - traffic-safety
20
+ - surrogate-safety-measures
21
+ - vehicle-interaction
22
+ - interaction-semantics
23
+ - risk-semantics
24
+ - tabular
25
+ - timeseries
26
+ - image
27
+ size_categories:
28
+ - 1B<n<10B
29
+ ---
30
  U-EASWS Dataset Card
31
  ---
32
+ ---
33
  pretty_name: >-
34
  U-EASWS: An Urban Expressway Type-A Short Weaving Segment UAV Vehicle
35
  Trajectory Dataset Integrated with Interaction and Risk Semantic Annotations
36
  language:
37
  - en
38
  license: cc-by-4.0
39
+ source_datasets:
40
+ - original
 
 
41
  tags:
42
+ - vehicle-trajectory
43
+ - uav
44
+ - urban-expressway
45
+ - weaving-segment
46
+ - type-a-weaving
47
+ - short-weaving-segment
48
+ - microscopic-traffic
49
+ - lane-changing
50
+ - traffic-safety
51
+ - surrogate-safety-measures
52
+ - vehicle-interaction
53
+ - interaction-semantics
54
+ - risk-semantics
55
+ - tabular
56
+ - timeseries
57
+ - image
58
  ---
59
+
60
+ # U-EASWS
61
+
62
+ ## Dataset Description
63
+
64
+ U-EASWS (Urban Expressway Type-A Short Weaving Segment UAV Vehicle Trajectory Dataset Integrated with Interaction and Risk Semantic Annotations) is a UAV-based microscopic vehicle trajectory dataset specifically developed for urban expressway Type-A short weaving segments.
65
+
66
+ The dataset contains 19,122 high-quality vehicle trajectories collected from seven real-world Type-A short weaving scenarios in Changchun, China, with approximately 3.6 h of valid aerial video observations. The observed weaving segments cover different roadway geometries and channelization configurations, including unrestricted weaving, restricted merging, and restricted diverging layouts.
67
+
68
+ Type-A weaving is characterized by merging and diverging traffic streams that are each required to perform a lane change within the same weaving area. In short weaving segments, the limited longitudinal distance available for completing these maneuvers produces frequent mandatory lane-changing interactions among merging, diverging, and through vehicles. U-EASWS was therefore designed specifically to provide continuous microscopic observations of vehicle movements under these geometrically constrained and interaction-intensive conditions.
69
+
70
+ In addition to reconstructed vehicle trajectories and kinematic states, U-EASWS provides road-geometry information, lane information, surrogate safety measures, and vehicle-interaction semantic annotations. Frame-level detection and tracking outputs are also released to allow users to perform independent coordinate transformation, trajectory reconstruction, smoothing, vehicle-dimension estimation, or other customized post-processing procedures.
71
+
72
+ The dataset is licensed under CC BY 4.0.
73
+
74
+ ## Supported Research Tasks
75
+
76
+ U-EASWS is intended to support research on microscopic traffic flow and driving behavior in complex weaving environments, including:
77
+
78
+ - microscopic driving behavior modeling and model validation;
79
+ - car-following, lane-changing, and weaving behavior analysis;
80
+ - discretionary and mandatory lane-changing analysis;
81
+ - traffic surrogate safety assessment and conflict identification;
82
+ - multi-vehicle interaction analysis;
83
+ - spatial interaction and driving-behavior research;
84
+ - vehicle trajectory prediction;
85
+ - traffic simulation model calibration and validation;
86
+ - autonomous-driving simulation;
87
+ - tactical decision-making and trajectory-planning research;
88
+ - comparative analysis of traffic behavior under different weaving geometries and channelization configurations.
89
+
90
+ ## Dataset Repository Structure
91
+
92
+ The repository is organized according to the processing level and semantic content of the data. The current release contains five main data components.
93
+
94
+ ### 1. Weaving Segment Geometry Images
95
+
96
+ [Weaving_Segment_Geometry_Images](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Weaving_Segment_Geometry_Images)
97
+
98
+ This folder contains seven top-down aerial channelization images corresponding to Weaving Segments WS1–WS7.
99
+
100
+ The images provide the roadway geometry and channelization context required to interpret the trajectory data. They show the actual road layout, lane arrangement, lane boundaries, solid and dashed lane markings, and the geometric organization of the observed Type-A short weaving segments.
101
+
102
+ The seven scenarios contain multiple channelization configurations, including unrestricted weaving, restricted merging, and restricted diverging layouts. Dashed lane markings indicate roadway sections where lateral crossing is permitted, whereas solid lane markings represent sections with restricted lane-changing opportunities.
103
+
104
+ These geometry images should be used together with the trajectory fields `Direction`, `Lane number`, `Dist_to_Merge_m`, and `Dist_to_Diverge_m` when reconstructing the spatial relationship between vehicle movements and the underlying road geometry.
105
+
106
+ ### 2. Raw Data
107
+
108
+ [Raw_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Raw_Data)
109
+
110
+ The `Raw_Data` folder contains frame-level vehicle detection and tracking outputs before coordinate transformation, trajectory reconstruction, kinematic calculation, and semantic annotation.
111
+
112
+ The raw data are divided into 16 CSV files:
113
+
114
+ - `WS1_2_raw_detection_data_1.csv`
115
+ - `WS1_2_raw_detection_data_2.csv`
116
+ - `WS1_2_raw_detection_data_3.csv`
117
+ - `WS1_2_raw_detection_data_4.csv`
118
+ - `WS1_2_raw_detection_data_5.csv`
119
+ - `WS1_2_raw_detection_data_6.csv`
120
+ - `WS3_raw_detection_data_1.csv`
121
+ - `WS3_raw_detection_data_2.csv`
122
+ - `WS3_raw_detection_data_3.csv`
123
+ - `WS4_5_raw_detection_data_1.csv`
124
+ - `WS4_5_raw_detection_data_2.csv`
125
+ - `WS4_5_raw_detection_data_3.csv`
126
+ - `WS4_5_raw_detection_data_4.csv`
127
+ - `WS6_7_raw_detection_data_1.csv`
128
+ - `WS6_7_raw_detection_data_2.csv`
129
+ - `WS6_7_raw_detection_data_3.csv`
130
+
131
+ Files beginning with `WS1_2`, `WS4_5`, and `WS6_7` correspond to the three bidirectional observation sites, whereas files beginning with `WS3` correspond to the one-way observation scenario.
132
+
133
+ Each row represents one tracked vehicle observation in a particular video frame.
134
+
135
+ The released raw data contain the following fields:
136
+
137
+ - `Frame`: video frame index. Unit: dimensionless frame index.
138
+ - `Vehicle_ID`: vehicle tracking ID assigned during the detection and multi-object tracking stage. Unit: dimensionless identifier.
139
+ - `x_center_px`: horizontal pixel coordinate of the center of the detected vehicle bounding box. Unit: pixel.
140
+ - `y_center_px`: vertical pixel coordinate of the center of the detected vehicle bounding box. Unit: pixel.
141
+ - `width_px`: width of the axis-aligned vehicle detection bounding box. Unit: pixel.
142
+ - `height_px`: height of the axis-aligned vehicle detection bounding box. Unit: pixel.
143
+
144
+ The raw files preserve image-space vehicle positions and detection-box dimensions and can therefore be used for independent coordinate transformation, vehicle-dimension estimation, trajectory interpolation, smoothing, or other user-defined post-processing procedures.
145
+
146
+ The `Vehicle_ID` in the raw data is the tracking identifier associated with the corresponding source sequence and should be distinguished from the globally unique `Ego_Vehicle_ID` provided in the processed trajectory files.
147
+
148
+ The term "raw data" in this repository specifically refers to frame-level vehicle detection and tracking outputs. It does not refer to the original UAV video files.
149
+
150
+ ### 3. Basic Trajectory Data
151
+
152
+ [Basic_Trajectory_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Basic_Trajectory_Data)
153
+
154
+ This folder contains four CSV files corresponding to the four observation groups:
155
+
156
+ - Weaving Segments 1–2;
157
+ - Weaving Segment 3;
158
+ - Weaving Segments 4–5;
159
+ - Weaving Segments 6–7.
160
+
161
+ The files provide reconstructed vehicle trajectories expressed in a road-aligned physical coordinate system together with vehicle kinematic states, lane information, traffic direction, geometry-related distances, and estimated vehicle length.
162
+
163
+ The main fields are defined as follows:
164
+
165
+ - `Ego_Vehicle_ID`: globally unique vehicle identifier. Unit: dimensionless identifier.
166
+ - `Frame`: source video frame index. Unit: dimensionless frame index.
167
+ - `Delta_t_s`: physical time interval associated with the current trajectory record. Unit: s.
168
+ - `x_center`: vehicle-center coordinate along the longitudinal road axis in the road-aligned local physical coordinate system. Unit: m.
169
+ - `y_center`: vehicle-center coordinate along the lateral road axis in the road-aligned local physical coordinate system. Unit: m.
170
+ - `v_x`: longitudinal vehicle velocity. Unit: m/s.
171
+ - `v_y`: lateral vehicle velocity. Unit: m/s.
172
+ - `a_x`: longitudinal vehicle acceleration. Unit: m/s².
173
+ - `a_y`: lateral vehicle acceleration. Unit: m/s².
174
+ - `Direction`: vehicle travel direction. The values are `Left` or `Right`. Unit: dimensionless categorical variable.
175
+ - `Lane number`: current lane occupied by the vehicle. Unit: dimensionless lane index.
176
+ - `Dist_to_Merge_m`: absolute longitudinal distance from the current vehicle center to the predefined merge reference cross-section. Unit: m.
177
+ - `Dist_to_Diverge_m`: absolute longitudinal distance from the current vehicle center to the predefined diverge reference cross-section. Unit: m.
178
+ - `Vehicle_Length_m`: estimated physical length of the vehicle. Unit: m.
179
+
180
+ `Vehicle_Length_m` is estimated as a vehicle-level physical attribute from multiple valid frame-level bounding-box observations and remains constant for the complete trajectory of the same uniquely identified vehicle.
181
+
182
+ `Dist_to_Merge_m` and `Dist_to_Diverge_m` explicitly connect individual vehicle states to the principal geometric locations of the weaving segment and can be used to analyze how microscopic behavior changes with the remaining distance to the merge or diverge reference cross-section.
183
+
184
+ ### 4. Risk Semantic Data
185
+
186
+ [Risk_Semantic_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Risk_Semantic_Data)
187
+
188
+ This folder contains four CSV files with risk semantic annotations corresponding to:
189
+
190
+ - Weaving Segments 1–2;
191
+ - Weaving Segment 3;
192
+ - Weaving Segments 4–5;
193
+ - Weaving Segments 6–7.
194
+
195
+ The risk semantic files retain the basic trajectory and kinematic fields and additionally provide surrogate safety measures and explicit risk-related annotations.
196
+
197
+ The additional fields are:
198
+
199
+ - `TTC`: Time-to-Collision. Unit: s.
200
+ - `PET`: Post-Encroachment Time. Unit: s.
201
+ - `DRAC`: Deceleration Rate to Avoid a Crash. Unit: m/s².
202
+ - `Max_Risk_Target_ID`: ID of the target vehicle producing the highest conflict risk for the ego vehicle in the current frame. The value is set to `-1` when no corresponding risk target exists. Unit: dimensionless identifier.
203
+ - `Risk_Level`: explicit risk classification, with values `High Risk` or `Low Risk`.
204
+
205
+ TTC and DRAC are frame-wise state-based surrogate safety measures. PET is treated as an event-level measure associated with identified cut-in events. For each identified cut-in event, the calculated PET value is assigned at the event-detection frame to both the cut-in vehicle and its corresponding following vehicle.
206
+
207
+ A record is labeled `High Risk` when at least one of the following conditions is satisfied:
208
+
209
+ - `TTC < 3.0 s`;
210
+ - `DRAC > 3.0 m/s²`;
211
+ - the record corresponds to an identified cut-in event with `PET < 2.5 s`.
212
+
213
+ Records satisfying none of these conditions are labeled `Low Risk`.
214
+
215
+ ### 5. Interaction Semantic Data
216
+
217
+ [Interaction_Semantic_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Interaction_Semantic_Data)
218
+
219
+ This folder contains four CSV files with vehicle-interaction semantic annotations corresponding to:
220
+
221
+ - Weaving Segments 1–2;
222
+ - Weaving Segment 3;
223
+ - Weaving Segments 4–5;
224
+ - Weaving Segments 6–7.
225
+
226
+ The interaction semantic files retain the basic trajectory information and add vehicle-pair interaction information derived from a two-dimensional Proximity Resistance (PR) framework.
227
+
228
+ For each ego vehicle, surrounding vehicles traveling in the same direction within a local perception radius of 50 m are first treated as candidate interaction vehicles. Candidate vehicle pairs are then represented in an ego-vehicle-centered local coordinate system and assigned interaction-related variables.
229
+
230
+ The additional fields are:
231
+
232
+ - `Interaction_Target_ID`: ID of the target vehicle paired with the ego vehicle. Unit: dimensionless identifier.
233
+ - `x_local`: relative-position component of the target vehicle along the local X-axis of the vehicle-pair coordinate system. Unit: m.
234
+ - `y_local`: relative-position component of the target vehicle along the local Y-axis of the vehicle-pair coordinate system. Unit: m.
235
+ - `v_rel`: scalar relative speed between the vehicle pair. Unit: m/s.
236
+ - `Interaction Strength`: dimensionless PR-based measure of proximity-induced vehicle interaction, ranging from 0 to 1. Larger values represent stronger proximity-induced interaction.
237
+ - `Is Interacting`: binary indicator of whether the candidate vehicle pair satisfies the effective-interaction criterion. `1` denotes an effective interaction and `0` otherwise.
238
+ - `Interaction Type`: behavioral interaction category, including `Car Following`, `Parallel Driving`, and `Lane Changing/Weaving`.
239
+
240
+ `Interaction Strength` represents proximity-induced interaction rather than collision probability or conflict severity. A large PR value indicates that the target vehicle lies deeper within the empirically inferred driver space of the ego vehicle and therefore represents stronger spatial interaction.
241
+
242
+ Consequently, `Is Interacting = 1` should not automatically be interpreted as a high-risk traffic conflict. Risk semantics and interaction semantics describe different and complementary dimensions of microscopic traffic behavior.
243
+
244
+ ## Road Geometry and Scenario Information
245
+
246
+ The dataset covers seven Type-A short weaving segments located on urban expressways in Changchun, China.
247
+
248
+ All seven sites exhibit the defining Type-A weaving configuration, in which merging and diverging traffic streams must each perform a lane-changing maneuver within the same weaving area.
249
+
250
+ Three UAV observation sequences contain bidirectional traffic flows and each corresponds to two weaving scenarios:
251
+
252
+ - WS1 and WS2;
253
+ - WS4 and WS5;
254
+ - WS6 and WS7.
255
+
256
+ The remaining observation sequence contains one-way traffic and corresponds to WS3.
257
+
258
+ WS1, WS3, WS4, and WS6 retain left-to-right vehicle movement in the road-geometry representation, whereas WS2, WS5, and WS7 represent the opposite right-to-left traffic direction.
259
+
260
+ The seven scenarios have the following collection characteristics:
261
+
262
+ - **WS1:** collected on January 7, 2025; 1547 s of valid video; approximately 290 m observation length; approximately 220 m UAV altitude; four lanes; 80 km/h speed limit; 60 fps source video; 2056 trajectories.
263
+ - **WS2:** collected on January 7, 2025; 1547 s of valid video; approximately 290 m observation length; approximately 220 m UAV altitude; four lanes; 80 km/h speed limit; 60 fps source video; 1935 trajectories.
264
+ - **WS3:** collected on September 17, 2025; 2394 s of valid video; approximately 315 m observation length; approximately 270 m UAV altitude; three lanes; 80 km/h speed limit; source observations include 60 fps and 30 fps video; 2985 trajectories.
265
+ - **WS4:** collected on September 16, 2025; 1437 s of valid video; approximately 375 m observation length; approximately 360 m UAV altitude; four lanes; 80 km/h speed limit; 30 fps source video; 2017 trajectories.
266
+ - **WS5:** collected on September 16, 2025; 1437 s of valid video; approximately 375 m observation length; approximately 360 m UAV altitude; five lanes; 80 km/h speed limit; 30 fps source video; 2126 trajectories.
267
+ - **WS6:** collected on September 17, 2025; 2306 s of valid video; approximately 370 m observation length; approximately 350 m UAV altitude; five lanes; 80 km/h speed limit; 30 fps source video; 4038 trajectories.
268
+ - **WS7:** collected on September 17, 2025; 2306 s of valid video; approximately 370 m observation length; approximately 350 m UAV altitude; five lanes; 80 km/h speed limit; 30 fps source video; 3965 trajectories.
269
+
270
+ The reported observation length represents the retained roadway coverage used for trajectory extraction, including the core weaving area and adjacent upstream and downstream buffer regions where applicable.
271
+
272
+ The geometry images in `Weaving_Segment_Geometry_Images` should be consulted when performing lane-level or geometry-specific analyses because lane numbers, solid/dashed markings, and merge/diverge locations vary among the seven scenarios.
273
+
274
+ ## Coordinate Systems
275
+
276
+ U-EASWS contains three distinct coordinate systems corresponding to different processing levels. These coordinate systems should not be interpreted interchangeably.
277
+
278
+ ### Source-Image Pixel Coordinate System
279
+
280
+ The frame-level files in `Raw_Data` use the source-video image coordinate system.
281
+
282
+ The coordinate origin is located at the upper-left corner of the video image. The horizontal pixel coordinate increases from left to right, and the vertical pixel coordinate increases from top to bottom.
283
+
284
+ The relevant variables are:
285
+
286
+ - `x_center_px`: horizontal bounding-box-center coordinate, in pixels;
287
+ - `y_center_px`: vertical bounding-box-center coordinate, in pixels;
288
+ - `width_px`: bounding-box width, in pixels;
289
+ - `height_px`: bounding-box height, in pixels.
290
+
291
+ These variables describe image-space measurements and should not be directly interpreted as physical distances.
292
+
293
+ ### Road-Aligned Local Physical Coordinate System
294
+
295
+ The processed trajectory data use a scene-level road-aligned metric Cartesian coordinate system.
296
+
297
+ For scenes recorded by multiple UAV video sequences, a stabilized reference frame is selected as the master frame. Static road features visible in both the source frames and the master frame are used as control points, and fixed planar homography transformations are applied to project vehicle locations from different UAV views into a common reference coordinate system.
298
+
299
+ Static road reference points with known physical distances are then used to determine the metric scale. A local Cartesian coordinate origin is defined in the master frame.
300
+
301
+ In this coordinate system:
302
+
303
+ - the `x` axis represents the longitudinal road direction;
304
+ - the `y` axis represents the lateral road direction;
305
+ - positions are measured in meters;
306
+ - velocities are measured in meters per second;
307
+ - accelerations are measured in meters per second squared.
308
+
309
+ The principal variables expressed in this system are `x_center`, `y_center`, `v_x`, `v_y`, `a_x`, and `a_y`.
310
+
311
+ For files containing bidirectional traffic, the road-aligned coordinate system is fixed to the corresponding scene rather than independently aligned with the travel direction of each vehicle. Users should therefore interpret the coordinate values together with the `Direction` field.
312
+
313
+ ### Vehicle-Pair Local Interaction Coordinate System
314
+
315
+ The interaction semantic data additionally use an ego-vehicle-centered local coordinate system for each candidate vehicle pair.
316
+
317
+ The centroid of the ego vehicle (EV) is defined as the origin.
318
+
319
+ The direction of the relative-velocity vector between the ego vehicle and the principal other vehicle (POV) is defined as the positive local Y-axis. The direction perpendicular to the relative-velocity vector and pointing to the right is defined as the positive local X-axis.
320
+
321
+ The relative position of the target vehicle is projected into this local coordinate system to obtain `x_local` and `y_local`.
322
+
323
+ Vehicle pairs with zero relative velocity are excluded from this coordinate transformation because the direction of the relative-velocity vector is undefined.
324
+
325
+ This vehicle-pair local coordinate system is different from the scene-level road-aligned physical coordinate system used for `x_center` and `y_center`.
326
+
327
+ ## Temporal Resolution
328
+
329
+ The UAV videos were recorded using two source recording modes:
330
+
331
+ - 3840 × 2160 pixels at 30 frames per second;
332
+ - 2688 × 1512 pixels at 60 frames per second.
333
+
334
+ Therefore, the nominal physical interval between two consecutive source frames is:
335
+
336
+ - `1/30 s`, approximately `0.03333 s`, for 30 fps video;
337
+ - `1/60 s`, approximately `0.01667 s`, for 60 fps video.
338
+
339
+ Because U-EASWS contains observations originating from both frame rates, users should not assume a single universal sampling interval for the entire dataset.
340
+
341
+ The processed trajectory files therefore include `Delta_t_s`, which explicitly provides the physical time interval associated with the corresponding trajectory record.
342
+
343
+ `Frame` and `Delta_t_s` should be used together when reconstructing physical time sequences or calculating time-dependent variables.
344
+
345
+ ## Data Collection
346
+
347
+ The original vehicle observations were extracted from UAV aerial videos recorded using two DJI Mavic 2 Zoom UAVs.
348
+
349
+ The recording modes were 3840 × 2160 at 30 fps and 2688 × 1512 at 60 fps. The UAVs were operated from a near-vertical top-down perspective to provide continuous coverage of the short weaving areas and their adjacent roadway sections.
350
+
351
+ The zoom function was not used during data collection in order to avoid changes in image scale and additional geometric distortion caused by zoom adjustment.
352
+
353
+ The UAV recording altitude ranged approximately from 220 m to 360 m, while the retained observation lengths ranged approximately from 290 m to 400 m.
354
+
355
+ Data collection was performed during daytime periods under clear and low-wind conditions to reduce severe vehicle-shadow effects and UAV-view instability.
356
+
357
+ ## Data Processing
358
+
359
+ The processed trajectory and semantic data were generated through a standardized workflow.
360
+
361
+ The major stages include UAV video stabilization and region-of-interest extraction, vehicle detection and multi-object tracking, lane-region annotation, multi-video coordinate registration, transformation from image coordinates to road-aligned metric coordinates, trajectory quality screening, missing-observation reconstruction, trajectory smoothing, vehicle kinematic calculation, vehicle-length estimation, surrogate-safety-measure calculation, and interaction semantic annotation.
362
+
363
+ Vehicle trajectories are reconstructed using PCHIP interpolation where sufficient observations are available, with linear interpolation used for sparse cases that cannot satisfy the PCHIP requirements. Symmetric exponential moving average (sEMA) filtering is subsequently applied to suppress high-frequency trajectory noise while reducing temporal phase shift.
364
+
365
+ The processed data should therefore be distinguished from the frame-level records provided in `Raw_Data`.
366
+
367
+ ## Relationship Between Data Components
368
+
369
+ The repository provides multiple data levels so that users can select the level most appropriate for their research objective.
370
+
371
+ `Raw_Data` provides low-level frame-wise image-coordinate and bounding-box information and is intended for users who wish to independently perform trajectory post-processing.
372
+
373
+ `Basic_Trajectory_Data` provides reconstructed physical vehicle trajectories and is suitable for vehicle kinematics, lane-changing behavior, traffic-flow modeling, trajectory prediction, and simulation calibration.
374
+
375
+ `Risk_Semantic_Data` retains the basic trajectory information and supplements it with TTC, PET, DRAC, maximum-risk-target information, and explicit risk labels.
376
+
377
+ `Interaction_Semantic_Data` retains the basic trajectory information and supplements it with vehicle-pair relative states, PR-based interaction strength, effective-interaction labels, and interaction-type annotations.
378
+
379
+ `Weaving_Segment_Geometry_Images` provides the roadway and channelization context required to interpret lane, direction, and merge/diverge-related variables.
380
+
381
+ The processed risk and interaction files already retain the corresponding basic trajectory variables. Users therefore do not need to combine all processed layers for every analysis and may directly select the data component matching their research objective.
382
+
383
+ ## Technical Validation
384
+
385
+ The quality of U-EASWS was evaluated from multiple complementary perspectives.
386
+
387
+ Vehicle detection and multi-object tracking performance were examined under dense UAV-based traffic observations.
388
+
389
+ Trajectory continuity and spatial consistency were evaluated after coordinate registration, reconstruction, and smoothing.
390
+
391
+ Kinematic consistency was assessed using reconstructed position, velocity, and acceleration profiles to verify that the processed trajectories remain compatible with realistic microscopic vehicle motion.
392
+
393
+ The spatial distributions of lane-changing events were further examined across all seven Type-A short weaving segments. The results show that lane-changing behavior is systematically related to roadway geometry, lane position, travel direction, and channelization constraints rather than being randomly distributed within the observation area.
394
+
395
+ The risk semantic layer was evaluated through the spatial and temporal characteristics of TTC, PET, and DRAC.
396
+
397
+ The interaction semantic layer was evaluated by examining the relationship between PR-based interaction strength and microscopic vehicle responses, as well as the spatial distribution of effective interactions across the weaving areas.
398
+
399
+ ## Usage Notes
400
+
401
+ Users interested primarily in vehicle trajectories and kinematic analysis can directly use `Basic_Trajectory_Data`.
402
+
403
+ Users studying traffic conflicts and surrogate safety should use `Risk_Semantic_Data`.
404
+
405
+ Users studying vehicle-pair interaction, spatial interaction strength, or interaction type should use `Interaction_Semantic_Data`.
406
+
407
+ Users who wish to perform independent trajectory reconstruction or alternative processing pipelines should begin with `Raw_Data`.
408
+
409
+ For files containing bidirectional traffic, users should first distinguish traffic streams using `Direction` before conducting lane-level, vehicle-level, or weaving-segment-specific analyses.
410
+
411
+ The fields `Lane number`, `Dist_to_Merge_m`, and `Dist_to_Diverge_m` should be interpreted together with the corresponding channelization image in `Weaving_Segment_Geometry_Images`.
412
+
413
+ TTC and DRAC represent frame-wise conflict-related states, whereas PET is an event-level measure associated with identified cut-in events.
414
+
415
+ PR-based `Interaction Strength` characterizes proximity-induced interaction rather than collision probability. An effective interaction does not necessarily indicate a high-risk conflict, and risk and interaction annotations should therefore not be interpreted as interchangeable measures.
416
+
417
+ When comparing WS1–WS7, users should account for differences in roadway geometry, channelization configuration, lane number, traffic direction, observation duration, weaving length, and traffic conditions. Individual scenarios should preferably be examined separately before cross-scenario aggregation or normalization.
418
+
419
+ ## Limitations and Important Considerations
420
+
421
+ The released `Raw_Data` represents frame-level outputs from the vehicle detection and multi-object tracking stage rather than the original UAV video streams.
422
+
423
+ Consequently, these records preserve information at an earlier processing level than the reconstructed trajectory data but still depend on the performance of the upstream vehicle detection and tracking procedures.
424
+
425
+ The road-aligned physical coordinates are scene-specific local coordinates rather than geographic latitude/longitude coordinates.
426
+
427
+ `Vehicle_Length_m` is an estimated physical vehicle attribute derived from detection bounding boxes transformed into the metric coordinate system and is not a direct manual measurement of the physical vehicle.
428
+
429
+ The interaction-strength annotation represents proximity-induced interaction and should not be interpreted as a direct estimate of crash probability.
430
+
431
+ The dataset covers seven Type-A short weaving scenarios in Changchun, China. Researchers should consider the geographic, geometric, traffic-composition, and traffic-operation characteristics of these sites when generalizing findings to other roadway environments.
432
+
433
+ ## Licensing Information
434
+
435
+ U-EASWS is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
436
+
437
+ Under this license, users may share and adapt the material for any purpose, provided that appropriate credit is given to the original dataset creators and any changes are indicated.
438
+
439
+ ## Dataset Access
440
+
441
+ The complete dataset is available at:
442
+
443
+ https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main
444
+
445
+ The repository currently contains:
446
+
447
+ - [Weaving_Segment_Geometry_Images](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Weaving_Segment_Geometry_Images)
448
+ - [Raw_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Raw_Data)
449
+ - [Basic_Trajectory_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Basic_Trajectory_Data)
450
+ - [Risk_Semantic_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Risk_Semantic_Data)
451
+ - [Interaction_Semantic_Data](https://huggingface.co/datasets/InterestingITS/U-EASWS/tree/main/Interaction_Semantic_Data)