view scripts/info-video.py @ 811:429bb43e8278 opencv3

switching the branches to correct names (opencv3.1 is old code previously updated to OpenCV3 and default is now updated to OpenCV 2.4.13
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 10 Jun 2016 15:44:37 -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)