For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Document Capture - SelphID

Document capture is performed with the SelphID Plugin.

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

  • Internal camera and permission management.

  • Assistant in 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 configuration: different countries, languages, document types...


Dependencies

React:

npm install @facephi/sdk-selphid-react-native@<versión>

Android - Gradle:

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

iOS - CocoaPods:

pod 'FPHISDKSelphIDComponent', '~> $version'

Available methods

This component contains several methods that perform different functions:

Method

Description

launchSelphID

Main document capture controller

selphid method

Once the SDK has been initialized and a new operation has been created, you can launch the component. You can use any of its controllers to run its functionality.

Launching Face Capture:

Basic Configuration

To launch the current component, create an object SelphidConfiguration which will contain the component controller configuration.

The basic configuration required is as follows:

Advanced component configuration

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

SelphID Configuration

Receiving the result

The launch will return the information in the format SelphidResult. This allows you to distinguish between a successful and an unsuccessful launch:

Advanced component configuration

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

Selphid Result

Component customization

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

Selphid - Component Customization

Last updated