[PD] opencv motion tracker external HELP!

Nose Hair nosehair911 at bellsouth.net
Wed May 30 02:12:04 CEST 2007


Sorry forgot to ask.  Do you have a pd abstraction for this? If not I  
will see what I can cook up. I think iemmatrix might do the trick.
Alain
On May 29, 2007, at 8:08 PM, Nose Hair wrote:

> I see you have the ability to capture from an avi built in already:
> avi_name = argv[i];
> if (avi_name) pCap = cvCaptureFromFile(avi_name);
> 	else pCap = cvCaptureFromCAM( 0 )
> This is code looks great.  I could figure it out from the code but  
> if you have any use instructions let me know. It would be great to  
> get a gui for this thing.  I will try to figure that out.
> Thank you,
> Alain
>
> On May 29, 2007, at 6:58 PM, Nose Hair wrote:
>
>> Thanks Mike,
>>
>> Its awsome how helpful people in this community can be.  I will check
>> out you code and modify it if need be, like add the option to use an
>> avi in order to be able to calibrate things and such and I will post
>> it.  I will also continue to figure out the external because I think
>> that would be a neater approach and cause I dont accept defeat very
>> easily.
>> Alain
>>
>>
>> On May 29, 2007, at 4:55 PM, Mike Wozniewski wrote:
>>
>>> Hi Alain,
>>>
>>> I've used the OpenCV blobtracker with Pd before, and I simply send
>>> blob positions and sizes over UDP using u_pdsend.c
>>>
>>> I've attached my code and makefile... look in blobtrack.c and
>>> search for where I use the pdsend_init() and pdsend_message()
>>> functions... it's pretty simple.
>>>
>>> Then you just use [netreceive] in Pd and parse the list as you deem
>>> necessary.
>>>
>>> Hope this helps,
>>> -Mike
>>>
>>>
>>> P.S. my blobtracker code is meant for use with a live camera, not
>>> with .avi files.
>>> <blobTracker.tar.gz>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070529/33eedd7f/attachment.htm>


More information about the Pd-list mailing list