diff python/cvutils.py @ 243:e0988a8ace0c

started adapting and moving to other modules Mohamed's work
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 16 Jul 2012 04:57:35 -0400
parents eb4525853030
children 571ba5ed22e2
line wrap: on
line diff
--- a/python/cvutils.py	Fri Jul 13 17:30:25 2012 -0400
+++ b/python/cvutils.py	Mon Jul 16 04:57:35 2012 -0400
@@ -181,8 +181,8 @@
 def project(homography, p):
     '''Returns the coordinates of the projection of the point p
     through homography'''
-    from numpy.core.multiarray import array
-    return projectArray(homography, array([[p[0]],p[1]]))
+    from numpy import array
+    return projectArray(homography, array([[p[0]],[p[1]]]))
 
 def projectTrajectory(homography, trajectory):
     '''Projects a series of points in the format