FacialComparisonModel
Last updated
Last updated
import com.sybrin.facecomparison.models.FacialComparisonModel
public Bitmap getAverageConfidence ()
Returns the calculated average confidence of all facial comparison result.
public List<
FacialComparisonResult
> getFaceResults ()
Returns a list of facial comparison results between the target image and face images.
public Bitmap getTargetImage ()
Returns the target image used for facial comparison.
public String getTargetImagePath ()
Returns the file path of the target image used for facial comparison.
public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Public methods
float
List<FacialComparisonResult>
Bitmap
String
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.
Returns
float
Returns
List<FacialComparisonResult>
Value cannot be null
.
Returns
Bitmap
Value cannot be null
.
Returns
String
Value is null
if image was not saved.
Parameters
Context
Value cannot be null
.