Mercurial Hosting > traffic-intelligence
diff python/storage.py @ 893:ff92801e5c54
updated hog to scikit-image 0.13 (needed to add a block_norm attribute in classifier.cfg)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 30 May 2017 16:10:18 -0400 |
parents | f766fe0995f4 |
children | 739acd338cc0 |
line wrap: on
line diff
--- a/python/storage.py Fri May 05 00:07:33 2017 -0400 +++ b/python/storage.py Tue May 30 16:10:18 2017 -0400 @@ -1252,6 +1252,7 @@ self.hogNPixelsPerCell = (x, x) x = config.getint(self.sectionHeader, 'hog-ncells-block') self.hogNCellsPerBlock = (x, x) + self.hogBlockNorm = config.get(self.sectionHeader, 'hog-block-norm') self.speedAggregationMethod = config.get(self.sectionHeader, 'speed-aggregation-method') self.nFramesIgnoreAtEnds = config.getint(self.sectionHeader, 'nframes-ignore-at-ends')