All Projects → HuyTu7 → face_rating

HuyTu7 / face_rating

Licence: other
Face/Beauty Rating with both the traditional ML approaches and Convolutional Neural Network Approach

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to face rating

MRI intensity normalization
Intensity normalization of multi-channel MRI images using the method proposed by Nyul et al. 2000
Stars: ✭ 49 (-27.94%)
Mutual labels:  landmark
pygrams
Extracts key terminology (n-grams) from any large collection of documents (>1000) and forecasts emergence
Stars: ✭ 52 (-23.53%)
Mutual labels:  scikit-learn
scikit-hyperband
A scikit-learn compatible implementation of hyperband
Stars: ✭ 68 (+0%)
Mutual labels:  scikit-learn
TF-Speech-Recognition-Challenge-Solution
Source code of the model used in Tensorflow Speech Recognition Challenge (https://www.kaggle.com/c/tensorflow-speech-recognition-challenge). The solution ranked in top 5% in private leaderboard.
Stars: ✭ 58 (-14.71%)
Mutual labels:  scikit-learn
MMM-ShipmentTracking
Shipment Tracking Module for MagicMirror²
Stars: ✭ 24 (-64.71%)
Mutual labels:  landmark
hub
Public reusable components for Polyaxon
Stars: ✭ 8 (-88.24%)
Mutual labels:  scikit-learn
lending-club
Applying machine learning to predict loan charge-offs on LendingClub.com
Stars: ✭ 39 (-42.65%)
Mutual labels:  scikit-learn
CreditCard Fraud Detection
利用Logistic回归实现信用卡欺诈检测
Stars: ✭ 31 (-54.41%)
Mutual labels:  scikit-learn
100DaysOfMLCode
I am taking up the #100DaysOfMLCode Challenge 😎
Stars: ✭ 12 (-82.35%)
Mutual labels:  scikit-learn
PredictionAPI
Tutorial on deploying machine learning models to production
Stars: ✭ 56 (-17.65%)
Mutual labels:  scikit-learn
go-ml-benchmarks
⏱ Benchmarks of machine learning inference for Go
Stars: ✭ 27 (-60.29%)
Mutual labels:  scikit-learn
imbalanced-ensemble
Class-imbalanced / Long-tailed ensemble learning in Python. Modular, flexible, and extensible. | 模块化、灵活、易扩展的类别不平衡/长尾机器学习库
Stars: ✭ 199 (+192.65%)
Mutual labels:  scikit-learn
Trajectory-Analysis-and-Classification-in-Python-Pandas-and-Scikit-Learn
Formed trajectories of sets of points.Experimented on finding similarities between trajectories based on DTW (Dynamic Time Warping) and LCSS (Longest Common SubSequence) algorithms.Modeled trajectories as strings based on a Grid representation.Benchmarked KNN, Random Forest, Logistic Regression classification algorithms to classify efficiently t…
Stars: ✭ 41 (-39.71%)
Mutual labels:  scikit-learn
pipeline
PipelineAI Kubeflow Distribution
Stars: ✭ 4,154 (+6008.82%)
Mutual labels:  scikit-learn
scikit-learn-intelex
Intel(R) Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application
Stars: ✭ 887 (+1204.41%)
Mutual labels:  scikit-learn
notebooks
A docker-based starter kit for machine learning via jupyter notebooks. Designed for those who just want a runtime environment and get on with machine learning. Docker tags:
Stars: ✭ 29 (-57.35%)
Mutual labels:  scikit-learn
Movie-Recommendation-Chatbot
Movie Recommendation Chatbot provides information about a movie like plot, genre, revenue, budget, imdb rating, imdb links, etc. The model was trained with Kaggle’s movies metadata dataset. To give a recommendation of similar movies, Cosine Similarity and TFID vectorizer were used. Slack API was used to provide a Front End for the chatbot. IBM W…
Stars: ✭ 33 (-51.47%)
Mutual labels:  scikit-learn
scitime
Training time estimation for scikit-learn algorithms
Stars: ✭ 119 (+75%)
Mutual labels:  scikit-learn
sklearn-matlab
Machine learning in Matlab using scikit-learn syntax
Stars: ✭ 27 (-60.29%)
Mutual labels:  scikit-learn
sktime-tutorial-pydata-amsterdam-2020
Introduction to Machine Learning with Time Series at PyData Festival Amsterdam 2020
Stars: ✭ 115 (+69.12%)
Mutual labels:  scikit-learn

Predicting Attractiveness using Computer Vision

Traditional Machine Learning Approach

Feature Generation

The features computation part of the pipeline requires the location of facial landmars of the input images. These landmarks can be generated by the CLM-framework. I have already included the landmarks localized using this framework in the data directory of this repo, and you can directly work with them.

Example of extracting facial features:

Dimensionality Reduction, ML Models, and Evaluation

python trainModel -model linear_model -featuredim 20

The -featuredim argument specifies the number of components chosen by PCA which are how many dimensions to be reduced.

After PCA, the -model argument is used to indicate the traditional machine learning models including Support Vector Machines (svm), Random Forests (rf), and Gaussian Process Regression (gpr). Checkout the source to change hyperparameters and other options.

Applying Pearson Correlation for result analysis with learner's prediction. For example, figure below shows PC for evaluation of Linear Regression:

Deep Learning Approach:

Details of the implementation can be found in the paper SCUT-FBP: A Benchmark Dataset for Facial Beauty Perception, the result of the creation and research on the dataset.

Model:

Network architecture of our CNN for facial beauty prediction:

Results + Example Usage:

Sample visualized results from the prediction of models for audiences to compare. The blue block represents the human's rating and the green block represents the model's rating

These pictures are celebrities in Vietnamese showbiz community and how their facial beauty were rated by our model.

What's included

face-rating/
├── data/
│   ├── ratings.txt
│   ├── landmarks.txt
│   ├── features_ALL.txt
├── source/
|   ├── machine_learning/    
│       ├── generateFeatures.py
│       ├── trainModel.py
│       ├── cross_validation.py
|   ├── deep_learning/    
│       ├── build_model.py
│       ├── utils.py
│       ├── face_rating.ipynb
|   ├── deeplearning_result.ipynb
|   ├── traditional_result.ipynb

Requirements

  • Python 2.7
  • numpy
  • pandas
  • scikit-learn
  • keras
  • tensorflow

Dataset

The SCUT-FBP dataset has been used. Please cite their research if you happen to use this dataset. The facial landmarks computer on this particular dataset are available in the data/ directory.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].