importing ComputerVision 2.3.1 [closed]
I am having problems trying to work some examples of ComputerVision. The library i have is the above. But whenever I try to import cv or cv2 I get an error and if I leave out the import statement the cv in the statement kicks an error saying that cv is not defined. I have searched the web, but cannot find any way to import this library's methods or get ComputerVision to work with my Raspberry Pi Python.
Ok first of all skip using 2.3.1 alltogether. It is ancient and a tons of updates have been released since. If you want a stable release then take 2.4.10, if you want a 99% stable release go for the 2.4 branch of the github sourcecode. Than start by giving us your complete configuration / setup, the source code tested and the exact error that is generated.
Thanks Steven, I think I was reading a book on OpenCV and it must have told me to install that version in its instructions. How do I uninstall the old version to move on to the more stable version? I have been using SimpleCV without any problems, but only had the import problem trying to import cv2 methods. I am using the latest version of Raspbian that came out in January. Trying to learn computer vision by using a Logitech C310 webcam.
Uninstalling is pretty simple, just remove the complete folder with its data and it is gone. SimpleCV is not an official openCV distribution, but a wrapper around existing functionality.
Thanks Steven, I followed your advice and it seems to be working OK now.