Datasets:
File size: 1,246 Bytes
0343ffa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # 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)
|