Age and Gender Estimation from Face
Editor's Note: This file was selected as MATLAB Central Pick of the Week
It is a sample to estimate age, gender and attractiveness from face.
It provide an example of transfer learning of deep learning.
It is CNN-based algorithm. The pre-trained networks are included.
I applied the transfer learning based on the vgg-face with the UTKFace dataset for age and gender with the SCUT-FBP dataset for attractiveness.
Please run demo_test
It also the sample of training code in demo_train.m
vgg-face
https://github.com/rcmalli/keras-vggface
UTKFace
https://susanqq.github.io/UTKFace/
SCUT-FBP
http://www.hcii-lab.net/data/SCUT-FBP/EN/introduce.html
Cite As
Masayuki Tanaka (2026). Age and Gender Estimation from Face (https://ch.mathworks.com/matlabcentral/fileexchange/72577-age-and-gender-estimation-from-face), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Semantic Segmentation >
Tags
Acknowledgements
Inspired: Facial-classification-using-CNN-and-MATLAB-according-to-gend
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
