[PD] Get face metrics from [pix_opencv_facetracker]

Antonio Roberts antonio at hellocatfood.com
Fri May 29 16:47:44 CEST 2015


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 at 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 at 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 at 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 at hellocatfood.com
>>> http://www.hellocatfood.com
>>> ============================
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>



-- 
============================
antonio at hellocatfood.com
http://www.hellocatfood.com
============================



More information about the Pd-list mailing list