Mike, Can you tell me where I can read up on netsend. I have tried to follow your code but I still get a compile error. I tried this: #include "u_pdsend.h" char* host = "localhost"; int port = 8779; char* protocol = "tcp"; char str[1024]; Then I use pdsend_init(host, port, protocol); then I use it the way you do by: sprintf(str,"%d (%d,%d)", i, iMeanx, iMeany); pdsend_message(str); but I get this compile error: /usr/bin/ld: Undefined symbols: pdsend_init(char*, int, char*) pdsend_message(char*) collect2: ld returned 1 exit status Anyway I have been looking for instructions online without success. If you can point the way to a webpage that would be great. Alain
> > From: Mike Wozniewski <[EMAIL PROTECTED]> > Date: 2007/05/29 Tue PM 04:55:35 EDT > To: [EMAIL PROTECTED] > CC: [email protected] > Subject: Re: [PD] opencv motion tracker external HELP! > > 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
Description: GNU Zip compressed data
replyAll
Description: null
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
