Wiki

Clone wiki

TrafficIntelligence / Home

Traffic Intelligence Project

News

  • March 24th 2015: added more details on the use of the compute-homography.py script in the tutorial
  • June 4th 2014: added functionality to deal with radial distortion (aka fish eye effect, eg from GoPro cameras). This means that more parameters are needed in the configuration file. The file cannot be updated automatically, see How to update configuration files for solutions.
  • Past News

Introduction

Welcome the homepage of the Traffic Intelligence project. This software project provides a set of tools developed by Nicolas Saunier and his collaborators for transportation data processing, in particular road traffic, motorized and non-motorized. The project consists in particular in tools for the most typical transportation data type, trajectories, i.e. temporal series of positions. The original work targeted automated road safety analysis using video sensors.

This software is being developed for many projects and purposes. This project contains:

  • C++ code under the c and include directories: a feature-based moving object tracking tool and some examples of the use of the OpenCV and KLT libraries
  • Python modules for several applications
    • classes for trajectories and moving objects (objects with some characteristics and a series of time-stamped positions): this growing body of code allows the interpretation of trajectory data produced by the C++ video analysis code
    • some basic code for simple traffic engineering problems (fundamental diagram and traffic signal timing)

Guides

Compiled Video Analysis Binary for Windows

Although Linux is the preferred development platform, binaries are provided for Windows on the Downloads page (compiled on Windows 7 (32 bit) using the provided compiled libraries, it should work on several Windows version, from XP to 8, 32 or 64 bit). Pick the newest version in general. Please report bugs and consider contributing to the project.

Contribution

We are very interested in outside contributions and to start a collective effort to make video analysis more accessible and widespread in transportation applications. Do not hesitate to contact Nicolas Saunier and to give feedback on the code, documentation, etc. When you find an error and have a workaround, please send a message about the error so that others will not be stuck in the same place.

License

The code is licensed under the MIT open source license.

Acknowledgement

Funding for these developments comes partially through the funding of the students listed on the collaborators' page, supported by NSERC Grant No 402320-2011, FRQNT-MTQ-FRQS grant 2012-SO-163493 (road safety research program 2011-2014) and several MTQ research contracts.

If you make use of this piece of software, please cite one of our papers, for example

  • for the tracking software, S. Jackson, L. Miranda-Moreno, P. St-Aubin, and N. Saunier. A flexible, mobile video camera system and open source video analysis software for road safety and behavioural analysis. Transportation Research Record: Journal of the Transportation Research Board, 2365:90-98, 2013 http://dx.doi.org/10.3141/2365-12
  • for surrogate road safety analysis N. Saunier, T. Sayed and K. Ismail. Large Scale Automated Analysis of Vehicle Interactions and Collisions. Transportation Research Record: Journal of the Transportation Research Board, 2147:42-50, 2010 http://dx.doi.org/10.3141/2147-06

We would be very happy in any case to know about any use of the code, and to discuss any opportunity for collaboration.

Contact me at nicolas.saunier[at]polymtl.ca and learn more about our work at http://nicolas.saunier.confins.net.

Collaborators are listed on this page.

Updated