Mercurial Hosting > traffic-intelligence
diff scripts/classify-objects.py @ 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 | 52aa03260f03 |
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