Understanding facial beauty with deep learning.
OTHER License
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;
For an example use check notebook ExampleUse.ipynb
Main requirement is Torch computing framework.
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.
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
utils/img_processing.py
.utils/Classifier.py
.Attention of the trained model.
Sorting A. Lima images from Google Search.