Open GoogleCodeExporter opened 8 years ago
The Python/swig branch currently only supports OpenCV-2.1.0.
All bets are off for more recent versions of OpenCV.
Original comment by zorzalzi...@gmail.com
on 31 Oct 2011 at 10:56
To solve this error that you are getting you need to edit the
cvblob_pytypemaps.i file found at CVBLOB_ROOT_DIR/interfaces/swig/python and
change the is_iplimage function to be
return (strcmp(o->ob_type->tp_name,"cv2.cv.iplimage") == 0);
Note the difference in the compare string it now has a prefix of cv2.
This will make the python bindings works with opencv 2.3.1a
Then to apply the fix run
make clean
make
sudo make install
The test.py program will then run successfully.
Original comment by busb...@gmail.com
on 1 Jul 2012 at 5:43
Original issue reported on code.google.com by
biogenem...@gmail.com
on 31 Oct 2011 at 1:27