Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Document Capture - SelphID

Document capture is performed using the SelphID Plugin.

This component is responsible for capturing identity documents and analyzing the data obtained. Its main processes are:

  • Internal management of cameras and permissions.

  • Assistant during the front and back document capture processes.

  • Extraction of the information contained in the document.

  • Retrieval of images of the front and back of the document, as well as other images included in the document: the user's face, the user's signature, ...

  • High level of configuration: different countries, languages, document types...


Dependencies

Capacitor:

npm install @facephi/sdk-selphid-capacitor@<versión>
npm run build
npx cap sync

Android - Gradle:

implementation "com.facephi.androidsdk:selphid_component:$version"

iOS - CocoaPods:

Available methods

This component contains several methods that perform different functions:

Method

Description

launchSelphID

Main document capture controller

startCapture method

Once the SDK has been initialized and a new operation has been created, the component can be launched. Any of its controllers can be used to execute its functionality.

Launching Face Capture:

Basic configuration

To launch the current component, you must create an object SelphIDConfiguration which will be the component controller's configuration.

The basic configuration required is as follows:

Advanced settings for the component

All the fields that are part of this class are detailed below.

SelphID Configuration

Receiving the result

The launch will return the information in the format SelphIDResult. It can be differentiated between a successful and an unsuccessful launch:

Advanced settings for the component

All the fields that are part of this class are detailed below.

Selphid Result

Customizing the component

In addition to the changes that can be made at the SDK level (which are explained in the document on Advanced settings), this particular component also allows for its own customization.

Selphid - Component Customization

Last updated