Code Monkey home page Code Monkey logo

face_recognition's Introduction

Face_recognition

How to run the program

python eigenfaces.py

Dataset

  1. The dataset used here is the AT&T dataset of 400 images featuring 10 people. Each image is of size 92 * 112 pixels.
  2. The images are organised in 40 directories (one for each subject), which have names of the form sX, where X indicates the subject number (between 1 and 40). In each of these directories, there are ten different images of that subject,which have names of the form Y.pgm, where Y is the image number for that subject (between 1 and 10).

Implementation

Each image is converted to a feature vector i.e, flattened to size 1*10304. But using Neural networks or SVM on a data with a feature vector of that size will increase the computational a lot. So, dimension reduction techniques like PCA were used to reduce the dimensions or bring latent factors from large data.

We can also call them Eigen faces as a mean profile for all the images is constructed first and then we take the top k faces that can identify the uniqueness of all images.

Each image can be represented as a combination of these eigen faces with some error, but that is very minimal that we cannot observe much differene between the two.

Classifiers used

After applying PCA, Neural networks classifier is used to classify the images.

face_recognition's People

Contributors

maheshreddykukunooru avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.