Mercurial Hosting > traffic-intelligence
comparison scripts/info-video.py @ 657:51269511229b
added script printing video info
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 13 May 2015 17:24:19 +0200 |
parents | |
children | 373e8ef6ee25 |
comparison
equal
deleted
inserted
replaced
656:2813d74b3635 | 657:51269511229b |
---|---|
1 #! /usr/bin/env python | |
2 | |
3 import sys, argparse | |
4 import cvutils | |
5 | |
6 | |
7 parser = argparse.ArgumentParser(description='The program displays the video.') | |
8 parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file', required = True) | |
9 | |
10 args = parser.parse_args() | |
11 | |
12 cvutils.infoVideo(args.videoFilename) |