Highway pavement crack area detection method and positioning network training method
Through a three-stage network training method, including feature extraction, generative confrontation and feature fusion, the problem of low accuracy in highway pavement crack detection is solved and higher-precision crack identification is achieved.
Patent Information
- Application Number
- CN202410704352.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-27
AI Technical Summary
The accuracy of highway pavement crack detection in the existing technology is low, mainly due to the complexity of the road surface and the small number of crack pixels, which makes feature extraction difficult and difficult to accurately identify pavement cracks.
A three-stage network training method is adopted. First, the feature extraction network and detection head are built. In the second stage, two feature extraction networks are set up for generative adversarial processing to convert ordinary features into super-resolution features. In the third stage, the generator is integrated into the feature extraction. between the network and the feature fusion network to improve detection accuracy.
Through the super-resolution feature generator, the detection accuracy of crack areas on highway pavement is improved, pavement cracks can be identified more accurately, and detection accuracy is improved.
Smart Images

Figure CN118710873A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of highway pavement target detection, and in particular to a highway pavement crack area detection method and a positioning network training method. Background Art
[0002] The detection of cracks in highway pavement has always been one of the important research contents of road traffic safety. In recent years, the research on deep learning and target detection has promoted the intelligent development of crack detection methods. As the basis of road health assessment and pavement maintenance measures, crack detection has become a research focus in the fields of roads, bridges, tunnels, etc., with important research value and broad application prospects.
[0003] However, the current detection accuracy of highway pavement cracks is low. Summary of the invention
[0004] The technical problem to be solved by the present application is to provide a method for detecting crack areas in a highway pavement and a positioning network training method, which has the characteristics of being able to detect cracks in a highway pavement more accurately.
[0005] In a first aspect, an embodiment provides a method for training a network for locating crack areas in a highway pavement, comprising:
[0006] Obtain multiple image samples, annotate cracks on each image sample, and construct a training set;
[0007] Construct the first basic network architecture and perform the first phase of network training to obtain trained feature extraction network, feature fusion network and detection head;
[0008] Build the second basic network architecture and conduct the second phase of network training to obtain the trained generator and discriminator;
[0009] Based on the trained feature extraction network, generator, feature fusion network and detection head, the third basic network architecture is constructed and the third stage of network training is performed;
[0010] The trained third basic network architecture is used as a network for locating crack areas on highway pavement;
[0011] The construction of the first basic network architecture and the first phase of network training to obtain a trained feature extraction network, feature fusion network and detection head include:
[0012] Constructing the first basic network architecture including feature extraction network, feature fusion network and detection head;
[0013] Using the image samples in the training set as the input of the first basic network architecture, training the first basic network architecture in combination with the first loss function, and obtaining a trained feature extraction network, a feature fusion network, and a detection head;
[0014] The second basic network architecture is constructed and the second phase of network training is performed to obtain a trained generator and discriminator, including:
[0015] Constructing a second basic network architecture including a feature extraction network, a generator and a discriminator; wherein the feature extraction network includes two, and the two feature extraction networks are both feature extraction networks trained in the first training stage;
[0016] Using the image samples in the training set as the first input of the second basic network architecture; using the image samples in the training set as the second input of the second basic network architecture after downsampling; freezing the two feature extraction networks, and training the second basic network architecture in combination with the second loss function to obtain a trained generator;
[0017] The third basic network architecture is constructed based on the trained feature extraction network, generator, feature fusion network and detection head, and the third stage of network training is performed, including:
[0018] Constructing a third basic network architecture including a feature extraction network, a generator, a feature fusion network and a detection head; wherein the feature extraction network, the feature fusion network and the detection head are the feature extraction network, the feature fusion network and the detection head trained in the first training stage, and the generator is the generator trained in the second training stage;
[0019] The image samples in the training set are used as the input of the third basic network architecture; the feature extraction network and the feature fusion network are frozen, and the third basic network architecture is trained in combination with the third loss function.
[0020] In a second aspect, an embodiment provides a method for detecting crack areas in a highway pavement, which collects highway pavement images and uses the collected highway pavement images as input, and performs detection based on a highway pavement crack area positioning network obtained in the highway pavement crack area positioning network training method described in any of the above embodiments.
[0021] The beneficial effects of the present invention are:
[0022] Combining three training stages, the first stage trains the feature extraction network, feature fusion network and detection head as the basis for subsequent stages. The second stage trains a set of generators and discriminators by setting up two feature extraction networks and inputting images of different scales. Through generative adversarial processing, ordinary features are converted into super-resolution features. In the third stage, the generator is integrated into the network of the first stage, located between the feature extraction network and the feature fusion network. Through the three-stage network training, a super-resolution feature generator can be obtained, thereby obtaining a highway pavement crack area positioning network that can predict higher accuracy, so as to improve the accuracy of highway pavement crack detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of a process flow of a network training method for locating crack areas on a highway pavement according to an embodiment of the present application;
[0024] Figure 2 This application Figure 1 A method flow diagram of an embodiment of step S10;
[0025] Figure 3 This application Figure 1 A method flow diagram of an embodiment of step S20;
[0026] Figure 4 This application Figure 3 A method flow diagram of an embodiment of step S202;
[0027] Figure 5 This is a schematic diagram of a feature fusion network architecture of an embodiment of the present application;
[0028] Figure 6 This application Figure 1 A method flow diagram of an embodiment of step S30;
[0029] Figure 7 This application Figure 6 A method flow diagram of an embodiment of step S302;
[0030] Figure 8 This is a schematic diagram of a second basic network architecture of an embodiment of the present application;
[0031] Fig. 9 This application Figure 1 A method flow diagram of an embodiment of step S40;
[0032] Fig.10 This is a schematic diagram of a third basic network architecture of an embodiment of the present application;
[0033] Fig.11 This application Fig. 9 A method flow chart of an embodiment of step S402 in FIG. DETAILED DESCRIPTION
[0034] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0035] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0036] The serial numbers assigned to the components in this article, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.
[0037] To facilitate the description of the inventive concept of the present application, a brief description of the highway pavement crack detection technology is given below.
[0038] In the current road crack detection based on deep learning and target monitoring, the semantic segmentation of road cracks has the following problems: 1. The number of pixels of cracks is very small; 2. The computational complexity of the semantic segmentation task is relatively large. Therefore, in order to improve the efficiency of detection, region positioning is required before the semantic segmentation task, and the region with cracks is located as the input of the semantic segmentation task.
[0039] However, the applicant found that there are the following problems in regional positioning of cracks: 1. The road surface is complex, and there are many factors that interfere with the identification of cracks, such as the shadows of other objects have many similarities with cracks; 2. Cracks are sparsely distributed in space, with few pixels, and feature extraction is more difficult than general objects, and the feature characterization ability is poor. Therefore, the current technology has a weak detection ability for cracks and it is difficult to identify road cracks more accurately.
[0040] Based on this, a highway pavement crack area detection method and a positioning network training method are provided in an embodiment of the present application. A super-resolution feature generator is obtained by combining the three-stage training process and integrating it into the detection network, so that the features extracted from normal-size images and super-resolution images have the same characterization capabilities, and pavement cracks can be identified more accurately.
[0041] In order to more clearly illustrate the present application, the network training method for locating crack areas in highway pavement is first described below.
[0042] An embodiment of the present application provides a method for training a network for locating crack areas on a highway pavement. Figure 1 ,include:
[0043] Step S10, obtaining multiple image samples, annotating cracks on each image sample, and constructing a training set.
[0044] In one embodiment, please refer to Figure 2 , step S10 may include:
[0045] Step S101, obtaining multiple image samples, and marking cracks on each image sample; each image sample contains cracks on the road surface.
[0046] In one embodiment, the method of acquiring image samples may include: using a mobile device or a road collection vehicle to collect road surface images as a basis for constructing a data set, and selecting images containing cracks from the collected road surface images as an image set.
[0047] In one embodiment, LabelMe image annotation software may be used to annotate the image, clearly and meticulously annotate the circumscribed area (such as a rectangular area) of the crack, and obtain an annotation file for each image.
[0048] Step S102 , applying a shadow removal algorithm to identify and remove shadows from each image sample after crack annotation.
[0049] In one embodiment, the shadow removal algorithm applied may be ST-CGAN or other effective shadow removal techniques to identify and remove shadow portions in an image.
[0050] Step S103, performing data enhancement processing on each image sample after the shadow is removed to obtain an image data set, thereby obtaining a training set.
[0051] In one embodiment, each image sample after shadow removal is first enlarged to a uniform size and then randomly cropped. In one embodiment, it can be first enlarged to (2048, 2048), and the cropped image size can be (512, 512), and then the image is flipped. For the flipped image, photometric distortion is applied in sequence, which can include random brightness, random contrast, converting color from BGR to HSV, random saturation, random hue, converting color from HSV to BGR, and random contrast.
[0052] Step S20, constructing a first basic network architecture and performing a first phase of network training to obtain a trained feature extraction network, a feature fusion network and a detection head.
[0053] In one embodiment, please refer to Figure 3 , step S20 may include:
[0054] Step S201, constructing a first basic network architecture including a feature extraction network, a feature fusion network and a detection head.
[0055] In one embodiment, the feature extraction network includes 10 layers, and the feature fusion network adopts a progressive feature pyramid structure.
[0056] Step S202: Use the image samples in the training set as input of the first basic network architecture, and train the first basic network architecture in combination with the first loss function to obtain a trained feature extraction network, feature fusion network and detection head.
[0057] In one embodiment, please refer to Figure 4 , the above-mentioned using the image samples in the training set as the input of the first basic network architecture, and training the first basic network architecture in combination with the first loss function, includes:
[0058] Step S2021, using the image samples in the training set as input to the feature extraction network, and obtaining a first feature map of four dimensions through feature extraction processing.
[0059] In one embodiment, the outputs of the third layer, the fifth layer, the seventh layer and the tenth layer in the 10-layer structure of the feature extraction network are extracted as the first feature maps of the four dimensions.
[0060] Step S2022: The first feature maps of the four dimensions are subjected to feature fusion processing to obtain four second feature maps.
[0061] In one embodiment, please refer to Figure 5The feature fusion process of the progressive feature pyramid structure shown in the figure, where the arrow indicates the direction of feature fusion. The arrow pointing from the upper left to the lower right indicates that the upper left feature is downsampled to the same size as the lower right feature. The arrow pointing to the right indicates that the left feature is directly passed to the right feature. The arrow pointing from the lower left to the upper right indicates that the lower left feature is upsampled to the same size as the upper right feature. In this structure, a 1×1 convolution kernel is used to adjust the number of channels, upsampled by bilinear interpolation, and downsampled by adjusting the size and step size of the convolution kernel.
[0062] The numbers below the box indicate the row and column numbers of the current feature. For example, “3, 1” indicates the feature in the third row and first column.
[0063] Step S2023, the four second feature maps are subjected to classification prediction processing and positioning prediction processing by the detection head, and based on the results of the classification prediction processing and the positioning prediction processing, combined with the first loss function, training is performed until convergence to obtain the feature extraction network, feature fusion network and detection head trained in the first training stage.
[0064] The four second feature maps are sent to four detection heads for crack area detection. Each detection head consists of two parts, one part performs classification prediction to obtain the type of crack, and the other part performs positioning prediction to obtain the location of the crack.
[0065] In one embodiment, the loss function for classification prediction uses cross entropy, and the positioning box prediction uses anchor-free technology, and the positioning box is also regarded as a regression task.
[0066] In one embodiment, the first loss function includes:
[0067] L Box =L CIoU +L DFL
[0068] Among them, L Box represents the first loss function; L CIoU represents the complete intersection-over-union loss function, IoU represents intersection over union, ρ(·) represents Euclidean distance calculation, b represents the predicted bounding box, and b gt represents the true bounding box, c represents the diagonal distance of the minimum closure area that contains both the predicted box and the true box; L DFL represents the distribution focal loss function, L DFL (S i ,S i+1 )=-((y i+1 -y)log(S i )+(yy i )log(S i+1 ), y represents the true label, y irepresents the i-th predicted output, S i represents the probability value of the i-th predicted output, and log(·) represents the logarithmic calculation.
[0069] Step S30, constructing a second basic network architecture and performing a second phase of network training to obtain a trained generator and discriminator.
[0070] In one embodiment, please refer to Figure 6 , step S30 comprises:
[0071] Step S301, constructing a second basic network architecture including a feature extraction network, a generator and a discriminator. The feature extraction networks include two, and both feature extraction networks are feature extraction networks trained in the first training stage.
[0072] The network parameters of the two feature extraction networks are the same. For the convenience of description, the two feature extraction networks are distinguished as a first feature extraction network and a second feature extraction network for clear explanation.
[0073] Step S302, using the image samples in the training set as the first input of the second basic network architecture; using the image samples in the training set as the second input of the second basic network architecture after downsampling; freezing the two feature extraction networks, and training the second basic network architecture in combination with the second loss function to obtain a trained generator.
[0074] In one embodiment, please refer to Figure 7 and Figure 8 , step S302 includes:
[0075] Step S3021, subjecting the first input to feature extraction processing by a feature extraction network to obtain a third feature map of four dimensions; subjecting the second input to feature extraction processing by another feature extraction network to obtain a fourth feature map of four dimensions.
[0076] In one embodiment, the first input is processed by the first feature extraction network to obtain a third feature map of four dimensions; the second input is processed by the second feature extraction network to obtain a fourth feature map of four dimensions. Since the second input is a feature image of the pattern sample of the first input after downsampling, the result after the feature extraction process of the first feature extraction network has a larger receptive field than the ordinary feature after the feature extraction process of the second feature extraction network, and the feature obtained is a true super-resolution feature.
[0077] Step S3022, the fourth feature maps of the four dimensions are processed by the generator through generative adversarial processing to obtain four fifth feature maps.
[0078] The generator receives the common features extracted by the second feature extraction network and obtains the pseudo super-resolution features after generative adversarial processing.
[0079] Step S3023, after the four fourth characteristic graphs and the four fifth characteristic graphs are processed by the discriminator, the authenticity identification result is obtained.
[0080] The real super-resolution features and pseudo super-resolution features are input to the discriminator, and the discriminator outputs a set of probabilities to represent the possibility of the real super-resolution rate features. The generator and discriminator are iteratively trained until convergence, and finally a generator that can accept ordinary features and output super-resolution features is obtained as a super-resolution feature generator.
[0081] Among them, the super-resolution feature generator can be composed of multiple residual connection blocks, and the discriminator can be composed of a 3-layer perceptron. The loss function of the generator consists of two parts, content loss and adversarial loss.
[0082] In one embodiment, the second loss function includes:
[0083] L gen-total =α·L cont +β·L gen
[0084] Among them, L gen-total represents the second loss function, α and β represent the weights of content loss and adversarial loss, which can be updated through training learning; L cont Indicates content loss, SRF j represents the jth third feature map, FSRF j represents the jth fifth feature map; L gen represents the adversarial loss, L gen (G,D) i =E(log(D(SRF i )))+E(log(1-D(G(FSRF i )))), E(·) represents the expectation function, G(·) represents the output of the generator, D(·) represents the output of the discriminator, and log(·) represents logarithmic calculation.
[0085] Step S40, constructing a third basic network architecture based on the trained feature extraction network, generator, feature fusion network and detection head and performing the third stage of network training.
[0086] In one embodiment, please refer to Fig. 9 and Fig.10 , step S40 comprises:
[0087] Step S401, constructing a third basic network architecture including a feature extraction network, a generator, a feature fusion network and a detection head. The feature extraction network, the feature fusion network and the detection head are the feature extraction network, the feature fusion network and the detection head trained in the first training phase, and the generator is the generator trained in the second training phase.
[0088] Step S402, using the image samples in the training set as the input of the third basic network architecture; freezing the feature extraction network and the generator, and training the third basic network architecture in combination with the third loss function.
[0089] In the third stage of training, the feature fusion network and detection head need to be fine-tuned. At this time, it is necessary to freeze the feature extraction network and generator, and then train the third basic network structure.
[0090] In one embodiment, please refer to Fig.11 , step S402 includes:
[0091] Step S4021, taking the image samples in the training set as input, and obtaining a sixth feature map of four dimensions after feature extraction processing by a feature extraction network.
[0092] Step S4022, the sixth feature maps of the four dimensions are processed by the generator through generative adversarial processing to obtain four seventh feature maps.
[0093] Step S4023, four eighth feature maps are obtained by performing feature fusion processing on the four seventh feature maps.
[0094] In step S4024, the four eighth feature maps are subjected to classification prediction processing and positioning prediction processing by the detection head. Based on the results of the classification prediction processing and the positioning prediction processing, combined with the third loss function, training is performed until convergence to obtain a trained third basic network architecture.
[0095] In one embodiment, in the third stage of network training, the third loss function used is the first loss function mentioned above.
[0096] Step S50: Using the trained third basic network architecture as a highway pavement crack area positioning network.
[0097] Combining the three training stages mentioned above, the first stage trains the feature extraction network, feature fusion network and detection head as the basis for the subsequent stages. The second stage trains a set of generators and discriminators by setting up two feature extraction networks and inputting images of different scales. Through generative adversarial processing, ordinary features are converted into super-resolution features. In the third stage, the generator is integrated into the network of the first stage, located between the feature extraction network and the feature fusion network. Since the input of the feature fusion network and the detection head has changed, it is necessary to freeze the feature extraction network and generator, train again, and fine-tune the feature fusion network and the detection head.
[0098] As a small target in the road surface, cracks are difficult to identify in the detection task because their pixels are sparse. In order to make the features extracted from normal-size images and super-resolution images have the same representation ability, through the above three stages of network training, a super-resolution feature generator can be obtained, thereby obtaining a highway pavement crack area positioning network with higher prediction accuracy, so as to improve the accuracy of highway pavement crack detection.
[0099] In one embodiment of the present application, a method for detecting crack areas in a highway pavement is provided, which collects highway pavement images and uses the collected highway pavement images as input, and performs detection based on a highway pavement crack area positioning network obtained in the highway pavement crack area positioning network training method described in any of the above embodiments.
[0100] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes a method that can be loaded by a processor and process any of the above embodiments.
[0101] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0102] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A network training method for locating crack areas on highway pavement. It is characterized in that include: Obtain multiple image samples, annotate cracks on each image sample, and construct a training set; Construct the first basic network architecture and perform the first phase of network training to obtain trained feature extraction network, feature fusion network and detection head; Build the second basic network architecture and conduct the second phase of network training to obtain the trained generator and discriminator; Based on the trained feature extraction network, generator, feature fusion network and detection head, the third basic network architecture is constructed and the third stage of network training is performed; The trained third basic network architecture is used as a network for locating crack areas on highway pavement; The construction of the first basic network architecture and the first phase of network training to obtain a trained feature extraction network, feature fusion network and detection head include: Constructing the first basic network architecture including feature extraction network, feature fusion network and detection head; Using the image samples in the training set as the input of the first basic network architecture, training the first basic network architecture in combination with the first loss function, and obtaining a trained feature extraction network, a feature fusion network, and a detection head; The second basic network architecture is constructed and the second phase of network training is performed to obtain a trained generator and discriminator, including: Constructing a second basic network architecture including a feature extraction network, a generator and a discriminator; wherein the feature extraction network includes two, and the two feature extraction networks are both feature extraction networks trained in the first training stage; Using the image samples in the training set as the first input of the second basic network architecture; using the image samples in the training set as the second input of the second basic network architecture after downsampling; freezing the two feature extraction networks, and training the second basic network architecture in combination with the second loss function to obtain a trained generator; The third basic network architecture is constructed based on the trained feature extraction network, generator, feature fusion network and detection head, and the third stage of network training is performed, including: Constructing a third basic network architecture including a feature extraction network, a generator, a feature fusion network and a detection head; wherein the feature extraction network, the feature fusion network and the detection head are the feature extraction network, the feature fusion network and the detection head trained in the first training stage, and the generator is the generator trained in the second training stage; The image samples in the training set are used as the input of the third basic network architecture; the feature extraction network and the feature fusion network are frozen, and the third basic network architecture is trained in combination with the third loss function.
2. The highway pavement crack area positioning network training method according to claim 1, It is characterized in that The method of obtaining multiple image samples, annotating cracks on each image sample, and constructing a training set includes: Acquire multiple image samples and annotate cracks on each image sample; each image sample contains cracks on the road surface; Apply the shadow removal algorithm to identify and remove shadows from each image sample after crack annotation; Data enhancement processing is performed on each image sample after shadow removal to obtain an image data set, thereby obtaining a training set.
3. The highway pavement crack area positioning network training method according to claim 1, It is characterized in that The method of using the image samples in the training set as the input of the first basic network architecture and training the first basic network architecture in combination with the first loss function includes: The image samples in the training set are used as the input of the feature extraction network, and the first feature map of four dimensions is obtained through feature extraction processing; The first feature maps of the four dimensions are subjected to feature fusion processing to obtain four second feature maps; The four second feature maps are subjected to classification prediction processing and positioning prediction processing by the detection head. Based on the results of the classification prediction processing and the positioning prediction processing, combined with the first loss function, training is performed until convergence to obtain the feature extraction network, feature fusion network and detection head trained in the first training stage.
4. The highway pavement crack area positioning network training method as claimed in claim 3, It is characterized in that The first loss function includes: L Box =L CIoU +L DFL Among them, L Box represents the first loss function; L CIoU represents the complete intersection-over-union loss function, IoU represents intersection over union, ρ(·) represents Euclidean distance calculation, b represents the predicted bounding box, and b gt represents the true bounding box, c represents the diagonal distance of the minimum closure area that contains both the predicted box and the true box; L DFL represents the distribution focal loss function, L DFL (S i ,S i+1 )=-((y i+1 -y)log(S i )+(yy i )log(S i+1 ), y represents the true label, y i represents the i-th predicted output, S i represents the probability value of the i-th predicted output, and log(·) represents the logarithmic calculation.
5. The highway pavement crack area positioning network training method according to claim 1, It is characterized in that The image samples in the training set are used as the first input of the second basic network architecture; the image samples in the training set are downsampled and used as the second input of the second basic network architecture; Freeze the two feature extraction networks, and train the second basic network architecture in combination with the second loss function to obtain a trained generator, including: The first input is subjected to feature extraction processing by a feature extraction network to obtain a third feature map of four dimensions; the second input is subjected to feature extraction processing by another feature extraction network to obtain a fourth feature map of four dimensions; The fourth feature maps of the four dimensions are subjected to generative adversarial processing by a generator to obtain four fifth feature maps; After the four fourth characteristic maps and the four fifth characteristic maps are processed by the discriminator, the authenticity identification result is obtained.
6. The highway pavement crack area positioning network training method according to claim 5, It is characterized in that The second loss function includes: L gen-total =α·L cont +β·L gen Among them, L gen-total represents the second loss function, α and β represent the weights of content loss and adversarial loss, which can be updated through training learning; L cont Indicates content loss, SRF j represents the jth third feature map, FSRF j represents the jth fifth feature map; L gen represents the adversarial loss, L gen (G,D) i =E(log(D(SRF i )))+E(log(1-D(G(FSRF i )))), E(·) represents the expectation function, G(·) represents the output of the generator, D(·) represents the output of the discriminator, and log(·) represents logarithmic calculation.
7. The highway pavement crack area positioning network training method according to claim 5, It is characterized in that The training learning frequency of the discriminator is less than the training learning frequency of the generator.
8. The highway pavement crack area positioning network training method according to claim 1, It is characterized in that The image samples in the training set are used as input of the third basic network architecture; Freeze the feature extraction network and the feature fusion network, and train the third basic network architecture in combination with the third loss function, including: The image samples in the training set are used as input, and the sixth feature map of four dimensions is obtained after feature extraction processing by the feature extraction network; The sixth feature maps of the four dimensions are subjected to generative adversarial processing by a generator to obtain four seventh feature maps; The four seventh feature maps are subjected to feature fusion processing to obtain four eighth feature maps; The four eighth feature maps are subjected to classification prediction processing and positioning prediction processing by the detection head. Based on the results of the classification prediction processing and the positioning prediction processing, combined with the third loss function, training is performed until convergence to obtain a trained third basic network architecture.
9. The highway pavement crack area positioning network training method according to claim 8, It is characterized in that The third loss function adopts the first loss function.
10. A method for detecting crack areas on a highway pavement. It is characterized in that A highway pavement image is collected and used as input to perform detection based on a highway pavement crack area positioning network obtained in a highway pavement crack area positioning network training method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Pavement crack image super-resolution reconstruction method and device based on generative adversarial network
CN111986079A
Crack identification method based on deep learning
CN113822880A
Small target detection method based on super-resolution multi-scale feature fusion
CN114241274A
