Mercurial Hosting > traffic-intelligence
diff python/compute-homography.py @ 236:eb4525853030
added script to display trajectories
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 06 Jul 2012 01:03:52 -0400 |
parents | 584613399513 |
children | 6774bdce03f1 |
line wrap: on
line diff
--- a/python/compute-homography.py Thu Jul 05 23:32:14 2012 -0400 +++ b/python/compute-homography.py Fri Jul 06 01:03:52 2012 -0400 @@ -57,7 +57,9 @@ print('''The positional argument should be the name of a file containing at least 4 non-colinear point coordinates (point correspondences: - the first two lines are the x and y coordinates in the projected space (usually world space) - - the last two lines are the x and y coordinates in the origin space (usually image space)''') + - the last two lines are the x and y coordinates in the origin space (usually image space) + +if providing a video frame, the image points and back projected world points will be plotted''') sys.exit() dstPts, srcPts = cvutils.loadPointCorrespondences(args[0])