diff scripts/learn-motion-patterns.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 d0e339359d8a
line wrap: on
line diff
--- a/scripts/learn-motion-patterns.py	Fri Jun 15 11:18:43 2018 -0400
+++ b/scripts/learn-motion-patterns.py	Fri Jun 15 11:19:10 2018 -0400
@@ -2,10 +2,9 @@
 
 import sys, argparse
 
-#import matplotlib.pyplot as plt
 import numpy as np
 
-import ml, utils, storage, moving
+from trafficintelligence import ml, utils, storage, moving
 
 parser = argparse.ArgumentParser(description='The program learns prototypes for the motion patterns') #, epilog = ''
 #parser.add_argument('--cfg', dest = 'configFilename', help = 'name of the configuration file')