A micro-target detection method, device, storage medium and electronic equipment

By using the backbone network, prior extraction branch network, and fine detection branch network of a deep convolutional neural network, and adjusting the loss function with object confidence, the problem of insufficient performance in detecting small targets is solved, and efficient recognition of small targets is achieved.

CN117911736BActive Publication Date: 2026-11-2410TH RES INST OF CETC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311592459.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2026-11-24
Estimated Expiration
2043-11-27

AI Technical Summary

Technical Problem

In existing technologies, the detection performance of small targets in images is limited, mainly because the large number of background samples leads to insufficient training of the model for small targets.

Method used

A deep convolutional neural network is used, combining a backbone network, a prior extraction branch network, and a fine detection branch network. The multi-classification loss function is adjusted by adjusting the object confidence, and the fine detection branch network is retrained to improve the detection capability of small targets.

Benefits of technology

It achieves effective detection of small targets, improving the model's attention to and recognition accuracy of small targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117911736B_ABST
    Figure CN117911736B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, storage medium, and electronic device for detecting small targets, relating to the field of image processing technology. The method includes: extracting feature maps of a target image based on a backbone network; calculating the object confidence score of each pixel in the feature map based on a prior extraction branch network; adjusting the multi-classification loss function of the fine-grained detection branch network based on the object confidence scores, and training the fine-grained detection branch network based on the multi-classification loss function; and detecting small targets in the target image based on the trained fine-grained detection branch network. The technical solution of this application achieves effective detection of small targets by using the object confidence scores calculated by the prior extraction branch network to adjust the loss function of the fine-grained detection branch network, training the fine-grained detection branch network using the loss function, and finally using the trained fine-grained detection branch network to detect small targets in the target image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and more specifically, to a method for detecting small targets, a device for detecting small targets, a computer-readable storage medium, and an electronic device. Background Technology

[0002] In images containing small targets, the number of background samples is often much larger than that of small target samples. The background samples contribute the majority of the training loss, resulting in insufficient training for small targets. Consequently, the model's detection performance for small targets is very limited, and it cannot effectively detect small targets in the image. Summary of the Invention

[0003] The embodiments of this application provide a method for detecting small targets, a device for detecting small targets, a computer-readable storage medium, and an electronic device, which solve the technical problem in the prior art that small targets in images cannot be effectively detected.

[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0005] According to a first aspect of the embodiments of this application, a method for detecting small targets is provided. The method is implemented based on a deep convolutional neural network, which includes a backbone network, a priori extraction branch network, and a fine-grained detection branch network, comprising:

[0006] Feature maps of the target image are extracted based on the backbone network;

[0007] The object confidence score of each pixel in the feature map is calculated based on the prior extraction branch network.

[0008] The multi-class loss function of the fine detection branch network is adjusted based on the object confidence, and the fine detection branch network is trained based on the multi-class loss function;

[0009] The fine-grained detection branch network, after training, detects small targets in the target image.

[0010] In some embodiments of this application, based on the foregoing scheme, the step of calculating the object confidence score of each pixel in the feature map based on the prior extraction branch network includes:

[0011] The feature map is fused using the feature pyramid of the prior extraction branch network to obtain a first fused feature map.

[0012] The object confidence score of each pixel is calculated based on the first fused feature map.

[0013] In some embodiments of this application, based on the foregoing scheme, before calculating the object confidence score of each pixel in the feature map based on the prior extraction branch network, the method further includes:

[0014] The prior extraction branch network is trained using binary classification labels.

[0015] In some embodiments of this application, based on the foregoing scheme, adjusting the multi-classification loss function of the fine-grained detection branch network based on the object confidence includes:

[0016] The object confidence score is used as the attention weight and multiplied by the multi-class loss function of the fine detection branch network.

[0017] In some embodiments of this application, based on the foregoing scheme, the detection of minute targets in the target image based on the trained fine-grained detection branch network includes:

[0018] The multi-class confidence score of each pixel in the feature map is calculated based on the trained fine detection branch network.

[0019] The target image is detected based on the multi-class confidence score.

[0020] In some embodiments of this application, based on the foregoing scheme, the calculation of the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network includes:

[0021] The feature map is fused using the feature pyramid of the trained fine detection branch network to obtain a second fused feature map.

[0022] The multi-class confidence score of each pixel is calculated based on the second fused feature map.

[0023] In some embodiments of this application, based on the foregoing scheme, before calculating the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network, the method further includes:

[0024] The fine-grained detection branch network is trained using multi-class labels.

[0025] According to a second aspect of the embodiments of this application, a small target detection device is provided, comprising:

[0026] The extraction unit is used to extract feature maps of the target image based on the backbone network;

[0027] The first computing unit is used to calculate the object confidence of each pixel in the feature map based on the prior extraction branch network.

[0028] The first adjustment unit is used to adjust the multi-class loss function of the fine detection branch network based on the object confidence score;

[0029] Training unit, used to train the fine detection branch network based on the multi-class loss function;

[0030] The detection unit is used to detect small targets in the target image based on the trained fine detection branch network.

[0031] According to a third aspect of the embodiments of this application, a computer-readable storage medium is provided, the storage medium storing computer instructions that, when executed on a computer, cause the computer to perform any of the methods described in the first aspect above.

[0032] According to a fourth aspect of the embodiments of this application, an electronic device is provided, including a memory and a processor;

[0033] The memory is used to store computer instructions;

[0034] The processor is configured to invoke computer instructions stored in the memory, causing the electronic device to perform the method described in any of the first aspects above.

[0035] The technical solution of this application adjusts the loss function of the fine detection branch network by using the object confidence calculated by the prior extraction branch network, then retrains the fine detection branch network using the loss function, and finally uses the retrained fine detection branch network to detect small targets in the target image, thus achieving effective detection of small targets.

[0036] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0038] Figure 1 A flowchart illustrating a method for detecting small targets according to an embodiment of this application is shown;

[0039] Figure 2 A structural block diagram of a micro-target detection device according to an embodiment of this application is shown;

[0040] Figure 3 A structural block diagram of an electronic device according to an embodiment of this application is shown;

[0041] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0043] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0044] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0045] The following detailed description of some embodiments of this application will be provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0046] See Figure 1 The diagram shows a flowchart of a small target detection method according to an embodiment of this application.

[0047] like Figure 1 As shown, a method for detecting small targets is illustrated. This method is based on a deep convolutional neural network, which includes a backbone network, a prior extraction branch network, and a fine detection branch network. The method specifically includes steps S100 to S400.

[0048] For example, the deep convolutional neural network in this application embodiment can be a ResNet50 network. The ResNet50 network is composed of residual units and is mainly used to solve the gradient vanishing and gradient exploding problems caused by the increase of network depth.

[0049] Step S100: Extract feature maps of the target image based on the backbone network.

[0050] For example, the backbone network of the ResNet50 network is used to perform convolution and pooling operations on the input target image to obtain four feature maps {F1, F2, F3, F4}. The downsampling steps of these feature maps relative to the target image are {8, 16, 32, 64}, and the corresponding number of output channels are {256, 512, 1024, 2048}, respectively.

[0051] Continue to refer to Figure 1 Step S200: Calculate the object confidence score of each pixel in the feature map based on the prior extraction branch network.

[0052] Understandably, object confidence scores can be used to initially distinguish which part of the target image is an object and which part is the background. For example, if the object confidence score of a pixel is higher than a first set threshold, it means that the pixel belongs to an object; if it is lower than the first set threshold, it means that the pixel belongs to the background. The first set threshold is set according to the actual situation.

[0053] In some feasible embodiments, based on the foregoing scheme, the step of calculating the object confidence score of each pixel in the feature map based on the prior extraction branch network includes:

[0054] The feature map is fused using the feature pyramid of the prior extraction branch network to obtain a first fused feature map.

[0055] The object confidence score of each pixel is calculated based on the first fused feature map.

[0056] For example, based on the aforementioned example, the four feature maps {F1, F2, F3, F4} obtained from the backbone network are output to the feature pyramid of the prior extraction branch network. Based on upsampling and lateral feature fusion, five feature maps {B1, B2, B3, B4, B5} at different scales are output, with downsampling step sizes of {8, 16, 32, 64, 128}, and each feature map having 256 feature channels. The fusion method is as follows:

[0057] B i =F i +upsample(B i+1 ), i∈[1,2,3];

[0058] F4 is the final output feature map of ResNet-50, which is directly connected to the PE detection head as B4. B5 is obtained by downsampling B4 by a factor of two, without going through the feature fusion module.

[0059] The five feature maps at different scales {B1, B2, B3, B4, B5} are the first fused feature maps, and each fused feature map at each scale is connected to the corresponding PE prediction head.

[0060] In the PE prediction head, each first fused feature map is convolved 4 times to obtain a feature map with 256 channels;

[0061] Subsequently, each feature map with 256 channels is compressed to output a single-channel feature. After the single-channel feature is processed by the sigmoid operation, the object confidence of each pixel in the first fused feature map {B1, B2, B3, B4, B5} is obtained.

[0062] In some feasible embodiments, based on the foregoing scheme, before calculating the object confidence of each pixel in the feature map based on the prior extraction branch network, the method further includes:

[0063] The prior extraction branch network is trained using binary classification labels.

[0064] Understandably, the trained prior extraction branch network can classify pixels. For example, when a pixel is labeled as a specific category, its binary classification label is 1; when a pixel is the background category, its binary classification label is 0. The binary classification label makes it easier to identify the background and objects in the feature map.

[0065] It is understandable that in the technical solution of this application, the initial classification is first performed using the object confidence level, and then the binary classification label is used to confirm whether the classification is correct.

[0066] Continue to refer to Figure 1 Step S300: Adjust the multi-class loss function of the fine detection branch network based on the object confidence, and train the fine detection branch network based on the multi-class loss function.

[0067] Understandably, adjusting the multi-class loss function of the fine-grained detection branch network using object confidence can result in higher loss for high-confidence samples, while reducing the loss for background samples and increasing attention to small targets.

[0068] In some feasible embodiments, based on the foregoing scheme, adjusting the multi-classification loss function of the fine-grained detection branch network based on the object confidence includes:

[0069] The object confidence score is used as the attention weight and multiplied by the multi-class loss function of the fine detection branch network.

[0070] For example, the object confidence p calculated by the prior extraction branch network is used. obj Multiplying this by the original loss function FocalLoss(FL) of the fine detection branch network yields the adjusted loss function Extra-FocalLoss(EFL), as shown in Equation (1):

[0071] EFL=p obj ×FL. (1)

[0072] Continue to refer to Figure 1 Step S400: Detect small targets in the target image based on the trained fine detection branch network.

[0073] Understandably, the refined detection branch network obtained after retraining with a multi-class loss function pays more attention to small targets in the target image and can accurately identify small targets in the target image.

[0074] In some feasible embodiments, based on the foregoing scheme, the detection of minute targets in the target image based on the trained fine-grained detection branch network includes:

[0075] The multi-class confidence score of each pixel in the feature map is calculated based on the trained fine detection branch network.

[0076] The target image is detected based on the multi-class confidence score.

[0077] Understandably, multi-class confidence indicates the probability that each pixel in an image is classified as a certain type of object. The higher the confidence, the higher the probability that the pixel is classified as a certain type of object. For example, if the multi-class confidence of a pixel of a certain object meets a set threshold, it indicates that the pixel is that object.

[0078] In some feasible embodiments, based on the foregoing scheme, the calculation of the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network includes:

[0079] The feature map is fused using the feature pyramid of the trained fine detection branch network to obtain a second fused feature map.

[0080] The multi-class confidence score of each pixel is calculated based on the second fused feature map.

[0081] For example, based on the aforementioned example, the four feature maps {F1, F2, F3, F4} obtained from the backbone network are output to the feature pyramid of the fine detection branch network. Based on upsampling and lateral feature fusion, five feature maps {M1, M2, M3, M4, M5} at different scales are output, with downsampling step sizes of {8, 16, 32, 64, 128}, and each feature map having 256 feature channels. The fusion method is as follows:

[0082] M i =F i +upsample(M i+1 ), i∈[1,2,3];

[0083] F4 is the final output feature map of ResNet-50, which is directly connected to the PE detection head as M4. M5 is obtained by downsampling M4 by a factor of 2, without going through the feature fusion module.

[0084] The five feature maps {M1, M2, M3, M4, M5} obtained at different scales are the second fusion feature maps. For the feature maps {M1, M2, M3, M4, M5} output by FPN in the fine detection branch, each scale feature map is connected to the corresponding prediction head. In the classification task of the prediction head, each second fusion feature map is convolved four times to obtain a feature map with 256 channels. Then, each feature map with 256 channels is compressed to output a feature map with C channels, where C is the number of classes in the dataset. After performing a sigmoid operation on the output feature map with C channels, the multi-class confidence of each second fusion feature map is obtained.

[0085] In some feasible embodiments, based on the foregoing scheme, before calculating the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network, the method further includes:

[0086] The fine-grained detection branch network is trained using multi-class labels.

[0087] It is understandable that multi-class labels can classify pixels in an image by sampling them in multiple ways.

[0088] Understandably, fine-grained extraction branches predict the probability of an object being classified into a certain category, so multi-class labels are needed to confirm whether the classification is correct during training.

[0089] It should be noted that in this application, "multi-classification" can be understood as dividing news into three categories: sports, finance, and others. "Dichotomy" in this application can be understood as dividing news into two categories: sports and non-sports.

[0090] The following describes an embodiment of the apparatus described in this application, which can be used to execute a small target detection method as described in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0091] Reference Figure 2 As shown, a micro-target detection device 200 according to an embodiment of this application includes: an extraction unit 201, a first calculation unit 202, a first adjustment unit 203, a training unit 204, and a detection unit 205.

[0092] The system includes: an extraction unit 201 for extracting feature maps of the target image based on the backbone network; a first calculation unit 202 for calculating the object confidence of each pixel in the feature map based on the prior extraction branch network; a first adjustment unit 203 for adjusting the multi-class classification loss function of the fine detection branch network based on the object confidence; a training unit 204 for training the fine detection branch network based on the multi-class classification loss function; and a detection unit 205 for detecting small targets in the target image based on the trained fine detection branch network.

[0093] In some feasible embodiments, based on the foregoing scheme, the first computing unit 202 is configured as follows:

[0094] The feature map is fused using the feature pyramid of the prior extraction branch network to obtain a first fused feature map.

[0095] The object confidence score of each pixel is calculated based on the first fused feature map.

[0096] In some feasible embodiments, based on the foregoing scheme, the first adjustment unit 203 is configured as follows:

[0097] The object confidence score is used as the attention weight and multiplied by the multi-class loss function of the fine detection branch network.

[0098] In some feasible embodiments, based on the foregoing scheme, the detection unit 205 includes: a second calculation unit, used to calculate the multi-class confidence of each pixel in the feature map based on the trained fine detection branch network; and a detection subunit, used to detect small targets in the target image based on the multi-class confidence.

[0099] In some feasible embodiments, based on the foregoing scheme, the second computing unit is configured as follows:

[0100] The feature map is fused using the feature pyramid of the trained fine detection branch network to obtain a second fused feature map.

[0101] The multi-class confidence score of each pixel is calculated based on the second fused feature map.

[0102] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of this application is shown.

[0103] like Figure 3 As shown, this application embodiment also provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor. When the processor 320 executes the computer program 311, it implements the small target detection method described in the above embodiment.

[0104] Since the electronic device described in this embodiment is the device used to implement a small target detection device in the embodiments of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiments of this application is within the scope of protection of this application.

[0105] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.

[0106] It should be noted that, Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0107] like Figure 4 As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 402 or programs loaded from Storage Unit 408 into Random Access Memory (RAM) 403, such as performing the methods described in the above embodiments. The RAM 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An Input / Output (I / O) interface 405 is also connected to the bus 404.

[0108] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.

[0109] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.

[0110] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0112] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0113] In another aspect, this application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the small target detection method described in the above embodiments.

[0114] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to implement the small target detection method described in the above embodiments.

[0115] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0116] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0117] Other embodiments of this application will readily conceive of by those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for detecting small targets, the method being implemented based on a deep convolutional neural network, the deep convolutional neural network comprising a backbone network, a prior extraction branch network, and a fine detection branch network, characterized in that, include: Feature maps of the target image are extracted based on the backbone network; The object confidence score of each pixel in the feature map is calculated based on the prior extraction branch network. The multi-class loss function of the fine detection branch network is adjusted based on the object confidence, and the fine detection branch network is trained based on the multi-class loss function; The trained fine-detection branch network is used to detect small targets in the target image. The calculation of the object confidence score of each pixel in the feature map based on the prior extraction branch network includes: The feature map is fused using the feature pyramid of the prior extraction branch network to obtain a first fused feature map. The object confidence score of each pixel is calculated based on the first fused feature map; The adjustment of the multi-class loss function of the fine-grained detection branch network based on the object confidence includes: The object confidence score is used as the attention weight and multiplied by the multi-class loss function of the fine detection branch network; The method of detecting minute targets in the target image based on the trained fine-grained detection branch network includes: The multi-class confidence score of each pixel in the feature map is calculated based on the trained fine detection branch network. Detecting small targets in the target image based on the multi-class confidence score; The calculation of the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network includes: The feature map is fused using the feature pyramid of the trained fine detection branch network to obtain a second fused feature map. The multi-class confidence score of each pixel is calculated based on the second fused feature map.

2. The method according to claim 1, characterized in that, Before calculating the object confidence score of each pixel in the feature map based on the prior extraction branch network, the method further includes: The prior extraction branch network is trained using binary classification labels.

3. The method according to claim 1, characterized in that, Before calculating the multi-class confidence score of each pixel in the feature map based on the trained fine-grained detection branch network, the following steps are also included: The fine-grained detection branch network is trained using multi-class labels.

4. A micro-target detection device, applied to the method as described in any one of claims 1-3, characterized in that, include: The extraction unit is used to extract feature maps of the target image based on the backbone network; The first computing unit is used to calculate the object confidence of each pixel in the feature map based on the prior extraction branch network. The first adjustment unit is used to adjust the multi-class loss function of the fine detection branch network based on the object confidence score; Training unit, used to train the fine detection branch network based on the multi-class loss function; The detection unit is used to detect small targets in the target image based on the trained fine detection branch network.

5. A computer-readable storage medium, characterized in that, The storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-3.

6. An electronic device, characterized in that, Including memory and processor; The memory is used to store computer instructions; The processor is configured to invoke computer instructions stored in the memory, causing the electronic device to perform the method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Cascade regression target detection method and device and computer readable storage medium

    CN114241250A

  • View sensing network model for unmanned aerial vehicle and target detection method

    CN115641518A