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:
livenessdeviceRiskbehavioralRisksections.
With Deepsight ON, the response includes a deepsight section containing new and enhanced fields that build on the original fields:
liveness→multimodalIntelligence+ new fields. See more below.deviceRisk→deviceTrustbehavioralRisk→behavioralTrustcameraTrust(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
- Update Web SDK to version 1.80.0 or higher.
- Contact your Incode representative to request Deepsight for your organization.
- Enable Deepsight in Workflow or Flow settings:
- In the Dashboard left navigation, click Workflows or Flows, depending on your configuration.
- Locate the Workflow or Flow you want to enable Deepsight for.
- For Workflows, click to open it, then click Edit.
- For Flows, click Edit.
- Click to switch to the Settings tab.
- 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.
- Click Save Changes.
- Call
renderCaptureFaceorrenderCaptureIdSDK methods. Example ofrenderCaptureFaceusage 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
},
});Updated about 2 hours ago
