Mercurial Hosting > traffic-intelligence
diff scripts/undistort-video.py @ 1238:b684135d817f
version 1 of dltrack without coordinate projection
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 03 Oct 2023 16:51:39 -0400 |
parents | 97247e44b827 |
children | 2aa56b101041 |
line wrap: on
line diff
--- a/scripts/undistort-video.py Mon Oct 02 16:51:43 2023 -0400 +++ b/scripts/undistort-video.py Tue Oct 03 16:51:39 2023 -0400 @@ -16,7 +16,7 @@ parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float, default = 1.) -parser.add_argument('--mask', dest = 'maskFilename', help = 'name of the mask file, to undistort to see how it covers the undistortion errors') +parser.add_argument('-k', dest = 'maskFilename', help = 'name of the mask file, to undistort to see how it covers the undistortion errors') parser.add_argument('-f', dest = 'firstFrameNum', help = 'number of first frame number to display', type = int, default = 0) parser.add_argument('-l', dest = 'lastFrameNum', help = 'number of last frame number to save', type = int) parser.add_argument('-d', dest = 'destinationDirname', help = 'name of the directory where the undistorted frames are saved')