Age estimation from facial images can be applied in various fields, but most existing systems require a server and an internet connection. This study aims to implement the Convolutional Neural Network (CNN) MobileNetV2 algorithm and MediaPipe Face Mesh for age estimation in an Android mobile application that runs offline. The MobileNetV2 model was trained using transfer learning on the UTKFace dataset of 13,081 facial photos through three training stages, and then converted to the TensorFlow Lite format with a size of 4.9 MB. MediaPipe Face Mesh is used to detect faces and crop the facial area before the image is processed by the model. The application, named AgeDetect, was built using the Flutter framework and the Dart programming language, with an SQLite database to store the testing history. Black box testing on seven application pages achieved a 100% success rate across 38 scenarios. Age estimation testing using 20 facial photos from Lingkungan II Harjosari I, Medan City, produced a Mean Absolute Error (MAE) of 3.50 years and an accuracy of 75% at a tolerance of ±5 years. Without MediaPipe Face Mesh, the MAE increased to 4.19 years, indicating that the use of MediaPipe Face Mesh improved accuracy by 16.5%. Predictions that exceeded the tolerance were influenced by differences between Southeast Asian facial characteristics and the training dataset, which is dominated by Caucasian faces, as well as by photo lighting conditions.
Copyrights © 2026