changeset 794:8eb8a6bd70e8 dev

corrected more bug in script
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 02 May 2016 15:03:19 -0400
parents b1b624504388
children a34ec862371f 2ffaf1a7cde9
files scripts/classify-objects.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/classify-objects.py	Mon May 02 14:59:55 2016 -0400
+++ b/scripts/classify-objects.py	Mon May 02 15:03:19 2016 -0400
@@ -84,7 +84,7 @@
 
 pastObjects = []
 if params.undistort: # setup undistortion
-    [map1, map2] = cvutils.computeUndistortMaps(width, height, undistortedImageMultiplication, intrinsicCameraMatrix, distortionCoefficients)
+    [map1, map2] = cvutils.computeUndistortMaps(width, height, params.undistortedImageMultiplication, params.intrinsicCameraMatrix, params.distortionCoefficients)
 if capture.isOpened():
     ret = True
     frameNum = timeInterval.first