Skip to content

A tool that renders a video with traffic intensity based on traffic simulator (ruth) result.

License

Notifications You must be signed in to change notification settings

It4innovations/FlowMapVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

A tool that renders a video with traffic intensity based on traffic simulator (ruth) result.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages