I would suggest you try to modify pix_multiblob for better performance.  This will get you familiar with C++, pixel processing, and how GEM is written.  Also, and perhaps most important, you would learn what makes code fast or slow.  
<br><br>The first clues for why pix_multiblob takes for ever to process are that it uses floating point processing and makes function calls inside the processing loop.&nbsp;&nbsp; <br><br>AS far as &#39;wrapping&#39; OpenCV the most basic method would be to build a lib and make calls to it for all of the processing.&nbsp; I don&#39;t think that will necessarily be very efficient though.
<br><br>Since you are a novice programmer you might also find a CV/tracking application that uses OSC or other network protocol to communicate with Pd.<br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">
<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a></b> &lt;<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to get an FTIR setup going and I need a good motion tracker for os 10.4.9.&nbsp;&nbsp;I cant get gridflow<br>to compile, I love the pix_multiblob but its way to cpu hungry so I decided to write my own.&nbsp;&nbsp;I have never<br>
programed in C nor have I ever read any manuals but I&#39;m willing to try.&nbsp;&nbsp;My question is do I need to know<br>C before hand or can I get away with reading this:<br><a href="http://iem.at/pd/externals-HOWTO/">http://iem.at/pd/externals-HOWTO/
</a><br>BTW I am not starting from scratch, if that were so I would never try this.&nbsp;&nbsp;I am trying to go the opencv<br>route and wrap these for Pd:<br><a href="http://opencvlibrary.sourceforge.net/cvBlobsLib">http://opencvlibrary.sourceforge.net/cvBlobsLib
</a><br>Anothe question is would it be easier to try to write it as a standalone external or as part of Gem like a<br>pix_cvBlobs object?&nbsp;&nbsp;Where can I find information on developing for Gem like the externals how-to?<br>Thanks,
<br>Alain<br><br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">
http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br>