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@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

Reply via email to