Applying Face Tracking Data to masks
Copy link to clipboard
Copied
Maybe a dumb question: Is it possible to apply the detailed tracking data from the face tracker to a mask? I would like to extract only the mouth from a footage. So I used the face tracker and the mouth was tracked. How can I use this data to hide all the rest of the face except the mouth?
thanks
Copy link to clipboard
Copied
You may want to use the more generalized mask tracker instead of the face tracker. That kind of is the whole point. Draw a mask around the mouth and let it do its thing.
Mylenium
Copy link to clipboard
Copied
Thanks for the answer.
Yes, I know the possibility, but I thought it might be possible because I already have the data and don't have to track a new mask.
Copy link to clipboard
Copied
Try this:
- Face track your shot
- Set the original mask to None
- Select the pen tool and set it to Rotobezier
- Add a mask to the face starting on the left corner of the mouth, then the top, then right, then bottom, and close the mask.
- Open Window/Create Nulls From Paths
- Select the new Mouth mask path and choose Points Follow Nulls
- Select the four nulls that were created and press 'p' to reveal the position property
- Select the Footage layer and type Mouth in the search timeline field to reveal the Mouth data
- Make sure that the Links/Columns column is open in the timeline by pressing Shift + F4
- Use the links pickwhip for each null to attach the appropriate corner to the appropriate data
- Expand the mask as necessary
- Adjust the tension on the mask points if needed by temporarily turning off the expression the script applied to the mouth mask.
There you go.