Biometrics Android
1.3
Search
K

SybrinFacialRecognition

import com.sybrin.facialrecognition.SybrinFacialRecognition
To see this class and its functionality in action go visit our Facial Recognition feature page!

Summary

Static methods
getBuiltInstance()
Returns an already built instance of the SybrinFacialRecognition class.
getInstance(Context context, SybrinFacialRecognitionConfiguration configuration)
Creates and returns an instance of the SybrinFacialRecognition class.

Static methods

getBuiltInstance

public static SybrinFacialRecognition getBuiltInstance ()
Returns an already built instance of the SybrinFacialRecognition class.
Returns
This value cannot be null.

getInstance

public static SybrinFacialRecognition getInstance (Context context, SybrinFacialRecognitionConfiguration configuration)
Creates and returns an instance of the SybrinFacialRecognition class using the provided configuration.
Parameters
context
Context
configuration
SybrinFacialRecognitionConfiguration : The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null.

Public methods

getConfiguration

public SybrinFacialRecognitionConfiguration getConfiguration ()
Returns the SybrinFacialRecognitionConfiguration provided when the SybrinFacialRecognition instance was created.
Returns
This value cannot be null.

loadModel

Initializes all components needed for facial recognition and training. This includes downloading the saved facial recognition model associated with the provided identifier if available.
Parameters
identifier
String: Unique string used to locate saved facial recognition model.

openFacialRecognition

public FacialRecognizer<FacialRecognitionModel> openFacialRecognition (String identifier)
Starts the facial recognition process.
Parameters
identifier
String: Unique string used to recognize the presented face.
Returns
This value cannot be null.

trainFace

public FacialTrainer<FacialTrainingModel> trainFace (String identifier)
Starts the facial training process.
Parameters
identifier
String: Unique string that is associated with the trained model.
Returns
This value cannot be null.