Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.32 KB

FlowMapVideo

❗ 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

Installation

Prerequisites

To run, you need to install FFmpeg and Ruth.

  1. Create and activate a virtual environment:
virtualenv <VENV>
source <VENV>/bin/activate
  1. Install via pip
python3 -m pip install git+https://github.com/It4innovations/FlowMapVideo.git

Run

traffic-flow-map --help

Example

To run the example, use the simulation file example_data/simulation.pickle.

traffic-flow-map generate-animation simulation.pickle --speed 350 --title "Traffic flow"