Mercurial Hosting > traffic-intelligence
changeset 156:2eef5620c0b3
added key values for opencv
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 08 Sep 2011 19:24:42 -0400 |
parents | f03fe3d6d0c8 |
children | 3aab19947a34 |
files | python/cvutils.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/python/cvutils.py Thu Sep 08 19:24:29 2011 -0400 +++ b/python/cvutils.py Thu Sep 08 19:24:42 2011 -0400 @@ -24,6 +24,10 @@ cvGreen, cvBlue]) +cvKeyNumbers = {'a':1048673, + 'n': 1048686, + 'y': 1048697} + def drawLines(filename, origins, destinations, w = 1, resultFilename='image.png'): '''Draws lines over the image ''' @@ -158,4 +162,5 @@ if len(delta) >= minNMatches: return median(delta, axis=0) else: + print(dp) return None