Who can it be now? How to Build a Raspberry Pi Doorbell that Recognizes Friends

Facial-Recognition Doorbell with a Raspberry Pi
(Image credit: Tom's Hardware)

I want to buy a smart doorbell, but the cost of them is a little outside of my budget. Instead, I’m using a Raspberry Pi, a speaker system, and a camera to build a smart doorbell system for a fraction of the cost.

In our last project, we created a doorbell system which rang when a person was at the door. This time we’ll expand on the code to allow the project to identify when people we know are at the door, and announce it accordingly. This will let us choose to either run to the door, or hide upstairs when our friends or inlaws drop by unexpectedly. 

Latest Videos FromTom's Hardware
Ryder Damen
Freelance Writer

Ryder Damer is a Freelance Writer for Tom's Hardware US covering Raspberry Pi projects and tutorials.

  • velocityg4
    More importantly. The system needs to recognize if your friend has beer with them. 🍺
    Reply
  • King_V
    Well, I don't want just a text-to-speech "hello there" . . I would totally need it to be a scary, metallic voice saying "HALT AND IDENTIFY" to whomever shows up at the door.

    Because... uh... reasons!
    Reply
  • USAFRet
    King_V said:
    Well, I don't want just a text-to-speech "hello there" . . I would totally need it to be a scary, metallic voice saying "HALT AND IDENTIFY" to whomever shows up at the door.

    Because... uh... reasons!
    For that, you just need motion detection.

    "HALT! Enter your passcode on the keypad, or turn around and leave. You have 10 seconds to comply."

    Of course, the sensor needs to be very robust and focused.
    Any passing cat or rabbit might trigger it.
    Reply
  • Mikeunif
    Whish if I can use a telegram bot to open the door if anyone in the photos come near the camera
    Reply
  • SkRThatOneDude
    You may wish to add a disclaimer that some states (such as Illinois) have biometric privacy laws that would make collecting the data for this system without the subject first opting in illegal.

    This is why Nest does not have this feature enabled for users in some states.
    Reply
  • USAFRet
    SkRThatOneDude said:
    You may wish to add a disclaimer that some states (such as Illinois) have biometric privacy laws that would make collecting the data for this system without the subject first opting in illegal.

    This is why Nest does not have this feature enabled for users in some states.
    Not disputing your comment, but what specific law or regulation speaks to this?
    Reply
  • SkRThatOneDude
    USAFRet said:
    Not disputing your comment, but what specific law or regulation speaks to this?
    For Illinois specifically, the Biometric Information Privacy Act of 2008 is the law preventing the collection of facial recognition data. I'm not sure of any specific criminal damages relating to small operations, but I personally got a sizeable settlement from when I worked at Walmart and wasn't given an opt out from biometric login on the cash recycler machines.
    Reply
  • USAFRet
    SkRThatOneDude said:
    For Illinois specifically, the Biometric Information Privacy Act of 2008 is the law preventing the collection of facial recognition data. I'm not sure of any specific criminal damages relating to small operations, but I personally got a sizeable settlement from when I worked at Walmart and wasn't given an opt out from biometric login on the cash recycler machines.
    https://www.ilga.gov/legislation/ilcs/ilcs3.asp?ActID=3004&ChapterID=57
    Doesn't seem to 'prevent the collection'.

    The subject must be notified and agree.

    So in this context, these are your 'friends'.
    "Hey, Fred, sign this and my my door will automaticaly see and know you, and open upon seeing your face."

    Anyone "Not Fred" is not recognized or saved. As such, presumably not afoul of the regulation.
    Reply
  • dimar
    Is it possible for voice to sound like ED-209 from Robocop?
    Reply
  • Andi7032
    can you share a short video ?
    Reply