Giter Club home page Giter Club logo

upendrasingh18 / facial-recognition-with-opencv-lbph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jainpankul/facial-recognition-with-opencv-lbph

0.0 1.0 0.0 85.74 MB

Jupyter Notebook 0.06% CMake 2.34% C++ 81.23% Cuda 4.73% Shell 0.04% HTML 0.62% CSS 0.01% JavaScript 0.33% TeX 0.10% Python 2.94% C 4.00% Java 2.88% Perl 0.04% Batchfile 0.01% Objective-C 0.02% Objective-C++ 0.59% Prolog 0.01% PowerShell 0.04% Makefile 0.01% Clojure 0.01%

facial-recognition-with-opencv-lbph's Introduction

Facial-Recognition-with-OpenCV-LBPH

When we talk about face recognition, we basically need to do two things:

Face Detection - finding a face in an image Face Recognition - determining who the person is There are many techniques for face recognition like Eigen Faces, Fisher Faces, Local Binary Patterns Histograms (LBPH), neural network.

For our purpose, we are going to use Haar Classifier for face detection and LBPH for face recognition.

For more details on how Haar Classifier and LBPH works, please see https://docs.opencv.org/2.4/modules/objdetect/doc/cascade_classification.html https://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.html#local-binary-patterns-histograms

We are going to divide the entire process in 4 parts:

  • Data Preparation - Storing the images of each person in separate folder and label them
  • Face Detection - Running Haar Classifier on each image and detect face.
  • Training LBPH Face recognizer - Training the recognizer on stored data
  • Prediction - check if the face recognizer predicts correctly on test images

For data preparation, I have stored the images of Tom Cruise and Hilliary Clinton in different folders and label them 1 and 2 respectively.

facial-recognition-with-opencv-lbph's People

Contributors

jainpankul avatar

Watchers

James Cloos 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.