Age and Gender Estimation from Face

It is a sample to estimate age and gender from face.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/72577-age-and-gender-estimation-from-face), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.2

Just changed the image.

1.1.1

Just changed the image.

1.1.0

Added attractiveness

1.0.1

Changed name

1.0.0