Predicting Movie Production Years through Facial Recognition of Actors with Machine Learning


  • Asraa Muayed Abdalah Department of Computer Science, College of Science for Women, University of Baghdad, Baghdad, Iraq.
  • Noor Redha Alkazaz Department of Computer Science, College of Science for Women, University of Baghdad, Baghdad, Iraq.



Artificial Intelligence, Machine Learning Algorithms, Face Recognition, Age Prediction, Naive Bayes (NB), Decision Tree (DT), Support Vector Machine (SVM), and Artificial Neural Network (ANN)


This study used machine learning algorithms to identify actors and extract the age of actors from images taken randomly from movies. The use of images taken from Arab movies includes challenges such as non-uniform lighting, different and multiple poses for the actors and multiple elements with the actor or a group of actors. Additionally, the use of make-up, wigs, beards, and wearing different accessories and costumes made it difficult for the system to identify the personality of the same actor. The Arab Actors Dataset-AAD comprises 574 images sourced from various movies, encompassing both black and white as well as color compositions. The images depict complete scenes or fragments thereof. Multiple models were employed for feature extraction, and diverse machine learning algorithms were utilized during the classification and prediction stages to determine the most effective algorithm for handling such image types. The study demonstrated the effectiveness of the Logistic Regression model exhibited the best performance compared to other models in the training phase, as evidenced by its AUC, precision, CA and F1score values of 99%, 86%, 85.5% and 84.2% respectively. The findings of this study can be used to improve the precision and reliability of facial recognition technology for various uses as with movies search services, movie suggestion algorithms, and genre classification of movies.


Cihang X, Mingxing T, Boqing G, Jiang W, Alan Y, Quoc V. L. Adversarial Examples Improve Image Recognition. Proc. IEEE Comput Soc Conf Comput Vis Pattern Recognit. 2020: 819-828.

Ahmed M E, Mahmoud Y S, Nora E, Abdelghafar M E, Samaa M S, Zahraa T. Bayesian Optimization with Support Vector Machine Model for Parkinson Disease Classification. Sensors (MDPI). 2023; 23(4): 2085-2106.

Farah A A, Nada A Z A. A Survey on Arabic Text Classification Using Deep and Machine Learning Algorithms. Iraqi J Sci. 2022; 63(1): 409-419.

Rahul N, Anil D. Face Recognition Using SVM Based Machine Learning: A Review. Webology. 2021; 18(6): 2375- 2384.

Xinyi W, Jianteng P, Sufang Z, Bihui C, Yi W, Yandong G. A Survey of Face Recognition. arXiv preprint arXiv:2212.13038. 1-59.

Tiago F P, Dominic S, Yu L, Xinyi Z, S´ebastien M, Manuel G. Eight Years of Face Recognition Research: Reproducibility, Achievements and Open Issues. arXiv preprint arXiv:2202;04040: 1-15.

Kai G, Shuai W, Yong X. Face recognition using both visible light image and near-infrared image and a deep network. Trans Intell Technol. 2017; 2 (1): 39-47.

Fahima T, Imdadul Islam M, Risala T, Amin M. Human Face Recognition with Combination of DWT and Machine Learning. J. King Saud Univ. 2022; 34(3): 546-556.

Omkar M, Andrea V, Andrew Z. Deep Face Recognition. Proc Br Mach Vis Conf. 2015: 1-12.

10. Laith R F, Shaimaa A. A Face Recognition System Based on Principal Component Analysis-Wavelet and Support Vector Machines. Cihan Univ Erbil Sci J. 2019; 3(2): 14-20.

Meenakshi S, Siva Jothi M, Murugan D.Face Recognition using Deep Neural Network Across Variationsin Pose and Illumination. Int J Recent Technol Eng. 2019; 8(1S4): 289-29 . https://

Putta S, Venkatramaphanikumar S, Krishna K. Scale Invariant Face Recognition with Gabor Wavelets and SVM. Int J Recent Technol Eng. 2019; 7(5S4): 100-104.

Ni K, Praba H, Ni P, Komang D, Putu B, I Putu D. Face Identification Based on K-Nearest Neighbor. Sci J Inform. 2019; 6(1): 150-159.

Zhiming X, Junjie L, Hui S. A Face Recognition Method Based on CNN. High Performance Computing and Computational Intelligence Conference. J Phys.: Conf Ser. 2019; 1395(1): 012006.

Muhammad S F, Muhammad A Z, Zahid J, Imran M, Saqib A. A Comparative Analysis Using Different Machine Learning: An Efficient Approach for Measuring Accuracy of Face Recognition. Int J Mach Learn. 2021; 11(2): 115-120.

Yohanssen P, Lit M G, Emma H, Ade E R. Face recognition for presence system by using residual networks-50 architecture. Int J Electr Comput Eng.2021; 11(6): 5488-5496.

Benradi H, Chater A, Lasfar A. Face recognition method combining SVM machine learning and scale invariant feature transform. 10th International Conference on Innovation, Modern Applied Science & Environmental Studies. E3S Web Conf. 2022; 351(01033): 1–5.

Zahraa M N, Mushtaq T M, Shaymaa A S. Face Recognition Method based on Support Vector Machine and Rain Optimization Algorithm (ROA). Webology. 2022; 19(1): 2170–2181.

Ahmed A. N., Nazlia O., Zohaa M. A. Artificial Neural Network and Latent Semantic Analysis for Adverse Drug ReactionDetection. Baghdad Sci J. 2024; 21(1): 226-233.

Safa S A, Alaa k F, Alexander S L. A Comparative Study of Anemia Classification Algorithms for International and Newly CBC Datasets. Int J Biomed Eng. 2023; 19(06): 141–157.

Khaled M, Ahmad T, Mohammed E. Multimodal student attendance management system (MSAMS). Ain Shams Eng J. 2018; 9(4): 2917-2929.

Sravan G, Adrian G B. Ortho-diffusion Decompositions for Face Recognition from Low Quality Images. IEEE Int Conf. Image Process. 2015; 3625 – 3629.

Sarah G E, Ibrahim E E, Taysir H A. Embedding-Based Deep Neural Network and Convolutional Neural Network Graph Classifiers. Electronics. 2023; 12(12): 2715.

Yao-Hung HT, Liang-Kang H, Ruslan S. Learning Robust Visual-Semantic Embeddings. IEEE Int Conf Comput Vis. 2017; 3591-3600.

Ali N. R, Rozaida G. Human Face Recognition Based on Local Ternary Pattern and Singular Value Decomposition. Baghdad Sci J. 2022; 19(5): 1090-1099.

Suwarno S, Kevin K. Analysis of Face Recognition Algorithm: Dlib and OpenCV. J Inf Telecommun Eng. 2020; 4(1): 173-184.

Kevin S, Gede P K. Face Recognition Using Modified OpenFace. Procedia Computer Science. 3rd International Conference on Computer Science and Computational Intelligence. 2018; 135: 510–517.

Florian S, Dmitry K, James P. FaceNet: A Unified Embedding for Face Recognition and Clustering. IEEE Conf. Comput Vis Pattern Recog. 2015: 815-823.

Filiberto P, Jesus O, Gabriel S, Gibran B. Lidia P T, Osvaldo L G. Analysis of Real-Time Face-Verification Methods for Surveillance Applications. MDPI. J Imaging. 2023; 9(2): 21.

Wen Chang C, Hung Chou H, Yung Fa H, Li Hua L. Combining Classifiers for Deep Learning Mask Face Recognition. MDPI. Info. 2023; 14(7):421.

Tadas B, Peter R, Louis-Philippe M. OpenFace 2.0: Facial behavior analysis toolkit. Proceedings of the 2018 13th IEEE International Conference on Automatic Face & Gesture Recognition. 2018; 59-66.

Forrest N I, Song H, Matthew W M, Khalid A, William J D, Kurt K. SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and< 0.5 MB model size. ICLR. arXiv preprint arXiv:1602.07360v4. 2016: 1-13.

Kaiyu Y, Klint Q, Li F, Jia D, Olga R. Towards Fairer Datasets: Filtering and Balancing the Distribution of the People Subtree in the ImageNet Hierarchy. Conference on Fairness, Accountabiility and Transparency (FAT). 2020: 547-558.

Alex K, Ilya S, Geoffrey E H. ImageNet classification with deep convolutional neural networks. Commun ACM. 2017; 60(6): 84–90.

Olga R, Jia D, Hao S, Jonathan K. ImageNet Large Scale Visual Recognition Challenge. Int J Comput Vis Pattern Recognit. 2015; 115(3): 211-252.

Simonyan, K., & Zisserman, A. Very deep convolutional networks for large-scale image recognition. Int J Comput. Vis. Pattern Recognit. 2015.

David H, Douglas Eck. A Neural Representation of Sketch Drawings. Proc Int Conf Learn Represent. 2017: 1–16.

José J A, Casper K S, Søren K S, Henrik N, Ole W. DeepLoc: prediction of protein subcellular localization using deep learning . Bioinformatics. 2017; 33(21): 3387–3395.

Anil K Y, Rajesh K P, Nirmal K G, Punit G, Dinesh K S, Mohammad A . Hybrid Machine Learning Model for Face Recognition Using SVM. Comput Mater Contin. 2022; 72(2): 2697-2712.

Ashraf A. A, Tawfeeq M. T, Marwa A. A. Constructing a Software Tool for Detecting Face Mask-wearing by Machine Learning. Baghdad Sci J. 2022; 19(3): 642-653.

Vinay A, Abhijay G, Aprameya B, Arvind S, Kannamedi B. M, Natarajan S. Unconstrained Face Recognition using Bayesian Classification. 8th Int Conf Adv Comput Commun. 2018; 143: 519-527.

Abita D, Kantesh K. G, Heena G. Naive Bayes Classification Based Facial Expression Recognition With Kernel PCA Features. Int J Eng Dev Res. 2017; 5(3): 326-330.

Kaarthik K, Madhumitha J, Narmatha T, Selva B. S. Face Detection and Recognition Using Naïve Bayes Algorithm. Int J Disast Recov Bus Contin. 2020; 11(1): 11-18.

Mohammad R. H, Soikot S, Moqsadur R. Different Machine Learning based Approaches of Baseline and Deep Learning Models for Bengali News Categorization. Int J Comput Appl· 2020; 176(18): 10-16.

Yu M, HuaJun W, Jun W, ZhenHeng W, Yao Y, Cong H. Design and implementation of face recognition system based on convolutional neural network. J Phys Conf Ser. 2021; 2029(1): 1-6.

Ansam H R, Muthana H H. Robust Detection and Recognition System Based on Facial Extraction and Decision Tree. J Eng Sustain Dev. 2021; 25(4): 40-50.

Hana'a M S, Rana T R. Smart Door for Handicapped People via Face Recognition and Voice Command Technique. Eng Technol J. 2021; 39(1): 222-230.

Su M. S, Khin M. S. Approaching Rules Induction: CN2 Algorithm in Categorizing of Biodiversity. Int J Trend Sci Res Dev. 2019; 3(4): 1581-1584.

Vinay A, Abhijay G, Vinayaka R K, Aprameya B, Arvind S, Kannamedi B M. et al. Facial Analysis Using Jacobians and Gradient Boosting. Int Conf Math Model Sci Comput Appl. 2020; 308: 393-404.

Bong-Hyun K. Implementation of Access Control System based on Face Prediction and Face Tracking. J Syst Manag Sci. 2022; 12(2); 367-377.

Wang C, Xue P, Li G, Wu Q. A Comparative Study of Face Recognition Classification Algorithms. Int J Adv. Netw. 2020; 5(3): 23-29.

Sumithra R, Gurua D S, Manjunath A, Anitha R. Children Longitudinal Face Recognition Using Random Forest. Int Conf IoT Comput Vis Bioeng. 2020; 542-551.





How to Cite

Predicting Movie Production Years through Facial Recognition of Actors with Machine Learning. Baghdad Sci.J [Internet]. [cited 2024 Jul. 22];22(1). Available from: