diff python/utils.py @ 348:c64a4f889b97

added safety analysis options to feature tracking (with default values for backward compatibility)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 26 Jun 2013 18:40:31 -0400
parents 14a2405f54f8
children 7e9ad2d9d79c
line wrap: on
line diff
--- a/python/utils.py	Wed Jun 26 17:28:45 2013 -0400
+++ b/python/utils.py	Wed Jun 26 18:40:31 2013 -0400
@@ -450,6 +450,7 @@
         self.homographyFilename = config.get(self.sectionHeader, 'homography-filename')
         self.homography = loadtxt(self.homographyFilename)
         self.firstFrameNum = config.getint(self.sectionHeader, 'frame1')
+        self.videoFrameRate = config.getfloat(self.sectionHeader, 'video-fps')
 
 #########################
 # sqlite