Video Face Swap

Puts your face onto a person in a video, so you keep your own features and copy their expressions. The video needs a real human face, not a cartoon.

Face Swaps & Morphs

Swap your face onto anything, or twist it into something completely new.

Made with this block

Inputs

targettexture

Target texture for the Video Face Swap block. A video of a person whose face will be replaced with the user's face. The video plays full-screen and the user's face is mapped onto the target face frame-by-frame.

Events

onResultReady

Triggers, when Face Swap effect is successfully applied. Resulting texture is provided as an argument. It's not required to use it, as the component will display it full screen on its own.

onSourceFacePresent

Triggers, when visibility of user face is changed. Callback argument is true, if the face is visible, false otherwise. When face is visible, the component will start the swap process, and the result will be available and shown a few moments later. When face is not visible, the component will hide the result.

onTargetFacePresent

An event, that is triggered when visibility of target face changes. Callback has one boolean argument, which is true, when target texture has a face, and false or undefined otherwise.