Git Product home page Git Product logo

face_recognition's Introduction

Face_Recognition

Facial Recognition using Bayesian Classifier, KNN, Kernel SVM, Boosted SVM, PCA, and MDA

How to run the code

To run the code keep your data in ./Data/ folder and use the following command:

pyhon <filename>.py --task_id <task_id> --transform <transform_name> --data_name <data_name>

Given the filename and the other input arguments the default parameters will load and the you can obtain the results as mentioned in the report. filename can take bayes, knn, kernel_svm, boosted_svm as its values. task_id can take 1 or 2 based on the task you want to do. Task_id 1 is identifying the label and task_id 2 is neutral vs expression classification. transform_name can take PCA or MDA. data_name can take data, pose, illum for task1 and just data for task2. Some of the example commands to run the code are:

python knn.py --transform PCA --task_id 1 --data_name data
python kernel_svm.py --kernel rbf --transform MDA
python boosted_svm.py --transform MDA
Note: If you want to plot the plots then uncomment the plotting code in each .py file 
create the folder path in your system

face_recognition's People

Contributors

arjung27 avatar

Stargazers

Akanksha Patel avatar

Watchers

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