Mercurial > hg > nsaunier > traffic-intelligence
view scripts/info-video.py @ 662:72174e66aba5
corrected bug that increased TTC by 1 frame and structure to store collision points and crossing zones
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 18 May 2015 17:17:06 +0200 |
| parents | 51269511229b |
| children | 373e8ef6ee25 |
line wrap: on
line source
#! /usr/bin/env python import sys, argparse import cvutils parser = argparse.ArgumentParser(description='The program displays the video.') parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file', required = True) args = parser.parse_args() cvutils.infoVideo(args.videoFilename)
