Lp5 DL Miniproject
Lp5 DL Miniproject
A PROJECT REPORT ON
Gender and Age Detection using Deep Learning
SUBMITTED BY
2 Learning Objectives
• Learn the basics of image preprocessing and dataset preparation.
• Understand how to use Convolutional Neural Networks (CNNs) for image classifi-
cation tasks.
3 Learning Outcomes
• Successfully build and train a CNN-based model for gender and age classification.
• Analyze and interpret the classification performance using metrics like accuracy
and loss.
4 Introduction
Gender and age detection has a wide range of applications in security, retail, and user ex-
perience personalization. With the rise of deep learning, Convolutional Neural Networks
have become the state-of-the-art technique for visual recognition tasks.
5 Objective
To design a deep learning model that takes facial images as input and predicts the cor-
responding gender and age group.
6 Dataset Description
The UTKFace dataset is used, which contains over 20,000 facial images with labels for
age, gender, and ethnicity.
1
7 Methodology
7.1 Preprocessing
• Read images and extract labels from filenames.
• Output Layers: One for gender (binary classification), one for age (regression or
multi-class classification)
7.3 Training
• Optimizer: Adam
• Loss: Binary Crossentropy for gender, Categorical Crossentropy for age group
8 Experimental Setup
• Language: Python 3.9
• Framework: TensorFlow/Keras
9 Results
The trained model achieved:
2
10 Conclusion
The deep learning model effectively classifies gender and predicts age groups with good
accuracy. Transfer learning and image preprocessing played a crucial role in achieving
high performance.
11 Future Work
• Improve age prediction with regression techniques or finer age groups.
12 References
References
[1] Zhang, Zhifei, et al. ”Age Progression/Regression by Conditional Adversarial Autoen-
coder.” IEEE CVPR 2017. (UTKFace Dataset)
[2] Chollet, Francois. Deep Learning with Python. Manning Publications, 2018.