Image Face Swap

Puts your face onto a face in a photo or video, and shows it full screen. That other face must look realistic, so ask for a photo, 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 Face Swap block. Texture with a face, face will be replaced with the user's face, and the texture will be shown full-screen.

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.