diff scripts/rescale-homography.py @ 936:56cc8a1f7082

removed all old versions of projection methods
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 14 Jul 2017 16:48:42 -0400
parents 8f8f4375e441
children 933670761a57
line wrap: on
line diff
--- a/scripts/rescale-homography.py	Fri Jul 14 16:30:57 2017 -0400
+++ b/scripts/rescale-homography.py	Fri Jul 14 16:48:42 2017 -0400
@@ -20,7 +20,7 @@
                       [20,20],
                       [20,10]])
 
-wldPoints = cvutils.projectArray(homography, imgPoints.T).T
+wldPoints = cvutils.homographyProject(imgPoints.T, homography).T
 
 newSize = float(sys.argv[3])
 originalSize = float(sys.argv[2])