Giter Site home page Giter Site logo

facial-recognition's Introduction

Fisherfaces facial recognition

A simple implementation of Fisherfaces for realtime facial recognition.

Installation

Clone the repository with git clone https://github.com/pavlin-policar/facial-recognition.git and install the requirements listed below. The recommended installation method is conda.

Requirements

  • opencv (for webcam interaction and face detection)
  • pyqt (gui)
  • numpy (PCA, LDA)
  • scikit-learn (model cross-validation)
  • fire - pip only (convenient diagnostics)

Usage

When you first start the program, the face detector should find and mark your face in the display area. In order for the fisherfaces to recognize anybody, it has to be trained first.

Training is made very easy. Firstly, add your name to the input box above the button Add label. After adding, your name should appear in the list above. Next, the classifier requires some training data. To add images, selet the desired name from the list (so it's highlighted in blue) and press the Take picture button or simply press Space. Make sure the face detector only detects the single face corresponding to the selected label. Lastly, we must train the model. We do this by pressing the Train button. The model will be reloaded automatically.

Known bugs

  • When a new label is added and does is not alphabetically last i.e. appears in the middle of the labels, the display will use the label list instead of the labels that the model was trained with, so the label on the display area will be wrong. Retrain the model to fix this with the new training data.

facial-recognition's People

Contributors

pavlin-policar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

facial-recognition's Issues

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.