All Projects → erogol → Beauty.torch

erogol / Beauty.torch

Licence: other
Understanding facial beauty with deep learning.

Projects that are alternatives of or similar to Beauty.torch

Mtcnn
MTCNN face detection implementation for TensorFlow, as a PIP package.
Stars: ✭ 1,689 (+1776.67%)
Mutual labels:  jupyter-notebook, face
eccv16 attr2img
Torch Implemention of ECCV'16 paper: Attribute2Image
Stars: ✭ 93 (+3.33%)
Mutual labels:  torch, face
Mdm
A TensorFlow implementation of the Mnemonic Descent Method.
Stars: ✭ 120 (+33.33%)
Mutual labels:  jupyter-notebook, face
Deep Dream In Pytorch
Pytorch implementation of the DeepDream computer vision algorithm
Stars: ✭ 90 (+0%)
Mutual labels:  jupyter-notebook, torch
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+270%)
Mutual labels:  face, torch
Faceaging By Cyclegan
Stars: ✭ 105 (+16.67%)
Mutual labels:  jupyter-notebook, face
Orn
Oriented Response Networks, in CVPR 2017
Stars: ✭ 207 (+130%)
Mutual labels:  jupyter-notebook, torch
Pytorch Learners Tutorial
PyTorch tutorial for learners
Stars: ✭ 97 (+7.78%)
Mutual labels:  jupyter-notebook, torch
Autocrop
😌 Automatically detects and crops faces from batches of pictures.
Stars: ✭ 320 (+255.56%)
Mutual labels:  jupyter-notebook, face
Adaptiveattention
Implementation of "Knowing When to Look: Adaptive Attention via A Visual Sentinel for Image Captioning"
Stars: ✭ 303 (+236.67%)
Mutual labels:  jupyter-notebook, torch
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (+115.56%)
Mutual labels:  face, torch
Keras Openface
Keras-OpenFace is a project converting OpenFace from Torch implementation to a Keras version
Stars: ✭ 538 (+497.78%)
Mutual labels:  jupyter-notebook, torch
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (+126.67%)
Mutual labels:  jupyter-notebook, face
Face Generator
Generate human faces with neural networks
Stars: ✭ 266 (+195.56%)
Mutual labels:  face, torch
Fsgan
FSGAN - Official PyTorch Implementation
Stars: ✭ 420 (+366.67%)
Mutual labels:  jupyter-notebook, face
Facealignmentcompare
Empirical Study of Recent Face Alignment Methods
Stars: ✭ 15 (-83.33%)
Mutual labels:  jupyter-notebook, face
Theconsciousnessprior
AI-ON Consciousness Prior
Stars: ✭ 90 (+0%)
Mutual labels:  jupyter-notebook
Stnn
Code for the paper "Spatio-Temporal Neural Networks for Space-Time Series Modeling and Relations Discovery"
Stars: ✭ 90 (+0%)
Mutual labels:  jupyter-notebook
Adaptivemaskedproxies
Adaptive Masked Proxies for Few Shot Semantic Segmentation
Stars: ✭ 90 (+0%)
Mutual labels:  jupyter-notebook
Deep learning
비전공생도 한눈에 이해하는 딥러닝 자료모음
Stars: ✭ 90 (+0%)
Mutual labels:  jupyter-notebook

beauty.torch

This project serves a deep learning model scoring selfie images between 1 to 10 based on image and face attributes. You can learn the technical details of this project from this blog post. Use [resnet.torch] (https://github.com/erogol/resnet.torch), if you plan to follow all the training pipeline described on the post.

Given image is processed as follows;

  1. Detect face.
  2. Find landmarks
  3. Rotate image to align face.
  4. Fill gaps with constant pixel value.
  5. Send into scoring model.

For an example use check notebook ExampleUse.ipynb

Dataset & Converged Final Model

  • Contact me from erengolge at gmail.com

Requirements

Main requirement is Torch computing framework.

Models

dlib face model - place under utils/
beauty model - GPU model (use utils/convert2cpu.lua for setting it for CPU) place under trained/
optimstate - if you like to fine-tune the model.

Python

dlib sudo pip install dlib - face and landmark detection)
lutorpy sudo pip install lutorpy - using torch model on python
skimage sudo pip install skimage - image processing
cv2 sudo pip install cv2 - OpenCV python module

What you have here useful

  • Face alignment code in utils/img_processing.py.
  • A template for porting Torch models to python in utils/Classifier.py.
  • The model itself

Examples

Attention of the trained model.
alt text

Sorting A. Lima images from Google Search.
alt tag

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