SybrinFacialComparison
Last updated
Last updated
import com.sybrin.facecomparison.SybrinFacialComparison
To see this class and its functionality in action go visit our Facial Comparison feature page!
public static
SybrinFacialComparison
getBuiltInstance ()
Returns an already built instance of the SybrinFacialComparison class.
public static
SybrinFacialComparison
getInstance (Context context,
SybrinFacialComparisonConfiguration
configuration)
Creates and returns an instance of the SybrinFacialComparison class using the provided configuration.
public
SybrinFacialComparisonConfiguration
getConfiguration ()
Returns the SybrinFacialComparisonConfiguration provided when the SybrinFacialComparison instance was created.
public
FacialComparator
<
FacialComparisonModel
> compareFaces(Bitmap target, Bitmap[] faces)
Starts the facial comparison process.
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.
Returns
This value cannot be null
.
Parameters
context
Context
configuration
SybrinFacialComparisonConfiguration : The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
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
.