<div dir="ltr">[pix_opencv_facetracker] outputs face elems coordinates in tables as interleaved coordinates.<div>Look at [pd settab] and [pd fill_tables] subpatches in help patch.</div><div>It uses severals point to describe the shape of each element.</div><div>For example in the RIGHT_EYE table you will find 6 XYZ truplet describing the eye contour.</div><div>Z is always 0 and values are normalized between 0 and 1.</div><div>To attach an image to a face element, you can for example compute the center of the element then use the XY position to translate a geo with your texture.</div><div><br></div><div>Hope this helps</div><div><br></div><div>A</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2015-05-29 11:42 GMT+02:00 Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I used it once to control the servo motors of the camera so that it followed your face and I used the first value of the NOSE_BRIDGE table for the x-axis motor and the second value of the same table (inverted) for the y-axis motor.<br></div>Don't know if this is the way you're supposed to do this, but it worked for me...<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 29, 2015 at 11:28 AM, Antonio Roberts <span dir="ltr"><<a href="mailto:antonio@hellocatfood.com" target="_blank">antonio@hellocatfood.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to use [pix_opencv] and [pix_opencv_facetracker] to attache<br>
images to different parts of a face. I have these objects working but<br>
I can't see any way to grab the X/Y information from each point. Can<br>
anyone help me?<br>
<br>
Thanks<br>
<span><font color="#888888"><br>
Antonio<br>
<br>
<br>
--<br>
============================<br>
<a href="mailto:antonio@hellocatfood.com" target="_blank">antonio@hellocatfood.com</a><br>
<a href="http://www.hellocatfood.com" target="_blank">http://www.hellocatfood.com</a><br>
============================<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>