Abstract
Automatic age and gender classification has been widely used in a large amount of applications, particularly in human–computer interaction, biometrics, visual surveillance, electronic customer and commercial applications. Predicting age and gender of humans is very difficult and complicated. Since the increase in use of social media, autonomous prediction of age and gender has become extremely important. Nevertheless, performance of the existing methods on real-world images is still significantly lacking, especially when compared to the tremendous leaps in performance recently reported for the related task of face recognition. In this research paper, we have observed an increase in the performance on these tasks by using convolutional neural networks (CNN). We collected a dataset from ‘Google’ and ‘IMFDB.’ This dataset consisted of about 100,000 images of male and female of different age-groups (5–60). We created a CNN network adjoining the fully connected network using ‘Keras’ library. Following that, three convoluted layers were inserted; the first layer consisting of 64 neurons and window of 7 × 7, followed by a ReLU activation layer and a max-pooling layer of 2 × 2. Two more CNN layers of 100 and 64 neurons were inserted, followed by windows of 5 × 5 and 3 × 3, respectively, with activation function as ReLU. An output was received in matrix form which was flattened using a flatten layer. The layer was then fed to fully connected layers with 64 and 1 neurons each. The final output layer consisted of a single neuron with sigmoid activation function.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Setty, S., Husain, M., Beham, P., Gudavalli, J., Kandasamy, M., Vaddi, R., Hemadri, V., Karure, J.C., Raju, R., Rajan, B., Kumar, V., Jawahar, C.V.: Indian movie face database: a benchmark for face recognition under wide variations. In: National Conference on Computer Vision, Pattern Recognition, Image Processing and Graphics (NCVPRIPG) (2013)
Medical daily picture. https://www.medicaldaily.com/how-sell-anything-anyone-hair-color-body-type-and-race-decide-consumer-behavior-327050
Emami, S., Suciu, V.: Facial recognition using OpenCV. J. Mob. Embed. Distrib. Syst
Fu, Y., Guo, G., Huang, T.S., Fu, Y., Guo, G., Huang, T.S.: IEEE Conference (2010)
Han, H., Otto, C., Liu, X., Jain, A.K.: Demographic estimation from face images: human vs. machine performance (2015)
Toshev, A., Szegedy, C.: Deeppose: human pose estimation via deep neural networks. In: IEEE Conference (2014)
Luo, P., Wang, X., Tang, X.: Hierarchical face parsing via deep learning. In: IEEE Conference Computer Vision
Sun, Y., Wang, X., Tang, X.: Deep convolutional network cascade for facial point detection. In: The Process Conference Computer Vision Pattern Recognition, pp. 3476–3483 (2015)
Graves, A., Mohammed, A.R., Hinton, G.: Speech recognition with deep recurrent neural networks. In: IEEE Conference on Acoutic, Speech and Signal Processing (ICASSP) (2013)
Karpathy, A., Toderici, G., Shetty, S., Leung, T., Sukthankar, R., Fei-Fei, L.: Large-scale video classification with convolutional neural netwoks. In: IEEE, pp. 1725–1732 (2014)
Golomb, B.A., Lawrence, D.T., Sejnowski, T.J.: Sexnet: a neural network identifies sex from human faces. In: Neural Information Processing Systems (1990)
O’toole, A.J., Vetter, T., Troje, N.F., Bulthoff, H.H. et al.: Sex classification is better with three-dimensional head structure than with image intensity information (1997)
Soo, s.: Object detection using haar-cascade classifier (2014)
Chao, S.E., Lee, Y.J., Lee, S.j., Park, K.R., Kim, J.: Age estimation using a hierarchial classifier based on global and local features, pattern recognition (2011)
Eidinger, E., Enbar, R., Hassner, T.: Age and gender estimation of unfiltered faces (2014)
Sun, Y., Wang, X., Tang, X.: Deep convolutional network cascade for facial point detection. In: The Process Conference Computer Vision Pattern Recognition, pp. 3476–3483 (2013)
Towardsdatascience.com: https://towardsdatascience.com/a-comprehensive-guide-to-convolutional-neural-networks-the-eli5-way-3bd2b1164a53
Thakur, S., Verma, L.: Age identification of facial images using neural network
Researchgate.net: https://www.researchgate.net/figure/Illustration-of-Convolutional-Neural-Network-CNN-Architecture_fig3_322477802
Wikipedia.org: https://upload.wikimedia.org/wikipedia/commons/3/33/Beyoglu_4671_tricolor.png
Medium.com: https://medium.com/@danqing/a-practical-guide-to-relu-b83ca804f1f7
computersciencewiki.org: https://computersciencewiki.org/index.php/File:MaxpoolSample2.png
Towardsdatascience.com: https://towardsdatascience.com/activation-functions-neural-networks-1cbd9f8d91d6
Towardsdatascience.com: https://towardsdatascience.com/adam-latest-trends-in-deep-learning-optimization-6be9a291375c
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jain, K., Chawla, M., Gadhwal, A., Jain, R., Nagrath, P. (2020). Age and Gender Prediction Using Convolutional Neural Network. In: Singh, P., Pawłowski, W., Tanwar, S., Kumar, N., Rodrigues, J., Obaidat, M. (eds) Proceedings of First International Conference on Computing, Communications, and Cyber-Security (IC4S 2019). Lecture Notes in Networks and Systems, vol 121. Springer, Singapore. https://doi.org/10.1007/978-981-15-3369-3_19
Download citation
DOI: https://doi.org/10.1007/978-981-15-3369-3_19
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-3368-6
Online ISBN: 978-981-15-3369-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)