Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Facial tracking (details features) to shape animation/tranformation

  • Facial tracking (details features) to shape animation/tranformation

    Posted by Emmanuel Lagrange paquet on August 8, 2019 at 1:22 am

    Hi all.
    This might be a bit of a n00b question.
    I’m trying out the Face tracking (detailed features) in AE to animate simple shapes. I know where to find a particular feature’s point data in AE and that I have to use the pick whip tool to link it to element I want it to “follow”, but I’m only managing to use it with a shape’s Anchor point, while I’m trying to animate each vertex of a shape individually. I want the shape (here a diamond on the right eye) to copy the eye’s actual behavior (diamond “closes” when eyelid closes, etc). I’m new to expressions. I might be taking the wrong approach to this. It doesn’t have to be perfect just as close as possible.

    Please help me Internet Kenobi, you’re my only hope

    Thank you,

    capturedecran2019-08-07a20.42.48.png

    Mikael Holmström replied 6 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mikael Holmström

    August 30, 2019 at 7:52 am

    The way I would approach this is to calculate the distances between different track points.
    As an example, this expression calculates the size of mouth. To be copied to the Size property of an Rectangle Path.

    L = thisComp.layer("Videoclip")

    mL = L.effect("Face Track Points")("Mouth Left");
    mR = L.effect("Face Track Points")("Mouth Right");
    mT = L.effect("Face Track Points")("Mouth Top");
    mB = L.effect("Face Track Points")("Mouth Bottom");

    [length(mL, mR), length(mT, mB)]

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy