comparison trafficintelligence/processing.py @ 1029:c6cf75a2ed08

reorganization of imports
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 18 Jun 2018 22:50:59 -0400
parents cc5cb04b04b0
children 75a6ad604cc5
comparison
equal deleted inserted replaced
1028:cc5cb04b04b0 1029:c6cf75a2ed08
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 '''Algorithms to process trajectories and moving objects''' 2 '''Algorithms to process trajectories and moving objects'''
3 3
4 import moving
5
6 import numpy as np 4 import numpy as np
7 5
6 from trafficintelligence import moving
8 7
9 def extractSpeeds(objects, zone): 8 def extractSpeeds(objects, zone):
10 speeds = {} 9 speeds = {}
11 objectsNotInZone = [] 10 objectsNotInZone = []
12 import matplotlib.nxutils as nx 11 import matplotlib.nxutils as nx