changeset 797:2ffaf1a7cde9 dev

merged
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 23 May 2016 23:55:06 -0400
parents 9f8e9fb5621b (current diff) 8eb8a6bd70e8 (diff)
children 5b99b676265e
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/classify-objects.py	Mon May 23 23:54:45 2016 -0400
+++ b/scripts/classify-objects.py	Mon May 23 23:55:06 2016 -0400
@@ -84,7 +84,7 @@
 
 pastObjects = []
 if params.undistort: # setup undistortion
-    [map1, map2] = 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