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

Document Capture

Introduction

Document capture is performed through the SelphID Component.

This component is responsible for capturing Identity document images and analyzing the information obtained. During the process, among others, the following steps are performed:

  • Internal management of cameras and permissions.

  • Guided assistance during the capture of the front and back of the document.

  • Extraction of the information contained in the document.

  • Obtaining images of the document and associated elements:

    • User's face.

    • User's signature.

  • High-level configuration:

    • Countries.

    • Languages.

    • Document types.


Dependency

The specific component dependency is:


Available controllers

Controller

Description

FSelphIDController

Main document recognition controller


Error handling

List of document capture errors:
  • SPD_ACTIVITY_RESULT_ERROR: The activity result is incorrect.

  • SPD_ACTIVITY_RESULT_MSG_ERROR: The activity result received in the msg is incorrect.

  • SPD_APPLICATION_CONTEXT_ERROR: The required application context is null.

  • SPD_BAD_EXTRACTOR_CONFIGURATION_ERROR: Widget: Incorrect extractor configuration

  • SPD_CAMERA_PERMISSION_DENIED: The user has denied the permissions.

  • SPD_CANCEL_BY_USER: The user has canceled the process.

  • SPD_CANCEL_LAUNCH: A general cancellation of the SDK has been made.

  • SPD_COMPONENT_LICENSE_ERROR: The component License is not correct.

  • SPD_CONTROL_NOT_INITIALIZATED_ERROR: Widget: Initialization error

  • SPD_EMPTY_LICENSE: The License string is empty.

  • SPD_EXTRACTION_LICENSE_ERROR: Widget: License error

  • SPD_FETCH_DATA_ERROR: Error in collecting the result.

  • SPD_FLOW_ERROR: Error in the flow process.

  • SPD_HARDWARE_ERROR: Widget: Hardware error

  • SPD_INITIALIZATION_ERROR: Initialization error.

  • SPD_MANAGER_NOT_INITIALIZED: The managers are null.

  • SPD_MOVE_FAIL: The user has not moved as specified in the process.

  • SPD_NO_DATA_ERROR: The input data are null.

  • SPD_OPERATION_NOT_CREATED: There is no operation in progress.

  • SPD_RESOURCES_NOT_FOUND: The resources zip was not found

  • SPD_SETTINGS_PERMISSION_ERROR: Widget: Permission error

  • SPD_TIMEOUT: Timeout in the process.

  • SPD_UNEXPECTED_CAPTURE_ERROR: Widget: Capture error

  • SPD_UNKNOWN_ERROR: Unknown error

  • SPD_WIDGET_RESULT_DATA_ERROR: Error in the Widget output data

Last updated