Biometrics Android
1.3
Search
K

SybrinFacialComparison

import com.sybrin.facecomparison.SybrinFacialComparison
To see this class and its functionality in action go visit our Facial Comparison feature page!

Summary

Static methods
Returns an already built instance of the SybrinFacialComparison class.
getInstance(Context context, SybrinFacialComparisonConfiguration configuration)
Creates and returns an instance of the SybrinFacialComparison class.
Public methods
compareFaces(Bitmap target, Bitmap[] faces)
Starts the facial comparison process.

Static methods

getBuiltInstance

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

getInstance

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

Public methods

getConfiguration

public SybrinFacialComparisonConfigurationgetConfiguration ()
Returns the SybrinFacialComparisonConfiguration provided when the SybrinFacialComparison instance was created.
Returns
This value cannot be null.

compareFaces

public FacialComparator<FacialComparisonModel> compareFaces(Bitmap target, Bitmap[] faces)
Starts the facial comparison process.
Parameters
target
Bitmap: A single image that will be compared to each face individually.
faces
Bitmap[]: An array of face images used for comparison with the target image.
Returns
This value cannot be null.