FacialComparisonResult
Last updated
Last updated
import com.sybrin.facecomparison.models.FacialComparisonResult
public Bitmap getConfidence ()
Returns a floating point value showing how confident the facial comparison algorithm is that the two faces presented are similar.
public Bitmap getFaceImage ()
Returns the face image used for facial comparison.
public String getFaceImagePath ()
Returns the file path of the face image used for facial comparison.
public String getFaceName ()
Returns the file name of the face image used for facial comparison.
public String getMessage ()
Returns a message indicating the status of the facial comparison process.
public String getResult ()
Returns a boolean value indicating whether the facial comparison algorithm estimates that the compared faces are that of the same person or not.
public String getTargetName ()
Returns the file name of the target image used for facial comparison.
public String getTimeTakenMilliseconds ()
Returns the time it took to perform the facial comparison operation in milliseconds.
public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Public methods
float
Bitmap
String
String
String
boolean
String
float
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.
Returns
float
0.0
if faces are 0% similar, 1.0
if faces are 100% similar.
Returns
Bitmap
Value cannot be null
.
Returns
String
Value is null
if image was not saved.
Returns
String
Value cannot be null.
Returns
String
Value cannot be null.
Returns
boolean
true
if faces are that of the same person, false
otherwise.
Returns
String
Value cannot be null.
Returns
float
Parameters
Context
Value cannot be null
.