Hi I'm trying to install OpenCV 2.0 with new PythonInterface. But I always fail. There is only SWIG python interface. And also it seems to be that the PythonInterface was not installed. To build the OpenCV I use:
- ./configure --without-ffmpeg (I also tried --with-python and without-swig)
- make
sudo make install
import sys
sys.path.append('/usr/local/lib/python2.6/dist-packages/opencv')
import cv
im = cv.LoadImage("PIL04.JPG",1)
and the error is:
im = cv.LoadImage("PIL04.JPG",1)
AttributeError: 'module' object has no attribute 'LoadImage'