AutomatumPaul's picture
Upload automatum_data_full_highway_drone_dataset — Sample_Data, docs, examples, archive
9d62b12 verified

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

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:

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:

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