Mercurial > hg > nsaunier > traffic-intelligence
comparison python/cvutils.py @ 102:abfc54c097d4
removed import of Point from moving in cvutils
| author | Nicolas Saunier <nico@confins.net> |
|---|---|
| date | Wed, 13 Jul 2011 15:15:24 -0400 |
| parents | 2a3cafcf5faf |
| children | 67555e968b5e |
comparison
equal
deleted
inserted
replaced
| 101:5cc30ba3a933 | 102:abfc54c097d4 |
|---|---|
| 4 import Image, ImageDraw # PIL | 4 import Image, ImageDraw # PIL |
| 5 import cv | 5 import cv |
| 6 from sys import stdout | 6 from sys import stdout |
| 7 | 7 |
| 8 #import aggdraw # agg on top of PIL (antialiased drawing) | 8 #import aggdraw # agg on top of PIL (antialiased drawing) |
| 9 from moving import Point | |
| 10 #import utils | 9 #import utils |
| 11 | 10 |
| 12 __metaclass__ = type | 11 __metaclass__ = type |
| 13 | 12 |
| 14 def drawLines(filename, origins, destinations, w = 1, resultFilename='image.png'): | 13 def drawLines(filename, origins, destinations, w = 1, resultFilename='image.png'): |
