diff python/cvutils.py @ 547:97c5fef5b2d6

corrected bugs
author MohamedGomaa
date Tue, 08 Jul 2014 13:43:56 -0400
parents bd1ad468e928
children e6ab4caf359c
line wrap: on
line diff
--- a/python/cvutils.py	Thu Jul 03 14:30:20 2014 -0400
+++ b/python/cvutils.py	Tue Jul 08 13:43:56 2014 -0400
@@ -348,7 +348,7 @@
         prod = dot(homography, augmentedPoints)
         return prod[0:2]/prod[2]
     else:
-        return p
+        return points
 
 def project(homography, p):
     '''Returns the coordinates of the projection of the point p with coordinates p[0], p[1]