NMR Liveness: Next-Gen Anti-Spoofing for Deepfake Detection
NMR (Near-Infrared) liveness detection offers superior anti-spoofing capabilities compared to traditional methods, effectively combating deepfakes and presentation attacks.

Contents
In this guide
Jump to the part you need.
NMR Liveness: Next-Gen Anti-Spoofing for Deepfake Detection
The threat of sophisticated presentation attacks, including deepfakes and high-quality spoofing, is escalating rapidly. Traditional liveness detection methods are increasingly vulnerable, necessitating more robust solutions. Near-Infrared (NMR) liveness offers a significant leap forward, providing a highly secure and reliable way to verify the authenticity of a user’s presence. This post dives deep into how NMR liveness works, its advantages, and why it’s a critical component of modern identity verification systems.
Key Takeaway 1: NMR liveness detects subtle physiological signals imperceptible to the human eye, making it exceptionally resistant to spoofing attacks.
Key Takeaway 2: Unlike RGB-based methods, NMR isn’t fooled by high-resolution prints, videos, or even advanced deepfakes.
Key Takeaway 3: NMR integration is increasingly accessible through dedicated hardware and software solutions, making it viable for a wide range of applications.
Key Takeaway 4: Combining NMR with other liveness techniques (active, passive) creates a multi-layered defense against sophisticated fraud.
Understanding the Limitations of Traditional Liveness
Traditional liveness detection techniques, such as analyzing subtle facial movements or using random challenges, are becoming less effective. These methods primarily rely on analyzing visual data captured by a standard RGB camera. However, advancements in generative AI have made it possible to create highly realistic deepfakes – synthetic media that can convincingly mimic a real person. Similarly, high-resolution photos and videos can easily bypass these systems, as can sophisticated 3D masks. The core problem is that RGB-based systems operate within the visible light spectrum, which is easily replicated.
How NMR Liveness Works: Beyond the Visible Spectrum
NMR liveness operates on a fundamentally different principle. It utilizes a near-infrared camera to capture images of the user’s face. The key lies in the way light interacts with human skin versus synthetic materials. Human skin exhibits unique reflectance characteristics in the near-infrared spectrum due to the presence of hemoglobin and water. These characteristics create a unique thermal signature.
Here's a breakdown of the process:
- NIR Illumination: A near-infrared light source illuminates the user’s face.
- Image Capture: A specialized near-infrared camera captures the reflected light.
- Feature Extraction: Advanced machine learning algorithms analyze the NIR image, extracting subtle physiological signals. These signals are based on blood flow, skin texture, and subsurface scattering of light.
- Spoof Detection: The system compares the extracted features against a database of known spoofing materials (photos, videos, masks, silicone, etc.). It determines if the presented face exhibits the expected physiological characteristics of a live human.
Because synthetic materials and printed images don’t exhibit the same subsurface scattering and blood flow patterns, they are easily distinguishable from a real human face.
The Advantages of NMR Liveness for Anti-Spoofing
NMR liveness offers several significant advantages over traditional methods:
- High Accuracy: NMR achieves significantly higher accuracy rates in detecting presentation attacks, often exceeding 99.9% according to iBeta Level 1 certification standards.
- Deepfake Resistance: Deepfakes, even those generated with state-of-the-art AI, cannot replicate the complex subsurface light scattering patterns of human skin in the NIR spectrum.
- Resilience to Presentation Attacks: NMR is highly effective against a wide range of presentation attacks, including printed photos, videos, 3D masks, and even sophisticated silicone masks.
- Subtle and Non-Intrusive: Unlike some active liveness methods that require users to perform specific actions, NMR can operate passively without disrupting the user experience.
Integrating NMR Liveness into Identity Verification Systems
Implementing NMR liveness typically involves integrating a specialized NIR camera and software development kit (SDK) into your existing identity verification workflow. Some platforms, like Didit, provide pre-integrated NMR liveness as part of their comprehensive anti-spoofing suite. The integration process usually involves:
- Hardware Integration: Connecting the NIR camera to the user’s device.
- SDK Integration: Utilizing the SDK to capture NIR images and transmit them to the verification server.
- Algorithm Processing: The server-side algorithm analyzes the images and determines the liveness status.
How Didit Helps: Robust Anti-Spoofing with NMR
Didit leverages the power of NMR liveness as a key component of its multi-layered anti-spoofing system. We combine NMR with other advanced techniques, including:
- Active Liveness: Randomized challenge-response tests to detect sophisticated spoofing attempts.
- Passive Liveness: Subtle analysis of facial movements to detect anomalies.
- Deepfake Detection: Advanced AI algorithms trained to identify synthetic media.
This multi-faceted approach provides unparalleled protection against fraud, ensuring that only genuine users are granted access to your platform. Didit’s solution is designed for seamless integration, rapid deployment, and scalability to meet the needs of businesses of all sizes.
Ready to Get Started?
Don't let deepfakes and presentation attacks compromise your security. Explore how Didit's NMR liveness and comprehensive anti-spoofing solutions can protect your business and your users.
Request a Demo | View Technical Documentation | Explore Pricing
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Blog questions
Who writes the Didit blog?
Which topics does the blog cover?
Is the blog available in my language?
Where do I find product updates?
Are these posts legal advice?
How do I find posts on one topic?
Are posts dated?
Do posts link to the docs?
Is the blog the same as the docs?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


