Skip to content

sweetbix/facerecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Recognition

Simple face recognition program written in python, using the face_recognition library (https://github.com/ageitgey/face_recognition). Able to read faces from webcam and compare them to all faces in the images folder and identify any matches, and track attendance.

alt text

Installation

1. Clone the repository:

git clone https://github.com/sweetbix/facerecognition.git
cd facerecognition

2. Install project dependencies:

pip install -r requirements.txt

⚠️ Windows Setup Note

If you're on Windows, you may need to install:

👉 Visual Studio

Make sure to check:

  • ✅ "Desktop development with C++"

This is required for installing dlib, which powers face detection.

3. Add known faces:

  • Upload images of people you want to recognise into the images/ folder.
  • Use clear front-facing images.
  • File names (e.g. john.png) will be displayed

Also make sure your webcam is turned on!

Usage

python attendance.py

About

Face recognition program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages