journal article·2025-02-11Open access

Machine Learning Approaches for Real-Time Mineral Classification and Educational Applications

Paraskevas Tsangaratos, Ioanna Ilia, Nikolaos Spanoudakis, Georgios Karageorgiou, Maria Perraki

Applied Sciences· Volume 15· Issue 4

Abstract

The main objective of the present study was to develop a real-time mineral classification system designed for multiple detection, which integrates classical computer vision techniques with advanced deep learning algorithms. The system employs three CNN architectures—VGG-16, Xception, and MobileNet V2—designed to identify multiple minerals within a single frame and output probabilities for various mineral types, including Pyrite, Aragonite, Quartz, Obsidian, Gypsum, Azurite, and Hematite. Among these, MobileNet V2 demonstrated exceptional performance, achieving the highest accuracy (98.98%) and the lowest loss (0.0202), while Xception and VGG-16 also performed competitively, excelling in feature extraction and detailed analyses, respectively. Gradient-weighted Class Activation Mapping visualizations illustrated the models’ ability to capture distinctive mineral features, enhancing interpretability. Furthermore, a stacking ensemble approach achieved an impressive accuracy of 99.71%, effectively leveraging the complementary strengths of individual models. Despite its robust performance, the ensemble method poses computational challenges, particularly for real-time applications on resource-constrained devices. The application of this methodology in Mineral Quest, an educational Python-based game, underscores its practical potential in geology education, mining, and geological surveys, offering an engaging and accurate tool for real-time mineral classification.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Mineral Processing and Grinding · Geochemistry and Geologic Mapping · Geophysical and Geoelectrical Methods

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

Affiliations

Department of Geological Sciences, School of Mining and Metallurgical Engineering, National Technical University of Athens, 15773 Zografou, Greece

School of Production Engineering and Management, Technical University of Crete (TUC), University Campus, Akrotiri, 73100 Chania, Greece

School of Electrical and Computer Engineering, Technical University of Crete (TUC), University Campus, Akrotiri, 73100 Chania, Greece

Funding

“3DRETURN, TTP4-0359953: GAIO-ORAMA: MINERAL RAW MATERIALS, DIGITAL CULTURE AND CIRCULAR ECONOMY” · Action “Synergies of Research and Innovation in the Region of Attica” · Operational Program “Attica 2014–2020”

References (56)

Show source-provided references
1. Systematic review of research on artificial intelligence applications in higher education—Where are the educators?10.1186/s41239-019-0171-0 ↗
2. Machine Learning and Artificial Intelligence Techniques and Applications in Education: A Systematic Review
3. Computational Thinking in Elementary School in the Age of Artificial Intelligence: Where is the Teacher?
4. An Education Tool at Supports Junior Learners in Studying Machine Learning
5. Analysis of Current Status and Development Trend of Rock and Mineral Identification
6. Long, T., Zhou, Z., Hancke, G., Bai, Y., and Gao, Q. (2022). A Review of Artificial Intelligence Technologies in Mineral Identification: Classification and Visualization. J. Sens. Actuator Netw., 11.10.3390/jsan11030050 ↗
7. Liu, X., Jing, W., Zhou, M., and Li, Y. (2019). Multi-Scale Feature Fusion for Coal-Rock Recognition Based on Completed Local Binary Pattern and Convolution Neural Network. Entropy, 21.10.3390/e21060622 ↗
8. Attention-Based Two-Stream Convolutional Networks for Face Spoofing Detection10.1109/TIFS.2019.2922241 ↗
9. Lightweight and Multi-Pose Face Recognition Method Based on Deep Learning
10. Low Resolution Face Recognition Using a Two-Branch Deep Convolutional Neural Network Architecture10.1016/j.eswa.2019.112854 ↗
11. Zheng, T.Y. (2019). Deep Learning for Age-Invariant Face Recognition. [Master’s Thesis, Beijing University of Posts and Telecommunications].
12. Shalev-Shwartz, S., and Ben-David, S. (2014). Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press.10.1017/CBO9781107298019 ↗
13. Solving Petrological Problems through Machine Learning: The Study Case of Tectonic Discrimination Using Geochemical and Isotopic Data10.1007/s00410-016-1292-2 ↗
14. Viola, P., and Jones, M. (2001, January 3–8). Fast and Robust Classification Using Asymmetric Adaboost and a Detector Cascade. Proceedings of the Neural Information Processing Systems, Vancouver, BC, Canada.
15. Viola, P., and Jones, M. (2001, January 8–14). Rapid Object Detection Using a Boosted Cascade of Simple Features. Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Kauai, HI, USA.
16. The Application of Pattern Recognition in the Automatic Classification of Microscopic Rock Images10.1016/j.cageo.2013.07.015 ↗
17. Improving Pore Type Identification from Thin Section Images Using an Integrated Fuzzy Fusion of Multiple Classifiers10.1016/j.jngse.2016.03.030 ↗
18. An Intelligent System for Mineral Identification in Thin Sections Based on a Cascade Approach
19. Lithological Classification and Chemical Component Estimation Based on the Visual Features of Crushed Rock Samples10.1007/s12517-017-3116-8 ↗
20. Itano, K., Ueki, K., Iizuka, T., and Kuwatani, T. (2020). Geochemical Discrimination of Monazite Source Rock Based on Machine Learning Techniques and Multinomial Logistic Regression Analysis. Geosciences, 10.10.3390/geosciences10020063 ↗
21. Okada, N., Maekawa, Y., Owada, N., Haga, K., Shibayama, A., and Kawamura, Y. (2020). Automated identification of mineral types and grain size using hyperspectral imaging and deep learning for mineral processing. Minerals, 10.10.3390/min10090809 ↗
22. Wu, B., Ji, X., He, M., Yang, M., Zhang, Z., Chen, Y., Wang, Y., and Zheng, X. (2022). Mineral Identification Based on Multi-Label Image Classification. Minerals, 12.10.3390/min12111338 ↗
23. Zeng, X., Xiao, Y., Ji, X., and Wang, G. (2021). Mineral identification based on deep learning that combines image and mohs hardness. Minerals, 11.10.3390/min11050506 ↗
24. Optimizing Mineral Identification for Sustainable Resource Extraction through Hybrid Deep Learning Enabled FinTech Model10.1016/j.resourpol.2024.104692 ↗
25. Zhang, J., Gao, Q., Luo, H., and Long, T. (2022). Mineral Identification Based on Deep Learning Using Image Luminance Equalization. Appl. Sci., 12.10.3390/app12147055 ↗
26. Chen, W., Su, L., Chen, X., and Huang, Z. (2023). Rock Image Classification Using Deep Residual Neural Network with Transfer Learning. Front. Earth Sci., 10.10.3389/feart.2022.1079447 ↗
27. Mapping Distribution of Fractures and Minerals in Rock Samples Using Res-VGG-UNet and Threshold Segmentation Methods10.1016/j.compgeo.2024.106675 ↗
28. Deep Learning-Based Mineral Classification Using Pre-Trained VGG16 Model with Data Augmentation: Challenges and Future Directions
29. Recognizing Multiple Types of Rocks Quickly and Accurately Based on Lightweight CNNs Model10.1109/ACCESS.2020.2982017 ↗
30. Petrographic Microfacies Classification with Deep Convolutional Neural Networks10.1016/j.cageo.2020.104481 ↗
31. Automatic landslide detection and visualization by using deep ensemble learning method10.1007/s00521-024-09638-6 ↗
32. Flash Flood Susceptibility Mapping Using Stacking Ensemble Machine Learning Models10.1080/10106049.2022.2093990 ↗
33. Samui, P., Sekhar, S.S., and Balas, V.E. (2017). Applying Machine Learning Algorithms in Landslide Susceptibility Assessments. Handbook of Neural Computation, Academic Press.
34. The OpenCV Library
35. Damage Detection Using In-Domain and Cross-Domain Transfer Learning10.1007/s00521-021-06279-x ↗
36. Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012). ImageNet Classification with Deep Convolutional Neural Networks. Advances in Neural Information Processing Systems, MIT Press.
37. Kaggle (2024, December 06). Kaggle: Your Machine Learning and Data Science Community. Available online: https://www.kaggle.com.
38. Python Software Foundation (2024, December 06). Python Programming Language, Version 3.10. Available online: https://www.python.org.
39. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
40. Mineral Grains Recognition Using Computer Vision and Machine Learning10.1016/j.cageo.2019.05.009 ↗
41. Prediction and Classification of Minerals Using Deep Residual Neural Network10.1007/s00521-023-09141-4 ↗
42. Chollet, F. (2017, January 21–26). Xception: Deep Learning with Depthwise Separable Convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.195 ↗
43. Deep Learning of Rock Microscopic Images for Intelligent Lithology Identification: Neural Network Comparison and Selection10.1016/j.jrmge.2022.05.009 ↗
44. Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv.
45. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18–23). MobileNetV2: Inverted Residuals and Linear Bottlenecks. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00474 ↗
46. Vision-based size classification of iron ore pellets using ensembled convolutional neural network10.1007/s00521-022-07473-1 ↗
47. Stacked Generalization10.1016/S0893-6080(05)80023-1 ↗
48. Evaluating StackingC and Ensemble Models for Enhanced Lithological Classification in Geological Mapping10.1016/j.gexplo.2024.107441 ↗
49. Grad-cam: Visual explanations from deep networks via gradient-based localization10.1007/s11263-019-01228-7 ↗
50. Comparative analysis of deep learning image detection algorithms10.1186/s40537-021-00434-w ↗
51. Review of Mineral Recognition and Its Future10.1016/j.apgeochem.2020.104727 ↗
52. Research Advances and Prospective in Mineral Intelligent Identification Based on Machine Learning
53. A Review of Deep Learning in Image Classification for Mineral Exploration10.1016/j.mineng.2023.108433 ↗
54. Shetty, D.P., and Shetty, S. (2022). A Detail Analysis and Implementation of Haar Cascade Classifier. Recent Advances in Artificial Intelligence and Data Engineering, Springer. Advances in Intelligent Systems and Computing.
55. A Proxy Learning Curve for the Bayes Classifier10.1016/j.patcog.2022.109240 ↗
56. Graph Regularization Methods in Soft Detector Fusion10.1109/ACCESS.2023.3344776 ↗