Project

General

Profile

Python wrapper installation » History » Version 2

Serge Koudoro, 01/13/2009 05:32 PM

1 1 Serge Koudoro
h1. Python wrapper installation
2
3 2 Serge Koudoro
h2{color:#8B0000}. Under Windows
4 1 Serge Koudoro
5
Assuming you have installed OpenCV into *C:/Program Files/OpenCV*, Here is a quick howto:
6 2 Serge Koudoro
# Launch a terminal (Demarrer -> Executer -> cmd)
7
# Then change the working directory:<pre> cd C:/Program Files/OpenCV/interfaces/swig/python</pre>
8
# Then, launch the python setup script: <pre> python.exe setup-for-win-py install</pre>
9 1 Serge Koudoro
10
11 2 Serge Koudoro
h2{color:#8B0000}. Under Linux
12
13
*%{color:#006400}+Ubuntu:+%*
14
15
Very easy: launch this command line on terminal:
16
<pre> apt-get install python-opencv </pre>