Skip to content

Face recognition project using OpenCV and Python with real time database in Orange Pi 5 Plus

License

Notifications You must be signed in to change notification settings

EricTra/OpenCV-FaceRecognition-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

🌟 Project Overview

The OpenCV-FaceRecognition-Database project is an automated attendance system designed for workplaces and schools. The system utilizes Orange Pi 5 Plus, a Logitech HD C720 Camera, and is powered by OpenCV and Firebase. By implementing real-time face detection and recognition, the project replaces traditional attendance methods with a seamless, secure, and contactless experience.


🛠️ Technologies Used

  • Programming Language: Python

  • Libraries: OpenCV, Firebase Admin SDK, face_recognition, NumPy

  • Hardware:

    • Orange Pi 5 Plus
    • Logitech HD C720 Camera
    • image
  • Database: Firebase Realtime Database, Firebase Storage

  • Development Environment: PyCharm IDE


✨ Key Features

  • Real-time face detection and recognition.
  • Automated attendance tracking and logging in Firebase.
  • Secure image storage and data management via Firebase.
  • User-friendly interface displaying employee/student information.

📥 Installation and Usage

1. Environment Setup

Clone the repository:

git clone https://github.com/EricTra/OpenCV-FaceRecognition-Database.git
cd OpenCV-FaceRecognition-Database

Install required dependencies:

pip install opencv-python firebase-admin face-recognition numpy

2. Firebase Configuration

  • Create a Firebase project on Firebase Console.
  • Download the serviceAccountKey.json file and place it in the root directory of the project.
  • Update the database URL and storage bucket in the source code (Main.py, AddDataToDatabase.py, etc.) to match your Firebase configuration.

3. Running the Application

  1. Encode facial data and save it to a file:
python EncodeGenerator.py
  1. Add user data to Firebase:
python AddDataToDatabase.py
  1. Start the facial recognition system:
python Main.py

📸 Demo and Screenshots

1. User interface during facial recognition:

image image image image image image

2. Real-time data stored in Firebase:

image image


📧 Contact Information

About

Face recognition project using OpenCV and Python with real time database in Orange Pi 5 Plus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages