Face in video with mask

Options

Hello. I'm interested in finding out if it's possible to integrate the 'Face Mask' feature within the 'Face in video' example.

Specifically, I want to display a face within the video while also applying a mask to it.

I understand how to make boths of these examples working separately but I'm not sure how to make the 'Face mask' working within the 'Face in video'. As the face mask use a perspective camera and the face in video use an orthgoraphic camera.

Any help would be appreciated. Thank you.