journal article·2022-04-07Open access

Comparison of Multilayer Neural Network Models in Terms of Success of Classifications Based on EmguCV, ML.NET and Tensorflow.Net

Martin Magdin, Juraj Benc, Štefan Koprda, Zoltán Balogh, Daniel Tuček

Applied Sciences· Volume 12· Issue 8

Abstract

In this paper, we compare three different models of multilayer neural networks in terms of their success in the classification phase. These models were designed for EmguCV, ML.NET and Tensorflow.Net libraries, which are currently among the most widely used libraries in the implementation of an automatic recognition system. Using the EmguCV library, we achieved a success rate in the classification of human faces of 81.95% and with ML.NET, which was based on the pre-trained ResNet50 model using convolution layers, up to 91.15% accuracy. The result of the success of the classification process was influenced by the time required for training and also the time required for the classification itself. The Tensorflow.Net model did not show sufficient classification ability when classifying using vector distances; the highest success rate of classification was only 13.31%. Neural networks were trained on a dataset with 1454 photographs of faces involving 43 people. At a time when neural networks are becoming more and more used for applications of different natures, it is necessary to choose the right model in the classification process that will be able to achieve the required accuracy with the minimum time required for training. The application created by us allows the insertion of images and the creation of their own datasets, on the basis of which the user can train a model with its own parameters. Models can then be saved and integrated into other applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Anomaly Detection Techniques and Applications · AI in cancer detection · Adversarial Robustness in Machine Learning

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Informatics, Faculty of Natural Science and Informatics, Constantine the Philosopher University in Nitra, 949 74 Nitra-Chrenová, Slovakia

References (50)

Show source-provided references
1. Neural Networks with Emotion Associations, Topic Modeling and Supervised Term Weighting for Sentiment Analysis10.1142/S0129065721500131 ↗
2. Devi, M.K., and Prabhu, K. (2020, January 6–7). Face Emotion Classification using AMSER with Artificial Neural Networks. Proceedings of the 6th International Conference on Advanced Computing and Communication Systems, ICACCS 2020, Coimbatore, India.10.1109/ICACCS48705.2020.9074348 ↗
3. Multi-Attention augmented network for single image super-resolution10.1016/j.patcog.2021.108349 ↗
4. Face detection using eigenface and neural network10.1109/ICSMC.2006.384817 ↗
5. Šaloun, P., Stonawski, J., and Zelinka, I. (2013, January 12–13). Recommending new links in social networks using face recognition. Proceedings of the 8th International Workshop on Semantic and Social Media Adaptation and Personalization, SMAP 2013, Bayonne, France.10.1109/SMAP.2013.13 ↗
6. Shanmuganathan, M., and Nalini, C. (2020, January 3–5). Face Detection based on Extraction by K-NNC and NMC Framework. Proceedings of the 3rd International Conference on Intelligent Sustainable Systems, ICISS 2020, Thoothukudi, India.10.1109/ICISS49785.2020.9315955 ↗
7. Facial Expression Recognition using Feature Extraction with Hybrid KFDA and CLBP
8. Single Image Based Interactive Modeling for Modular Architectures Using Imaging Consistency
9. Real Time Facial Recognition Using Principal Component Analysis (PCA) And EmguCV10.1088/1757-899X/384/1/012079 ↗
10. Computer Vision-Based System for Classification and Sorting Color Objects10.1088/1757-899X/745/1/012030 ↗
11. Beohar, D., and Rasool, A. (2021, January 5–7). Handwritten digit recognition of MNIST dataset using deep learning state-of-the-art artificial neural network (ANN) and Convolutional Neural Network (CNN). Proceedings of the 2021 International Conference on Emerging Smart Computing and Informatics, ESCI 2021, Pune, India.10.1109/ESCI50559.2021.9396870 ↗
12. Yin, Y., Juan, C., Chakraborty, J., and McGuire, M.P. (2018, January 17–20). Classification of Eye Tracking Data Using a Convolutional Neural Network. Proceedings of the 17th IEEE International Conference on Machine Learning and Applications, ICMLA 2018, Orlando, FL, USA.10.1109/ICMLA.2018.00085 ↗
13. Huang, X., Lei, X., Pan, H., and Li, D. (2019, January 3–5). Algorithm of image classification based on Atrous-CNN. Proceedings of the 31st Chinese Control and Decision Conference, CCDC 2019, Nanchang, China.10.1109/CCDC.2019.8833250 ↗
14. Scholars Research Library Comparative study of biological and artificial neural networks
15. Schrimpf, M., Kubilius, J., Hong, H., Majaj, N.J., Rajalingham, R., Issa, E.B., Kar, K., Bashivan, P., Prescott-Roy, J., and Geiger, F. (2018). Brain-Score: Which Artificial Neural Network for Object Recognition is most Brain-Like?. bioRxiv, 407007.10.1101/407007 ↗
16. Tekkali, C.G., and Vijaya, J. (2021, January 4–6). A Survey: Methodologies used for Fraud Detection in Digital Transactions. Proceedings of the 2nd International Conference on Electronics and Sustainable Communication Systems, ICESC 2021, Coimbatore, India.10.1109/ICESC51422.2021.9532915 ↗
17. Analysis of Artificial Neural Network Accuracy Using Backpropagation Algorithm in Predicting Process (Forecasting)
18. Saravanan, R., and Sujatha, P. (2018, January 14–15). A State of Art Techniques on Machine Learning Algorithms: A Perspective of Supervised Learning Approaches in Data Classification. Proceedings of the 2nd International Conference on Intelligent Computing and Control Systems, ICICCS 2018, Madurai, India.10.1109/ICCONS.2018.8663155 ↗
19. Supervised Machine Learning Algorithms: Classification and Comparison10.14445/22312803/IJCTT-V48P126 ↗
20. Kowsari, K., Meimandi, K.J., Heidarysafa, M., Mendu, S., Barnes, L., and Brown, D. (2019). Text Classification Algorithms: A Survey. Information, 10.10.3390/info10040150 ↗
21. Implementation of machine-learning classification in remote sensing: An applied review10.1080/01431161.2018.1433343 ↗
22. A Survey of Dictionary Learning Algorithms for Face Recognition10.1109/ACCESS.2017.2695239 ↗
23. Yan, K., Huang, S., Song, Y., Liu, W., and Fan, N. (2017). Face recognition based on convolution neural network. Chin. Control. Conf. CCC, 4077–4081.10.23919/ChiCC.2017.8027997 ↗
24. Application of an emotional neural network to facial recognition10.1007/s00521-008-0212-4 ↗
25. Prototype-incorporated emotional neural network10.1109/TNNLS.2017.2730179 ↗
26. Understanding of a convolutional neural network
27. A survey of the recent architectures of deep convolutional neural networks10.1007/s10462-020-09825-6 ↗
28. Understanding convolutional neural networks with a mathematical model10.1016/j.jvcir.2016.11.003 ↗
29. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
30. Visualizing and Understanding Convolutional Networks. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)10.1007/978-3-319-10590-1_53 ↗
31. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015—Conference Track Proceedings, San Diego, CA, USA.
32. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going deeper with convolutions. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
33. Face Recognition Using Convolutional Neural Network and Simple Logistic Classifier10.1007/978-3-319-00930-8_18 ↗
34. A review on deep convolutional neural networks
35. Severyn, A., and Moschitti, A. (2015). UNITN: Training Deep Convolutional Neural Network for Twitter Sentiment Classification. Assoc. Comput. Linguist., 464–469.10.18653/v1/S15-2079 ↗
36. Practical Bayesian Optimization of Machine Learning Algorithms
37. Goodfellow, I.J., Shlens, J., and Szegedy, C. (2015, January 7–9). Explaining and Harnessing Adversarial Examples. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015—Conference Track Proceedings, San Diego, CA, USA.
38. Balodis, A., and Grabusts, P. (2017). Oject Recognition Methods in Cimputer Vision Using Image Processing Library Emgu CV. Human Environment Technologies, Rezekne Academy of Technologies.
39. An Analysis of the Viola-Jones Face Detection Algorithm10.5201/ipol.2014.104 ↗
40. Face Detection and Extraction Using Viola–Jones Algorithm10.1007/978-981-16-4035-3_9 ↗
41. Object detection using Haar-cascade Classifier
42. Face Detection and Expression Recognition Using Haar Cascade Classifier and Fisherface Algorithm10.1007/978-981-13-6783-0_1 ↗
43. Facial Emotion Detection Using Deep Learning and Haar Cascade Face Identification Algorithm10.1007/978-981-16-0695-3_17 ↗
44. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2–4). {TensorFlow}: A System for {Large-Scale} Machine Learning. Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI ’16), Savannah, GA, USA.
45. (2022, January 19). Yale Face Database. Available online: http://cvc.cs.yale.edu/cvc/projects/yalefacesB/yalefacesB.html.
46. The unreasonable effectiveness of data10.1109/MIS.2009.36 ↗
47. Detection of invisible cracks in ceramic materials using by pre-trained deep convolutional neural network10.1007/s00521-021-06652-w ↗
48. Classification of operation cases in electric arc welding wachine by using deep convolutional neural networks10.1007/s00521-020-05436-y ↗
49. Wicaksana, B.A., and Sari, R.F. (2011, January 14–16). Implementing text information display of detected color for partially color blinded person using NET platform and EmguCV library. Proceedings of the 2011 International Conference on Information Technology and Multimedia: “Ubiquitous ICT for Sustainable and Green Living”, ICIM 2011, Kuala Lumpur, Malaysia.10.1109/ICIMU.2011.6122760 ↗
50. A Prototype Smart Materials Warehouse Application Implemented Using Custom Mobile Robots and Open Source Vision Technology Developed Using EmguCV10.1016/j.promfg.2016.08.080 ↗