Giter Site home page Giter Site logo

yeyunlu / face2fate Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 200.66 MB

Face reading to predict personality

Python 45.98% Shell 0.14% CSS 0.11% JavaScript 0.59% Roff 12.48% M4 0.01% CMake 19.64% C 1.32% Cuda 0.01% C++ 0.69% Fortran 0.06% Batchfile 0.01% Emacs Lisp 0.09% Vim Script 0.66% Jupyter Notebook 18.24%
machine-vision

face2fate's Introduction

Face to Fate

Motivation

In the process of people’s interaction, they often subconsciously judge a person's personality through their appearance. For example: In an interview, you usually judge the interviewer's preferences by observing the interviewer's appearance. On the contrary, HR also judges the candidate’s personality characteristics by observing the candidate’s facial expressions. So in this project, we want to judge the possible personality of people by analyzing the predictions of their facial features.

Data

Data Directory Structure

data
├── eye
│   ├── test
│   │   ├── big
│   │   ├── silt
│   │   └── small
│   └── train
│       ├── big
│       ├── silt
│       └── small
├── eyebrow
│   ├── test
│   │   ├── Arch
│   │   ├── Circle
│   │   └── Straight
│   └── train
│       ├── Arch
│       ├── Circle
│       └── Straight
├── jaw
│   ├── test
│   │   ├── circle
│   │   ├── oval
│   │   ├── square
│   │   └── triangle
│   └── train
│       ├── circle
│       ├── oval
│       ├── square
│       └── triangle
├── mouth
│   ├── test
│   │   ├── medium
│   │   ├── small
│   │   └── thick
│   └── train
│       ├── medium
│       ├── small
│       └── thick
└── nose
    ├── test
    │   ├── long
    │   ├── small
    │   └── wide
    └── train
        ├── long
        ├── small
        └── wide

System Requirements

  • dlib
  • sklearn
  • opencv-python
  • numpys
  • pytorch

Test on your image

  • Step 1: Choose one image you like and put it in the folder "demo\images\img"

  • Step 2: Change the input image path in demo jupyter file "demo\CNN_demo" or "demo\SVM_demo"

  • Step 3: Run the cells in demo jupyter file one by one to get your report

  • P.S. Our model are sensitive to the angle to face, please choose an image of frontal face

Example

Demo Demo

face2fate's People

Contributors

yeyunlu avatar earnie08 avatar garywu0512 avatar

Stargazers

Anh Nguyen avatar Yicheng Cai (Ethan N. Tsai) avatar Kevin Saltarelli avatar Dr. Artificial曾小健 avatar  avatar  avatar Gldstrrbt 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.