Concrete apparent defect detection and management method based on deep learning and augmented reality

Through deep learning and augmented reality technology, it solves the problem of manual detection dependence, achieves efficient detection and management of apparent defects in concrete, improves detection accuracy and management efficiency, provides intuitive feedback on quality issues, and simplifies user operations.

CN118644469AInactive Publication Date: 2024-09-13BEIJING UNIV OF TECH +1

Patent Information

Application Number
CN202410839875.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, concrete defect detection relies on manual observation, which lacks scientificity and objectivity, and has low recording and management efficiency. It is difficult to detect and deal with small defects on the concrete surface in a timely manner, and there are potential safety hazards.

Method used

Using a concrete apparent defect classification model based on deep learning and augmented reality technology, image data is collected through smartphones, the deep learning model is trained and deployed, combined with the Unity3D engine for detection and classification, and intuitive quality is provided through the augmented reality feedback module Problem solving and management of quality information.

Benefits of technology

It improves the accuracy and efficiency of concrete defect detection, provides intuitive feedback on quality issues, improves the efficiency of concrete quality management, simplifies user operations, and achieves real-time defect detection and classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644469A
    Figure CN118644469A
Patent Text Reader

Abstract

The invention discloses a concrete defect detection and management method based on deep learning and augmented reality, and the method comprises the steps: model training: training a concrete apparent defect classification model based on deep learning; the image acquisition and image preprocessing module is used for collecting concrete image data of an engineering field and cutting, zooming and normalizing the acquired image; and the apparent defect detection and classification module is used for detecting the collected concrete image by applying the trained concrete defect classification model and accurately judging the type of the concrete quality problem. The augmented reality feedback module enables a user to more intuitively perceive the condition of the concrete quality problem; and the quality information management module is used for recording and managing the detection result. According to the system, deep learning and augmented reality technologies are creatively integrated, field personnel are helped to quickly and accurately judge concrete defects, and on the other hand, the efficiency and feedback speed of concrete quality management are improved through the one-stop quality information management module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of concrete quality management, and in particular to a method for detecting and managing concrete surface defects based on deep learning and augmented reality. Background Art

[0002] As an indispensable basic material in modern construction projects, the quality of concrete directly affects the safety, durability, environmental protection and resource consumption of the project. In the rapidly developing concrete industry, with the increase in the amount of concrete used, quality problems such as concrete cracks, exposed reinforcement, honeycombs, etc. are becoming increasingly prominent. The existence of these problems not only seriously affects the quality and service life of the project, but also leads to a series of safety hazards if they are not managed and handled in a timely and effective manner.

[0003] At present, the detection and classification of concrete defects mainly rely on manual work. The results of manual observation often rely on the experience of quality inspectors, lack of scientificity and objectivity, and it is difficult to detect tiny defects on the concrete surface, with low accuracy and efficiency. On the other hand, the recording and management of concrete defects usually need to be done manually and then input into the network system. The whole process spans a long time and space, the quality management efficiency is low, and the information feedback is not timely. Summary of the invention

[0004] In view of the above problems, the present invention aims to provide a method for detecting and managing concrete surface defects based on deep learning and augmented reality, which method comprises the following steps: Step 1: Deep learning model training and deployment. Train the concrete surface defect classification model based on deep learning and deploy the model to the Unity3D engine.

[0005] Step 2, image acquisition and preprocessing module, used to collect concrete image data at the construction site, provide data basis for subsequent work, and crop, scale and normalize the acquired images; Step 3: The surface defect detection and classification module uses a deep learning-based concrete surface defect detection and classification model to perform detection and classification and store the results.

[0006] Step 4, the augmented reality feedback module allows users to perceive the situation of concrete quality problems more intuitively and provide solutions.

[0007] Step 5: Quality information management module records and manages the test results.

[0008] Step 6: compile, package and publish on Android or IOS platform.

[0009] Step 7: Use smartphones on site to detect and manage concrete surface defects.

[0010] Further, in step 1, the following steps may be performed in sequence: Step 1.1: Collect and construct a concrete surface defect dataset; Step 1.2: Expand the data set through data augmentation techniques and improve the model’s ability to resist disturbances; Step 1.3: Divide the dataset into training set and test set and perform preprocessing; Step 1.4: Select the optimizer and set hyperparameters such as learning rate, number of iterations, and training batch size; Step 1.5: Input the training set into the convolutional neural network model for training, and test it with the test set to obtain a concrete defect detection and classification model; Step 1.6: Convert the trained model from PTH format to ONNX format. After the conversion is complete, deploy the ONNX model to the Unity3D engine.

[0011] Further, in step 2, the following steps may be performed in sequence: Step 2.1: Based on the Unity3D engine, call the camera of the smartphone to collect concrete image data; Step 2.2: Adjust the acquired image data to a resolution of 256×256 pixels, and then capture the center of the image at a resolution of 224×224 pixels; Step 2.3: Normalize and standardize the image data; Step 2.4: Convert image data to Tensor format.

[0012] Further, in step 3, the following steps may be performed in sequence: Step 3.1: Based on the Unity3D engine, the pre-processed image data is input into the concrete defect detection and classification model through the worker.Execute function; Step 3.2: The detection and classification results are derived through worker.CopyOutput. The detection results include no defects and defects, and the defects are classified into concrete cracks, concrete honeycombs and concrete exposed reinforcement; Step 3.3: Save the detection and classification results.

[0013] Further, in step 4, the following steps may be performed in sequence: Step 4.1: Establish a model based on the concrete surface defect characteristics; Step 4.2: Based on the ARFoundation development kit, the classification results of the concrete surface defects are matched with the corresponding feature models, and the feature models are displayed in an augmented reality manner within the user's field of view, so that the user can perceive the concrete quality problems more intuitively; Further, in step 5, the following steps may be performed in sequence: Step 5.1: Based on the Unity3D engine, the detection and classification results are matched with the structural positions where the apparent defects exist; Step 5.2: Write a C# script to associate the input concrete axis number with the defect detection and classification results to generate a table to record the concrete surface defect information. The script uses a Dictionary type variable to store data. If the variable does not exist before storing data, the script will automatically create and save it locally. If the variable already exists, the script will load the data from the local. Step 5.3: Construct the SaveData function to save the data into the Dictionary. The function first obtains the data in the input box and the result of the classification system. If the data already exists in the Dictionary, the data is updated and a pop-up message of successful update is displayed. Otherwise, the new data is added to the Dictionary and a pop-up message of successful saving is displayed. To ensure the uniqueness of each defect record, the data ID is automatically generated by the system according to the current time. Further, in step 6, based on the Unity3D engine, compile, package and publish on the Android or IOS platform; Furthermore, in step 7, a smartphone is used on-site to detect and manage concrete surface defects.

[0014] The advantages and positive effects of the present invention are: (1) The application of the present invention can effectively improve the detection and classification efficiency of concrete surface defects. Traditional concrete defect detection usually relies on manual observation and analysis, which is time-consuming and the accuracy is limited by the level of manual technology. The present invention applies deep learning algorithms to concrete defect detection, which not only greatly improves the detection efficiency, but also improves the accuracy and consistency of detection.

[0015] (2) The present invention provides users with a more intuitive way to perceive concrete quality problems by using augmented reality technology to provide feedback. Users can view and understand the quality status of concrete in real time, which can help discover and solve problems more quickly.

[0016] (3) The invention also helps to improve the efficiency of quality management of concrete projects. By recording and managing test results, quality issues of concrete can be tracked more effectively, helping managers make timely decisions and provide feedback.

[0017] (4) The smartphone application mode of the present invention makes it extremely convenient and extensive. Users can perform real-time concrete defect detection and classification through their mobile phones, which greatly facilitates user use.

[0018] In summary, the present invention realizes efficient detection and management of concrete surface defects by utilizing deep learning and augmented reality technology, and has high practical value and broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or other aspects and advantages of the present invention will become clearer and easier to understand through the detailed description made in conjunction with the following drawings, which are only exemplary and do not limit the present invention, wherein: Figure 1 This is a flow chart of the concrete surface defect detection and management method based on deep learning.

[0020] Figure 2 These are example images of various image datasets after annotation.

[0021] Figure 3 This is an example graph of deep learning model accuracy.

[0022] Figure 4 This is an example diagram of the ONNX model structure.

[0023] Figure 5 This is an example of the concrete surface defect detection results.

[0024] Figure 6 This is an example diagram of the concrete surface defect characteristic model.

[0025] Figure 7 This is an example diagram of the surface defect repair method.

[0026] Figure 8 This is an example diagram of the concrete surface defect detection and management interface based on deep learning and augmented reality. DETAILED DESCRIPTION

[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0028] like Figure 1 As shown, the present invention provides a method for detecting and managing concrete surface defects based on deep learning and augmented reality, the method comprising the following steps: Collect and construct concrete surface defect datasets, such as Figure 2As shown in the figure. Data enhancement is performed by horizontal flipping, vertical flipping, adding Gaussian noise, adding salt and pepper noise, perspective transformation, random brightness adjustment, and a combination of multiple enhancement methods to enhance the model's anti-disturbance ability and enable the model to detect and classify in complex environments. Then, the image data is adjusted to a resolution of 224×224 pixels, and the data is normalized and standardized. Finally, a total of 40,000 image data including no defects, concrete cracks, concrete honeycombs, and concrete exposed reinforcement are obtained.

[0029] Then, the ResNet18 network model was pre-trained on the ImageNet dataset, and the model weights were transferred to the concrete surface defect detection and classification model using the transfer learning method. The model parameter settings during training are as follows: the batch size is set to 32, the number of model iterations is set to 200, and the Adam optimizer, which is computationally efficient, simple to implement, and has low memory requirements, is used. The training set and the test set are divided in a ratio of 8:2. The hardware configuration is as follows: CPU: Intel Xeon E5-2680 v4 @2.4GHz, RAM: 32GB, GPU: NVIDIA Geforce RTX 3060. The software configuration is as follows: PyTorch1.10, Python 3.7, TensorFlow 2.7.0.

[0030] Using an equal interval learning rate reduction strategy, different learning rate sizes will affect the accuracy and convergence speed of the model to a certain extent. When the learning rate adjustment multiple is 0.5, the convergence speed changes, but the accuracy is higher. At the same time, when the learning rate reduction interval is 5, the initial accuracy is high, and the accuracy and loss function converge quickly. After convergence, the accuracy is high and the loss function is low. The Precision, Accuracy, Recall, and F1-score of this model on the concrete quality problem test set all reached 99.79%. The accuracy diagram is shown in the figure below. Figure 3 shown.

[0031] The training set is input into the convolutional neural network model for training, and the test set is used for testing to obtain the concrete defect detection and classification model. The trained model is converted from PTH format to ONNX format. After the conversion is completed, the ONNX model is deployed to the Unity3D engine, such as Figure 4 shown.

[0032] Furthermore, based on the Unity3D engine, a script is written to capture a frame of the smartphone camera, and a script is written to process the image, create a new Texture2D object, and display the processed image on the screen for the user to check. The script is written to process the image data collected by the camera, including image scaling and pixel value normalization and standardization. The collected image data is adjusted to a resolution of 256×256 pixels, and then the center of the image is captured to a resolution of 224×224 pixels; the pixel values ​​are normalized according to the mean of the Imagenet dataset: image_mean=[0.485,0.456,0.406] and the standard deviation: image_std=[0.229,0.224,0.225], and finally converted to Tensor format.

[0033] Furthermore, based on the Unity3D engine, the preprocessed Tensor image data is input into the concrete defect detection and classification model through an algorithm to derive the detection and classification results. The detection results include no defects and defects, and the defects are classified as concrete cracks, concrete honeycombs, and concrete exposed reinforcement. Input into the loaded ONNX model for classification. Use the worker.Execute function to input the Tensor data into the deep learning model, and then use the worker.CopyOutput function to obtain the output results of the model and store them in a tensor object. Convert the data in the output tensor into a floating-point array, decode the output result, obtain the classification result and store it. The recognition result is as follows: Figure 5 shown.

[0034] Furthermore, based on the Unity3D engine, augmented reality technology is used to match the detection and classification results, and the defect feature model, defect cause and repair method are displayed. The feature models of honeycomb, crack and exposed reinforcement are established respectively, and these models are imported into the Unity3D project and set as prefabs, such as Figure 6 As shown in the figure. Using augmented reality technology, the classification results of concrete quality problems are combined with the corresponding concrete quality problem feature model, and the feature model is displayed within the user's field of view, so that users can more intuitively perceive the situation of concrete quality problems. Using Worldspace UI, the information, causes and repair videos of quality problems are placed in AR. In this way, users can intuitively understand concrete quality problems and their repair methods in a real environment, such as Figure 7 shown.

[0035] Furthermore, based on the Unity3D engine, the detection and classification results and the structural locations with apparent defects are matched one by one, which is convenient for subsequent repair processing. Figure 8As shown in the figure, by inputting the concrete axis number, the system generates a table to record the concrete surface defect information according to the axis number and the defect detection and classification results. The script uses a variable of type Dictionary to store data. If the variable does not exist before storing the data, the script will automatically create it and save it locally. If the variable already exists, the script will load the data from the local. Construct the SaveData function to save the data to the Dictionary. The function first obtains the data in the input box and the results of the classification system. If the data already exists in the Dictionary, the data is updated and a pop-up message of successful update is displayed. Otherwise, the new data is added to the Dictionary and a pop-up message of successful saving is displayed. The ID of the data is generated by user input or the current time. Finally, the Dictionary is saved locally and the data panel is updated.

[0036] Furthermore, based on the Unity3D engine, use the Android Build Support component to publish the project into an apk installation package.

[0037] Furthermore, when using a smartphone to inspect concrete at the construction site, the system will automatically detect existing defects and display the corresponding defect model in an augmented reality manner, giving the cause and solution of the defect. The characteristic model of concrete defects and information, causes and repair videos of quality problems in the augmented reality environment can also be viewed; and a table will be generated to record the concrete surface defect information for easy recording and subsequent repair work.

[0038] The present invention is not limited to the above-mentioned embodiments. Anyone can derive other various forms of products under the inspiration of the present invention. However, no matter what changes are made in the shape or structure, any technical solution that is the same or similar to that of the present application falls within the protection scope of the present invention.

Claims

1. A method for detecting and managing concrete surface defects based on deep learning and augmented reality, characterized in that: The method comprises the following steps: Step 1: Deep learning model training and deployment: input the training set into the convolutional neural network model for training, and test it with the test set to obtain the concrete defect detection and classification model; convert the trained model into ONNX format; after the conversion is completed, deploy the ONNX model to the Unity3D engine; Step 2: Create an image acquisition and preprocessing module. Based on the Unity3D engine, write a script to capture a frame of the smartphone camera and process the image. Write a script to adjust the image data captured by the camera to a resolution of 256×256 pixels, and then capture the center of the image at a resolution of 224×224 pixels. Normalize the pixel values ​​according to the mean of the Imagenet dataset and finally convert them into Tensor format; Step 3: Create a surface defect detection and classification module based on the Unity3D engine. Use the worker.Execute function to input the Tensor data into the deep learning model. Then use the worker.CopyOutput function to obtain the output of the model and store it in a tensor object. Convert the data in the output tensor into a floating-point array, decode the output result, obtain the classification result and store it. Step 4: Create an augmented reality feedback module, establish feature models of honeycombs, cracks, and exposed reinforcement, import these models into the Unity3D project, and set them as prefabs; match the classification results of concrete surface defects with the corresponding feature models based on the ARFoundation development kit, and display the feature models in an augmented reality manner within the user's field of view to perceive concrete quality problems; use the World space UI to place the quality problem information, causes, and repair videos in the augmented reality environment; Users can intuitively understand concrete quality problems and their repair methods in a real-life environment; Step 5: Create a quality information management module based on the Unity3D engine to correspond the inspection and classification results with the structural positions with apparent defects; write a C# script to realize the automatic association between the concrete axis number and the defect inspection results, and generate a detailed defect information table; The data ID is automatically generated by the system based on the current time; Step 6: compile, package and publish on Android or IOS platform; Step 7, use a smartphone to inspect the concrete at the construction site, aim the camera at the defective part, click the identification button, automatically detect the existing defects and display the corresponding defect model in an augmented reality way, give the cause and solution of the defect, and view the characteristic model of the concrete defect and the information, cause and repair video of the quality problem in the augmented reality environment; input the concrete axis number, associate the input concrete axis number with the defect detection and classification results to generate a table to record the concrete surface defect information, which is convenient for recording and subsequent repair work.

2. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 1, the following steps can be performed in sequence: Step 1.1: Collect and construct a concrete surface defect dataset; Step 1.2: Expand the data set through data augmentation techniques, such as horizontal flipping, vertical flipping, adding Gaussian noise, adding salt and pepper noise, perspective transformation, random brightness adjustment, and a combination of multiple enhancement methods; Step 1.3: The training set and test set are divided into 8:2 ratios, the image data is adjusted to 224 × 224 pixel resolution, and the data is normalized and standardized; Step 1.4: Select the optimizer and set hyperparameters such as learning rate, number of iterations, and training batch size; Step 1.5: Then, the ResNet18 network model is pre-trained on the ImageNet dataset, and the model weights are transferred to the concrete surface defect detection and classification model using the transfer learning method to obtain the concrete defect detection and classification model; Step 1.6: Convert the trained model from PTH format to ONNX format; after the conversion is complete, deploy the ONNX model to the Unity3D engine.

3. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 2, perform the following steps in sequence: Step 2.1: Based on the Unity3D engine, call the camera of the smartphone to collect concrete image data; Step 2.2: Adjust the acquired image data to a resolution of 256×256 pixels, and then capture the center of the image at a resolution of 224×224 pixels; Step 2.3: Normalize the pixel values ​​according to the mean: image_mean=[0.485,0.456,0.406] and standard deviation: image_std=[0.229,0.224,0.225] of the Imagenet dataset; Step 2.4: Convert image data to Tensor format.

4. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 3, the following steps may be performed in sequence: Step 3.1: Based on the Unity3D engine, the preprocessed image data is input into the concrete defect detection and classification model through the worker.Execute function; Step 3.2: The detection and classification results are derived through the worker.CopyOutput function and stored in a tensor object. The detection results include no defects and defects, and the defects are classified into concrete cracks, concrete honeycombs, and concrete exposed reinforcement. Step 3.3: Convert the data in the output tensor into a floating-point array, decode the output result, obtain the classification result and store it.

5. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 4, perform the following steps in sequence: Step 4.1: Create feature models of honeycomb, cracks, and exposed reinforcement, import these models into the Unity3D project, and set them as prefabs; Step 4.2: Based on the ARFoundation development kit, the classification results of the concrete surface defects are matched with the corresponding feature models, and the feature models are displayed in an augmented reality manner within the user's field of view, so that the user can intuitively perceive the situation of the concrete quality problem.

6. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 5, perform the following steps in sequence: Step 5.1: Based on the Unity3D engine, the detection and classification results are matched with the structural positions where the apparent defects exist; Step 5.2: Write a C# script to associate the input concrete axis number with the defect detection and classification results to generate a table to record the concrete surface defect information. The script uses a Dictionary type variable to store data. If the variable does not exist before storing data, the script will automatically create and save it locally. If the variable already exists, the script will load the data from the local. Step 5.3: Construct the SaveData function to save the data into the Dictionary. The function first obtains the data in the input box and the result of the classification system. If the data already exists in the Dictionary, the data is updated and a pop-up message of successful update is displayed. Otherwise, the new data is added to the Dictionary and a pop-up message of successful saving is displayed. To ensure the uniqueness of each defect record, the data ID is automatically generated by the system according to the current time.

7. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 6, for the Android system, use the Android Build Support component to publish the project into an apk installation package; for the IOS system, compile it into an Xcode project through IOS Build Support and then publish it to the IOS system.

8. The method for detecting and managing concrete surface defects based on deep learning and augmented reality according to claim 1, characterized in that: In step 7, a smartphone is used to inspect the concrete at the construction site. The system will automatically detect the existing defects and display the corresponding defect model in an augmented reality manner, provide the cause and solution of the defect, and view the characteristic model of the concrete defect and the information, cause and repair video of the quality problem in the augmented reality environment; and generate a table to record the concrete surface defect information for easy recording and subsequent repair work.

Citation Information

Patent Citations

  • Concrete defect detection method and device based on full convolutional neural network, and storage medium

    CN111612786A

  • Concrete surface defect detection method under defect-free sample condition

    CN117132546A

  • Concrete structure surface defect classification method and system based on hybrid neural network

    CN117218434A

  • Equipment interactive teaching method and teaching system based on mixed reality

    CN117238182A

Cited By

  • Molybdenum plate detection method and system

    CN119269515A

  • A molybdenum plate detection method and system

    CN119269515B

  • Anomaly tracking system and method using enterprise digital twins based mixed reality

    WO2026089943A1