Skip to content

This is a repository created to showcase my project Automated attendance system using CNN.

Notifications You must be signed in to change notification settings

Promo-13/Automated-Attendance-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attendance-with-Face-Recognition

Libraries used:

CMake:

CMake is cross-platform free and open-source software for build automation, testing and packaging using a compiler-independent method. CMake is not a build system but rather it's a build-system generator.

Dlib:

Dlib is a general purpose cross-platform software library written in the programming language C++. Its design is heavily influenced by ideas from design by contract and component-based software engineering.

Face-recognition:

Face recognition uses convolutional neural networks (CNNs) to identify faces in an image.Recognize and manipulate faces from Python or from the command line with the world’s simplest face recognition library. Built using dlib’s state-of-the-art face recognition built with deep learning.

NumPy:

NumPy is a Python library used for working with arrays. It also has functions for working in domain of linear algebra, Fourier transform, and matrices.

OpenCV:

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. It was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products.

Process of face-recognition :

Step 1: Finding all the Faces
We’re going to use a method called Histogram of Oriented Gradients — or just HOG for short. To find faces in an image, we’ll start by making our image black and white. Then we’ll look at every single pixel in our image one at a time.

Step 2: Posing and Projecting Faces
We are going to use an algorithm called face landmark estimation. The basic idea is we will come up with 68 specific points (called landmarks) that exist on every face — the top of the chin, the outside edge of each eye, the inner edge of each eyebrow, etc. Then we will train a machine learning algorithm to be able to find these 68 specific points on any face.

Step 3: Encoding Faces
This process of training a convolutional neural network to output face embedding requires a lot of data and computer power. So we run our face images through their pre-trained network to get the 128 measurements for each face

Step 4: Finding the person’s name from the encoding
Now we have to do is find the person in our database of known people who has the closest measurements to our test image. We can do that by using any basic machine learning classification algorithm. We’ll use a simple linear SVM classifier. All we need to do is train a classifier that can take in the measurements from a new test image and tells which known person is the closest match. Running this classifier takes milliseconds. The result of the classifier is the name of the person!

CONCEPT OF FACE RECOGNITION

Pictures have a hierarchy or conceptual structure. our neural network can’t do this. It thinks that an “8” in a different part of the image is an entirely different thing. It doesn’t understand that moving an object around in the picture doesn’t make it something different. This means it has to re-learn the identify of each object in every possible position. We need to give our neural network understanding of translation invariance — an “8” is an “8” no matter where in the picture it shows up.


We’ll do this using a process called Convolution. The idea of convolution is inspired partly by computer science and partly by biology.
Instead of feeding entire images into our neural network as one grid of numbers, we’re going to do something a lot smarter that takes advantage of the idea that an object is the same no matter where it appears in a picture.
The solution is to train a Deep Convolutional Neural Network.

About

This is a repository created to showcase my project Automated attendance system using CNN.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published