FacialRecognitionModel
import com.sybrin.facialrecognition.models.FacialRecognitionModel
Summary
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.
getCroppedRecognizedImage
public Bitmap getCroppedRecognizedImage ()
Returns a cropped version of the image captured when recognition occurred.
getCroppedRecognizedImagePath
public String getCroppedRecognizedImagePath ()
Returns the file path of the cropped version of the image captured when recognition occurred.
getIdentifier
public Bitmap getIdentifier ()
Returns the identifier used to locate the facial recognition model online.
getRecognizedImage
public Bitmap getRecognizedImage ()
Returns the image captured when recognition occurred.
getRecognizedImagePath
public String getRecognizedImagePath ()
Returns the file path of the image captured when recognition occurred.
saveImages
public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Last updated