Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/compute-clearmot.py @ 874:a1e92c48dfb4
correcting error
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 15 Feb 2017 14:57:49 -0500 |
| parents | 6b474db46b45 |
| children | 45384b45e35a |
comparison
equal
deleted
inserted
replaced
| 873:6b474db46b45 | 874:a1e92c48dfb4 |
|---|---|
| 27 parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') | 27 parser.add_argument('--intrinsic', dest = 'intrinsicCameraMatrixFilename', help = 'name of the intrinsic camera file') |
| 28 parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) | 28 parser.add_argument('--distortion-coefficients', dest = 'distortionCoefficients', help = 'distortion coefficients', nargs = '*', type = float) |
| 29 parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float) | 29 parser.add_argument('--undistorted-multiplication', dest = 'undistortedImageMultiplication', help = 'undistorted image multiplication', type = float) |
| 30 | 30 |
| 31 parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file (for display)') | 31 parser.add_argument('-i', dest = 'videoFilename', help = 'name of the video file (for display)') |
| 32 parser.add_argument('--csv', dest = 'csvOutput', help = 'output comma-separated metrics') | 32 parser.add_argument('--csv', dest = 'csvOutput', help = 'output comma-separated metrics', action = 'store_true') |
| 33 args = parser.parse_args() | 33 args = parser.parse_args() |
| 34 | 34 |
| 35 if args.homographyFilename is not None: | 35 if args.homographyFilename is not None: |
| 36 homography = loadtxt(args.homographyFilename) | 36 homography = loadtxt(args.homographyFilename) |
| 37 else: | 37 else: |
