Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/display-trajectories.py @ 1292:41219193baa0
aligning undistort argument in all scripts
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 25 Sep 2024 08:42:45 -0400 |
| parents | 8e61ff3cd503 |
| children | d073524de272 |
comparison
equal
deleted
inserted
replaced
| 1291:46a30ce1a2e4 | 1292:41219193baa0 |
|---|---|
| 15 parser.add_argument('-t', dest = 'trajectoryType', help = 'type of trajectories to display', choices = ['feature', 'object'], default = 'feature') | 15 parser.add_argument('-t', dest = 'trajectoryType', help = 'type of trajectories to display', choices = ['feature', 'object'], default = 'feature') |
| 16 parser.add_argument('-o', dest = 'homographyFilename', help = 'name of the image to world homography file') | 16 parser.add_argument('-o', dest = 'homographyFilename', help = 'name of the image to world homography file') |
| 17 parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') | 17 parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') |
| 18 parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) | 18 parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) |
| 19 parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float) | 19 parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float) |
| 20 parser.add_argument('-u', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') | 20 parser.add_argument('--undistort', dest = 'undistort', help = 'undistort the video (because features have been extracted that way)', action = 'store_true') |
| 21 parser.add_argument('-f', dest = 'firstFrameNum', help = 'number of first frame number to display', type = int) | 21 parser.add_argument('-f', dest = 'firstFrameNum', help = 'number of first frame number to display', type = int) |
| 22 parser.add_argument('-l', dest = 'lastFrameNum', help = 'number of last frame number to save (for image saving, no display is made)', type = int) | 22 parser.add_argument('-l', dest = 'lastFrameNum', help = 'number of last frame number to save (for image saving, no display is made)', type = int) |
| 23 parser.add_argument('-r', dest = 'rescale', help = 'rescaling factor for the displayed image', default = 1., type = float) | 23 parser.add_argument('-r', dest = 'rescale', help = 'rescaling factor for the displayed image', default = 1., type = float) |
| 24 parser.add_argument('-s', dest = 'nFramesStep', help = 'number of frames between each display', default = 1, type = int) | 24 parser.add_argument('-s', dest = 'nFramesStep', help = 'number of frames between each display', default = 1, type = int) |
| 25 parser.add_argument('-n', dest = 'nObjects', help = 'number of objects to display', type = int) | 25 parser.add_argument('-n', dest = 'nObjects', help = 'number of objects to display', type = int) |
