Skip to content

Raspberry Pi Camera and OpenCV combined with some basic hardware to model a prototype of a door that unlocks based on facial recognition, thus eliminating the need for keys.

Notifications You must be signed in to change notification settings

zachbellay/facial-recognition-door

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

facial-recognition-door

Raspberry Pi Camera and OpenCV combined with some basic hardware to model a prototype of a door that unlocks based on facial recognition, thus eliminating the need for keys. Made for Shane Rogers's ENGR 171B class at Santa Clara University in Spring of 2017. Collaborators include Connor Tisch, Asa Jacob, Milan Copic, and Mani Gnanasivam.

Built on Raspberry Pi 2B running Raspbian Jessie Lite.

OpenCV code from following source: https://www.youtube.com/watch?v=1I4gHpctXbU

Picture of the setup next to my laptop:

1

Connecting to the Raspberry Pi over VNC:

2

Connecting with default Raspberry Pi Login:

3

Running the Python script with sudo:

4

Fixing a Raspberry Pi Camera driver error:

Command is: sudo modprobe bcm2855-v4l2 Note: Be sure to type this in, not copy paste it. For some reason it only works when it is typed. 5

Terminal output after button push with no face detected:

6

What the camera saw (my ceiling):

7

Output after a few more button pushes:

8

My tired and detected face from the latest button push:

9

About

Raspberry Pi Camera and OpenCV combined with some basic hardware to model a prototype of a door that unlocks based on facial recognition, thus eliminating the need for keys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages