FacialRecognitionModel
import com.sybrin.facialrecognition.models.FacialRecognitionModel
Summary
Public methods | |
float | |
Bitmap | |
String | |
String | |
Bitmap | |
String | |
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 recognition algorithm is that the presented face is the same as the face that was used for training.
Returns | |
float |
|
getCroppedRecognizedImage
public Bitmap getCroppedRecognizedImage ()
Returns a cropped version of the image captured when recognition occurred.
Returns | |
Bitmap | Value cannot be |
getCroppedRecognizedImagePath
public String getCroppedRecognizedImagePath ()
Returns the file path of the cropped version of the image captured when recognition occurred.
Returns | |
String | Value is |
getIdentifier
public Bitmap getIdentifier ()
Returns the identifier used to locate the facial recognition model online.
Returns | |
String | Value cannot be |
getRecognizedImage
public Bitmap getRecognizedImage ()
Returns the image captured when recognition occurred.
Returns | |
Bitmap | Value cannot be |
getRecognizedImagePath
public String getRecognizedImagePath ()
Returns the file path of the image captured when recognition occurred.
Returns | |
String | Value is |
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