Android QuickStart
Android Studio test description
Unzip the zip file, in Android Studio, go to File —— Open —— , select the directory to unzip project.
Copy the authorization certificate file SENSEID_....lic to the assets directory, which is inside the sample directory. (Invalid sample authorization certificate that already exists in the assets folder can be deleted).
Inside the sample code of the Android project, find the method for obtaining the activation code
MainActivity.init()
, changeSenseID_FacePro.lic
into the name of the authorization certificate file copied in step b.Connect Android device and run module to test。
Authorization mechanism description
For detailed information, please refer to Chapter Authorization Instruction.
Sample function description
Android Sample contains three modules: 1:1, monocular 1:N detection and binocular 1:N detection.
1:1 module is a static image comparison module, including static image detection and 1:1 face comparison.
Monocular 1:N module is a dynamic face detection module, including functions of monocular face tracking, monocular liveness detection and face search.
Binocular 1:N module is a dynamic face detection module, including functions of binocular face tracking, binocular liveness detection and face search.
Among the three modules, monocular 1:N module and binocular 1: N module need different interfaces for face tracking and liveness detection, respectively. However, there is no difference between the two modules in the 1:N search section.
Last updated