Mercurial Hosting > traffic-intelligence
diff scripts/classify-objects.py @ 797:2ffaf1a7cde9 dev
merged
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 23 May 2016 23:55:06 -0400 |
parents | 8eb8a6bd70e8 |
children | 52aa03260f03 |
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