# Example Scripts — Automatum Data Full Highway Dataset These scripts demonstrate how to work with the Automatum drone traffic data using the `openautomatumdronedata` Python library. ## Prerequisites ```bash pip install openautomatumdronedata numpy matplotlib ``` ## Scripts | Script | Description | |--------|-------------| | `01_lane_changes.py` | Analyzes lane change frequency per vehicle and shows the top 10 | | `02_heatmap_density.py` | Creates a traffic density heatmap from all position data | | `03_high_acceleration.py` | Detects vehicles exceeding an acceleration threshold | ## Usage All scripts take the path to a recording folder as their first argument: ```bash python 01_lane_changes.py ../hw-a9-denkendorf-001-uuid python 02_heatmap_density.py ../hw-a9-appershofen-001-uuid python 03_high_acceleration.py ../hw-a9-brunn-001-uuid 3.0 ``` ## Processing All Recordings To batch-process all 114 recordings: ```python import os from openautomatumdronedata.dataset import droneDataset base = "path/to/automatum_data_full_highway_drone_dataset" for folder in sorted(os.listdir(base)): if folder.startswith("hw-"): dataset = droneDataset(os.path.join(base, folder)) print(f"{folder}: {len(dataset.dynWorld)} vehicles") ``` ## Learn More - [Full Documentation](https://openautomatumdronedata.readthedocs.io) - [Research Paper (IV2021)](../doc/IV21_Automatumd_Full_Drone_Dataset.pdf) - [Automatum Data Website](https://automatum-data.com)