Re: [PD] problem in compiling puredata_opencv
thanks a lot for answering yves. it helps. anyway, i tried it again, without having to create the image and webcam in the same resolution, but i still get the same error, saying that it has to be 320 x 240. weird. but i'll take what you say, and i'll try again tonight. muchas gracias :) On Tue, Oct 5, 2010 at 1:05 PM, ydego...@gmail.com ydego...@gmail.comwrote: ola, Adityo Pratomo wrote: okay, good news, everything's work yves. thanks a lot. I'm playing with the help file now. anyway, couple questions for [pix_opencv_pgh_compare]: 1. why are the images appear at the gemwin is all yellow and black? there are still some colorspace issues on mac OSX, actually it's not RGBA, it's GRAB, due to some endianness issues... mm, we could fix it if we really had any mac OSX but we don't ( lluis and me, lluis's one died and i never had one ). 2. does the images and the video from webcam has the same size (320x240 in your help file) it's not a requisite, the object should be intelligent enough to detect any sizes. 3. does the referenced image have to appear in the gemwin? Can it be resized to a smaller size? I see that in the video that you give, the referenced image appears in a small size in the corner of the screen, howdid you do it? well, analyse the patch it's just with a separator, a translate -2 or +2 and two rectangles, if you don't want it, just remove one rectangle ( and all its branch ). other than those, this object works like a charm. absolutely gorgeous. your the master, hands down :) the real work is in opencv here.. so thanks to them. saludos, sevy regards, Didit -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
hey everyone, I was playing with the pix_opencv_hu_compare because I figure that it's the best way to track and detect a picture in a card. But then I got the error message: [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA) do you know why is it? Thanks a lot :) On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.com wrote: ola yves, ookay, i'll try that, even though i did try to go back to pd-extended 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D Anyway, i Was wondering, what is the best way to implement blob detection on pd? or if I want to detect and track an edge of an object from a camera, what is the best way to do it? Thank you Regards, didit On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com ydego...@gmail.comwrote: ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com kotakmakan.multiply.com -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
ola yves, ookay, i'll try that, even though i did try to go back to pd-extended 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D Anyway, i Was wondering, what is the best way to implement blob detection on pd? or if I want to detect and track an edge of an object from a camera, what is the best way to do it? Thank you Regards, didit On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com ydego...@gmail.comwrote: ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
ola, yeh it's quite clear... the yuv images that comes from your cam must be converted to rgba with pix_rgba before being passed to opencv that only works with rgb and grey internally.. [pix_video] | [pix_rgba] | [pix_opencv_...] suerte, sevy Adityo Pratomo wrote: hey everyone, I was playing with the pix_opencv_hu_compare because I figure that it's the best way to track and detect a picture in a card. But then I got the error message: [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA) do you know why is it? Thanks a lot :) On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.com mailto:quietdi...@gmail.com wrote: ola yves, ookay, i'll try that, even though i did try to go back to pd-extended 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D Anyway, i Was wondering, what is the best way to implement blob detection on pd? or if I want to detect and track an edge of an object from a camera, what is the best way to do it? Thank you Regards, didit On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com mailto:ydego...@gmail.com ydego...@gmail.com mailto:ydego...@gmail.com wrote: ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
ow, okay, that should solve the problem. let me give it a try. anyway, the pix_rgba must also be applied to the referenced image isn't it? i mean the image that the image from the camera should be compared to... thank you Didit On Tue, Oct 5, 2010 at 5:21 AM, ydego...@gmail.com ydego...@gmail.comwrote: ola, yeh it's quite clear... the yuv images that comes from your cam must be converted to rgba with pix_rgba before being passed to opencv that only works with rgb and grey internally.. [pix_video] | [pix_rgba] | [pix_opencv_...] suerte, sevy Adityo Pratomo wrote: hey everyone, I was playing with the pix_opencv_hu_compare because I figure that it's the best way to track and detect a picture in a card. But then I got the error message: [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA) do you know why is it? Thanks a lot :) On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.commailto: quietdi...@gmail.com wrote: ola yves, ookay, i'll try that, even though i did try to go back to pd-extended 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D Anyway, i Was wondering, what is the best way to implement blob detection on pd? or if I want to detect and track an edge of an object from a camera, what is the best way to do it? Thank you Regards, didit On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com mailto:ydego...@gmail.com ydego...@gmail.com mailto:ydego...@gmail.com wrote: ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
okay, good news, everything's work yves. thanks a lot. I'm playing with the help file now. anyway, couple questions for [pix_opencv_pgh_compare]: 1. why are the images appear at the gemwin is all yellow and black? 2. does the images and the video from webcam has the same size (320x240 in your help file) 3. does the referenced image have to appear in the gemwin? Can it be resized to a smaller size? I see that in the video that you give, the referenced image appears in a small size in the corner of the screen, howdid you do it? other than those, this object works like a charm. absolutely gorgeous. your the master, hands down :) regards, Didit On Tue, Oct 5, 2010 at 10:21 AM, Adityo Pratomo quietdi...@gmail.comwrote: ow, okay, that should solve the problem. let me give it a try. anyway, the pix_rgba must also be applied to the referenced image isn't it? i mean the image that the image from the camera should be compared to... thank you Didit On Tue, Oct 5, 2010 at 5:21 AM, ydego...@gmail.com ydego...@gmail.comwrote: ola, yeh it's quite clear... the yuv images that comes from your cam must be converted to rgba with pix_rgba before being passed to opencv that only works with rgb and grey internally.. [pix_video] | [pix_rgba] | [pix_opencv_...] suerte, sevy Adityo Pratomo wrote: hey everyone, I was playing with the pix_opencv_hu_compare because I figure that it's the best way to track and detect a picture in a card. But then I got the error message: [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA) do you know why is it? Thanks a lot :) On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.commailto: quietdi...@gmail.com wrote: ola yves, ookay, i'll try that, even though i did try to go back to pd-extended 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D Anyway, i Was wondering, what is the best way to implement blob detection on pd? or if I want to detect and track an edge of an object from a camera, what is the best way to do it? Thank you Regards, didit On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com mailto:ydego...@gmail.com ydego...@gmail.com mailto:ydego...@gmail.com wrote: ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- mataharipertama.wordpress.com kotakmakan.multiply.com -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
ola, Adityo Pratomo wrote: okay, good news, everything's work yves. thanks a lot. I'm playing with the help file now. anyway, couple questions for [pix_opencv_pgh_compare]: 1. why are the images appear at the gemwin is all yellow and black? there are still some colorspace issues on mac OSX, actually it's not RGBA, it's GRAB, due to some endianness issues... mm, we could fix it if we really had any mac OSX but we don't ( lluis and me, lluis's one died and i never had one ). 2. does the images and the video from webcam has the same size (320x240 in your help file) it's not a requisite, the object should be intelligent enough to detect any sizes. 3. does the referenced image have to appear in the gemwin? Can it be resized to a smaller size? I see that in the video that you give, the referenced image appears in a small size in the corner of the screen, howdid you do it? well, analyse the patch it's just with a separator, a translate -2 or +2 and two rectangles, if you don't want it, just remove one rectangle ( and all its branch ). other than those, this object works like a charm. absolutely gorgeous. your the master, hands down :) the real work is in opencv here.. so thanks to them. saludos, sevy regards, Didit ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] problem in compiling puredata_opencv
hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem in compiling puredata_opencv
ola, hum, get sure you've got something here: /Library/Frameworks/OpenCV.framework/Headers/ and that you installed the target pd-extended too in : /Applications/Pd-extended.app/Contents/Resources/include/ it should work then saludos, sevy Adityo Pratomo wrote: hi there, i was compiling puredata_opencv this morning for a school project. however, i got this error while trying to compile it: configure: error: you need to install opencv library (libcv) i already followed all the sequence of compiling it. I'm on a Mac, so I already put the opencv framework on /Library/Frameworks folder, and I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the latest pd-extended. any suggestion why is this happening? Or should I just use the previous pd-extended so that I can use the available packages of puredata_opencv? Thank you very much for any help :) -- mataharipertama.wordpress.com http://mataharipertama.wordpress.com kotakmakan.multiply.com http://kotakmakan.multiply.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list