Mercurial Hosting > traffic-intelligence
view scripts/safety-analysis.py @ 337:dc2e68e936c7
work in progress
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Sun, 16 Jun 2013 23:44:36 -0400 |
parents | 3950bfe22768 |
children | f3aceea2afbb |
line wrap: on
line source
#! /usr/bin/env python import sys, argparse import matplotlib.pyplot as plt import numpy as np from ConfigParser import ConfigParser parser = argparse.ArgumentParser(description='The program processes indicators for all pairs of road users in the scene') args = parser.parse_args() print(args) # TODO work on the way to indicate an interaction definition if False:#len(args)>0: # consider there is a configuration file params = utils.TrackingParameters() params.loadConfigFile(args[0]) # for the demo, output automatically a map