Mercurial Hosting > traffic-intelligence
diff scripts/rescale-homography.py @ 1028:cc5cb04b04b0
major update using the trafficintelligence package name and install through pip
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 15 Jun 2018 11:19:10 -0400 |
parents | 933670761a57 |
children |
line wrap: on
line diff
--- a/scripts/rescale-homography.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/rescale-homography.py Fri Jun 15 11:19:10 2018 -0400 @@ -6,8 +6,7 @@ import numpy as np import cv2 -import cvutils -import utils +from trafficintelligence import cvutils, utils if len(sys.argv) < 4: print('Usage: {} homography_filename original_size new_size (size can be width or height)'.format(sys.argv[0]))