Raspberry Pi enthusiasts interested in creating their very own face recognition system using a Raspberry Pi 3 combined with the Raspberry Pi camera module and a Seeed Grove Relay, Seeed LTE Cat 1 Pi HAT (Europe) and finished with a 5 inch HDMI display complete with USB touchscreen. May be interested in the Raspberry Pi facial recognition system and smart lock with LTE Pi HAT created by the team at Seeed and published to the Hackster.io website.
Project Overview
In this project, the goal is to take pictures with the Raspberry Pi camera module and recognize faces in them. The recognition results are then displayed on the screen. If the system identifies known faces, it will open the door and send a notification via SMS to a specified phone number, indicating who opened the door.
To achieve this, you need to connect a camera to the Raspberry Pi’s camera interface. Additionally, you must install an antenna and Grove – Relay to the LTE Pi HAT, and then plug the HAT into your Raspberry Pi. The screen can be connected to the Raspberry Pi via an HDMI cable. Don’t forget to connect power to both your screen and the Raspberry Pi.
Components and Setup
The components required for this project include:
– Raspberry Pi 3: The main processing unit.
– Raspberry Pi Camera Module: Used to capture images for face recognition.
– Seeed Grove Relay: Acts as a switch to control the door lock.
– Seeed LTE Cat 1 Pi HAT: Enables LTE connectivity for sending SMS notifications.
– 5 inch HDMI Display with USB Touchscreen: Displays the recognition results and provides an interface.
To set up the system, follow these steps:
1. Connect the Camera Module: Attach the camera module to the Raspberry Pi’s camera interface.
2. Install the LTE Pi HAT: Place the LTE Pi HAT onto the Raspberry Pi’s GPIO pins.
3. Attach the Antenna and Grove Relay: Connect the antenna to the LTE Pi HAT and the Grove Relay to the appropriate pins.
4. Connect the HDMI Display: Use an HDMI cable to connect the display to the Raspberry Pi. Ensure the display and the Raspberry Pi are powered.
Software and Code
The software side involves setting up the Raspberry Pi with the necessary libraries and code to perform face recognition and send SMS notifications. You will need to install the OpenCV library for face detection and recognition. Additionally, you will need to write or use existing Python scripts to handle the image capture, face recognition, and SMS sending functionalities.
Here is a brief overview of the software setup:
1. Install OpenCV: Use the following commands to install OpenCV on your Raspberry Pi:
“`bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python3-opencv
“`
2. Write the Python Script: Create a Python script to capture images, recognize faces, and control the relay. The script should also handle sending SMS notifications using the LTE Pi HAT.
3. Run the Script: Execute the script to start the face recognition system. The system will continuously monitor for faces, unlock the door for recognized individuals, and send SMS notifications.
For more details, code, and full instructions on how to create your very own face recognition system, jump over to the official Hackster.io website and project page by following the link below.
Source: Hackster.io
Latest Geeky Gadgets Deals
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.