Biometrics Android
1.3
Search
K

FacialComparisonModel

import com.sybrin.facecomparison.models.FacialComparisonModel

Summary

Public methods
float
Bitmap
String
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.

Public methods

getAverageConfidence

public Bitmap getAverageConfidence ()
Returns the calculated average confidence of all facial comparison result.
Returns
float

getFaceResults

public List<FacialComparisonResult> getFaceResults ()
Returns a list of facial comparison results between the target image and face images.
Returns
Value cannot be null.

getTargetImage

public Bitmap getTargetImage ()
Returns the target image used for facial comparison.
Returns
Bitmap
Value cannot be null.

getTargetImagePath

public String getTargetImagePath ()
Returns the file path of the target image used for facial comparison.
Returns
String
Value is null if image was not saved.

saveImages

public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Parameters
Context
Value cannot be null.