Deepsight Overview and Implementation

Enable and implement Incode Deepsight across supported SDKs and understand the related API response changes.

Incode Deepsight is the AI-powered fraud prevention suite that protects every step of identity verification experiences from deepfakes and identity spoofing injections. This guide will help you enable Deepsight in your integration.

Prerequisites

Deepsight requires additional licensing. After you have purchased Deepsight, contact your Incode Admin to enable the Deepsight feature flag for the requested organization.

Before using Deepsight, you should be familiar with concepts such as multimodal, spoof, evasion, stream frames, jailbroken phones, and deepfakes.

If you have any questions, contact your Incode Admin for assistance.

API Changes With Deepsight

When Deepsight is enabled, the response structure of the GET /omni/get/score API changes.

With Deepsight OFF, the response includes these sections: 

  • liveness
  • deviceRisk
  • behavioralRisk sections.

With Deepsight ON, the response includes a deepsight section containing new and enhanced fields that build on the original fields:

  • livenessmultimodalIntelligence + new fields. See more below.
  • deviceRiskdeviceTrust
  • behavioralRisk  → behavioralTrust
  • cameraTrust (new field)

Multi-modal Intelligence

Multi-modal intelligence includes attack detection checks for face domain and attack vectors for document domain.

Face domain:

  • Physical Spoof Detection: Catches 2D masks, 3D masks, paper replays, and screen replays. Depth Feed Analysis: Confirms 3D structures.
  • Digital Spoof Detection: Catches deepfakes, digitally generated or manipulated images or videos.
  • Evasion: Catches extreme expressions, extreme makeup, and paraphernalia.

Document domain:

  • AI Generated Document: Catches digitally-generated or manipulated document images.

Implementation

This section contains instructions for implementing Deepsight based on the platform you are using. Use the tabs to switch to the instructions for your platform.

Web SDK

  1. Update Web SDK to version 1.80.0 or higher.
  2. Contact your Incode representative to request Deepsight for your organization.
  3. Enable Deepsight in Workflow or Flow settings:
    1. In the Dashboard left navigation, click Workflows or Flows, depending on your configuration.
    2. Locate the Workflow or Flow you want to enable Deepsight for.
      1. For Workflows, click to open it, then click Edit.
      2. For Flows, click Edit.
    3. Click to switch to the Settings tab.
    4. At the top of the settings page, click to toggle Deepsight ON. If you don’t see Deepsight here, contact your Incode representative to ensure your organization is configured to use Deepsight.
    5. Click Save Changes.
  4. Call renderCaptureFace or renderCaptureId SDK methods. Example of renderCaptureFace usage below:
// When rendering the camera for selfie capture
const container = document.getElementById("face-capture-container");
IncodeSDK.renderCaptureFace(container, {
  session={session}
  onSuccess: async (response) => {
  // Unlike renderCamera, renderCaptureFace will not call processFace automatically   
    const processFaceResponse = await IncodeSDK.processFace({ token: session.token }); 
    // go to next step
  },
  onError: (error) = {
    // handle error
  },
});

// When rendering the camera for ID capture
const container = document.getElementById("id-capture-container");
IncodeSDK.renderCaptureId(container, {
  session: session,
  onSuccess: (response) => {
    // ID capture completed successfully
  },
  onError: (error) => {
    // handle error
  },
});