Mercurial Hosting > traffic-intelligence
view python/base.py @ 788:5b970a5bc233 dev
updated classifying code to OpenCV 3.x (bug in function to load classification models)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 24 Mar 2016 16:37:37 -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