Mercurial Hosting > traffic-intelligence
diff scripts/display-trajectories.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 | 933670761a57 |
children | 371c718e57d7 |
line wrap: on
line diff
--- a/scripts/display-trajectories.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/display-trajectories.py Fri Jun 15 11:19:10 2018 -0400 @@ -2,11 +2,11 @@ import sys, argparse -import storage, cvutils, utils - from numpy.linalg import inv from numpy import loadtxt +from trafficintelligence import storage, cvutils, utils + parser = argparse.ArgumentParser(description='The program displays feature or object trajectories overlaid over the video frames.', epilog = 'Either the configuration filename or the other parameters (at least video and database filenames) need to be provided.') parser.add_argument('--cfg', dest = 'configFilename', help = 'name of the configuration file') parser.add_argument('-d', dest = 'databaseFilename', help = 'name of the Sqlite database file (overrides the configuration file)')