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

Face Capture - Selphi

Version 2.3.X.

Introduction

Face Capture is performed with the Selphi Plugin.

This component is responsible for capturing a selfie of the user and subsequently extracting the most important facial features. Its main processes are:

  • Internal camera and permission management.

  • Assistant in the user's face capture processes.

  • Generation of templates with the user's facial features and image.


Dependencies

React Native:

npm install @facephi/sdk-selphi-react-native@<Version>

Android - Gradle:

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

iOS - CocoaPods:

s.dependency 'FPHISDKSelphiComponent', '~> $version'

Available methods

This component contains several methods that perform different functionalities:

Method

Description

selphi

Main Facial Recognition controller

Selphi 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.

Face Capture launch:

Basic configuration

To launch the current component, an object must be created SelphiConfiguration which will be the configuration of the component controller.

The basic configuration required for it is as follows:

Advanced component configuration

Below are all the fields that are part of this class.

Selphi Configuration

Receiving the result

The launch will return the information in SelphiResult format. A distinction can be made between a successful launch and an unsuccessful one:

Below are all the fields that are part of this class.

Selphi Result

Component customization

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

Selphi - Component Customization

Last updated