Skip to main content
Version: 3.24.1 (latest)

Face tracking and face estimation

The apk directory contains the demo executable file:

Run the samples on Android devices

  1. Download the samples from the latest Face SDK release (See the Assets section).
  2. Copy the samples to your Android device.
  3. Follow the instructions below.

Building the sample from source code

  1. Get the trial license.
  2. Copy the 3divi_face_sdk.lic trial license to the license folder.
  3. Open the examples/android folder in Android Studio as an existing project.
  4. Select an application (demo, video_recognition_demo or telpo_liveness_video_recognition), build it and install the resulting application on your device (a smartphone/a tablet or a Telpo terminal).

Android demo

The sample demonstrates tracking, detection and cropping of faces, detection of anthropometric points and angles, as well as estimation of face quality, age and gender, emotions, and liveness (by processing an RGB image from your camera).

To run the demo, install demo.apk on your device. To install the demo, allow the app to have access to the listed functions.

Permissions requested when you install demo.apk

Tracking results and face information are displayed in a window. The results depending on the selected options are displayed in the upper right corner.

The lower right corner contains a menu with the following sections:

  • choose camera – Selects camera type and image resolution.
  • options – Parameters of the detected face (face rectangle, angles, image quality, liveness, gender and age, anthropometric points, face quality, vector angles, emotions), and the type of face cropping (basic, full frontal, token frontal).
  • quit – Exits the sample.

Running demo.apk

Source code: examples/android/demo