Skip to main content

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.

NMR Liveness: Next-Gen Anti-Spoofing for Deepfake Detection

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.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.