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. The library seems to be present as file pix_opencv.l_ia64 in the respective folder.
I am not familiar with .l_ia64 library files and thought it would be .pd_linux.
The README.txt file within the pix_opencv mentions pix_opencv-overview.pd which seems to be missing.
would be great to get it to run and learn what I am doing wrong!
best/merci P
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.
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
From: Pd-list pd-list-bounces@lists.iem.at on behalf of Peter P. peterparker@fastmail.com Sent: Wednesday, October 18, 2017 11:08:26 AM To: pd-list Subject: Re: [PD] which pix_opencv to select in Deken?
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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 __ http://www.metaluachahuter.com/ http://www.metaluachahuter.com/compagnies/al1-ant1/
2017-10-18 18:47 GMT+02:00 Pagano, Patrick patrick.pagano@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*
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of Peter P. < peterparker@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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
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@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@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@lists.iem.at on behalf of Peter P. < peterparker@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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Antoine,
thanks for your kind reply! Please see my comments below,
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.
Thanks!
[...]
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.
Debian Linux is offering me the following packages libopencv-apps0d libopencv-calib3d2.4v5 libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-gpu2.4v5 libopencv-highgui2.4-deb0 libopencv-imgproc2.4v5 libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5 libopencv-ocl2.4v5 libopencv-photo2.4v5 libopencv-stitching2.4v5 libopencv-superres2.4v5 libopencv-ts2.4v5 libopencv-video2.4v5 libopencv-videostab2.4v5 libopencv2.4-java libopencv2.4-jni which pulls in a total of 44 packages. I installed them all, loaded using [declare -lib pix_opencv] and can not create an object like [pix_opencv_threshold].
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.
No need on my side for now, thank you. How would apple users install and use pix_opencv by the way? You mentioned that you included a libopencv binary with the external?
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.
Can you check which libopencv-packages you have installed on that computer?
All the best, Peter
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@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@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@lists.iem.at on behalf of Peter P. < peterparker@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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Peter,
I have OpenCV 2.4.9.1.
Could you please provide more information about why you can't load pix_opencv_threshold ? 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". When you add a [declare -lib pix_opencv] , do you see a message on the Pd Console ? Something like : pix_opencv 0.4 library by Antoine Villeret 2012-2014 based on work by Yves Degoyon and Lluis Gomez i Bigorda built on Mar 14 2016 without non-free features and without FaceTracker.
If you don't then pix_opencv is not loaded but Pd should tell you why.
Best
Antoine
-- do it yourself http://antoine.villeret.free.fr
2017-10-19 18:33 GMT+02:00 Peter P. peterparker@fastmail.com:
Antoine,
thanks for your kind reply! Please see my comments below,
- Antoine Villeret antoine.villeret@gmail.com [2017-10-18 22:00]:
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.
Thanks!
[...]
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.
Debian Linux is offering me the following packages libopencv-apps0d libopencv-calib3d2.4v5 libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-gpu2.4v5 libopencv-highgui2.4-deb0 libopencv-imgproc2.4v5 libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5 libopencv-ocl2.4v5 libopencv-photo2.4v5 libopencv-stitching2.4v5 libopencv-superres2.4v5 libopencv-ts2.4v5 libopencv-video2.4v5 libopencv-videostab2.4v5 libopencv2.4-java libopencv2.4-jni which pulls in a total of 44 packages. I installed them all, loaded using [declare -lib pix_opencv] and can not create an object like [pix_opencv_threshold].
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.
No need on my side for now, thank you. How would apple users install and use pix_opencv by the way? You mentioned that you included a libopencv binary with the external?
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.
Can you check which libopencv-packages you have installed on that computer?
All the best, Peter
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@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@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@lists.iem.at on behalf of Peter P.
<
peterparker@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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/
listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Hi Peter,
I have OpenCV 2.4.9.1.
Could you please provide more information about why you can't load pix_opencv_threshold ?
Thank you! Now I found a more useful error message:
~/.local/lib/pd/extra/pix_opencv/pix_opencv.l_ia64: undefined symbol: _ZN9GemPixObj4SIMDEi
P
On 20/10/17 07:19, Peter P. wrote:
Thank you! Now I found a more useful error message:
~/.local/lib/pd/extra/pix_opencv/pix_opencv.l_ia64: undefined symbol: _ZN9GemPixObj4SIMDEi
You can humanize the mangled name with c++filt. Example:
$ c++filt _ZN9GemPixObj4SIMDEi GemPixObj::SIMD(int)
Did you load Gem ? If yes, then you might need a more recent one.
Concerning a macosx package with embedded opencv lib, I made some tests but it was more a proof of concept than a ready to go package.
And on macosx you can install opencv with brew nowadays but brew itself need some developer tools that could be annoying to install for someone who just want to use pix_opencv. So my first attempt to make it more convenient.
Best
Antoine
Le 20 oct. 2017 8:19 AM, "Peter P." peterparker@fastmail.com a écrit :
- Antoine Villeret antoine.villeret@gmail.com [2017-10-19 19:20]:
Hi Peter,
I have OpenCV 2.4.9.1.
Could you please provide more information about why you can't load pix_opencv_threshold ?
Thank you! Now I found a more useful error message:
~/.local/lib/pd/extra/pix_opencv/pix_opencv.l_ia64: undefined symbol: _ZN9GemPixObj4SIMDEi
P
Did you load Gem ?
Yes, loaded in a separate step before.
If yes, then you might need a more recent one.
I am using the Debian testing package (0.93.3-12) and would like to avoid having to compile Gem from source, as IOhannes puts so much effort into packaging it and for the sake of it automatically updating as package. (IOhannes, do you know the time frame for the next Gem Debian release, btw?)
It would be sad if the pix_opencv deken package only works with a locally compiled (git) Gem. Do you think that compiling pix_opencv locally could also solve the problem?
Concerning a macosx package with embedded opencv lib, I made some tests but it was more a proof of concept than a ready to go package.
Would you be permitted to distribute a binary libopencv via Deken for OS X?
And on macosx you can install opencv with brew nowadays but brew itself need some developer tools that could be annoying to install for someone who just want to use pix_opencv. So my first attempt to make it more convenient.
Oh yes, I have seen these ridiculous gigabytes of Xcode tools which you are forced to install on OS X.
thanks and cheers, P
If yes, then you might need a more recent one.
I am using the Debian testing package (0.93.3-12) and would like to
so it's most likely that this is why it doesn't load.
avoid having to compile Gem from source, as IOhannes puts so much effort into packaging it and for the sake of it automatically updating as package. (IOhannes, do you know the time frame for the next Gem Debian release, btw?)
It would be sad if the pix_opencv deken package only works with a
locally compiled (git) Gem. Do you think that compiling pix_opencv locally could also solve the problem?
maybe, but to be honnest I don't remember if pix_opencv uses recent Gem feature, it's worth a try compiling it against Gem 0.93-3
Concerning a macosx package with embedded opencv lib, I made some tests
but
it was more a proof of concept than a ready to go package.
Would you be permitted to distribute a binary libopencv via Deken for OS X?
If you mean legally by opencv license, yes.
And on macosx you can install opencv with brew nowadays but brew itself
need some developer tools that could be annoying to install for someone
who
just want to use pix_opencv. So my first attempt to make it more convenient.
Oh yes, I have seen these ridiculous gigabytes of Xcode tools which you are forced to install on OS X.
thanks and cheers, P
If yes, then you might need a more recent one.
I am using the Debian testing package (0.93.3-12) and would like to
so it's most likely that this is why it doesn't load.
[...]
locally compiled (git) Gem. Do you think that compiling pix_opencv locally could also solve the problem?
maybe, but to be honnest I don't remember if pix_opencv uses recent Gem feature, it's worth a try compiling it against Gem 0.93-3
I did, and it throws the same error: _ZN9GemPixObj4SIMDEi
Will (have to) try to compile Gem from git, but this has to wait a few days.
best, Peter
- Antoine Villeret antoine.villeret@gmail.com [2017-10-20 11:48]:
If yes, then you might need a more recent one.
I am using the Debian testing package (0.93.3-12) and would like to
so it's most likely that this is why it doesn't load.
[...]
locally compiled (git) Gem. Do you think that compiling pix_opencv locally could also solve the problem?
maybe, but to be honnest I don't remember if pix_opencv uses recent Gem feature, it's worth a try compiling it against Gem 0.93-3
I did, and it throws the same error: _ZN9GemPixObj4SIMDEi
Will (have to) try to compile Gem from git, but this has to wait a few days.
Tried to compile pix_opencv against Gem git. Loading Gem and then pix_opencv threw a similar albeit not identical error:
src/pix_opencv/pix_opencv.l_ia64: src/pix_opencv/pix_opencv.l_ia64: undefined symbol: _ZN7GemBase14beforeDeletionEv translated using c++filt _ZN7GemBase14beforeDeletionEv to GemBase::beforeDeletion()
The last time when I compiled against gem 0.93.3 from Debian testing package the error was GemPixObj::SIMD(int)
Antoine mentions that he is able to load pix_opencv installed from Deken. Is anyone else able to compile/load pix_opencv with Gem 0.93.3 on 64bit Debian testing? Any help is very welcome! It would be sad having to abandon pix_opencv due to these errors.
Thanks! P
Le 28/10/2017 à 18:37, Peter P. a écrit :
- Peter P. peterparker@fastmail.com [2017-10-20 15:26]:
- Antoine Villeret antoine.villeret@gmail.com [2017-10-20 11:48]:
If yes, then you might need a more recent one.
I am using the Debian testing package (0.93.3-12) and would like to
so it's most likely that this is why it doesn't load.
[...]
locally compiled (git) Gem. Do you think that compiling pix_opencv locally could also solve the problem?
maybe, but to be honnest I don't remember if pix_opencv uses recent Gem feature, it's worth a try compiling it against Gem 0.93-3
I did, and it throws the same error: _ZN9GemPixObj4SIMDEi
Will (have to) try to compile Gem from git, but this has to wait a few days.
Tried to compile pix_opencv against Gem git. Loading Gem and then pix_opencv threw a similar albeit not identical error:
src/pix_opencv/pix_opencv.l_ia64: src/pix_opencv/pix_opencv.l_ia64: undefined symbol: _ZN7GemBase14beforeDeletionEv translated using c++filt _ZN7GemBase14beforeDeletionEv to GemBase::beforeDeletion()
The last time when I compiled against gem 0.93.3 from Debian testing package the error was GemPixObj::SIMD(int)
Antoine mentions that he is able to load pix_opencv installed from Deken. Is anyone else able to compile/load pix_opencv with Gem 0.93.3 on 64bit Debian testing?
well, yesterday, I compiled pix_opencv following the instructions here https://github.com/avilleret/pix_opencv/wiki on a fresh debian 9 64 bits (so not testing ...) with Pd and Gem (0.93.3) coming from the debian repository It worked well except while trying to compile / use the additional facetracking lib which produce a segfault
++ b
Any help is very welcome! It would be sad having to abandon pix_opencv due to these errors.
Thanks! P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[...]
Is anyone else able to compile/load pix_opencv with Gem 0.93.3 on 64bit Debian testing?
well, yesterday, I compiled pix_opencv following the instructions here https://github.com/avilleret/pix_opencv/wiki on a fresh debian 9 64 bits (so not testing ...)
Thank you Benjamin, this is good to know!
with Pd and Gem (0.93.3) coming from the debian repository
So that might then be package versions Pd 0.47.1-3 and Gem 1:0.93.3-10+b3
It worked well except while trying to compile / use the additional facetracking lib which produce a segfault
Could you let me know which opencv libraries you have installed on that machine, for example by posting the output of the command aptitude search opencv | grep ^i ?
Thank you again! P
hello,
I did successfully compile pix_opencv with the opencv package available for the rpi 3 (which is opencv 2, the one needed by pix_opencv) with latest pd and Gem from github.
It worked well except while trying to compile / use the additional facetracking lib which produce a segfault
with the facetracker lib you might need to look for the opencv2 branch.
also, [pix_opencv_facetracker] needs the "model" directory to be in the same directory as the root patch otherwise it can't find the face model file and that causes a segfault.
on debian:
i tried compiling on debian as well but i got the opencv 3 lib instead and messed up the dependencies. i will try later this week and report back, but this is rather hard because i would need to compile opencv2 and that i tried and it was a pain.
is there an opencv2 package for debian?
cheers,
fd
fdch.github.io/tv
On Oct 31, 2017, at 8:45 AM, Peter P. peterparker@fastmail.com wrote:
- Benjamin ~ b01 benjah@free.fr [2017-10-31 12:48]:
[...]
Is anyone else able to compile/load pix_opencv with Gem 0.93.3 on 64bit Debian testing?
well, yesterday, I compiled pix_opencv following the instructions here https://github.com/avilleret/pix_opencv/wiki on a fresh debian 9 64 bits (so not testing ...)
Thank you Benjamin, this is good to know!
with Pd and Gem (0.93.3) coming from the debian repository
So that might then be package versions Pd 0.47.1-3 and Gem 1:0.93.3-10+b3
It worked well except while trying to compile / use the additional facetracking lib which produce a segfault
Could you let me know which opencv libraries you have installed on that machine, for example by posting the output of the command aptitude search opencv | grep ^i ?
Thank you again! P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Le 31/10/2017 à 13:45, Peter P. a écrit :
Could you let me know which opencv libraries you have installed on that machine, for example by posting the output of the command aptitude search opencv | grep ^i ?
well on another machine, also debian stretch 64 bits, I also managed to compile pix_opencv + FaceTracker (thanks for the "model" directory tip, it works)
the libs installed :
sudo apt-cache search opencv | grep i libcv-dev - Translation package for libcv-dev libcv2.4 - computer vision library - libcv* translation package libcvaux-dev - Translation package for libcvaux-dev libcvaux2.4 - computer vision library - libcvaux translation package libhighgui-dev - Translation package for libhighgui-dev libhighgui2.4 - computer vision library - libhighgui translation package libopencv-calib3d-dev - development files for libopencv-calib3d libopencv-calib3d2.4v5 - computer vision Camera Calibration library libopencv-contrib-dev - development files for libopencv-contrib libopencv-contrib2.4v5 - computer vision contrib library libopencv-core-dev - development files for libopencv-core libopencv-core2.4v5 - computer vision core library libopencv-dev - development files for opencv libopencv-features2d-dev - development files for libopencv-features2d libopencv-features2d2.4v5 - computer vision Feature Detection and Descriptor Extraction library libopencv-flann-dev - development files for libopencv-flann libopencv-flann2.4v5 - computer vision Clustering and Search in Multi-Dimensional spaces library libopencv-gpu-dev - development files for libopencv-gpu2.4v5 libopencv-gpu2.4v5 - computer vision GPU library libopencv-highgui-dev - development files for libopencv-highgui libopencv-highgui2.4-deb0 - computer vision High-level GUI and Media I/O library libopencv-imgproc-dev - development files for libopencv-imgproc libopencv-imgproc2.4v5 - computer vision Image Processing library libopencv-legacy-dev - development files for libopencv-legacy libopencv-legacy2.4v5 - computer vision legacy library libopencv-ml-dev - development files for libopencv-ml libopencv-ml2.4v5 - computer vision Machine Learning library libopencv-objdetect-dev - development files for libopencv-objdetect libopencv-objdetect2.4v5 - computer vision Object Detection library libopencv-ocl-dev - development files for libopencv-ocl2.4v5 libopencv-ocl2.4v5 - computer vision OpenCL support library libopencv-photo-dev - development files for libopencv-photo2.4v5 libopencv-photo2.4v5 - computer vision computational photography library libopencv-stitching-dev - development files for libopencv-stitching2.4v5 libopencv-stitching2.4v5 - computer vision image stitching library libopencv-superres-dev - development files for libopencv-superres2.4v5 libopencv-superres2.4v5 - computer vision Super Resolution library libopencv-ts-dev - development files for libopencv-ts2.4v5 libopencv-ts2.4v5 - computer vision ts library libopencv-video-dev - development files for libopencv-video libopencv-video2.4v5 - computer vision Video analysis library libopencv-videostab-dev - development files for libopencv-videostab2.4v5 libopencv-videostab2.4v5 - computer vision video stabilization library libopencv2.4-java - Java bindings for the computer vision library libopencv2.4-jni - Java jni library for the computer vision library opencv-doc - OpenCV documentation and examples python-opencv - Python bindings for the computer vision library php-facedetect - Detect faces with PHP libcv-bridge-dev - cv_bridge Robot OS package - development libcv-bridge1d - cv_bridge Robot OS package libimage-geometry-dev - image_geometry Robot OS package - development libimage-geometry0d - image_geometry Robot OS package - runtime python-cv-bridge - cv_bridge ROS package - Python bindings python-image-geometry - image_geometry Robot OS package - Python bindings
++ Benjamin
Hi all,
OK, I also could compile successfully on Debian stretch
https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh] to the mentioned version. Also, I compared Benjamin's opencv search and I had the same as his, and some other stuff as well.
the following configure (because I had compiled Gem instead of using proper Debian package):
Invocation command line was
$ ./configure GEM_CPPFLAGS=-I/usr/local/include/Gem/ GEM_LDFLAGS=-L/usr/local/lib/pd/extra/Gem
make* && sudo make install
Finally, on the pd console after "pd -lib Gem:pix_opencv -open"
pix_opencv 0.4 library by Antoine Villeret 2012-2016 based on work by Yves Degoyon and Lluis Gomez i Bigorda built on Nov 5 2017 with non-free features with FaceTracker.
'haarascade' directories into extra/pix_opencv
giving me problems because of unfinished jobs not being done in time and so having linking problems.
Hope this helps,
fd
On Sun, Nov 5, 2017 at 6:53 AM, Benjamin ~ b01 benjah@free.fr wrote:
Le 31/10/2017 à 13:45, Peter P. a écrit :
Could you let me know which opencv libraries you have installed on that machine, for example by posting the output of the command aptitude search opencv | grep ^i ?
well on another machine, also debian stretch 64 bits, I also managed to compile pix_opencv + FaceTracker (thanks for the "model" directory tip, it works)
the libs installed :
sudo apt-cache search opencv | grep i libcv-dev - Translation package for libcv-dev libcv2.4 - computer vision library - libcv* translation package libcvaux-dev - Translation package for libcvaux-dev libcvaux2.4 - computer vision library - libcvaux translation package libhighgui-dev - Translation package for libhighgui-dev libhighgui2.4 - computer vision library - libhighgui translation package libopencv-calib3d-dev - development files for libopencv-calib3d libopencv-calib3d2.4v5 - computer vision Camera Calibration library libopencv-contrib-dev - development files for libopencv-contrib libopencv-contrib2.4v5 - computer vision contrib library libopencv-core-dev - development files for libopencv-core libopencv-core2.4v5 - computer vision core library libopencv-dev - development files for opencv libopencv-features2d-dev - development files for libopencv-features2d libopencv-features2d2.4v5 - computer vision Feature Detection and Descriptor Extraction library libopencv-flann-dev - development files for libopencv-flann libopencv-flann2.4v5 - computer vision Clustering and Search in Multi-Dimensional spaces library libopencv-gpu-dev - development files for libopencv-gpu2.4v5 libopencv-gpu2.4v5 - computer vision GPU library libopencv-highgui-dev - development files for libopencv-highgui libopencv-highgui2.4-deb0 - computer vision High-level GUI and Media I/O library libopencv-imgproc-dev - development files for libopencv-imgproc libopencv-imgproc2.4v5 - computer vision Image Processing library libopencv-legacy-dev - development files for libopencv-legacy libopencv-legacy2.4v5 - computer vision legacy library libopencv-ml-dev - development files for libopencv-ml libopencv-ml2.4v5 - computer vision Machine Learning library libopencv-objdetect-dev - development files for libopencv-objdetect libopencv-objdetect2.4v5 - computer vision Object Detection library libopencv-ocl-dev - development files for libopencv-ocl2.4v5 libopencv-ocl2.4v5 - computer vision OpenCL support library libopencv-photo-dev - development files for libopencv-photo2.4v5 libopencv-photo2.4v5 - computer vision computational photography library libopencv-stitching-dev - development files for libopencv-stitching2.4v5 libopencv-stitching2.4v5 - computer vision image stitching library libopencv-superres-dev - development files for libopencv-superres2.4v5 libopencv-superres2.4v5 - computer vision Super Resolution library libopencv-ts-dev - development files for libopencv-ts2.4v5 libopencv-ts2.4v5 - computer vision ts library libopencv-video-dev - development files for libopencv-video libopencv-video2.4v5 - computer vision Video analysis library libopencv-videostab-dev - development files for libopencv-videostab2.4v5 libopencv-videostab2.4v5 - computer vision video stabilization library libopencv2.4-java - Java bindings for the computer vision library libopencv2.4-jni - Java jni library for the computer vision library opencv-doc - OpenCV documentation and examples python-opencv - Python bindings for the computer vision library php-facedetect - Detect faces with PHP libcv-bridge-dev - cv_bridge Robot OS package - development libcv-bridge1d - cv_bridge Robot OS package libimage-geometry-dev - image_geometry Robot OS package - development libimage-geometry0d - image_geometry Robot OS package - runtime python-cv-bridge - cv_bridge ROS package - Python bindings python-image-geometry - image_geometry Robot OS package - Python bindings
++ Benjamin
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Hi,
concerning the configure step, you can use :
./configure --with-gem=/usr/local/include/Gem
and eventually add --with-pd if pkg-config can't find pd headers automatically. afaik you don't need to add Gem's folder to LDFLAGS since it will link at runtime to Gem's DLL.
Concerning make step, if you speed up with -j x then build might fail because of unfinish job when linking but iirc, you can then run it once again without -j option. then it takes advange of parallel compilation even if it fails.
I just bulid it this morning on Arch and I have to build opencv2 from source before, because pix_opencv doens't work with opencv3 and there is no plan to port it for now.
Best
Antoine
-- do it yourself http://antoine.villeret.free.fr
2017-11-05 17:53 GMT+01:00 Federico Camara Halac camarafede@gmail.com:
Hi all,
OK, I also could compile successfully on Debian stretch
- I had to build opencv 2.4.13.4 myself, adapting this useful script [
https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh] to the mentioned version. Also, I compared Benjamin's opencv search and I had the same as his, and some other stuff as well.
- followed steps here: https://github.com/avilleret/pix_opencv/wiki,
with the following configure (because I had compiled Gem instead of using proper Debian package):
Invocation command line was
$ ./configure GEM_CPPFLAGS=-I/usr/local/include/Gem/ GEM_LDFLAGS=-L/usr/local/lib/pd/extra/Gem
make* && sudo make install
Finally, on the pd console after "pd -lib Gem:pix_opencv -open"
pix_opencv 0.4 library by Antoine Villeret 2012-2016 based on work by Yves Degoyon and Lluis Gomez i Bigorda built on Nov 5 2017 with non-free features with FaceTracker.
- I also added extra/pix_opencv to the paths, and copied the 'model' and
'haarascade' directories into extra/pix_opencv
- I was using 'make -j5' to accelerate the process, but I think it was
giving me problems because of unfinished jobs not being done in time and so having linking problems.
Hope this helps,
fd
On Sun, Nov 5, 2017 at 6:53 AM, Benjamin ~ b01 benjah@free.fr wrote:
Le 31/10/2017 à 13:45, Peter P. a écrit :
Could you let me know which opencv libraries you have installed on that machine, for example by posting the output of the command aptitude search opencv | grep ^i ?
well on another machine, also debian stretch 64 bits, I also managed to compile pix_opencv + FaceTracker (thanks for the "model" directory tip, it works)
the libs installed :
sudo apt-cache search opencv | grep i libcv-dev - Translation package for libcv-dev libcv2.4 - computer vision library - libcv* translation package libcvaux-dev - Translation package for libcvaux-dev libcvaux2.4 - computer vision library - libcvaux translation package libhighgui-dev - Translation package for libhighgui-dev libhighgui2.4 - computer vision library - libhighgui translation package libopencv-calib3d-dev - development files for libopencv-calib3d libopencv-calib3d2.4v5 - computer vision Camera Calibration library libopencv-contrib-dev - development files for libopencv-contrib libopencv-contrib2.4v5 - computer vision contrib library libopencv-core-dev - development files for libopencv-core libopencv-core2.4v5 - computer vision core library libopencv-dev - development files for opencv libopencv-features2d-dev - development files for libopencv-features2d libopencv-features2d2.4v5 - computer vision Feature Detection and Descriptor Extraction library libopencv-flann-dev - development files for libopencv-flann libopencv-flann2.4v5 - computer vision Clustering and Search in Multi-Dimensional spaces library libopencv-gpu-dev - development files for libopencv-gpu2.4v5 libopencv-gpu2.4v5 - computer vision GPU library libopencv-highgui-dev - development files for libopencv-highgui libopencv-highgui2.4-deb0 - computer vision High-level GUI and Media I/O library libopencv-imgproc-dev - development files for libopencv-imgproc libopencv-imgproc2.4v5 - computer vision Image Processing library libopencv-legacy-dev - development files for libopencv-legacy libopencv-legacy2.4v5 - computer vision legacy library libopencv-ml-dev - development files for libopencv-ml libopencv-ml2.4v5 - computer vision Machine Learning library libopencv-objdetect-dev - development files for libopencv-objdetect libopencv-objdetect2.4v5 - computer vision Object Detection library libopencv-ocl-dev - development files for libopencv-ocl2.4v5 libopencv-ocl2.4v5 - computer vision OpenCL support library libopencv-photo-dev - development files for libopencv-photo2.4v5 libopencv-photo2.4v5 - computer vision computational photography library libopencv-stitching-dev - development files for libopencv-stitching2.4v5 libopencv-stitching2.4v5 - computer vision image stitching library libopencv-superres-dev - development files for libopencv-superres2.4v5 libopencv-superres2.4v5 - computer vision Super Resolution library libopencv-ts-dev - development files for libopencv-ts2.4v5 libopencv-ts2.4v5 - computer vision ts library libopencv-video-dev - development files for libopencv-video libopencv-video2.4v5 - computer vision Video analysis library libopencv-videostab-dev - development files for libopencv-videostab2.4v5 libopencv-videostab2.4v5 - computer vision video stabilization library libopencv2.4-java - Java bindings for the computer vision library libopencv2.4-jni - Java jni library for the computer vision library opencv-doc - OpenCV documentation and examples python-opencv - Python bindings for the computer vision library php-facedetect - Detect faces with PHP libcv-bridge-dev - cv_bridge Robot OS package - development libcv-bridge1d - cv_bridge Robot OS package libimage-geometry-dev - image_geometry Robot OS package - development libimage-geometry0d - image_geometry Robot OS package - runtime python-cv-bridge - cv_bridge ROS package - Python bindings python-image-geometry - image_geometry Robot OS package - Python bindings
++ Benjamin
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Hello,
and eventually add --with-pd if pkg-config can't find pd headers
automatically.
Oh good to know!
Concerning make step, if you speed up with -j x then build might fail
because of unfinish job when linking but iirc, you can then run it once again without -j option. then it takes advange of parallel compilation even if it fails.
This was precisely my problem. I did not know that this issue with the -j option existed, but it makes sense.
I did exactly as you say and it compiled ok,
Thanks so much,
fd
The Department of Performing Arts at Kingston University London invites expressions of interest from strong researchers to join our PhD Programme in October 2018. The department supports a lively research culture in music, dance and drama spanning both practice-based and written research.
Staff in music have particular interests in: Musicology - Music philosophy, Musical fan cultures, Popular Musicology, 20th Century European Music (especially French) Music in multimedia - Film and television music, Gothic, horror, fantasy and science fiction music, Intercultural arts research, translation and transfer across media in contemporary music Creative practice research – composition in particular technology enabled modes
The department is host to the newly established Visconti Studio. Tapping into contemporary love of retro sounds, the Visconti Studio does not just revive objects but actively revives analogue practices. This venture combines questions around cultural nostalgia, heritage studies, and material culture with the concrete musical practices of composition, recording, and production. Further information on www.visconti-studio.co.uk
Further information on the AHRC/TECHNE funding programme can be found here: http://www.techne.ac.uk
Guidelines for application, forms and Faculty deadlines (5 January 2018) can be found here: http://www.kingston.ac.uk/research/research-degrees/funding/ahrc-studentship...
We recommend that you contact us to discuss your project. Initial proposals should be sent to Dr. Oded Ben-Tal o.ben-tal@kingston.ac.uk by 1st December.
Antoine, I am still curious about the question below. Thank you!
2017-10-19 18:33 GMT+02:00 Peter P. peterparker@fastmail.com:
How would apple users install and use pix_opencv by the way? You mentioned that you included a libopencv binary with the external?
Would they install libopencv through some third-party Unix package manager?