Creative vision · Full source code

Face Swap Engine

Swap detected faces in the camera image, or replicate the largest face across the scene, with the C++ source included.

$40 USD · Digital source package

Checkout and downloads via Payhip. Applicable taxes calculated at checkout. Commercial license; no support or custom integration included.

ImplementationC++ / OpenCV
Browser demoWebAssembly
DeliveryDigital download
Face Swap demo output▶ Watch the recorded demonstration

Video loads only when you choose to play it.

What the engine does

  • Detect faces and estimate facial geometry.
  • Warp face imagery using facial landmarks.
  • Swap faces or replicate the largest detected face.
  • Compile the C++ project for a browser demonstration with Emscripten.

Where it fits

For developers experimenting with face effects and image transformations. A compact project for exploring the face detection, mesh and warping pipeline.

What to validate before you buy

Alignment depends on pose, lighting and occlusion. Use only images and recordings you have permission to transform, and make synthetic edits clear to your audience.

Inside the download

  • Complete C++ engine source
  • Pretrained networks and required assets
  • Code documentation
  • Emscripten build instructions
  • Precompiled OpenCV WebAssembly module
  • Guide to building OpenCV for WebAssembly

Inspect the public code reference to understand the implementation before purchasing.

Integration essentials

Check your build environment.

Required skills
C++ programming, OpenCV integration and basic understanding of neural networks.
Browser build
Emscripten compiles the engine to WebAssembly. Follow the included instructions and use the supplied OpenCV module.
Other platforms
Desktop, server, mobile and edge builds require the appropriate OpenCV dependency and build configuration. Porting and platform-specific optimization are your responsibility.
Performance
Depends on camera resolution, face count, models, hardware and browser. Evaluate representative conditions; the browser demo is not a benchmark for every device.

License & handover

Clear terms from the start.

You may study and modify the code, integrate it into your own product that adds substantial value, and sell that product under the software license.

The supplied source must remain private. You may not resell the software as a standalone library, SDK or toolkit. Third-party components retain their own licenses.

Installation, integration, consulting, guaranteed fixes and ongoing maintenance are not included. Updates are discretionary. Review the support policy before checkout.

Digital sales are final except where required by law. Read the purchase FAQ.

Related engines

Explore adjacent capabilities.

Each engine is a separate purchase. Combining them requires integration.

Virtual Makeup

Map your own 2D makeup designs onto a tracked 3D face mesh, with a working browser demonstration.

Gaze Tracker

Estimate head pose and eye gaze direction from a webcam, with facial landmarks and eye openness measurements.

Facial Expression Recognition

Classify visible facial expressions in a camera feed and explore the estimates in your own visualization or analytics.