Preprint / Version 1

Using Biometric Recognition in Residential Security


  • Anand Krishnan Student



biometric, residential security, AWS S3 Bucket database


Facial recognition in biometric security is becoming increasingly prevalent daily, with technologies being used to unlock many daily products such as Apple iPhones and computers. However, biometric security in fields such as residential security is a concept that has yet to see widespread use. This paper details the design used to replicate a real-life scenario of artificial intelligence-aided biometrics verification in the context of residential home security. Data is collected via a web app to train a proper model. The app collects biometric data on the user via three videos of three critical angles required in facial recognition models: frontal face, left profile face, and right profile face. A program then samples through a specific number of frames in each video, which is stored as images in an AWS S3 Bucket database to be queried for model training. A Convolutional Neural Network (CNN) framework called DeepFace is utilized to use the data for the facial verification job. The Deepface framework employs a Euclidean distance algorithm to determine the similarity between faces in the database and the face captured for biometric verification, thus determining whether a user is authorized to enter a residence. Once a user is verified, they can enter their house without requiring a key, making access to the residence more convenient.


Poorni R., Charulatha S., Amritha B., Bhavyashree P. “Real-Time Face Detection and Recognition Using Deepface Convolutional Neural Network.” ECS Transactions, vol. 107, no. 1, 2022,

Schroff, Florian, et al. “FaceNet: A unified embedding for face recognition and clustering.” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015,

Taigman, Yaniv, et al. “Deepface: Closing the gap to human-level performance in face verification.” 2014 IEEE Conference on Computer Vision and Pattern Recognition, 2014,

Kasar, Manisha & Bhattacharyya, Debnath & Kim, Tai-hoon. (2016). Face Recognition Using Neural Network: A Review. International Journal of Security and Its Applications. 10. 81-100. 10.14257/ijsia.2016.10.3.08.

Biggio, Battista, and Fabio Roli. “Wild patterns: Ten years after the rise of Adversarial Machine Learning.” Pattern Recognition, vol. 84, 2018, pp. 317–331,

Luu, Christopher. “Fried Chicken & Facial Recognition Tech Are Coming Together in an Unexpected Way.” Refinery29, 4 Sept. 2017,,online%20payment%20platform%20developed%20by%20online%20retailer%20Alibaba.

Serengil, Sefik Ilkin, and Alper Ozpinar. “Lightface: A hybrid deep face recognition framework.” 2020 Innovations in Intelligent Systems and Applications Conference (ASYU), 2020,

Raspberry Pi. “Raspberry Pi 4 Model B Specifications.” Raspberry Pi, Accessed 21 Jan. 2024.

ESP32 Series Datasheet. Version 4.4, Espressif Systems, 2023.

Soukupová, Tereza and Jan Cech. “Real-Time Eye Blink Detection using Facial Landmarks.” (2016).