hello,
for pix_opencv you must add [pix_rgba] in help-example " In order to make the pix_opencv objects work You always had to set colorspace RGB. otherwise, You will not see any effect." my first test : http://tinyurl.com/7yor85 p. ----- Mail Original ----- De: "Loic Kessous" loic.kessous@gmail.com À: Pd-list@iem.at Envoyé: Vendredi 23 Janvier 2009 12:13:21 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [PD] (no subject)
Hi All,
I found that there is a Pd library called pix_opencv in the pd-
extended source folder, but I can't load (red dot line box) the
externals with the already compiled app that I found here :
http://puredata.info/downloads/
Mac OS X Intel (Mac Pro, MacBook, all Intel Macs) http://downloads.sourceforge.net/pure-data/Pd-0.40.3-extended-macosx104-i386...
does that mean that it is not working yet? or just that it's not yet
in the official distribution?
(I tried to compile it myself and now they compile and load but they
don't do anything...)
please help,
loic
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
thanks for the replies, so now that I have so hope to make it work, I
try to restart from scratch :-) to be sure that I have the right
opencv installation and then the other ressources I need (GEM and Pd)
first what I really need for opencv specific things?
for os X do I need the framework stuff?
I have some opencv examples (standalone) that work using a 'local
framework'.
I made yesterday some unsuccessful tentatives to make this work with
Pd, as there is the tc and tk famework in the os X package, I though
that it could be an issue to put the opencv package here..., also I
tried to put it in other places as /library/Frameworks.
anyway, now I removed all the opencv.framework files.
I also had a look at the usr/local/lib and apparently I it was quit
messy (I probalbly installed opencv too many times), so I made it
clean, same thing for the usr/include:
before: sh-3.2# cd ../lib/ sh-3.2# ls mageMagick-6.4.1 libcvaux.la libfuse.dylib libml.2.dylib libcv.1.dylib libcvhaartraining.a libfuse.la libml.dylib libcv.2.0.0.dylib libcxcore.1.0.0.dylib libhighgui.1.0.0.dylib libml.la libcv.2.dylib libcxcore.1.dylib libhighgui.1.dylib libulockmgr. 0.0.0.dylib libcv.dylib libcxcore.2.0.0.dylib libhighgui.2.0.0.dylib libulockmgr. 0.dylib libcv.la libcxcore.2.dylib libhighgui.2.dylib libulockmgr.a libcvaux.1.0.0.dylib libcxcore.dylib libhighgui.dylib libulockmgr.dylib libcvaux.1.dylib libcxcore.la libhighgui.la libulockmgr.la libcvaux.2.0.0.dylib libfuse.0.0.0.dylib libml.1.0.0.dylib pkgconfig libcvaux.2.dylib libfuse.0.dylib libml.1.dylib libcvaux.dylib libfuse.a libml.2.0.0.dylib
/usr/local/include sh-3.2# ls cv.h cvhaartraining.h cvwimage.h cxtypes.h cv.hpp cvmat.hpp cxcore.h highgui.h cvaux.h cvtypes.h cxcore.hpp ml.h cvaux.hpp cvver.h cxerror.h cvcompat.h cvvidsurv.hpp cxmisc.h
after:
/usr/local/include sh-3.2# ls sh-3.2#
sh-3.2# cd ../lib/ sh-3.2# ls ImageMagick-6.4.1 pkgconfig
SO NOW, FIRST STEP AGAIN: Can some please tell me what opencv version
I should download? (FYI, I use a iMac intel 2.66 GHz intel core Duo os
X 10.5.6) ?
this one using CVS (according to http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port)?
and this command (that was one of my previous tentatives, in
addition to darwin port and others that I don't remember):
cvs -z3 -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/ cvsroot/opencvlibrary co -P opencv
thanks for your help, loic
hi Loic,
again I apologize for the big mess on pix_opencv macosx versions ... and again I must say macosx is not my usual system ...
anyway I managed several times to install it on intelmacs, using this procedure ::
http://wiki.nuigroup.com/Installing_Touchlib_on_Mac_OS_X)
http://hangar.org/wikis/lab/pd/opencv/Makefile.darwin (instead of the one in the pd-svn) you must change the makefile to match yout system ::
PD_DIR = /Users/lluisgomezbigorda/pd-0.41-4 GEM_DIR = /Users/lluisgomezbigorda/Gem OPENCV_CFLAGS = -I/usr/local/include/opencv
.- that's all. copy the pd_darwin files in your extra folder and that should work.
if you have errors like "unsupported format", that could be a mismatch with the Gem version you used to compile pix_opencv and the ones running in your system ... or (please any macosx dev), can also be a mismatch in the compiler versions used to compile Gem and pix_opencv ???
in the same environment I compiled pix_opencv ... but that's another history ...
another tip for macosx is that pix_opencv only works with RGBA pixes wich are not the default one in macosx ... so Yes, another mess here are the helpfiles. all the help files need a [pix_rgba] in order to work on macosx ..
................
hope that helps ...
looking forward to do better documentation on that ...... ll.
En/na Loic Kessous ha escrit:
thanks for the replies, so now that I have so hope to make it work, I
try to restart from scratch :-) to be sure that I have the right
opencv installation and then the other ressources I need (GEM and Pd)first what I really need for opencv specific things?
for os X do I need the framework stuff?
I have some opencv examples (standalone) that work using a 'local
framework'. I made yesterday some unsuccessful tentatives to make this work with
Pd, as there is the tc and tk famework in the os X package, I though
that it could be an issue to put the opencv package here..., also I
tried to put it in other places as /library/Frameworks.anyway, now I removed all the opencv.framework files.
I also had a look at the usr/local/lib and apparently I it was quit
messy (I probalbly installed opencv too many times), so I made it
clean, same thing for the usr/include:before: sh-3.2# cd ../lib/ sh-3.2# ls mageMagick-6.4.1 libcvaux.la libfuse.dylib libml.2.dylib libcv.1.dylib libcvhaartraining.a libfuse.la libml.dylib libcv.2.0.0.dylib libcxcore.1.0.0.dylib libhighgui.1.0.0.dylib libml.la libcv.2.dylib libcxcore.1.dylib libhighgui.1.dylib libulockmgr. 0.0.0.dylib libcv.dylib libcxcore.2.0.0.dylib libhighgui.2.0.0.dylib libulockmgr. 0.dylib libcv.la libcxcore.2.dylib libhighgui.2.dylib libulockmgr.a libcvaux.1.0.0.dylib libcxcore.dylib libhighgui.dylib libulockmgr.dylib libcvaux.1.dylib libcxcore.la libhighgui.la libulockmgr.la libcvaux.2.0.0.dylib libfuse.0.0.0.dylib libml.1.0.0.dylib pkgconfig libcvaux.2.dylib libfuse.0.dylib libml.1.dylib libcvaux.dylib libfuse.a libml.2.0.0.dylib
/usr/local/include sh-3.2# ls cv.h cvhaartraining.h cvwimage.h cxtypes.h cv.hpp cvmat.hpp cxcore.h highgui.h cvaux.h cvtypes.h cxcore.hpp ml.h cvaux.hpp cvver.h cxerror.h cvcompat.h cvvidsurv.hpp cxmisc.h
after:
/usr/local/include sh-3.2# ls sh-3.2#
sh-3.2# cd ../lib/ sh-3.2# ls ImageMagick-6.4.1 pkgconfig
SO NOW, FIRST STEP AGAIN: Can some please tell me what opencv version
I should download? (FYI, I use a iMac intel 2.66 GHz intel core Duo os
X 10.5.6) ?this one using CVS (according to http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port)? and this command (that was one of my previous tentatives, in
addition to darwin port and others that I don't remember):cvs -z3 -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/ cvsroot/opencvlibrary co -P opencv
thanks for your help, loic
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I also have dowloaded this by svn is the same thing :
svn co https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary
opencvlibrary
and found this inside:
opencvlibrary/trunk/opencv (with a make_frameworks.sh so it seems
related to os X)
but also this opencvlibrary/brabches/MACOSX_DEVELOPMENT which seems to
not be the same thing.
(apparentely I tried yesterday to install all the stuff I found so
that's why ther was such a bazar in my usr/local/lib and usr/local/
include ...
can someone please tell me the one and only one stuff I need to install.
thanks
loic