Tested on windows 7.
1. Install windows version of OpenCV 2.0 : http://sourceforge.net/projects/opencvlibrary/
2. Install python 2.6: http://www.python.org/download/ 2.6 is the latest version of 2.x available for windows and, the supported version by OpenCV 2.0.
3. WIth both installed, browse to C:\OpenCV2.0\bin (if you have installed OpenCV to default path.) and copy all the dll files (libcv200.dll ... libopencv_ffmpeg200.dll) to C:\windows\system32
4. Browse to C:\OpenCV2.0\Python2.6\Lib\site-packages and copy everything to C:\Python26\Lib\site-packages .
5. If everything is done correctly, the following code should run:
This is it!
1. Install windows version of OpenCV 2.0 : http://sourceforge.net/projects/opencvlibrary/
2. Install python 2.6: http://www.python.org/download/ 2.6 is the latest version of 2.x available for windows and, the supported version by OpenCV 2.0.
3. WIth both installed, browse to C:\OpenCV2.0\bin (if you have installed OpenCV to default path.) and copy all the dll files (libcv200.dll ... libopencv_ffmpeg200.dll) to C:\windows\system32
4. Browse to C:\OpenCV2.0\Python2.6\Lib\site-packages and copy everything to C:\Python26\Lib\site-packages .
5. If everything is done correctly, the following code should run:
import cvghoti.jpg should be converted to bitmap format.
cv.SaveImage("foo.bmp", cv.LoadImage("ghoti.jpg"))
This is it!