AutomatumPaul's picture
Upload automatum_data_crossing — Sample_Data, docs, examples, archive
0343ffa verified
# Example Scripts — Automatum Data T-Crossing 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 |
| `example_export_objects.py` | Exports per-vehicle JSON files with surrounding object data |
## Usage
All scripts take the path to a recording folder as their first argument:
```bash
python 01_lane_changes.py ../T-Crossing--GaimersheimStadtweg_e2e6-e2e6f4bb-4668-4654-ac7e-bcd90c9df4c2
python 02_heatmap_density.py ../T-Crossing--GaimersheimStadtweg_e2e6-e2e6f4bb-4668-4654-ac7e-bcd90c9df4c2
python 03_high_acceleration.py ../T-Crossing--GaimersheimStadtweg_e2e6-e2e6f4bb-4668-4654-ac7e-bcd90c9df4c2 3.0
```
## Learn More
- [Full Documentation](https://openautomatumdronedata.readthedocs.io)
- [Automatum Data Website](https://automatum-data.com)