- Home
- Archives
- 2024
- Vol. 5 Issue 5
- Article
Age and Gender Detection Using Deep Learning in Open CV
Authors
1Assistant Professor, Department of Computer Science and Engineering, K.L.N. College of Engineering, Sivagangai, Tamil Nadu, India. 234Final Year Students, Department of Computer Science and Engineering, K.L.N. College of Engineering, Sivagangai, Tamil Nadu, India.
Article Information
- DOI
- No DOI
- Published In
- Volume 5, Issue 5 (2024)
- Published Online
- September-October 2024
- Pages
- 49-51
- Article Type
- Research Article
- Check for updates
- No DOI available for cross-reference
Abstract
View PDFAbstract: A lightweight CNN is designed for real-time detection of facial emotions, age, and gender. It integrates MTCNN for efficient face detection, passing coordinates to a custom emotion classifier and pre-trained Caffe models for age and gender prediction. MTCNN’s cascade detection optimizes memory and processing efficiency. The emotion model uses Global Average Pooling and depth-wise separable convolutions to improve interpretability and portability. Pre-trained Caffe models handle age and gender prediction with preprocessing like mean subtraction and blob formation. Real-time detection is achieved via OpenCV and Dlib, with results displayed when confidence exceeds 50%. Tested on the FER-2013 dataset, the emotion model achieves 67% accuracy using 0.496GB of memory, with a compact size of 872.9 kilobytes for deployment across both static and dynamic inputs.
Related Articles
Share Article
*Instagram doesn't support direct link sharing from web. Copy the link and share it in your Instagram story or post.