FacialComparisonResult
import com.sybrin.facecomparison.models.FacialComparisonResult
Summary
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. |
Public methods
getConfidence
public Bitmap getConfidence ()
Returns a floating point value showing how confident the facial comparison algorithm is that the two faces presented are similar.
Returns | |
float |
|
getFaceImage
public Bitmap getFaceImage ()
Returns the face image used for facial comparison.
Returns | |
Bitmap | Value cannot be |
getFaceImagePath
public String getFaceImagePath ()
Returns the file path of the face image used for facial comparison.
Returns | |
String | Value is |
getFaceName
public String getFaceName ()
Returns the file name of the face image used for facial comparison.
Returns | |
String | Value cannot be |
getMessage
public String getMessage ()
Returns a message indicating the status of the facial comparison process.
Returns | |
String | Value cannot be |
getResult
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.
Returns | |
boolean |
|
getTargetName
public String getTargetName ()
Returns the file name of the target image used for facial comparison.
Returns | |
String | Value cannot be |
getTimeTakenMilliseconds
public String getTimeTakenMilliseconds ()
Returns the time it took to perform the facial comparison operation in milliseconds.
Returns | |
float |
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 |
Last updated