view scripts/info-video.py @ 882:4749b71aa7fb

corrected bugs in storage.py when having configuration files and other files in different directories: everything should be relative to directory of command line when running the program (see FAQ)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 15 Mar 2017 12:36:03 -0400
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)