Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/compute-homography.py @ 346:5f75d6c23ed5
added opencv function to destroy OpenCV windows (seems to work only on Windows)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 26 Jun 2013 15:42:45 -0400 |
| parents | 1d90e9080cb2 |
| children | 51810d737d86 |
comparison
equal
deleted
inserted
replaced
| 345:fa64b2e3a64f | 346:5f75d6c23ed5 |
|---|---|
| 118 #print('img: {0} / projected: {1}'.format(videoPts[i], p)) | 118 #print('img: {0} / projected: {1}'.format(videoPts[i], p)) |
| 119 cv2.imshow('video frame',videoImg) | 119 cv2.imshow('video frame',videoImg) |
| 120 if '-u' in options.keys(): | 120 if '-u' in options.keys(): |
| 121 cv2.imshow('world image',worldImg) | 121 cv2.imshow('world image',worldImg) |
| 122 cv2.waitKey() | 122 cv2.waitKey() |
| 123 cv2.destroyAllWindows() |
