Image-based method, device and electronic equipment for determining rock hardness of tunnel face

Through image-based methods, deep learning and BP neural network are used to construct a rock hardness identification model, which solves the problem of relying on subjective experience for rock hardness identification in the existing technology, improves identification accuracy and efficiency, and provides standardized collection method to meet the needs of mechanized and intelligent construction of tunnels.

CN115309835BActive Publication Date: 2024-10-15SOUTHWEST JIAOTONG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210715441.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-10-15
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

In the existing technology, the identification of rock hardness relies on the subjective experience of geologists, resulting in low accuracy, poor timeliness, and lack of standardized collection methods, making it difficult to meet the needs of mechanized and intelligent construction of tunnels.

Method used

An image-based method is used to collect rock and tunnel face images, perform image processing and database establishment, combine deep learning network and BP neural network to build a lithology and weathering degree identification model, use AHP method to build an evaluation index system, and output rock Hardness identification results.

Benefits of technology

It reduces the influence of subjective factors, improves the accuracy and efficiency of identifying rock hardness, provides a standardized collection method, and meets the needs of mechanized and intelligent construction of tunnels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115309835B_ABST
    Figure CN115309835B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device and electronic device for determining the hardness of a face rock based on an image, and relate to the field of geotechnical engineering technology. The method and device for determining the hardness of a face rock based on an image include: collecting images, then performing image processing, using the processed images to identify the lithology of the face rock using a lithology recognition model, and using a weathering degree recognition model to obtain the degree of rock weathering. The method identifies the collected rock and face images by establishing a face rock lithology and weathering degree recognition model, and then based on a rock hardness classification table, combined with the lithology and weathering degree of the face rock, the face rock hardness can be determined. This method introduces less subjective factors, and overcomes the shortcomings of traditional rock hardness acquisition methods that rely too much on the subjective experience of geologists, resulting in low accuracy and low timeliness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of geotechnical engineering technology, and in particular to an image-based method and device for determining the hardness of a tunnel face rock. Background Art

[0002] During the survey, design and excavation phases of tunnels, geological work related to the tunnel face is an important part of the entire process. Identification of the hardness of the tunnel face is not only necessary for tunnel construction and advanced geological prediction of tunnels, but also a supplement and improvement to the geological data of tunnel design, and an important basis for providing complete tunnel geological data for tunnel disease treatment during the tunnel operation phase. In the existing surrounding rock classification theory, the classification of rock hardness mainly considers two factors: rock lithology and rock weathering degree.

[0003] Although there are many intelligent identification methods for rock properties, there is no standardized collection method, resulting in poor quality of collected samples and low identification accuracy, which makes it difficult to meet the needs of mechanized and intelligent tunnel construction. Moreover, the identification of rock properties at the tunnel face alone cannot reflect the hardness of the rock at the tunnel face, and the identification of rock weathering degree is still based on manual geological sketches, field tests, and data recording by geological technicians. This traditional method relies too much on the subjective experience of analysts, is greatly influenced by subjective factors, is time-consuming and labor-intensive, inefficient, and has low accuracy. Summary of the invention

[0004] This disclosure section is provided to introduce concepts in a brief form, which will be described in detail in the detailed description section below. This disclosure section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] The embodiments of the present disclosure provide a method, device and electronic device for determining the hardness of a tunnel face rock based on an image, aiming to improve the problem that the identification of the hardness of a tunnel face rock depends on the subjective experience of analysts, is greatly influenced by subjective factors, is time-consuming and labor-intensive, inefficient and has low accuracy.

[0006] In the first aspect, the present embodiment provides an image-based method for determining the hardness of a face rock, comprising: collecting rock images and face images. Performing image processing on the rock images and face images, and establishing a database using a MySQL relational database with the processed rock images, face images, and geological survey data. The processed rock images use a face rock lithology recognition model to identify the face rock lithology. The processed face images use a face rock weathering degree recognition model to obtain the initial weathering degree of the face rock, construct a face rock weathering degree recognition evaluation index system, input the comprehensive weight of the evaluation index into a BP neural network model, and output the final weathering degree recognition result of the face rock. According to the rock hardness classification table, combined with the lithology and weathering degree of the face rock, the face rock hardness can be judged.

[0007] In combination with the embodiments of the first aspect, in some embodiments, the rock image and the tunnel face image are processed, and the processed rock image and the tunnel face image and the geological survey data are used to establish a database using a MySQL relational database, including:

[0008] The collected rock images are annotated with lithology, and the existing images are flipped, rotated, scaled, cropped, and shifted.

[0009] The weathering degree of the collected tunnel face images is annotated, and the binary image restoration technology of OpenCV is used to repair the scratches on the collected tunnel face images.

[0010] The processed rock images are used to establish a high-quality rock image database through the MySQL relational database.

[0011] The processed tunnel face images are used to establish a high-quality tunnel face image database through the MySQL relational database.

[0012] Establish a face geological information database based on geological survey data.

[0013] In combination with the embodiments of the first aspect, in some embodiments, a sample dataset for identifying the lithology and weathering degree of the rock at the face is established through a high-quality rock image database, a high-quality face image database, and a face geological information database. The identification sample dataset includes two parts: one part is a dataset for training the identification of the lithology and weathering degree of the rock at the face, and the other part is a dataset for testing the accuracy of identifying the lithology and weathering degree of the rock at the face.

[0014] In combination with the embodiments of the first aspect, in some embodiments, the processed rock image uses a recognition model of the rock lithology of the tunnel face to identify the rock lithology of the tunnel face, including:

[0015] According to the sample data set of rock lithology and weathering degree identification at the tunnel face, the model is constructed using the convolution layer, pooling layer and fully connected layer of the deep learning network structure to form a lithology identification model with a multi-layer convolution structure. The hyperparameters of the lithology classification model are optimized according to the Bayesian hyperparameter optimization theory.

[0016] In combination with the embodiments of the first aspect, in some embodiments, the processed tunnel face image uses a tunnel face rock weathering degree recognition model to obtain the initial weathering degree of the tunnel face rock, and a tunnel face rock weathering degree recognition evaluation index system is constructed. The comprehensive weight of the evaluation index is input into the BP neural network model, and the output is the tunnel face rock final weathering degree recognition result, including:

[0017] Based on the AHP method, a weathering degree identification and evaluation index system is constructed. The evaluation indexes include image recognition decision and database recognition decision.

[0018] A MobileNet deep separable convolutional model is constructed, which consists of two parts: DW convolution and PW convolution. The tunnel face images in the database are used for model training.

[0019] The processed palm face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision indicator of the AHP evaluation index system.

[0020] According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network.

[0021] The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock differentiation degree.

[0022] In a second aspect, an embodiment of the present disclosure provides a device for determining the hardness of a tunnel face rock based on an image, comprising:

[0023] The acquisition unit is used to acquire rock images and tunnel face images.

[0024] The processing unit is used for processing rock images and tunnel face images.

[0025] The database unit is used to establish a training set and a test set of data sets for identification samples of rock lithology and weathering degree of the tunnel face.

[0026] The lithology recognition unit is used to recognize the lithology of the tunnel face rock on the processed rock image through the recognition model of the tunnel face rock lithology.

[0027] The weathering degree identification unit is used to identify the weathering degree of the processed tunnel face image using the identification model of the tunnel face rock weathering degree, thereby obtaining the initial weathering degree of the tunnel face rock, constructing an evaluation index system for identifying the weathering degree of the tunnel face rock, inputting the comprehensive weight of the evaluation index into the BP neural network model, and outputting the final weathering degree identification result of the tunnel face rock.

[0028] The tunnel face rock hardness identification unit can identify the tunnel face rock hardness based on the rock hardness classification table and the rock lithology and weathering degree of the tunnel face.

[0029] In conjunction with the embodiments of the second aspect, in some embodiments, the lithology identification unit is used to identify the lithology of the tunnel face rock on the processed rock image using the identification model of the tunnel face rock lithology, including:

[0030] According to the sample data set of rock lithology and weathering degree identification at the tunnel face, the model is constructed using the convolution layer, pooling layer and fully connected layer of the deep learning network structure to form a lithology identification model with a multi-layer convolution structure. The hyperparameters of the lithology classification model are optimized according to the Bayesian hyperparameter optimization theory.

[0031] In conjunction with the embodiments of the second aspect, in some embodiments, the weathering degree identification unit is used to use the identification model of the weathering degree of the tunnel face rock to identify the weathering degree of the processed tunnel face image, thereby obtaining the initial weathering degree of the tunnel face rock, constructing an evaluation index system for identifying the weathering degree of the tunnel face rock, inputting the comprehensive weight of the evaluation index into the BP neural network model, and outputting the final weathering degree identification result of the tunnel face rock, including:

[0032] Based on the AHP method, a weathering degree identification and evaluation index system is constructed. The evaluation indexes include image recognition decision and database recognition decision.

[0033] A MobileNet deep separable convolutional model is constructed, which consists of two parts: DW convolution and PW convolution. The tunnel face images in the database are used for model training.

[0034] The tunnel face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision indicator of the AHP evaluation index system.

[0035] According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network.

[0036] The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock differentiation degree.

[0037] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0038] One or more processors.

[0039] a storage device for storing one or more programs,

[0040] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the hardness of a tunnel face rock based on an image according to the first aspect.

[0041] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the method for determining the hardness of a tunnel face based on an image as described in the first aspect is implemented.

[0042] The beneficial effects of the present invention are as follows: after tunnel blasting, the staff collects rock images and tunnel face images, and then processes the rock images and tunnel face images, and then uses the processed rock images and tunnel face images and geological survey data to establish a database using a MySQL relational database, and then uses the tunnel face rock lithology recognition model to identify the tunnel face rock lithology of the processed rock images, and then uses the tunnel face rock weathering degree recognition model to obtain the initial weathering degree of the tunnel face rock, and constructs a tunnel face rock weathering degree recognition evaluation index system, and inputs the comprehensive weight of the evaluation index into the BP neural network model, and outputs the final weathering degree recognition result of the tunnel face rock, and according to the rock hardness classification table, combined with the lithology and weathering degree of the tunnel face rock, the tunnel face rock hardness can be judged. The image-based tunnel face rock hardness determination method recognizes the collected rock and tunnel face images by establishing a tunnel face rock lithology and weathering degree recognition model, and then according to the rock hardness classification table, combined with the lithology and weathering degree of the tunnel face rock, the tunnel face rock hardness can be judged. This method introduces less subjective factors and overcomes the shortcomings of traditional rock hardness acquisition methods that rely too much on the subjective experience of geologists, resulting in low accuracy and low timeliness.

[0043] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 is a flow chart of a method for determining the hardness of a tunnel face rock based on an image according to an embodiment of the present application;

[0046] Figure 2 These are rock images taken under natural light, incandescent light, and yellow light according to the embodiments of the present application.

[0047] Figure 3 These are rock images obtained by photographing the same rock block at different magnifications according to an embodiment of the present application.

[0048] Figure 4 It is a flow chart of tunnel construction according to an embodiment of the present application.

[0049] Figure 5 is a schematic diagram of a tunnel face image acquisition standard according to an embodiment of the present application.

[0050] Figure 6 These are fresh rocks that fall during construction according to the embodiments of the present application.

[0051] Figure 7 The rock block according to the embodiment of the present application is placed under a white background plate.

[0052] Figure 8 It is a schematic diagram of image sample expansion for lithology annotation according to an embodiment of the present application.

[0053] Fig. 9 It is a schematic diagram of performing scratch repair processing on a collected tunnel face image according to an embodiment of the present application.

[0054] Fig.10 It is a high-quality rock image database diagram according to an embodiment of the present application.

[0055] Fig.11 According to an embodiment of the present application, a structural bar chart is provided in which a sample data set for identifying lithology and weathering degree is established based on a database and an image data set is divided into an original training set and an enhanced training set.

[0056] Fig.12 It is a schematic diagram of constructing a model for identifying rock properties at a tunnel face according to an embodiment of the present application.

[0057] Fig.13It is a schematic diagram of the results of hyperparameter optimization based on the identification model of the rock lithology of the tunnel face according to the embodiment of the present application.

[0058] Fig.14 It is a schematic diagram of the process of identifying the weathering degree of the rock at the tunnel face according to an embodiment of the present application.

[0059] Fig.15 It is a schematic diagram of constructing a MobileNet deep separable convolutional model according to an embodiment of the present application.

[0060] Fig.16 It is a schematic representation of the rock hardness classification according to the embodiment of the present application.

[0061] Fig.17 It is a structural schematic diagram of an image-based tunnel face rock hardness determination device according to an embodiment of the present application.

[0062] Fig.18 It is a schematic diagram of the basic structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0063] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0064] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0065] As used herein, the term "including" and its variations are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment". The term "another embodiment" means "at least one additional embodiment". The term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0066] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0067] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0068] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0069] See also Figure 1 , which shows the process of an embodiment of the method for determining the hardness of a tunnel face rock based on an image according to the present disclosure. Figure 1 As shown, the method for determining the hardness of the rock on the tunnel face based on the image includes the following steps:

[0070] Step 101: Collect rock images and tunnel face images.

[0071] Here, step 101 specifically includes

[0072] Through adaptive tests, the effects of rock images taken under natural light, incandescent light, and yellow light on the model prediction accuracy were compared, and it was determined that the rock image acquisition lighting type should be incandescent light. Figure 2 , Figure 2 The rock images taken under natural light, incandescent light, and yellow light are shown. Please refer to Table 1. Table 1 shows the recognition accuracy of the three different lighting images.

[0073] Table 1 Recognition accuracy of three different lighting shooting

[0074] Image Type medium sandstone Fine sandstone Coarse-grained granite Medium-grained granite Fine-grained granite Natural Light 24.53% 16.35% 23.30% 19.55% 19.82% Incandescent lamp 24.81% 13.05% 23.66% 21.46% 17.03% Yellow light 20.46% 16.85% 21.30% 21.19% 20.20%

[0075] Through adaptive tests, the effects of different magnifications of the same rock block on the model prediction accuracy were compared by comparing the rock images obtained by using a smartphone to determine the parameter settings of the rock image acquisition equipment. Figure 3 , Figure 3 The rock images obtained by shooting the same rock block at different magnifications are shown. Please refer to Table 2. Table 2 shows the recognition accuracy of images at three different magnifications.

[0076] Table 2 Image recognition accuracy at three different magnifications

[0077] Image Type medium sandstone Fine sandstone Coarse-grained granite Medium-grained granite Fine-grained granite 1.0 times 24.81% 13.05% 23.66% 21.46% 17.03% 2.0 times 24.15% 14.05% 23.45% 20.73% 17.64% 3.0 times 20.80% 16.97% 21.60% 20.68% 19.95%

[0078] The tunnel face image acquisition standard is adopted to collect tunnel face photos, and then the collected tunnel face photos are screened for quality and classified and stored.

[0079] Tunnel face image acquisition standards, including

[0080] 1 During tunnel construction, after the on-site blasting is completed and the slag removal and slag discharge are completed, it is the best time to collect images. At this time, you should immediately bring your equipment to the site to prepare for taking pictures. Please refer to Figure 4 , Figure 4 A flow chart showing tunnel construction and the optimal shooting time.

[0081] 2 Before taking photos, place a diffuse light source with a light intensity of 10,000 Lux at 11 m from the face and 1.5 m from the center line of the tunnel. Figure 5 , Figure 5 A schematic diagram of the location of the scattered light source and a histogram of the palm face photos with different light sources are shown.

[0082] 3 Use a camera or mobile phone with a pixel size less than 12 million to take a photo at the center line 12 meters away from the tunnel face. Figure 5 , Figure 5 The light intensity fitting curves and plane light intensity contours of different measuring lines at different distances from the tunnel face are shown. The photos are required to cover the tunnel outline to ensure that the structural surface information of the tunnel face is clearly visible without any obstruction. Please refer to Figure 5 , Figure 5 A partial picture of the tunnel face is shown.

[0083] 4 Move the camera position in a small area and take the second and third photos according to the shooting requirements in step 3. Figure 5 , Figure 5 The figure shows a picture of the whole tunnel face.

[0084] 5. Collect and organize the photos of the palm face from the mobile shooting equipment, screen them for quality and store them by category.

[0085] The rock image acquisition standard is adopted to collect rock images, and then the collected tunnel face photos are screened for quality and stored by lithology classification.

[0086] Rock image acquisition standards, including

[0087] 1After the on-site blasting is completed, and the tunnel face is ventilated and the slag is removed, immediately bring the equipment to the site to prepare for taking photos. Please refer to Figure 4 , Figure 4 A process flow chart showing the tunnel construction process and the optimal shooting time.

[0088] 2. Collect fresh rocks dropped during tunnel blasting and place them on a white background. The background should be clearly distinguishable from the rocks. Figure 6 , Figure 6 Shows fresh rock blocks from construction, see Figure 7 , Figure 7 The rock blocks are shown placed against a white background.

[0089] 3. Use white light for fill-in shooting and ensure that the rock features are obvious. Use a camera or mobile phone with a pixel greater than 12 million and do not use the smart zoom function to take 4 photos of each fresh rock block from different angles to show its fresh structural surface without stains or soil.

[0090] 4 After the slag is discharged, go to the slag dump around the tunnel construction site to carry out the same shooting work.

[0091] 5. Collect and organize rock photos from mobile photography equipment, screen their quality, and store them by rock type classification.

[0092] Step 102, image processing is performed on the rock image and the tunnel face image, and the processed rock image and the tunnel face image and the geological survey data are used to establish a database using a MySQL relational database.

[0093] Here, step 102 specifically includes

[0094] The collected rock images are labeled with lithology, and then the labeled lithology images are flipped, rotated, scaled, cropped, and shifted to expand the sample. Please refer to Figure 8 , Figure 8 A schematic diagram of image sample expansion for lithology annotation is shown.

[0095] The weathering degree of the collected tunnel face images is marked, and the scratches of the collected tunnel face images are repaired using the binary image restoration technology of OpenCV. Fig. 9 , Fig. 9 A schematic diagram of scratch repair processing on the collected tunnel face image is shown.

[0096] The processed rock images are used to build a high-quality rock image database through the MySQL relational database. Fig.10 , Fig.10 A high-quality rock image database.

[0097] The processed tunnel face images are used to establish a high-quality tunnel face image database through the MySQL relational database.

[0098] Based on the static and dynamic geological survey data during the design and construction stages, a geological information database is established using the MySQL relational database.

[0099] Step 103: The processed rock image is used to identify the rock properties of the tunnel face using the identification model of the rock properties of the tunnel face.

[0100] Here, step 103 specifically includes

[0101] A sample dataset for identifying the rock lithology and weathering degree of the face was established through a high-quality rock image database, a high-quality face image database, and a face geological information database. The sample dataset consists of two parts: one is used to train the dataset for identifying the rock lithology and weathering degree of the face, and the other is used to test the accuracy of identifying the rock lithology and weathering degree of the face. Fig.11 , Fig.11 A sample data set for identifying rock type and weathering degree is established based on the database, and a structural bar chart is formed to divide the image data set into an original training set and an enhanced training set. The original training set is a data set used to train and identify the rock type and weathering degree of the face, and the enhanced training set is a data set used to test the accuracy of identifying the rock type and weathering degree of the face.

[0102] According to the sample data set of face rock lithology and weathering degree identification, the model is constructed using the convolution layer, pooling layer and full connection layer of the deep learning network structure, thereby forming a face rock lithology identification model with a multi-layer convolution structure. Fig.12 , Fig.12 Schematic diagram of the model for identifying rock properties at the tunnel face.

[0103] According to the Bayesian hyperparameter optimization theory, the hyperparameters of the identification model of the rock properties of the tunnel face are optimized. Please refer to Fig.13 , Fig.13 Schematic diagram of the results of hyperparameter optimization of the identification model of rock properties at the tunnel face.

[0104] Step 104, the processed tunnel face image uses the tunnel face rock weathering degree recognition model to obtain the tunnel face rock initial weathering degree, constructs a tunnel face rock weathering degree recognition evaluation index system, inputs the comprehensive weight of the evaluation index into the BP neural network model, and outputs the tunnel face rock final weathering degree recognition result.

[0105] Here, step 104 specifically includes

[0106] Based on the AHP method, a weathering degree recognition evaluation index system is constructed. The evaluation indexes include image recognition decision and database recognition decision. The AHP method is as follows: Fig.14 shown.

[0107] A MobileNet deep separable convolutional model is constructed. The model consists of two parts: DW convolution and PW convolution. The tunnel face images in the database are used for model training. The schematic diagram of constructing the MobileNet deep separable convolutional model is shown in the figure. Fig.15 shown.

[0108] The processed palm face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision indicator of the AHP evaluation index system.

[0109] According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network.

[0110] The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock differentiation degree. Fig.14 , Fig.14 Schematic diagram showing the process of identifying the degree of weathering of rocks at the tunnel face.

[0111] Step 105, according to the rock hardness classification table, combined with the lithology and weathering degree of the rock at the tunnel face, the hardness of the rock at the tunnel face can be determined.

[0112] After tunnel blasting, the staff collected rock images and tunnel face images, and then processed the rock images and tunnel face images. The processed rock images, tunnel face images and geological survey data were used to establish a database using a MySQL relational database. The processed rock images were then used to identify the tunnel face rock lithology using the tunnel face rock lithology recognition model. The processed tunnel face images were then used to obtain the initial weathering degree of the tunnel face rock using the tunnel face rock weathering degree recognition model. The tunnel face rock weathering degree recognition evaluation index system was constructed. The comprehensive weight of the evaluation index was input into the BP neural network model. The output was the final weathering degree recognition result of the tunnel face rock. According to the rock hardness classification table, combined with the lithology and weathering degree of the tunnel face rock, the tunnel face rock hardness can be identified. The image-based tunnel face rock hardness determination method identifies the collected rock and tunnel face images by establishing a tunnel face rock lithology and weathering degree recognition model. According to the rock hardness classification table, combined with the lithology and weathering degree of the tunnel face rock, the tunnel face rock hardness can be identified. This method introduces less subjective factors and overcomes the shortcomings of traditional rock hardness acquisition methods that rely too much on the subjective experience of geologists, resulting in low accuracy and low timeliness.

[0113] Here, step 105 specifically includes

[0114] The processed rock image is used to identify the rock lithology of the tunnel face using the identification model of the rock lithology of the tunnel face.

[0115] The processed tunnel face image adopts the tunnel face rock weathering degree recognition model, and the weathering degree of the tunnel face rock is obtained by processing the recognition result.

[0116] For a table of rock hardness, see Fig.16 , Fig.16 The diagram shows the rock hardness classification. Substitute the rock lithology and weathering degree of the face rock into the table to find the corresponding position to obtain the hardness of the face rock.

[0117] This image-based method for determining the hardness of the tunnel face rock proposes a standardized acquisition method for the tunnel face rock image based on the adaptability test of the rock and tunnel face image acquisition conditions. According to the standardized acquisition method, various rock images of the tunnel face are collected, and after annotation and processing, a high-quality rock image database and a tunnel face image database are formed. A geological information database is established based on the geological survey data, and a lithology and weathering degree identification sample data set is established based on the database. The identification sample data set includes: training set and test set. Based on the principles of intelligent algorithm technology such as computer vision, machine learning, and deep learning, the identification models of lithology and weathering degree are respectively constructed. Based on the constructed lithology identification model, the lithology information of the tunnel face rock is obtained. Based on the lithology identification results and the geological information database, the weathering degree of various rocks is identified using the weathering degree identification model. According to the rock hardness classification table, the rock hardness of the tunnel face can be identified by combining the lithology identification and rock weathering degree identification results. This method introduces less subjective factors and overcomes the shortcomings of the traditional rock hardness acquisition method that relies too much on the subjective experience of geologists, resulting in low accuracy and low timeliness.

[0118] Further references Fig.17 As an implementation of the methods shown in the above figures, the present invention discloses a device for determining the hardness of a tunnel face rock based on an image. Figure 1 The device can be specifically applied to various electronic devices.

[0119] like Fig.17As shown, the image-based rock hardness determination device of this embodiment includes: an acquisition unit 801, which is used to acquire rock images and face images. A processing unit 802, which is used to process rock images and face images. A database unit 803, which is used to establish a training set and a test set of identification samples of face rock lithology and weathering degree. A lithology identification unit 804, which is used to identify the face rock lithology of the processed rock image through the face rock lithology identification model. A weathering degree identification unit 805, which is used to identify the weathering degree of the processed face image using the face rock weathering degree identification model, thereby obtaining the initial weathering degree of the face rock, constructing a face rock weathering degree identification evaluation index system, inputting the comprehensive weight of the evaluation index into the BP neural network model, and outputting the final weathering degree identification result of the face rock. A face rock hardness identification unit 806, which can identify the face rock hardness according to the rock hardness classification table, combined with the face rock lithology and weathering degree.

[0120] In some optional embodiments, the lithology identification unit 804 is used to identify the lithology of the tunnel face rock on the processed rock image using the identification model of the tunnel face rock lithology, including:

[0121] According to the sample data set of rock lithology and weathering degree identification at the tunnel face, the model is constructed using the convolution layer, pooling layer and fully connected layer of the deep learning network structure to form a lithology identification model with a multi-layer convolution structure. The hyperparameters of the lithology classification model are optimized according to the Bayesian hyperparameter optimization theory.

[0122] In some optional embodiments, the weathering degree identification unit 805 is used to identify the weathering degree of the processed tunnel face image using the identification model of the tunnel face rock weathering degree, thereby obtaining the initial weathering degree of the tunnel face rock, constructing an identification evaluation index system for the tunnel face rock weathering degree, inputting the comprehensive weight of the evaluation index into the BP neural network model, and outputting the final identification result of the tunnel face rock weathering degree, including:

[0123] Based on the AHP method, a weathering degree identification and evaluation index system is constructed. The evaluation indexes include image recognition decision and database recognition decision.

[0124] A MobileNet deep separable convolutional model is constructed, which consists of two parts: DW convolution and PW convolution. The tunnel face images in the database are used for model training.

[0125] The tunnel face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision indicator of the AHP evaluation index system.

[0126] According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network.

[0127] The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock differentiation degree.

[0128] Reference below Fig.18 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.18 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0129] like Fig.18 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0130] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc. An output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc. A storage device 908 including, for example, a magnetic tape, a hard disk, etc. And a communication device 909. The communication device 909 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig.18 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0131] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0132] It should be noted that the computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0133] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0134] The computer readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0135] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: performs fuzzy preprocessing on the surrounding rock levels of each layer of the face based on the refined grading results of the face. According to the fuzzy stratification results of the surrounding rock of the face, a prediction model for the surrounding rock level in front of the face of the drill-and-blast tunnel is constructed based on the principle of graphic space mapping. Based on the constructed prediction model for the surrounding rock level in front of the face of the drill-and-blast tunnel, the surrounding rock level in the set range in front of the face that has not been revealed is predicted through the revealed refined grading results of the face.

[0136] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0137] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0138] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of the unit does not limit the unit itself in some cases. For example, the preprocessing module may also be described as "a unit for fuzzy preprocessing of the surrounding rock levels of each layer of the face based on the refined classification results of the face".

[0139] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0140] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0141] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0142] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0143] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0144] The above are only preferred implementations of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. An image-based method for determining the hardness of a tunnel face rock, characterized in that: The method comprises: Collect rock images and tunnel face images; Perform image processing on rock images and tunnel face images, and use MySQL relational database to establish a database with the processed rock images, tunnel face images and geological survey data; The processed rock images are used to identify the rock properties of the face using the face rock lithology recognition model; specifically, the model is constructed based on the face rock lithology recognition sample data set using the convolution layer, pooling layer and full connection layer of the deep learning network structure to form a lithology recognition model with a multi-layer convolution structure, and the hyperparameters of the lithology classification model are optimized based on the Bayesian hyperparameter optimization theory; The processed tunnel face image uses the tunnel face rock weathering degree recognition model to obtain the initial weathering degree of the tunnel face rock, and builds a tunnel face rock weathering degree recognition evaluation index system. The comprehensive weight of the evaluation index is input into the BP neural network model, and the output is the tunnel face rock final weathering degree recognition result; specifically including: Based on the AHP method, a weathering degree recognition evaluation index system is constructed, and the evaluation indexes include image recognition decision and database recognition decision; Build a MobileNet deep separable convolutional model, which consists of two parts: DW convolution and PW convolution. Use the tunnel face images in the database for model training. The processed face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision index of the AHP evaluation index system; According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network; The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock weathering degree; According to the rock hardness classification table, combined with the lithology and weathering degree of the rock at the tunnel face, the hardness of the rock at the tunnel face can be judged.

2. The method for determining the hardness of a tunnel face rock based on an image according to claim 1, characterized in that: The rock images and tunnel face images are processed, and the processed rock images, tunnel face images and geological survey data are used to establish a database using the MySQL relational database, including: The collected rock images are labeled with lithology, and the existing images are flipped, rotated, scaled, cropped, and shifted; The weathering degree of the collected tunnel face images is annotated, and the scratches of the collected tunnel face images are repaired using the binary image restoration technology of OpenCV. The processed rock images are used to establish a high-quality rock image database through the MySQL relational database; The processed tunnel face images are used to establish a high-quality tunnel face image database through the MySQL relational database; Establish a face geological information database based on geological survey data.

3. The method for determining the hardness of a tunnel face rock based on an image according to claim 2, characterized in that: A sample dataset for identifying the lithology and weathering degree of the rock at the face was established through a high-quality rock image database, a high-quality face image database, and a face geological information database. The identification sample dataset consists of two parts: one is a dataset for training the identification of the lithology and weathering degree of the rock at the face; the other is a dataset for testing the accuracy of identifying the lithology and weathering degree of the rock at the face.

4. An image-based device for determining the hardness of a tunnel face rock, characterized in that: The device includes: An acquisition unit, used for acquiring rock images and tunnel face images; A processing unit, used for processing rock images and tunnel face images; A database unit, used to establish a data set of a training set and a test set of identification samples of rock lithology and weathering degree of the tunnel face; The lithology recognition unit is used to identify the lithology of the face rock on the processed rock image through the identification model of the face rock lithology; specifically, the unit includes: constructing the model based on the sample data set of the face rock lithology identification by using the convolution layer, pooling layer and full connection layer of the deep learning network structure, thereby forming a lithology identification model with a multi-layer convolution structure, and optimizing the hyperparameters of the lithology classification model based on the Bayesian hyperparameter optimization theory; The weathering degree identification unit is used to identify the weathering degree of the processed tunnel face image using the identification model of the tunnel face rock weathering degree, thereby obtaining the initial weathering degree of the tunnel face rock, constructing an identification and evaluation index system for the tunnel face rock weathering degree, inputting the comprehensive weight of the evaluation index into the BP neural network model, and outputting the final identification result of the tunnel face rock weathering degree; specifically, it includes: Based on the AHP method, a weathering degree recognition evaluation index system is constructed, and the evaluation indexes include image recognition decision and database recognition decision; Build a MobileNet deep separable convolutional model, which consists of two parts: DW convolution and PW convolution. Use the tunnel face images in the database for model training. The processed face image is introduced into the MobileNet convolutional neural network, and the obtained image result is used as the image recognition decision index of the AHP evaluation index system; According to the lithology identification results of the VGG16 deep learning convolutional neural network, they are uploaded to the geological information database to match the rock lithology with the corresponding rock weathering degree in the database, which is used as the database identification decision indicator of the AHP evaluation index system and as feedback to adjust the parameters of the MobileNet convolutional neural network; The comprehensive weight of the evaluation index is used as the input of the BP neural network, and the output result is used as the final identification result of the rock differentiation degree. The tunnel face rock hardness identification unit can identify the tunnel face rock hardness based on the rock hardness classification table and the lithology and weathering degree of the tunnel face rock.

5. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.

6. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.