❗ Notice |
---|
This repository is no longer being managed or updated. For the latest version of the code, please visit new repository |
FlowMapVideo is a tool for visualizing the evolution of traffic flow over time. The output is a video with a map showing the traffic flow intensities at each time interval. The animation is generated using the FlowMapFrame library to render individual frames based on the output of the Ruth traffic simulator. It is designed for linux systems.
1681896329374-rt.mp4
To run, you need to install FFmpeg
and Ruth.
- Create and activate a virtual environment:
virtualenv <VENV>
source <VENV>/bin/activate
- Install via pip
python3 -m pip install git+https://github.com/It4innovations/FlowMapVideo.git
traffic-flow-map --help
To run the example, use the simulation file example_data/simulation.pickle
.
traffic-flow-map generate-animation simulation.pickle --speed 350 --title "Traffic flow"