Identity & verification · Full source code

Face Anti-Spoofing Engine

Evaluate a neural-network approach to detecting photo and screen presentation attacks in a face verification workflow.

$325 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 Anti-Spoofing demo output▶ Watch the recorded demonstration

Video loads only when you choose to play it.

What the engine does

  • Detect faces in the incoming video.
  • Use a trained classifier to distinguish real-face and spoof presentations.
  • Inspect the model integration and preprocessing code.
  • Test your own camera and presentation conditions in the browser demo.

Where it fits

For teams evaluating a passive anti-spoofing component alongside face recognition. Use the demo to check whether the approach fits your camera, environment and expected attacks.

What to validate before you buy

Performance depends on the camera and the type of attack. This is not a guarantee against masks, deepfakes, camera injection or all replay attacks. No independent certification is claimed.

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.

Liveness Detection

Add action-based liveness checks to your face verification flow. Ask for blinks or head turns and check the response.

Face Recognition

Detect, track and re-identify faces in video. Start with a working C++ engine and adapt the matching to your application.

Gaze Tracker

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