SybrinFacialRecognition
Last updated
Last updated
import com.sybrin.facialrecognition.SybrinFacialRecognition
To see this class and its functionality in action go visit our Facial Recognition feature page!
public static
SybrinFacialRecognition
getBuiltInstance ()
Returns an already built instance of the SybrinFacialRecognition class.
public static
SybrinFacialRecognition
getInstance (Context context,
SybrinFacialRecognitionConfiguration
configuration)
Creates and returns an instance of the SybrinFacialRecognition class using the provided configuration.
public
SybrinFacialRecognitionConfiguration
getConfiguration ()
Returns the SybrinFacialRecognitionConfiguration provided when the SybrinFacialRecognition instance was created.
public
FacialRecognitionInitializer
<
FacialRecognitionInitializationModel
> loadModel (String identifier)
Initializes all components needed for facial recognition and training. This includes downloading the saved facial recognition model associated with the provided identifier if available.
public
FacialRecognizer
<
FacialRecognitionModel
> openFacialRecognition (String identifier)
Starts the facial recognition process.
public
FacialTrainer
<
FacialTrainingModel
> trainFace (String identifier)
Starts the facial training process.
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.
Public methods
loadModel(String identifier)
openFacialRecognition(String identifier)
trainFace(String identifier)
Returns
This value cannot be null
.
Parameters
context
Context
configuration
SybrinFacialRecognitionConfiguration : The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
identifier
String: Unique string used to locate saved facial recognition model.
Returns
This value cannot be null
.
Parameters
identifier
String: Unique string used to recognize the presented face.
Returns
This value cannot be null
.
Parameters
identifier
String: Unique string that is associated with the trained model.
Returns
This value cannot be null
.