<div dir="ltr">Hi Peter, <div><br></div><div>I have OpenCV 2.4.9.1.</div><div><br></div><div>Could you please provide more information about why you can't load pix_opencv_threshold ?</div><div>You should have some error in Pd console, and as suggested by Antoine Rousseau please start pd with -verbose flag and switch console to log mode "4 all".</div><div>When you add a [declare -lib pix_opencv] , do you see a message on the Pd Console ? </div><div>Something like : </div><div><div>pix_opencv 0.4 library by Antoine Villeret 2012-2014</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>based on work by Yves Degoyon and Lluis Gomez i Bigorda</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>built on Mar 14 2016</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>without non-free features</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>and without FaceTracker.</div></div><div><br></div><div>If you don't then pix_opencv is not loaded but Pd should tell you why.</div><div><br></div><div>Best </div><div><br></div><div>Antoine</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2017-10-19 18:33 GMT+02:00 Peter P. <span dir="ltr"><<a href="mailto:peterparker@fastmail.com" target="_blank">peterparker@fastmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Antoine,<br>
<br>
thanks for your kind reply! Please see my comments below,<br>
<br>
* Antoine Villeret <<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.com</a>> [2017-10-18 22:00]:<br>
<span class="">> Hi,<br>
><br>
> i'm glad to hear that someone uses pix_opencv (at least try it :-) )<br>
><br>
> first the easy part : l_ia64 extension is the Linux 64bit extension.<br>
> it could also be 'pd_linux' but 'l_ia64' indicate more than just linux and<br>
> so you can have several library binary for different architecture in the<br>
> same folder and Pd will choose the right one on the fly.<br>
</span>Thanks!<br>
<br>
[...]<br>
<span class="">> First thing : pix_opencv depends on Gem, so you need to lot Gem before<br>
> loading pix_opencv.<br>
> Second thing : pix_opencv also depend on ... wait for it ... OpenCV ! but<br>
> it is worth to say.<br>
> You can easily install OpenCV on Linux and on macos it is a little bit more<br>
> complicated that's why I tried to package OpenCV library binary with<br>
> pix_opencv.<br>
</span>Debian Linux is offering me the following packages<br>
        libopencv-apps0d<br>
        libopencv-calib3d2.4v5<br>
        libopencv-contrib2.4v5<br>
        libopencv-core2.4v5<br>
        libopencv-features2d2.4v5<br>
        libopencv-flann2.4v5<br>
        libopencv-gpu2.4v5<br>
        libopencv-highgui2.4-deb0<br>
        libopencv-imgproc2.4v5<br>
        libopencv-legacy2.4v5<br>
        libopencv-ml2.4v5<br>
        libopencv-objdetect2.4v5<br>
        libopencv-ocl2.4v5<br>
        libopencv-photo2.4v5<br>
        libopencv-stitching2.4v5<br>
        libopencv-superres2.4v5<br>
        libopencv-ts2.4v5<br>
        libopencv-video2.4v5<br>
        libopencv-videostab2.4v5<br>
        libopencv2.4-java<br>
        libopencv2.4-jni<br>
which pulls in a total of 44 packages. I installed them all, loaded<br>
using [declare -lib pix_opencv] and can not create an object like<br>
[pix_opencv_threshold].<br>
<span class=""><br>
> But I don't have any package ready to distribute under the hand anymore.<br>
> But if you want advance feature like CUDA and OpenCL acceleration then you<br>
> need to build OpenCV by hand.<br>
</span>No need on my side for now, thank you.<br>
How would apple users install and use pix_opencv by the way? You<br>
mentioned that you included a libopencv binary with the external?<br>
<span class=""><br>
> Btw I can load pix_opencv and try some example on Ubuntu 17.04 with Pd 0.48<br>
> and Gem  0.93.git 10759c2<br>
> I tried pix_opencv-v0.4-(Linux-amd64-<wbr>64)-externals.tar.gz and<br>
> pix_opencv-v0.4-Ubuntu15.10-(<wbr>Linux-amd64-64)-externals.tar.<wbr>gz.<br>
</span>Can you check which libopencv-packages you have installed on that<br>
computer?<br>
<br>
All the best,<br>
Peter<br>
<span class=""><br>
> I hope this help a little bit.<br>
> If you need more advice, please follow Antoine Rousseau advice to track<br>
> down what is missing.<br>
><br>
> Best<br>
><br>
> Antoine<br>
><br>
> --<br>
> do it yourself<br>
> <a href="http://antoine.villeret.free.fr" rel="noreferrer" target="_blank">http://antoine.villeret.free.<wbr>fr</a><br>
><br>
> 2017-10-18 21:20 GMT+02:00 Antoine Rousseau <<a href="mailto:antoine@metalu.net">antoine@metalu.net</a>>:<br>
><br>
> > With -verbose, I do find two lines of (...)<br>
> ><br>
> ><br>
> > you may need to set Log level to 4 (all) in the Pd console (in addition to<br>
> > -verbose), in order to know which lib is missing.<br>
> ><br>
> ><br>
> > Antoine Rousseau<br>
</span>> >   <a href="http://www.metalu.net" rel="noreferrer" target="_blank">http://www.metalu.net</a> <<a href="http://metalu.net" rel="noreferrer" target="_blank">http://metalu.net</a>> __ htt<br>
> > p://<a href="http://www.metaluachahuter.com/" rel="noreferrer" target="_blank">www.metaluachahuter.com/</a><br>
> > <<a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" rel="noreferrer" target="_blank">http://www.metaluachahuter.<wbr>com/compagnies/al1-ant1/</a>><br>
<span class="">> ><br>
> ><br>
> > 2017-10-18 18:47 GMT+02:00 Pagano, Patrick <<a href="mailto:patrick.pagano@uconn.edu">patrick.pagano@uconn.edu</a>>:<br>
> ><br>
> >> Last i tried you also had to have the OpenCV Framework for it to work in<br>
> >> OSX and Linux<br>
> >><br>
> >> It was not only the Pd stuff that was required.<br>
> >><br>
> >><br>
> >> I would love some clarity of the state of OpenCV in OSX/Linux too if<br>
> >> anyone can share that info<br>
> >><br>
> >><br>
> >> Patrick Pagano B.S, M.F.A<br>
> >><br>
</span>> >> *Assistant Professor in Residence*<br>
> >><br>
> >><br>
> >> *Digital Media & Design *<br>
> >><br>
> >> *Web & Interactive Technologies*<br>
> >><br>
> >> *University of Connecticut, Stamford*<br>
> >><br>
> >> *<a href="tel:%28352%29-226-2016" value="+13522262016">(352)-226-2016</a> <(352)%20226-2016>*<br>
> >> ------------------------------<br>
> >> *From:* Pd-list <<a href="mailto:pd-list-bounces@lists.iem.at">pd-list-bounces@lists.iem.at</a>> on behalf of Peter P. <<br>
> >> <a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>><br>
> >> *Sent:* Wednesday, October 18, 2017 11:08:26 AM<br>
> >> *To:* pd-list<br>
> >> *Subject:* Re: [PD] which pix_opencv to select in Deken?<br>
<div class="HOEnZb"><div class="h5">> >><br>
> >> * Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>> [2017-10-18 14:03]:<br>
> >> > Hi list,<br>
> >> ><br>
> >> > I am wondering about the differences between the following two search<br>
> >> > results for "opencv" in Deken on Debian Linux:<br>
> >> ><br>
> >> > pix_opencv-v0.4-Ubuntu15.10-(<wbr>Linux-amd64-64)-externals.tar.<wbr>gz<br>
> >> >        Uploaded by avilleret @ 2016-03-14 16:31:30<br>
> >> ><br>
> >> > pix_opencv-v0.4-(Linux-amd64-<wbr>64)-externals.tar.gz<br>
> >> >        Uploaded by avilleret @ 2016-03-14 21:20:55<br>
> >> ><br>
> >> > Furthermore, with either I can't arrive at loading the lib and creating<br>
> >> > its object. Loading with the path set and [declare -lib pix_openc] does<br>
> >> > not print a success message.<br>
> >> I am replying to my own thread.<br>
> >><br>
> >> The library pix_opencv IS loaded, I<br>
> >> apologise! With -verbose, I do find two lines of<br>
> >> ~.local/lib/pd/extra/pix_<wbr>opencv/pix_opencv.l_ia64 and succeeded<br>
> >> ~.local/lib/pd/extra/pix_<wbr>opencv/pix_opencv.l_ia64 and succeeded<br>
> >><br>
> >> But when I try to create an object such as [pix_opencv_threshold] it is<br>
> >> not created, any possibly required files are not found according to the<br>
> >> console verbose printout.<br>
> >><br>
> >> ______________________________<wbr>_________________<br>
> >> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> >> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/li" rel="noreferrer" target="_blank">https://lists.puredata.info/li</a><br>
> >> stinfo/pd-list<br>
> >><br>
> >> ______________________________<wbr>_________________<br>
> >> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> >> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/li" rel="noreferrer" target="_blank">https://lists.puredata.info/li</a><br>
> >> stinfo/pd-list<br>
> >><br>
> >><br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/" rel="noreferrer" target="_blank">https://lists.puredata.info/</a><br>
> > listinfo/pd-list<br>
> ><br>
> ><br>
<br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>