Skip to content

A program utilising Python's OpenCV and facial-recognition libraries alongside a SQL database to create a simple security system, all on a Raspberry PI. By Hudson K, Arjun W, Rawsab S, and Daniel M

Notifications You must be signed in to change notification settings

rawsab/facial-recognition-opencv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

🖥️ Facial Recognition Security System

SE101 Project Banner

rpos_version python

👥 SE101 - Hudson K, Arjun W, Daniel M, and Rawsab S

⚙️ Requirements

See InitialiseDB for instructions on how to set up database.

Install required libraries:

sudo apt-get install build-essential \
    cmake \
    gfortran \
    graphicsmagick \
    libgraphicsmagick1-dev \
    libatlas-base-dev \
    liblapack-dev \
    libatlas3-base \
    libavcodec-dev \
    libavformat-dev \
    libboost-all-dev \
    libgtk2.0-dev \
    libjpeg-dev \
    liblapack-dev \
    libswscale-dev \
    pkg-config \
    python3-dev \
    python3-numpy

sudo apt-get clean

sudo apt-get install libopenblas-dev

Install the dlib Python library:

sudo pip3 install dlib

Install the Python face recognition library (https://github.com/ageitgey/face_recognition):

sudo pip3 install --no-cache-dir face_recognition

Install the imutils Python library:

pip install imutils

Create a "dataset" folder before running any of the Python files.

📸 Capturing user images

Open the UserManager.py file and change the variable "name" to the name of the user. Create a folder under "datasets" with the same name. Run the UserManager.py file and press space to take a photo. Take about 10 photos of each user.

About

A program utilising Python's OpenCV and facial-recognition libraries alongside a SQL database to create a simple security system, all on a Raspberry PI. By Hudson K, Arjun W, Rawsab S, and Daniel M

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%