Installation

The Android-FaceSDK is provided in Android Library Project (AAR) format.

Download SDK

Download libfacesdk.zip [33M]

Directory Structure

The SDK directory contains the following directories and files:

build.gradle

Gradle build file

facesdk.aar

FaceSDK AAR file

Add FaceSDK to Android Project

  • Add the SDK folder to your Android project's root directory.

  • Open the build.gradle file corresponding to the new, or existing Android Studio project that you want to integrate. Typically, this is the build.gradle file for the app module.

  • Add the SDK to the dependencies section in your build.gradle file:

dependencies {
    implementation project(path: ':libfacesdk')
}
  • Include the SDK in your settings.gradle file:

rootProject.name = "YourProjectName"
include ':app'
include ':libfacesdk'
  • Build your project

Last updated