Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

python import cv

I am trying to work with Pyvision from CSU. My root problem is that several of the source files contain "import cv" statements and a lot of references to members of the cv module. I know that I can resolve the obvious errors by using "import cv2.cv as cv" instead of "import cv". I can also eliminate those same errors by creating a cv.py module that contains the statement "from cv2.cv import *". This is easier than changing all the original import statements.

My 2-part question is: 1. Does my "fake" cv module trick make sense for now? 2. How much time do we have before cv2.cv becomes obsolete?