윈도우

OpenCV 1.0 + Python 2.5.4 on windows

ForceCore 2010. 1. 30. 19:47
http://weise12.blogspot.com/2008_07_01_archive.html : <- Reference material

Although the Python interface is better, OpenCV 2.0 seems to be quite unstable and UNUSABLE. I couldn't convert one image to gray scale :(

Here's what I did.

  1. Install Python 2.5
  2. Install OpenCV 1.0
  3. Browse to C:\Program Files\OpenCV\interfaces\swig\python\build\lib.win32-2.5 . You'll see opencv there. Copy it and paste it to C:\Python25\Lib\site-packages so that C:\Python25\Lib\site-packages\opencv will exist.
  4. Browse to C:\Program Files\OpenCV\bin and copy all the dll files to c:\windows\system32
  5. If everything went OK, sample codes in C:\Program Files\OpenCV\samples\python should work.
:S