|
TechTrue® Android SDK
V1.3.7 Android SDK for TechTrue®'s face recognition
|
Classes | |
| enum | TTPersonStatus |
Public Member Functions | |
| void | setCheckLiveness (boolean enabled) |
| void | setExtId (String extId) |
| String | getExtId () |
| void | addImage (TTImage img) |
| void | addImage (InputStream input) |
| void | addTemplate (TTTemplate tpl) |
| Vector< String > | getTemplates () |
| TTImage | getImage () |
| void | enroll () throws TTException |
| void | update () throws TTException |
| void | delete () throws TTException |
| int | verify () throws TTException |
| int | identify () throws TTException |
This class represents a Person object and provides all the necessary functionalities for enrollment, verification and identification.
|
inline |
Adds an image to this person from an InputStream
| input | InputStream object |
|
inline |
|
inline |
Adds a face template to this person. Mainly used for enrolling a person from a template, instead of an image, which makes the process faster.
| tpl | TTTemplate object |
|
inline |
Deletes this person from DB. This removes everything and it's not possible to recover.
| TTException | When could not delete person from DB |
|
inline |
Enrolls this person to DB. Involves feature extraction and DB persistence.
In case a template is set for this person, only the DB persistence happens, which is much faster and it's the recommended way to pre-load a new device.
| TTException | When no faces were found in the pictures |
|
inline |
Gets this person's External ID
|
inline |
Get the person's associated image
|
inline |
Gets the templates of this person. When enrolling from images, these templates will only be available after calling the enroll method.
|
inline |
Identifies a person in the DB.
This means an 1:N biometric operation, to check if the provided person's image is contained in the DB, and who is that person.
If a person is correctly identified, its attributes will be set in the calling object.
| TTException | When no faces were found in the pictures |
|
inline |
Sets if the Liveness check will be performed or not.
When set to true, all methods called on this person object will perform the liveness check, otherwise this check will be skipped.
Default: true
| enabled | true will perform liveness checks; false will skip liveness checks. |
|
inline |
Sets an External ID to this person
| extId | External ID |
|
inline |
Updates this person on DB. Only feature descriptor is updated.
|
inline |
Verifies this person against the DB. This means an 1:1 biometric operation, to ensure the provided person is the same as the one persisted in the DB.
| TTException | When no faces were found in the pictures |