πŸ”¬
EIM Academy
  • πŸ‘Welcome to EIM Learning Center
  • Electronics Engineering
    • Electronics Enegineering
    • πŸ‘01-Basic Electricity
      • Before Your First Circuit
      • Measure electricity
      • Electromagnetic Induction
    • πŸ‘02-Electrical Circuits
      • Ohm's Law
      • Series and Parallel Circuits
      • Voltage and Current Divider
      • Watt’s Law
      • Kirchhoff's laws
    • πŸ‘03-Analog Circuits and Semiconductors
    • πŸ‘04-Digital Circuits and FPGA
      • Chapter 3 Code
      • Chapter 4 Code
      • Chapter 5 Code
      • Chapter 6 Code
      • Design for Simulations
    • ✍️05-Engineering Signals and Analog Filters
  • Skill Development
    • πŸ‘01-Breadboarding Skills
      • Tools & Accessories
      • Breadboard Projects
    • πŸ‘‰02-Electronics Soldering
      • Practice Projects
    • ✍️03-Perfboard Prototyping
  • Project-based Learning
    • πŸ‘Green Electrical Energy
    • πŸ‘Smart Traffic Light
      • Board Design
      • STEPico & Micropython
      • STEPFPGA & Verilog
      • Demos
    • ✍️Electronic Pinao with FPGA
    • ✍️Semiconductor Cooler
      • What You'll Learn
      • Technical Docs
      • Project Demo
    • πŸ‘Smart Greenhouse
      • Irrigation System
      • Lighting System
      • Temperature Control System
      • Humidity Control System
    • πŸ‘AI with Hardware
      • Finger Detection
      • LCD control by Hand Gesture
      • Robotic Hand
      • Facial Recognition Security System
      • Common Questions
      • Video Tutorial
  • ✍️Bio-medical Applications
    • Blood Oximeter
    • Electrocardiogram
    • Electromyography
  • Educational Development
    • πŸ‘‰Educational Development
    • Educators' Repository
    • Basic Electronics Lesson Plan
      • Electronics Components
      • Ohm's Law
      • Series & Parallel Circuit
      • Watt's Law
      • Kirchhoff's Law
Powered by GitBook
On this page
  • Project Overview
  • Hardware
  • Tutorial
  • The Learning Part
  • Setting Up Your Environment
  • Hardware Setup
  • Video Walkthrough

Was this helpful?

  1. Project-based Learning
  2. AI with Hardware

Facial Recognition Security System

PreviousRobotic HandNextCommon Questions

Last updated 1 month ago

Was this helpful?

Project Overview

This project focuses on developing a face recognition program capable of identifying human faces in images and determining if faces in different images are the same person. It involves comparing facial features and storing patterns in a database, teaching data management through adding or deleting entries. The system will be upgraded to perform real-time recognition and integrate with hardware for practical use.

Hardware

The following components will be prepared in the kit for this project:

  • Breadboard

  • STEPico development board

  • Multiple jumper wires

  • A SG90 servo

  • A Buzzer

  • ST7789 display

  • A USB cable

Tutorial

In the previous chapters, we gradually became more familiar with the process of information transmission between software and hardware via serial communication, as well as how to utilize microcontrollers to precisely control various types of hardware. These chapters laid the foundation for understanding how hardware and software can work together seamlessly to perform complex tasks.

The Learning Part

Setting Up Your Environment

Setting Up Your Development Environment

To start programming on the Cursor IDE for your Raspberry RP2040 microcontroller project, ensure you have Python version 3.9 or 3.10 installed. You'll need to set up your virtual environment with the following command:

pip3 install opencv-python mediapipe pyserial insightface

The Employee Management System is an essential component for maintaining and updating our facial recognition database. Its key functionalities include:

  1. Displaying a comprehensive list of all registered employees

  2. Facilitating the deletion of employee records when necessary

  3. Enabling the editing of employee names while preserving their associated facial data

  4. Ensuring persistent storage and efficient retrieval of the employee database

This program directly supports our main facial recognition program (face_detect.py) by ensuring that it always has access to the most current and accurate employee information. The Employee Management System allows for ongoing updates to the database, which is critical for maintaining the effectiveness of our facial recognition capabilities over time.

Hardware Setup

The hardware component is built around a microcontroller that interfaces with several peripherals, including a display screen, LEDs, a servo motor, and a buzzer. This setup allows the system to provide visual feedback, control access, and alert users or administrators when necessary. The microcontroller communicates with the main facial recognition software, receiving status updates and personnel information, which it then translates into physical actions and visual displays.

After you complete the project, it looks like the following:

  1. When the program detects you, the buzzer remains silent, and your name is displayed on the

  1. When the program detect any non-register person, the LED lights will turn to red while the buzzer sounds the alarm, and the warning text will be displayed on the ST7789 display.

Video Walkthrough

πŸ‘
Cover

The Artificial Intelligence Learning (AI) + Machine Learning Kit

Cover

Instruction and resources

Breadboard, STEPico, ST7789 display, Buzzer Servos and accessories, jumper wires, USB cable

Available Now
GitHub
Discord