星期日, 3月 28, 2010

在 python 2.5下使用 opencv

Note: opencv1.0 only supports python 2.5 and opencv2.0 can support python 2.6.

installation guide [LINK]
  1. After installing, you should add the "E:\Program Files\OpenCV\bin" to System variable PATH.
  2. Copy the file "opencv" in "E:\Program Files\OpenCV\interfaces\swig\python\build\lib.win32-2.5\"  to "E:\Python25\Lib\site-packages".
  3. Restart the IDE program,then you can call the opencv function in python.
  4. Try "from opencv import cv" in python IDE, or execute drawing.py in "E:\Program Files\OpenCV\samples\python".

What is OpenCV?  [LINK]


    沒有留言: