brain matters . . .

  • Increase font size
  • Default font size
  • Decrease font size
Home Python Programming Installing OpenCV 2.0 for Python Fun

Installing OpenCV 2.0 for Python Fun

E-mail Print PDF

OpenCV has a lot of nifty stuff built into it.  The install is pretty easy but has a few small hitches worth mentioning.

First download the from here: link

Install cmake under Ubuntu/Debian, untar the directory, cd in, and run cmake.

$sudo apt-get install cmake
$tar xfj OpenCV-2.0.0.tar.gz

Don't omit the dot at the end!  Next:

$make install

From there I ran into the small problem that it installs to the depreciated "site-packages" instead of "dist-packages" so:

$cd /usr/local/lib/python2.6/site-packages
$sudo cp ../dist-packages

From there everything worked wonderfully!



Last Updated on Monday, 08 March 2010 17:44