comparison scripts/init-tracking.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 cdf1773ba89e
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, os.path, storage, utils 3 import sys, argparse, os.path
4 from shutil import copy 4 from shutil import copy
5
5 from cvutils import getImagesFromVideo 6 from cvutils import getImagesFromVideo
6 from matplotlib.pyplot import imsave 7 from matplotlib.pyplot import imsave
8
9 from trafficintelligence import storage, utils
7 10
8 # could try to guess the video 11 # could try to guess the video
9 # check if there is already a tracking.cfg file 12 # check if there is already a tracking.cfg file
10 13
11 parser = argparse.ArgumentParser(description='The program initilizes the files for tracking: copy tracking.cfg, sets up with the video filename, generates a frame image (frame.png) and prints the next commands') 14 parser = argparse.ArgumentParser(description='The program initilizes the files for tracking: copy tracking.cfg, sets up with the video filename, generates a frame image (frame.png) and prints the next commands')