Next Article in Journal
Assessment of Sulfate Sources under Cold Conditions as a Geochemical Proxy for the Origin of Sulfates in the Circumpolar Dunes on Mars
Previous Article in Journal
Insight into the Structure of TMA-Hectorite: A Theoretical Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Mineral Identification Based on Deep Learning That Combines Image and Mohs Hardness

1
School of Information Engineering, China University of Geosciences, Beijing 100083, China
2
School of Earth Sciences and Resources, China University of Geosciences, Beijing 100083, China
*
Author to whom correspondence should be addressed.
Minerals 2021, 11(5), 506; https://doi.org/10.3390/min11050506
Submission received: 15 April 2021 / Revised: 29 April 2021 / Accepted: 8 May 2021 / Published: 11 May 2021

Abstract

:
Mineral identification is an important part of geological analysis. Traditional identification methods rely on either the experience of the appraisers or the various measuring instruments, and the methods are either easily influenced by appraisers’ experience or require too much work. To solve the above problems, there are studies using image recognition and intelligent algorithms to identify minerals. However, current studies cannot identify many minerals, and the accuracy is low. To increase the number of identified minerals and accuracy, we propose a method that uses both mineral photo images and the Mohs hardness in deep neural networks to identify the minerals. The experimental results showed that the method can reach 90.6% top-1 accuracy and 99.6% top-5 accuracy for 36 common minerals. An app based on the model was implemented on smartphones with no need for accessing the internet and communication signals. Tested on 73 real mineral samples, the app achieved top-1 accuracy of 89% when the mineral image and hardness are both used and 71.2% when only the mineral image is used.

1. Introduction

Mineral identification is an important part of geological analysis. Traditional mineral identification is mainly based on visual observation or physical experiments [1]. Visual observations, such as using streak powder color, luster or HCl reactiveness, depend on the experience of the appraiser, and most physical experiments requires special instruments. Both methods require considerable labor. Deep learning has been used in geosciences to reduce this. For example, Porwal et al. [2] used artificial neural networks in mineral-potential mapping, Karimpouli et al. [3] used convolutional neural networks for coal cleat/fracture segmentation, Juliani and Ellefmo [4] used radial basis function neural networks in prospectivity mapping of mineral deposits, and Sun et al. [5] used machine learning and deep learning for modeling mineral prospectivity. In mineral identification, intelligent algorithms have also been used, and the methods can be divided into two categories: traditional identification and neural network identification. Traditional identification methods include laser-induced breakdown spectroscopy [6], color tracking [7], cascade approaches [8], optimal spherical neighborhoods [9,10] and image processing and analysis [11]. Neural network methods identify minerals by using digital features or image features. Harris and Pan [12], Thompson et al. [13] and others have used digital features. In using image features, spectral images, microscopic images, and photo images can all be used to identify the minerals [14,15,16,17,18], although they are not on the same scale. Ishikawa and Gulick [14] used spectral images to identify minerals and achieved an accuracy of 83% for six species of minerals. By using microscope images, Zhang et al. [15] identified four species of minerals with an accuracy of 90.9% and Baykan and Yılmaz [16] achieved an accuracy of 93.86% for five species of mineral Studies using photo images including that of Solar et al. [17], achieved 91% accuracy for six species of mineral, and Liu et al. [18] achieved 74.2% accuracy for 12 species of mineral. Commercial products such as IMAGO [19] and KORE GEOSYSTEMS [20] can also identify minerals automatically, but the method they use and the accuracy they can achieve are unavailable for analysis.
The above studies have been able to identify rocks and minerals automatically, but either the number of minerals identified or the accuracy achieved needs to be improved. One difficulty in identifying minerals using photographs (at the macroscopic scale) is that minerals in the same species may have variable colors and shapes, while minerals in different species may have similar colors, shapes, and textures. For example, allochromatic minerals may have different colors depending on their different impurities. Therefore, it is difficult to achieve high accuracy by using only photo features. Studies that use multiple features to improve accuracy have appeared in many other applications [21,22] and have shown effectiveness. For example, Wang et al. [21] combined word-level and char-level features to extract more language information and improve the accuracy in natural language processing. Hai et al. [22] combined the original image with the grayscale image and text features in breast cancer detection, and accuracy was also improved.
Hardness is an important property of minerals, and Mohs hardness is one of the most important tests for identifying minerals [23,24]. By using portable hardness picks [24], we can easily obtain the Mohs hardness of a mineral. Different species of mineral may have very different Mohs hardness [24]. For example, hematite and sphalerite have different Mohs hardness ranges, although they have very similar photo images. The hardness of hematite is in the range of 5.0–6.5, and the hardness of sphalerite is in the range of 3.5–4.0. Therefore, the hardness of hematite and sphalerite can be used as key information to distinguish them. In this paper, hardness was combined in deep neural networks (DNN) to identify minerals with the purpose of alleviating the above difficulties based on images only. The DNN can be trained at once, which does not increase the training difficulty. Experiments on 36 species of common mineral showed that the proposed method can achieve 90.6% top-1 accuracy and 99.6% top-5 accuracy.

2. Data

The training, validation and testing of a DNN for mineral identification require considerable data. Here, data indicate the photo images and the hardness of the minerals. The purpose of training is to teach the neural network to learn the species of the mineral from the training photo images and the corresponding hardness. The more data used for training, the stronger the generalization ability and robustness of the model, the higher the identification accuracy and the more species. The validation determines whether the training should be stopped, based on the performance of the neural network on the validation data. The data used for validation should not be used in training. Testing the neural network determines how well the model performs on unseen mineral data, so the testing data should also not be used in training.
The mineral photo images used in this paper are from Mindat (A mineral database) [25] and obtained by using a web spider. Mindat is a mineral database with a large number of samples. The mineral photo images in the database are from all over the world and have been identified. Thirty-six species of minerals are used in the paper, as shown in Table 1.
All the obtained mineral images were cleaned manually to remove images that have no minerals, were obtained from a microscope, or do not match the label. The images of jewelry after artificial processing are also removed because our method identifies minerals in their natural state similar to those in the field. The 183,688 images obtained after cleaning are evenly mixed and separated as the training set, validation set and test set at a ratio of 10:1:1. Examples of mineral images are shown in Figure 1.
The hardness of the real mineral can be obtained by portable Mohs hardness picks [24]. The Mohs hardness is a value between 1 and 10, and the larger the value, the harder the mineral [24]. In training our DNN, the Mohs hardness value of each image needs to be known. However, it is impossible to obtain real Mohs hardness values for more than 100,000 mineral images in the dataset, so the values are generated randomly within their ranges of Mohs hardness. Because the accuracy of the general Mohs hardness tester is usually 0.5 [24], we set the accuracy of the generated hardness value to 0.5. For example, the hardness range of sulfur is 1.5–2.5; then the hardness of each sulfur image will be generated as 1.5, 2.0 or 2.5 randomly.

3. Architecture of the Neural Network

The architecture of the neural network used in this paper is shown in Figure 2, which has three parts: image feature extraction (Figure 2a), hardness feature extraction (Figure 2b), and image and hardness feature combination (Figure 2c).
The image feature extraction in Figure 2a uses the deep convolutional neural network EfficientNet-b4 [26]. EfficientNet-b4 extracts image features automatically and extends the convolutional neural network in three dimensions of width, depth and image resolution, so it has fewer parameters and a higher top-1 accuracy [26]. As a typical DNN, CNN has been used in many real applications, such as face recognition, crowd counting, and road crack detection [27]. More work on image classification using DNNs can be found in [27]. The size of the image input to EfficientNet-b4 has to be 380 × 380, so the mineral image is first scaled to the standard input size of 380 × 380 before it is input into EfficientNet-b4. To maintain the high accuracy, the size of the input image should not be too small (for example, less than 300 × 300 pixels).
Hardness feature extraction in Figure 2b transforms the Mohs hardness from a value into a vector by using two fully connected layers of dimensions 36 and 1024. Then, the vector is concatenated with the image feature vector output by EfficientNet-b4. The combination of image and hardness features in Figure 2c uses a fully connected layer to obtain the final result. The method that transforms the Mohs hardness from a value x into a vector of dimensions 36 Y is similar to that in Figure 3. In Figure 3, there are 36 connections, and each connection represents a linear operation yi = x + bi; and bi are determined in the training process as described in the following. Other operations in Figure 2 are similar.
When training the neural network in Figure 2, data augmentation and transfer learning are adopted. Data augmentation enhances the generalization ability of the model to identify the minerals untrained (for example, the minerals in different light) more accurately, which is implemented by randomly flipping, cropping, zooming, and changing the contrast and brightness of the trained images. Transfer learning uses the pretrained weights of ImageNet [28] as the initial weights, which greatly speeds up the convergence of the model compared with the random initialization weights. The normalized mean and standard deviation used in training are the same as those in ImageNet, and the optimizer used is Adam. The learning rate decays from 10−3 to 10−4 exponentially. The loss function used is focal loss (FL) [29] to solve the problem of species imbalance caused by the differences in the number of images of different species of mineral. The accuracy and the cross-entropy loss curves on the training and validation sets are shown in Figure 4. In Figure 4, we can see that curves using both images and hardness converge faster than curves using images only.

4. Test Results and Discussion

To show the accuracy of our method, 15,291 of the total 183,688 images obtained from the Mindat [25] and their Mohs hardness were used to test our neural network model, which again have not been used by the model in the training process, as stated in Section 3. Our training and testing of the model were carried out on a server with a NVIDIA Tesla P100 graphics card. After one of the mineral images and its Mohs hardness are input into the neural network in Figure 2, the top-5 mineral names with the highest probability are given. The accuracy and confusion matrix [30] were used to evaluate the performance of our method. Comparisons with other similar methods were also made and the results are given. A smartphone app based on the method was implemented, and the result is also shown in this section.

4.1. Our Test Results

Tests using image only (EfficientNet-b4 neural network is used), hardness only (a fully connected network is used) and both image and hardness (the ensemble network shown in Figure 2 is used) were carried out. The accuracy results are shown in Table 2, in which top-1 accuracy means that the mineral name obtained from the model with the highest probability is exactly the mineral to be identified, and top-5 accuracy means that one of the top 5 mineral names with the highest probability obtained from the model is the identified mineral. Table 2 shows that the combination of image and hardness can greatly improve the accuracy of top-1. Comparisons of the accuracy of specific mineral species are shown in Figure 5. We can see that after adding the hardness, the accuracy of almost all mineral species is improved, especially for the minerals 2, 4, 9, 11, 15, 19, 20, 25, 26, 28, 29, 31, 32, 33, 34, and 35, which were improved by more than 15%. The main reason is that the shapes, textures or colors of many minerals are similar, or are often associated with quartz [31]. Therefore, quartz often appears in the image, which makes it difficult for the model to identify the minerals correctly based only on images. The accuracy of mineral 1 and 4 was slightly reduced after adding the hardness. This is because their hardness ranges overlap with other minerals and their images are also similar with others. From Table 2 and Figure 5 we can see that adding hardness can increase the accuracy for most minerals.
The confusion matrix using images only and the combination of images and hardness are shown in Figure 6. In Figure 6, we can see that adding hardness is beneficial for improving the accuracy of mineral identification. If the amplitude of the grids on the confusion matrix diagonal is larger (generally darker), the result has higher accuracy. The smaller the amplitude of the grids outside the diagonal (generally lighter), the lower the probability of incorrect identification and the better the model performs. Compared with the left in Figure 6, the diagonal color on the right is darkened, and the colors of the other grids are generally lighter, which shows that the accuracy of the model was improved significantly by adding hardness.

4.2. Comparison with Other Methods

Table 3 shows the comparison of the number of identified minerals and the accuracy of the related studies. Compared with the method that uses spectral images obtained from Raman spectroscopy [14], which can only identify six minerals, our method can identify 36 minerals with higher accuracy. In contrast, our method does not require special instruments to obtain spectral data, and the Mohs hardness we need can be easily obtained by portable picks. Compared with the work of Zhang et al. [15] and Baykan and Yılmaz [16], who identified minerals using microscopic images, our work does not need a microscope, and the number of minerals identified increases from four and five to 36 with almost the same accuracy. Compared with Solar et al. [17] and Liu et al. [18], whose work used photo images only, our work increases the number of identified minerals to 36, and the accuracy decreases by only 0.4% compared to the work of Solar et al. [17] and increases by 16.4% compared to the work of Liu et al. [18]. It is important to note that the numbers contained in Table 3 have been collected in published papers using different sensing technologies as well as reference materials and samples used for construction and testing of the model, therefore the numbers should be considered indicative rather than a pure direct comparison using a well-planned experimental design.

4.3. Application of the Model on Smartphones

An app on smartphones using our trained model is implemented, and it can identify the 36 species of minerals listed in Table 1. The app can be available by sending an email to the authors. Figure 7 shows four pages of the app. Page (a) appears after pressing the red round button located at the lower right corner of the homepage, which allows the user to choose the image to be identified. The image can be taken with the camera or chosen from an album on the phone. If the mineral image taken by the camera is in the dark, the phone flash will be triggered, which ensures that the image is light enough. Page (b) shows that the image to be identified can be cropped manually to obtain the main part of the image. Page (c) gives the image after cropping and the Mohs hardness to be entered, and the identification result is displayed at the bottom after pressing the “OK” button. If the Mohs hardness of the mineral cannot be obtained, the app can identify the mineral based on its photo image only without entering the Mohs hardness value, which is shown on Page (d).
The app was tested on 73 samples obtained from the National Infrastructure of Mineral Rock and Fossil Resources for Science and Technology [32], and the 73 samples belong to the 36 species listed in Table 1. Photos were taken outside of a glass cover, and the Mohs hardness value was entered randomly from their Mohs hardness range because touching the samples was not allowed. The test results are shown in Table 4. As described in Section 4.1, the use of hardness can increase the accuracy of mineral identification. Table 4 shows that minerals with typical characteristics are easier to identify, such as stibnite, pyrite and almandine, but minerals with similar colors or crystal shapes are easily confused, such as orpiment and sulfur. This is the reason why the sphalerite sample in Table 4 was not identified. Use of the real hardness value obtained by portable Mohs hardness picks, but not the random value from the Mohs hardness range in the app, will increase the accuracy.
The app does not require access to the internet or communication signals, which will benefit the general public, beginners and professionals in the field with no need for carrying heavy instruments such as microscopes.

5. Conclusions

In this paper, a mineral identification method based on deep learning that combines images and hardness is proposed. Compared with the traditional visual or microscopic observations, the proposed method reduces the reliance on experienced experts, and the workload is low. Compared with the method that uses mineral images only, our method that combines Mohs hardness identifies more minerals and greatly improves the accuracy. An app based on our method independent of the internet and communication signals was implemented. By using the phone camera to take a photo and using portable picks to obtain the Mohs hardness of the mineral, we can easily, timely and accurately identify minerals using the app, which provides a reliable method for mineral identification, especially in the field, with no need for carrying heavy instruments such as microscopes. In the future, more features, such as transparency, color and density will be introduced and the DNN will be replaced with the state-of-the-art model once it appears to improve the accuracy further. Of course, this method, like all neural network methods for identification, has a universal limitation: if a mineral that is not in the 36 minerals in training is input into the model, one of the closest of the 36 minerals will be given, which is incorrect. Collecting more species of mineral data is one method for alleviating this problem. Research on rock identification is also under consideration. We hope our research will be helpful to commercial products like IMAGO [19] and KORE GEOSYSTEMS [20].

Author Contributions

Conceptualization, X.Z. and X.J.; methodology, X.Z. and Y.X.; software, X.Z. and Y.X.; validation, X.J. and G.W.; writing—original draft preparation, X.Z.; writing—review and editing, X.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Project of Transformation of Scientific and Technological Achievements and Excellent Tutor Fund Project (No. 35732020035), China University of Geosciences, Beijing.

Data Availability Statement

Data sharing is not applicable.

Acknowledgments

The authors are grateful to the anonymous reviewers for their constructive comments, which have significantly raised the quality of the manuscript and enabled us to improve the manuscript. Thanks are given to National Infrastructure of Mineral Rock and Fossil Resources for Science and Technology, Mingyue He, Mei Yang, Leiqi Yang and Ning Liu for their help in supplying the mineral samples in testing the app. Special thanks are given to the editors, for their kind patience and encouragements in revising the manuscript.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Misra, K. Understanding Mineral Deposits; Kluwer Academic Publishers: Dordrecht, The Netherlands, 2000. [Google Scholar]
  2. Porwal, A.; Carranza, E.; Hale, M. Artificial neural networks for mineral-potential mapping: A case study from Aravalli Province, Western India. Nat. Resour. Res. 2003, 12, 155–171. [Google Scholar] [CrossRef]
  3. Karimpouli, S.; Tahmasebi, P.; Saenger, E.H. Coal cleat/fracture segmentation using convolutional neural networks. Nat. Resour. Res. 2020, 29, 1675–1685. [Google Scholar] [CrossRef]
  4. Juliani, C.; Ellefmo, S.L. Prospectivity Mapping of Mineral Deposits in Northern Norway Using Radial Basis Function Neural Networks. Minerals 2019, 9, 131. [Google Scholar] [CrossRef] [Green Version]
  5. Sun, T.; Li, H.; Wu, K.; Chen, F.; Hu, Z. Data-driven predictive modelling of mineral prospectivity using machine learning and deep learning methods: A case study from southern Jiangxi province, china. Minerals 2020, 10, 102. [Google Scholar] [CrossRef] [Green Version]
  6. El Haddad, J.; de Lima Filho, E.S.; Vanier, F.; Harhira, A.; Padioleau, C.; Sabsabi, M.; Wilkie, G.; Blouin, A. Multiphase mineral identification and quantification by laser-induced breakdown spectroscopy. Miner. Eng. 2019, 134, 281–290. [Google Scholar] [CrossRef]
  7. Aligholi, S.; Lashkaripour, G.R.; Khajavi, R.; Razmara, M. Automatic mineral identification using color tracking. Pattern Recognit. 2017, 65, 164–174. [Google Scholar] [CrossRef]
  8. Izadi, H.; Sadri, J.; Bayati, M. An intelligent system for mineral identification in thin sections based on a cascade approach. Comput. Geosci. 2017, 99, 37–49. [Google Scholar] [CrossRef]
  9. Młynarczuk, M.; Górszczyk, A.; Ślipek, B. The application of pattern recognition in the automatic classification of microscopic rock images. Comput. Geosci. 2013, 60, 126–133. [Google Scholar] [CrossRef]
  10. Ślipek, B.; Młynarczuk, M. Application of pattern recognition methods to automatic identification of microscopic images of rocks registered under different polarization and lighting conditions. Geol. Geophys. Environ. 2013, 39, 373. [Google Scholar] [CrossRef] [Green Version]
  11. Aligholi, S.; Khajavi, R.; Razmara, M. Automated mineral identification algorithm using optical properties of crystals. Comput. Geosci. 2015, 85, 175–183. [Google Scholar] [CrossRef]
  12. Harris, D.; Pan, G. Mineral favorability mapping: A comparison of artificial neural networks, logistic regression, and discriminant analysis. Nat. Resour. Res. 1999, 8, 93–109. [Google Scholar] [CrossRef]
  13. Thompson, S.; Fueten, F.; Bockus, D. Mineral identification using artificial neural networks and the rotating polarizer stage. Comput. Geosci. 2001, 27, 1081–1089. [Google Scholar] [CrossRef]
  14. Ishikawa, S.T.; Gulick, V.C. An automated mineral classifier using Raman spectra. Comput. Geosci. 2013, 54, 259–268. [Google Scholar] [CrossRef]
  15. Zhang, Y.; Li, M.; Han, S.; Ren, Q.; Shi, J. Intelligent Identification for Rock-Mineral Microscopic Images Using Ensemble Machine Learning Algorithms. Sensors 2019, 18, 3914. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Baykan, N.A.; Yılmaz, N. A mineral classification system with multiple artificial neural network using k-fold cross validation. Math. Comput. Appl. 2011, 16, 22–30. [Google Scholar] [CrossRef]
  17. Solar, M.; Perez, P.; Watkins, F. Neural Recognition of Minerals. In Proceedings of Artificial Intelligence in Theory and Practice; Springer: Boston, MA, USA, 2008; pp. 433–437. [Google Scholar]
  18. Liu, C.; Li, M.; Zhang, Y.; Han, S.; Zhu, Y. An Enhanced Rock Mineral Recognition Method Integrating a Deep Learning Model and Clustering Algorithm. Minerals 2019, 9, 516. [Google Scholar] [CrossRef] [Green Version]
  19. IMAGO. Available online: https://www.imago.live/ (accessed on 15 April 2021).
  20. KORE GEOSYSTEMS. Available online: https://www.koregeosystems.com/ (accessed on 15 April 2021).
  21. Wang, J.; Wang, Z.; Zhang, D.; Yan, J. Combining Knowledge with Deep Convolutional Neural Networks for Short Text Classification. In Proceedings of the International Joint Conference on Artificial Intelligence, Melbourne, Australia, 19–25 August 2017; pp. 2915–2921. [Google Scholar]
  22. Hai, J.; Tan, H.; Chen, J.; Wu, M.; Qiao, K.; Xu, J.; Zeng, L.; Gao, F.; Shi, D.; Yan, B. Multi-level features combined end-to-end learning for automated pathological grading of breast cancer on digital mammograms. Comput. Med. Imaging Graph. 2019, 71, 58–66. [Google Scholar] [CrossRef] [PubMed]
  23. Wenk, H.R.; Bulakh, A. Minerals: Their Constitution and Origin; Cambridge University Press: New York, NY, USA, 2016. [Google Scholar]
  24. Mohs Hardness Scale, A Rapid Hardness Test for Field and Classroom Use. Available online: https://geology.com/minerals/mohs-hardness-scale.shtml (accessed on 15 April 2021).
  25. A Mineral Database. Available online: https://www.mindat.org/ (accessed on 15 April 2021).
  26. Tan, M.; Le, Q.V. Efficientnet: Rethinking model scaling for convolutional neural networks. In Proceedings of the 36th International Conference on Machine Learning (ICML-19), Long Beach, CA, USA, 9–15 June 2019. [Google Scholar]
  27. Rawat, W.; Wang, Z. Deep convolutional neural networks for image classification: A comprehensive review. Neural Comput. 2017, 29, 2352–2449. [Google Scholar] [CrossRef] [PubMed]
  28. Deng, J.; Dong, W.; Socher, R.; Li, L.-J.; Li, K.; Li, F.-F. Imagenet: A large-scale hierarchical image database. In Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 248–255. [Google Scholar]
  29. Lin, T.-Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 2980–2988. [Google Scholar]
  30. Tharwat, A. Classification assessment methods. Appl. Comput. Inform. 2018, 17, 168–192. [Google Scholar] [CrossRef]
  31. Howie, R.A. The Ore Minerals and Their Intergrowths, 2nd ed.; Pergamon Press: Oxford, UK, 1980. [Google Scholar]
  32. National Infrastructure for Science and Technology-National Infrastructure of Mineral, Rock and Fossil Specimen Resources. Available online: http://www.nimrf.cugb.edu.cn/en/english (accessed on 15 April 2021).
Figure 1. Examples of cropped images (ad beryl, eh cinnabar, il sphalerite, and mp pyrite). The original images are from Mindat [25].
Figure 1. Examples of cropped images (ad beryl, eh cinnabar, il sphalerite, and mp pyrite). The original images are from Mindat [25].
Minerals 11 00506 g001
Figure 2. Neural network model for mineral identification using image and Mohs hardness. (a) image feature extraction, (b) hardness feature extraction, (c) image and hardness feature combination.
Figure 2. Neural network model for mineral identification using image and Mohs hardness. (a) image feature extraction, (b) hardness feature extraction, (c) image and hardness feature combination.
Minerals 11 00506 g002
Figure 3. Transforming the Mohs hardness from a value into a 36-dimension vector.
Figure 3. Transforming the Mohs hardness from a value into a 36-dimension vector.
Minerals 11 00506 g003
Figure 4. Accuracy and cross-entropy loss curves on the training set (top) and validation set (bottom).
Figure 4. Accuracy and cross-entropy loss curves on the training set (top) and validation set (bottom).
Minerals 11 00506 g004
Figure 5. Comparison of accuracy of specific mineral species.
Figure 5. Comparison of accuracy of specific mineral species.
Minerals 11 00506 g005
Figure 6. Confusion matrix of using image only (left) and using image & hardness (right).
Figure 6. Confusion matrix of using image only (left) and using image & hardness (right).
Minerals 11 00506 g006
Figure 7. Four pages of the app. (a) choose the image taken with the camera or from the album, (b) crop the mineral image, (c) identify with image & hardness, (d) identify with only image.
Figure 7. Four pages of the app. (a) choose the image taken with the camera or from the album, (b) crop the mineral image, (c) identify with image & hardness, (d) identify with only image.
Minerals 11 00506 g007
Table 1. Name of the minerals, range of Mohs hardness and number of samples.
Table 1. Name of the minerals, range of Mohs hardness and number of samples.
#No.MineralMohs Hardness RangeNumber of Samples
1agate6.5–7.03225
2albite6.0–6.51775
3almandine7.0–7.52018
4anglesite2.5–3.01797
5azurite3.5–4.07924
6beryl7.5–8.08957
7cassiterite6.0–7.03205
8chalcopyrite3.5–4.03253
9cinnabar2.0–2.51605
10copper3.0–3.05288
11demantoid6.5–7.0755
12diopside5.5–6.51586
13elbaite7.55439
14epidote6.0–7.03720
15fluorite4.026,336
16galena3.5–4.06188
17gold2.5–3.04545
18halite2.0–2.5756
19hematite5.0–6.05728
20magnetite 5.5–6.52445
21malachite3.5–4.06796
22marcasite6.0–6.51608
23opal5.5–6.53197
24orpiment1.5–2.0720
25pyrite6.0–6.58769
26quartz7.034,883
27rhodochrosite3.5–4.04276
28ruby9.0820
29sapphire9.0996
30schorl7.02099
31sphalerite3.5–4.06354
32stibnite2.02475
33sulphur1.5–2.51890
34topaz8.03577
35torbernite2.0–2.51100
36wulfenite2.5–3.07583
Total183,688
Table 2. Comparison of the accuracy of our three methods.
Table 2. Comparison of the accuracy of our three methods.
MethodTop-1 Accuracy (%)Top-5 Accuracy (%)
hardness only44.891
image only78.395.5
image & hardness90.699.6
Table 3. Comparison of work in mineral identification based on deep learning and using images.
Table 3. Comparison of work in mineral identification based on deep learning and using images.
Image TypeStudiesPerformance
Number of Identified MineralsAccuracy (%)
Raman spectroscopy[14]683.0
microscope[15]490.9
[16]593.9
photo[17]691.0
[18]1274.2
photo & hardnessOur method3690.6
Table 4. Test results of the app.
Table 4. Test results of the app.
MineralNumber of Samples Number of Correctly Identified Samples Using Image OnlyNumber of Correctly Identified Samples Using Image & Hardness
agate555
almandine644
azurite212
beryl111
chalcopyrite212
cinnabar111
copper222
fluorite11810
galena323
halite111
hematite815
malachite655
opal111
orpiment313
pyrite656
quartz444
sphalerite100
stibnite878
sulphur222
total735265
Accuracy\71.2%89%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zeng, X.; Xiao, Y.; Ji, X.; Wang, G. Mineral Identification Based on Deep Learning That Combines Image and Mohs Hardness. Minerals 2021, 11, 506. https://doi.org/10.3390/min11050506

AMA Style

Zeng X, Xiao Y, Ji X, Wang G. Mineral Identification Based on Deep Learning That Combines Image and Mohs Hardness. Minerals. 2021; 11(5):506. https://doi.org/10.3390/min11050506

Chicago/Turabian Style

Zeng, Xiang, Yancong Xiao, Xiaohui Ji, and Gongwen Wang. 2021. "Mineral Identification Based on Deep Learning That Combines Image and Mohs Hardness" Minerals 11, no. 5: 506. https://doi.org/10.3390/min11050506

APA Style

Zeng, X., Xiao, Y., Ji, X., & Wang, G. (2021). Mineral Identification Based on Deep Learning That Combines Image and Mohs Hardness. Minerals, 11(5), 506. https://doi.org/10.3390/min11050506

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop