Mercurial Hosting > traffic-intelligence
comparison scripts/info-video.py @ 1028:cc5cb04b04b0
major update using the trafficintelligence package name and install through pip
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 15 Jun 2018 11:19:10 -0400 |
parents | 16932cefabc1 |
children |
comparison
equal
deleted
inserted
replaced
1027:6129296848d3 | 1028:cc5cb04b04b0 |
---|---|
1 #! /usr/bin/env python3 | 1 #! /usr/bin/env python3 |
2 | 2 |
3 import sys, argparse | 3 import sys, argparse |
4 import cvutils | |
5 | 4 |
5 from trafficintelligence import cvutils | |
6 | 6 |
7 parser = argparse.ArgumentParser(description='The program displays the video.') | 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) | 8 parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file', required = True) |
9 | 9 |
10 args = parser.parse_args() | 10 args = parser.parse_args() |