Actions
Python wrapper installation¶
Under Windows¶
Assuming you have installed OpenCV into C:/Program Files/OpenCV, Here is a quick howto:- Launch a terminal (Demarrer -> Executer -> cmd)
- Then change the working directory:
cd C:/Program Files/OpenCV/interfaces/swig/python
- Then, launch the python setup script:
python.exe setup-for-win-py install
- ok, it's done! try to import opencv module on python script
from opencv.cv import *
Under Linux¶
Ubuntu:
Very easy: launch this command line on terminal:
apt-get install python-opencv
Updated by Serge Koudoro almost 16 years ago ยท 3 revisions