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 <quietdidit@gmail.com> wrote:
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, ydegoyon@gmail.com <ydegoyon@gmail.com> wrote:

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 <quietdidit@gmail.com <mailto:quietdidit@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, ydegoyon@gmail.com
   <mailto:ydegoyon@gmail.com> <ydegoyon@gmail.com

   <mailto:ydegoyon@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
kotakmakan.multiply.com