MTP: Continuous User Authentication on Android Using Face Recognition Testing of FaceApp Application This experiment is being conducted to find out the accuracy rate of face recognition algorithm used for doing continuous user authentication on android devices in a real time scenario. Application Installation Instructions: Application can be installed in two ways: First: 1) Copy the APK file to your Android s memory card and insert the card into your device. 2) Go to the directory where the apk file is stored. 3) Click and install the application. 4) Give all the permissions it requires. Second: 1) Download the application from the provided link. 2) Go to the download directory. 3) Click and install the application. 4) Give all the permissions it requires. If the application is installed successfully on your device, you will see the following layout on your screen:
Figure 1 Application Usage Instructions: Enable FaceApp Service: To use the FaceApp service, check the FaceApp service checkbox as shown in figure 2. This will start the FaceApp application service which will perform continuous user authentication. Auto Start: Check this checkbox if you want to start the service automatically after your device reboots. Uncheck if you want to start the service manually after device reboot. It is recommended to check the auto start service checkbox.
Figure 2 Training: 1) On the screen shown in Figure 2, click on Train Recognizer. You will be directed to the screen shown in figure 3. 2) Keep your face such that the boundary of the overlay circle roughly matches the boundary of your face as shown in figure 4. 3) Click on Add train face button to capture your image. 4) Capture 5 images. (For your reference a text field is given on the screen which shows the number of images that you have captured). 5) If you want to recapture images press Erase All button. This will erase all the images captured by the application till that time. 6) After adding the images click on Done button. Wait for the application to take you back to the screen shown in figure 2.
Figure 3 Application Selection: To select the application on which you intend to put the lock do the following: 1) Select the Select apps tab. (As shown in figure 5). 2) All the applications installed on your device will be displayed. 3) Choose the application on which you wish to put the lock using any of the following three ways: a. Select the default applications by clicking Defaults button (figure 6). b. Put the lock on all the applications installed on your device by clicking on the Block All button as shown in figure 7. c. Manually select the application by clicking on that application s icon (figure 8). You can deselect all the applications by pressing Allow All button. 4) Press the back button once you are done.
Figure 5
Figure 6
Figure 7
Figure 8 Set Password: Password is provided as an alternative to unlock the application when the face recognizer is unable to recognize your face. To set the password, do the following: 1) Click on Edit Password option shown in figure 2. 2) Set a new password as shown on figure 9. 3) Press OK when you are done.
Figure 9 Relock Policy: Relock policy enables you to select the relock timeout. Relock timeout is the time duration after which you wish to lock the applications that you have selected from the select apps tab. For example, if you have put a lock on Gmail application then whenever you will start gmail the FaceApp will capture your face image and unlock the application only if the your face matches with the training faces. When the gmail application gets unlocked the FaceApp will capture your face again after relock timeout duration and perform the same check. This will be repeated till you stop using the gmail application. To enable the relock policy: 1) Check the Relock Policy checkbox as shown in figure 10. 2) Select the relock timeout as shown in figure 11. The default timeout duration is 10 minutes.
Figure 10
Figure 11 Application Testing Instructions: To test the application open any one of the applications you have selected to lock using the Select Apps tab. When you open the application, the FaceApp application will capture your face image. Try to keep your face such that the boundary of your face roughly matches the boundary of the overlay circle. If the face is matched the selected application will open. Report face matched in table 1. If you see a keypad instead of the selected application interface, it indicates that the face is not matched. Report face not matched in this case. Unlock the application by entering the password that you have chosen earlier or the default password if you have not chosen any password earlier. Figure 12 shows the test case:
Tick mark the testing results in the following table: Test Case 1 Test Case 2 Test Case 3 Test Case 4 Test Case 5 Face Matched Face Not Matched Table 1: Results with 6 training images Go back to FaceApp application. Select Train Recognizer and add 5 more training images. Test the application again by following the same procedure. Test Case 1 Test Case 2 Test Case 3 Test Case 4 Test Case 5 Face Matched Face Not Matched Table 2: Results with 12 training images Go back to FaceApp application. Select Train Recognizer and add 5 more training images. Test the application again by following the same procedure. Test Case 1 Test Case 2 Test Case 3 Test Case 4 Test Case 5 Face Matched Face Not Matched Table 3: Results with 18 training images