Giter VIP home page Giter VIP logo

facesimile's Introduction

Manyu Sharma - msharm27 Gary Qian - gqian1

Facesimile

Below is a brief description of the various scripts used in this project.

preprocess.py: Function to load all training/test data from a csv file into 5 pickle output files.

load.py: A function written to load in training/test data from 5 pickle output files. This function was written to take in to different parameters

imgProcessing.py: Function which makes use of haar-features to pull the area around a face in an image into a usable matrix. Used in live application.

SVM.py: Function to compute eigenfaces of data and fit an SVM to the projected data matrix. This function saves out an SVM model and PCA components.

adaboost.py: Function to implement adaboost algorithms.

deep.py: Function to implement deep CNNs, saves out trained model as well.

deeppca.py: Function to implement PCA neural network, saves out trained model.

facesimile.py: This is the real time application of our SVM. This script takes in webcam feed of a given size (size of webcam specified in imgProcessing.py) and looks for faces in live feed using imgProcessing.py. From here, it processes image to usable format and outputs the prediction from the trained model after projecting onto the eigenspaces, also found and saved previously. Two windows are opened after starting this script, one which displays the webcam feed (larger), and one which displays the detected face image (smaller window). The predicted sentiment is output on the top left of the larger window.

facesimile's People

Contributors

airikura avatar garyqian avatar hhalim1 avatar ms3001 avatar nhaleft avatar

Watchers

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