Mercurial > hg > nsaunier > traffic-intelligence
view python/base.py @ 880:000555430b28
adapted code from Paul St-Aubin and udpated MovingObject.setFeatures to truly find the right features in a list that may not start at 0
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Tue, 14 Mar 2017 17:10:35 -0400 |
| parents | 15e244d2a1b5 |
| children |
line wrap: on
line source
'''Module for few base classes to avoid issues of circular import''' class VideoFilenameAddable(object): 'Base class with the capability to attach a video filename' def setVideoFilename(self, videoFilename): self.videoFilename = videoFilename
