changeset 793:b1b624504388 dev

corrected bug in script
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 02 May 2016 14:59:55 -0400
parents ee3433fc0026
children 8eb8a6bd70e8
files scripts/classify-objects.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/classify-objects.py	Fri Apr 29 16:08:45 2016 -0400
+++ b/scripts/classify-objects.py	Mon May 02 14:59:55 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, undistortedImageMultiplication, intrinsicCameraMatrix, distortionCoefficients)
 if capture.isOpened():
     ret = True
     frameNum = timeInterval.first