error when i use cvblob python swig interface in ubuntu oneiric

27 views
Skip to first unread message

biogene

unread,
Oct 31, 2011, 10:24:28 AM10/31/11
to cvBlob
hello i've got a probleme with the cvblob swig python

What steps will reproduce the problem?

1. install Opencv-2.3.1a from http://sourceforge.net/projects/opencvlibrary/
change ffmpeg version 0.8.5, install cvblob from
http://cvblob.googlecode.com/svn/branches/0.10.4_pythonswig (compile /
example and run ok)

2. compile _cvblob.so OK but when i run test.py :

What is the expected output? What do you see instead?

cvblob-read-only/interfaces/swig/python$ python test.py
Traceback (most recent call last):
File "test.py", line 43, in <module>
result = cvb.cvLabel(grey,labelImg,blobs)
File "/home/biogene/projet/cvbloub/cvblob-read-only/interfaces/swig/
python/cvblob.py", line 246, in cvLabel
return _cvblob.cvLabel(*args)
TypeError: %%typemap: could not convert input argument to an IplImage

What version of the product are you using? On what operating system?
$ python -V
Python 2.7.2+

ubuntu version 11.10 (oneiric) / Linux biogene 3.0.0-12-generic-pae
#20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux

Please provide any additional information below.
i arleady had cvblob in last version of ubuntu 11.04 and this error
didn't exist yet... surely du to new opencv version ???? or i missed a
library during installation

Reply all
Reply to author
Forward
0 new messages