Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutomatedDoor

A personal home security project that uses Raspberry pi and Arduino to lock and unlock my door with facial recognition or custom linked keycards.

Demo 1: https://youtu.be/OssdfSRK6s4

Demo 2: https://youtu.be/dBMjdWTdf8k


Facial Recognition

The facial recognition was done in two parts using a Raspberry Pi and a local computer. The raspberry pi is running an openCV based facial tracking algorithm and if any face is detected for a certain amount of time, then it takes a picture and uploads it to a locally runnning Flask web-server. Along with the image it uses socket communication to notify the local computer to check the webserver and download the new image uploaded for facial recognition and send the result back through socket communication. This portion was written in python.


Arduino Door Mechanism

The Arduino accepts USB Serial Commands from the Raspberry Pi when a face is recognized and subsequently runs the stepper motor to open and close the door. It also is simultaneously running a keyscanner for non-recongized faces, a buzzer + light for audio-visual confirmations and a photoresistor that was rigged up to be a buttonless doorbell. If it scans a recognized keycard it will run the stepper motor to open the door the same. This portion was exclusively coded in C++ by way of the arduino IDE.


Visual Project Overview

Project OverView drawio


Gallery

9C811C72-5F50-4524-AE4C-AB94DF5333AE DFF68456-9704-48B7-86C0-CB7B58F254FD

About

A personal home security project that uses Raspberry pi and Arduino to lock and unlock my door with facial recognition or custom linked keycards.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages