Face Recognition

Face Recognition

A device configured to reauthenticate by facial recognition will require that the BlueFletch Vision reauthentication APK be installed on the device and a Vision Database ZIP file be downloaded to the file location /sdcard/Download/ems_vision_database.zip. Contact your BlueFletch representative to request a Database ZIP file. On the hardware side, Vision requires a device with a front-facing camera to operate.

To reauthenticate with Vision, login with the BlueFletch Authentication module. If the device has been configured as indicated below to include a logged-in layout with the Vision application's Training activity, then after the user logs in, they can open that activity. Vision will "train" itself to recognize the user's face by collecting multiple images, ideally from a variety of angles as the user shifts the device in relation to their face.

The user may lock the device's screen. Upon unlocking, the user will be prompted for reauthentication by Vision turning on the front-facing camera. If the user's face image matches within a threshold of similarity against the expected images stored in the database, then the user is reauthenticated and returned to the logged-in state.

Configuration

Vision Training application object in a layout:

"layouts": {
    "Layout Group Example": [
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      }
      ...
    ]
    ...
}

The following key-value pairs can be set within the settings object of the Launcher configuration JSON file.

Settings for Vision application:

FieldData TypeDescription

useSecondaryAuth

string

(See description above.) Assign the value "face".

vision_threshold

double

When using Vision reauthentication, what is the percentage threshold to indicate a match. ie. 0.45.

vision_attempts

integer

When using Vision reauthentication, number of attempts to match a face to the vision database.

Last updated