[PD] which pix_opencv to select in Deken?

Antoine Villeret antoine.villeret at gmail.com
Wed Oct 18 21:59:12 CEST 2017


Hi,

i'm glad to hear that someone uses pix_opencv (at least try it :-) )

first the easy part : l_ia64 extension is the Linux 64bit extension.
it could also be 'pd_linux' but 'l_ia64' indicate more than just linux and
so you can have several library binary for different architecture in the
same folder and Pd will choose the right one on the fly.
This is pretty useful when working on crossplatform portable project (I
mean : you put everything on a USB key and load it in any computer).

But this is not really specific to pix_opencv.

Now the bigger part.
Well.
I uploaded some binaries into Deken a while ago thinking that can help
people to use it.
But it appear to be a nightmare.

First thing : pix_opencv depends on Gem, so you need to lot Gem before
loading pix_opencv.
Second thing : pix_opencv also depend on ... wait for it ... OpenCV ! but
it is worth to say.
You can easily install OpenCV on Linux and on macos it is a little bit more
complicated that's why I tried to package OpenCV library binary with
pix_opencv.
But I don't have any package ready to distribute under the hand anymore.
But if you want advance feature like CUDA and OpenCL acceleration then you
need to build OpenCV by hand.

Btw I can load pix_opencv and try some example on Ubuntu 17.04 with Pd 0.48
and Gem  0.93.git 10759c2
I tried pix_opencv-v0.4-(Linux-amd64-64)-externals.tar.gz and
pix_opencv-v0.4-Ubuntu15.10-(Linux-amd64-64)-externals.tar.gz.

I hope this help a little bit.
If you need more advice, please follow Antoine Rousseau advice to track
down what is missing.

Best

Antoine

--
do it yourself
http://antoine.villeret.free.fr

2017-10-18 21:20 GMT+02:00 Antoine Rousseau <antoine at metalu.net>:

> With -verbose, I do find two lines of (...)
>
>
> you may need to set Log level to 4 (all) in the Pd console (in addition to
> -verbose), in order to know which lib is missing.
>
>
> Antoine Rousseau
>   http://www.metalu.net <http://metalu.net> __ htt
> p://www.metaluachahuter.com/
> <http://www.metaluachahuter.com/compagnies/al1-ant1/>
>
>
> 2017-10-18 18:47 GMT+02:00 Pagano, Patrick <patrick.pagano at uconn.edu>:
>
>> Last i tried you also had to have the OpenCV Framework for it to work in
>> OSX and Linux
>>
>> It was not only the Pd stuff that was required.
>>
>>
>> I would love some clarity of the state of OpenCV in OSX/Linux too if
>> anyone can share that info
>>
>>
>> Patrick Pagano B.S, M.F.A
>>
>> *Assistant Professor in Residence*
>>
>>
>> *Digital Media & Design *
>>
>> *Web & Interactive Technologies*
>>
>> *University of Connecticut, Stamford*
>>
>> *(352)-226-2016 <(352)%20226-2016>*
>> ------------------------------
>> *From:* Pd-list <pd-list-bounces at lists.iem.at> on behalf of Peter P. <
>> peterparker at fastmail.com>
>> *Sent:* Wednesday, October 18, 2017 11:08:26 AM
>> *To:* pd-list
>> *Subject:* Re: [PD] which pix_opencv to select in Deken?
>>
>> * Peter P. <peterparker at fastmail.com> [2017-10-18 14:03]:
>> > Hi list,
>> >
>> > I am wondering about the differences between the following two search
>> > results for "opencv" in Deken on Debian Linux:
>> >
>> > pix_opencv-v0.4-Ubuntu15.10-(Linux-amd64-64)-externals.tar.gz
>> >        Uploaded by avilleret @ 2016-03-14 16:31:30
>> >
>> > pix_opencv-v0.4-(Linux-amd64-64)-externals.tar.gz
>> >        Uploaded by avilleret @ 2016-03-14 21:20:55
>> >
>> > Furthermore, with either I can't arrive at loading the lib and creating
>> > its object. Loading with the path set and [declare -lib pix_openc] does
>> > not print a success message.
>> I am replying to my own thread.
>>
>> The library pix_opencv IS loaded, I
>> apologise! With -verbose, I do find two lines of
>> ~.local/lib/pd/extra/pix_opencv/pix_opencv.l_ia64 and succeeded
>> ~.local/lib/pd/extra/pix_opencv/pix_opencv.l_ia64 and succeeded
>>
>> But when I try to create an object such as [pix_opencv_threshold] it is
>> not created, any possibly required files are not found according to the
>> console verbose printout.
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20171018/fac07496/attachment.html>


More information about the Pd-list mailing list