Mercurial Hosting > traffic-intelligence
diff trafficintelligence/storage.py @ 1242:4cd8ace3552f
major update for classification, allowing the use of neural network classification
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 07 Feb 2024 11:43:03 -0500 |
parents | ab4c72b9475c |
children | 371c718e57d7 |
line wrap: on
line diff
--- a/trafficintelligence/storage.py Mon Feb 05 17:06:01 2024 -0500 +++ b/trafficintelligence/storage.py Wed Feb 07 11:43:03 2024 -0500 @@ -1520,6 +1520,7 @@ x = config.getint(self.sectionHeader, 'hog-ncells-block') self.hogNCellsPerBlock = (x, x) self.hogBlockNorm = config.get(self.sectionHeader, 'hog-block-norm') + self.confidence = config.getfloat(self.sectionHeader, 'confidence') self.speedAggregationMethod = config.get(self.sectionHeader, 'speed-aggregation-method') self.nFramesIgnoreAtEnds = config.getint(self.sectionHeader, 'nframes-ignore-at-ends')