comparison python/processing.py @ 665:15e244d2a1b5

corrected bug with circular import for VideoFilenameAddable, moved to base module
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 20 May 2015 13:57:47 +0200
parents 583a2c4622f9
children 933670761a57
comparison
equal deleted inserted replaced
664:455f9b93819c 665:15e244d2a1b5
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 __metaclass__ = type 4 import moving
5 5
6 import numpy as np 6 import numpy as np
7 7
8 import moving
9 8
10 def extractSpeeds(objects, zone): 9 def extractSpeeds(objects, zone):
11 speeds = {} 10 speeds = {}
12 objectsNotInZone = [] 11 objectsNotInZone = []
13 import matplotlib.nxutils as nx 12 import matplotlib.nxutils as nx