Thanks for all the information, it's working great! http://i.imgur.com/LlQB7W4.png
On 29 May 2015 at 14:31, Antoine Villeret antoine.villeret@gmail.com wrote:
[pix_opencv_facetracker] outputs face elems coordinates in tables as interleaved coordinates. Look at [pd settab] and [pd fill_tables] subpatches in help patch. It uses severals point to describe the shape of each element. For example in the RIGHT_EYE table you will find 6 XYZ truplet describing the eye contour. Z is always 0 and values are normalized between 0 and 1. 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.
Hope this helps
A
-- do it yourself http://antoine.villeret.free.fr
2015-05-29 11:42 GMT+02:00 Alexandros Drymonitis adrcki@gmail.com:
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. Don't know if this is the way you're supposed to do this, but it worked for me...
On Fri, May 29, 2015 at 11:28 AM, Antonio Roberts antonio@hellocatfood.com wrote:
I'm trying to use [pix_opencv] and [pix_opencv_facetracker] to attache images to different parts of a face. I have these objects working but I can't see any way to grab the X/Y information from each point. Can anyone help me?
Thanks
Antonio
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list