Documentation

Documentation

  • Conversation
  • Reader
  • Speech
  • Console
  • AI Agents
  • Languages iconJanpanese
    • Tiếng Việt
    • English

›チュートリアル

概要

  • Driving License Recognition
  • ID Recognition
  • Passport Recognition
  • Facematch
  • Face Search
  • Reader
  • SDK eKYC
  • Liveness Detection

API

  • Driving Licence Recognition
  • ID Recognition
  • Passport Recognition
  • Face Search
  • Facematch
  • Liveness Detection

チュートリアル

  • Driving License Recognition
  • ID Recognition
  • Passport Recognition
  • Face Search
  • Facematch
  • SDK eKYC
  • Liveness Detection

Tutorials

Integrate to iOS

Requirements

  • iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
  • Xcode 11+
  • Swift 5.1+

Setup

  • Download and extract the FEKYC.zip file to get the FEKYC.framework
  • Drag & drop FEKYC.framework to your project

1

  • Select your target, then go to the General tab and click (+) in Frameworks,Libraries, and Embedded Content section, make sure FEKYC.framework was added, if not drag and drop the file from the Outline View

2

  • Add dependencies: Add necessary dependencies for fekyc through Cocoapod: pod 'MBProgressHUD' pod 'Alamofire' pod 'TPKeyboardAvoiding' pod 'HydraAsync' pod 'IDMPhotoBrowser'

  • Permissions localization description: FEKYC need access to camera to scan document and access to Photo to get user photo (document photo or selfie photo) to processing Goto Info.plist file and add 2 key:

    • NSCameraUsageDescription

    • NSPhotoLibraryUsageDescription

3

  • Build & Run

Usage

Import FEKYC

import FEKYC

Declare config:

let config = FEKYCConfig(apiKey: "YOU API KEY", fullName: "YOUR NAME",
orcType: FEKYCOrcType.photo, orcDocumentType: FEKYCOrcDocumentType.idCard)

Init and start EKYC:

let fekyc = FEKYC(config: config)
fekyc.start(from: self) { [weak self] result in
//
print(result)
}

Integrate to Android

Create Owner project

4

Import SDK Ekyc

5

  • Select option

  • Import .JAR/AAR package

6

  • Select path’s EkycSdk-release.aar

7

Complete importing eKYC

On your module’s application

  • Open Module Settings

8

On your module’s settings dialog

  • Select Dependencies’s app

9

  • Select “+” on Delared Dependencies then Module Dependency

10

  • Select option ekycsdk

11

Add dependencies needed for eKYC SDK

  • Add support aaptOptions into build.gradle app

12

  • Add dependencies into your build.gradle app
buildscript **{** ext.kotlin_version = '1.3.50' repositories **{**
mavenCentral()
**}**
dependencies **{**
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:\$kotlin_version"
**}**
**}**
apply plugin: "kotlin-android" apply plugin: "kotlin-android-extensions"

13

implementation 'org.tensorflow:tensorflow-lite:0.0.0-nightly' implementation
'com.kofigyan.stateprogressbar:stateprogressbar:1.0.0'
// kotlin coroutines implementation'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2' implementation
'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2' def retrofit_ver =
"2.9.0" def lifecycle_ver = "2.2.0" implementation
"com.squareup.retrofit2:retrofit:\$retrofit_ver" implementation
"com.squareup.retrofit2:converter-gson:\$retrofit_ver" implementation
"com.squareup.retrofit2:converter-scalars:\$retrofit_ver" implementation
"androidx.lifecycle:lifecycle-extensions:\$lifecycle_ver"

def material_ver = "1.1.0" implementation
"com.google.android.material:material:\$material_ver" implementation
'com.github.israel-fl:bitmap2video:2.0.0'

14

Usage

Parameters

PARAM_API_KEYString api from EKYC
EKYC PARAM_FULLNAMEName’s people will be tracking
PARAM_OCR_TYPEOCR_TYPE_PHOTO: This option for selfie photo
PARAM_OCR_DOC_TYPEOCR_DOC_TYPE_CARD_ID
PARAM_SHOW_RESULT_TYPETrue or False Return json on onActivivityResult() without preview
PARAM_LAYOUTTYPELayoutType : 1 ColorStype : color int
PARAM_RETURN_PHOTOTrue/False
  • OCR_TYPE_LIVELESS: This option for liveless verify
  • OCR_TYPE_VIDEO: This option for upload video
  • OCR_DOC_TYPE_DRIVER_LICENCE
  • OCR_DOC_TYPE_PASSPORT

Get Result

15

← FacematchLiveness Detection →
  • Integrate to iOS
    • Requirements
    • Setup
    • Usage
  • Integrate to Android
    • Create Owner project
    • Import SDK Ekyc
    • Usage
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation