Human target detection method and system from the perspective of UAV based on semantic enhancement
Through semantic enhancement technology, human body semantic information is extracted and focused, which solves the problem of low accuracy of human target detection from the perspective of drones and achieves highly accurate detection of human targets.
Patent Information
- Application Number
- CN202410873754.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-02
AI Technical Summary
In human target detection, drones have problems such as small target scale, single feature extraction angle, large number of targets, complex backgrounds, and insufficient light, which results in low detection accuracy, prone to missed or false detections, and difficulty in handling occlusions and similarities. Shape object interference.
A method based on semantic enhancement is adopted to extract potential human targets by obtaining drone perspective images, perform spatial transformation and low-dimensional feature extraction, use human body semantic segmentation to extract biological information focused features, and combine with confidence cross-validation to achieve human target detection. .
It effectively reduces misjudgment of non-main targets and background interference, improves the accuracy of human target detection from the drone's perspective, and reduces the impact of background and interference targets.
Smart Images

Figure CN118411641B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to a method and system for detecting human targets from the perspective of an unmanned aerial vehicle based on semantic enhancement. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Unmanned aerial vehicles, or UAVs for short, are unmanned aircraft that are controlled by radio remote control equipment and self-contained program control devices, or are operated completely or intermittently autonomously by onboard computers. UAVs are usually equipped with cameras or sensors that can capture high-resolution images to make up for the shortcomings of satellite remote sensing that cannot obtain images due to cloud cover, and can also solve the problems of traditional satellite remote sensing, such as long re-entry cycles and untimely emergency response. UAVs are more mobile and can perform tasks flexibly where needed, so they can be widely used in human target detection, such as search and rescue of emergency personnel.
[0004] Through the organic combination of drones and edge computing devices, when drones perform human target detection tasks during flight, they do not need to transmit all data information to the ground or the cloud for data processing. This greatly reduces the time lag caused by data delays and improves the response speed of drones. The edge computing device is embedded in the drone to realize real-time processing of the acquired image data during the flight of the drone to efficiently and quickly perform human target detection tasks. There is no need to transmit all data to the cloud, thereby reducing communication pressure and time lag delays. Based on the embedded edge computing device, the drone analyzes and processes the acquired image data information in real time and performs human target detection and identification work. At the same time, the important information of detection and identification is transmitted to the ground station or other control center.
[0005] According to the inventors, the current drones used for human target detection have the following defects:
[0006] (1) The target scale is small. That is, drones usually collect images from a bird’s-eye view. The feature extraction angle is too single. The imaging pixels of targets that are far away are relatively small, which makes it easy for missed detections or false detections to occur during detection.
[0007] (2) When there are many targets, there are factors such as target occlusion and interference from objects of similar shapes. Compared with natural images, there are more targets in drone images, but the coverage area of human targets in the images is extremely small, and there are even occlusion problems. There is an imbalance between positive and negative samples, which makes the detection learning process easily disturbed by background noise and difficult to focus on the image targets of interest from the drone's perspective.
[0008] (3) The influence of scenes such as complex backgrounds and insufficient light. In other words, the free and flexible movement of drones has certain problems such as perspective conversion and motion blur. In addition, the lighting influence caused by weather changes and cloud occlusion in different application scenarios lead to large differences in the appearance of different targets belonging to the same category, which poses a great challenge to the generalization ability of the detection model. Summary of the invention
[0009] To solve the above problems, the present invention proposes a method and system for human target detection from the perspective of a drone based on semantic enhancement, which enhances the human semantic information in the images acquired from the perspective of the drone, effectively extracts the human semantic information, and improves the accuracy of human target detection from the perspective of the drone.
[0010] According to some embodiments, a first solution of the present invention provides a method for detecting human targets from a drone perspective based on semantic enhancement, using the following technical solutions:
[0011] A method for detecting human targets from the perspective of a drone based on semantic enhancement, comprising:
[0012] Get drone-view images;
[0013] Extract potential human targets from the acquired images and obtain the coordinates of the potential human target annotation boxes;
[0014] Performing spatial transformation operations on the acquired images and extracting low-dimensional feature maps of the transformed images;
[0015] Performing focus enhancement processing on the extracted low-dimensional feature map to obtain a biological information focus feature map;
[0016] Human body semantic segmentation is used to extract features of the biological information focus feature map, and a probability feature map of the human body semantic area is obtained;
[0017] The obtained potential human target annotated box coordinates and the human semantic area probability feature map are cross-validated with confidence to obtain the human target annotated box coordinates and complete the human target detection.
[0018] As a further technical limitation, the drone perspective image obtained is continuous video frame data collected by the drone camera, potential human targets are detected in each frame of the video image, and the labeled box coordinates of the potential human targets in the video image are extracted. The extracted potential human target labeled box coordinates include at least the human target serial number, the human target prediction probability, the center point coordinates of the labeled box, and the height and width of the labeled box.
[0019] Furthermore, in the process of confidence cross-validation, the probability mean of the corresponding annotation box position of each human target number in the potential human target annotation box coordinates in the human semantic area probability feature map is determined according to the center point coordinates of the annotation box and the height and width of the annotation box, and the semantically enhanced human target detection probability is calculated according to the obtained probability mean and the human target prediction probability; according to the obtained semantically enhanced human target detection probability and the human target number, the center point coordinates of the annotation box and the height and width of the annotation box, the coordinates of the human target annotation box are determined, the human target position is determined, and the detection of the human target is realized.
[0020] As a further technical limitation, a human body semantic region segmentation model is used to extract features of different human body semantic regions of the bio-information focusing feature map to obtain a semantic segmentation feature map corresponding to the human body semantic region; the obtained semantic segmentation feature map is normalized to obtain a human body semantic region probability feature map.
[0021] Furthermore, the number of obtained semantic segmentation feature maps is consistent with the number of human body semantic regions.
[0022] As a further technical limitation, the spatially transformed drone perspective image is processed through a convolutional neural network to obtain a low-dimensional feature map; the obtained low-dimensional feature map is processed by an attention layer to focus on the image features of the low-dimensional feature map to obtain an attention score of the low-dimensional feature map; the features of the low-dimensional feature map are enhanced according to the obtained attention score to obtain enhanced features of the low-dimensional feature map; the enhanced features of the low-dimensional feature map obtained by spatial attention aggregation are obtained to obtain a bio-information focused feature map.
[0023] According to some embodiments, a second solution of the present invention provides a human target detection system from the perspective of a drone based on semantic enhancement, which adopts the following technical solutions:
[0024] A human target detection system from the perspective of a drone based on semantic enhancement, including:
[0025] A human target acquisition module, which is configured to acquire images from the perspective of a drone;
[0026] A general target detection module is configured to extract potential human targets from the acquired image and obtain the coordinates of the potential human target annotation box;
[0027] A human semantic enhancement module is configured to perform a spatial transformation operation on the acquired image to extract a low-dimensional feature map of the transformed image; perform focus enhancement processing on the extracted low-dimensional feature map to obtain a biological information focus feature map; use human semantic segmentation to perform feature extraction on the biological information focus feature map to obtain a human semantic region probability feature map;
[0028] The human target detection module is configured to perform confidence cross-validation on the obtained potential human target annotated box coordinates and the human semantic area probability feature map to obtain the human target annotated box coordinates and complete the human target detection.
[0029] According to some embodiments, a third solution of the present invention provides a computer-readable storage medium, which adopts the following technical solution:
[0030] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of a method for detecting human targets from a drone perspective based on semantic enhancement as described in the first solution of the present invention.
[0031] According to some embodiments, a fourth solution of the present invention provides an electronic device, which adopts the following technical solution:
[0032] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement as described in the first solution of the present invention are implemented.
[0033] According to some embodiments, a fifth solution of the present invention provides a computer program product, which adopts the following technical solution:
[0034] A computer program product includes software code, wherein the program in the software code executes the steps in the method for detecting human targets from the perspective of a drone based on semantic enhancement as described in the first embodiment of the present invention.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention reduces non-primary target misjudgment and background interference by extracting potential human targets; through human semantic enhancement, a semantic segmentation module is used to identify detectable human body parts, and biological information weighting is performed on high-attention areas; through human target detection, human targets are identified, and confidence cross-validation is performed using weighted semantic enhancement features and initially identified human targets to determine human targets, thereby achieving real-time human target detection from the perspective of a drone.
[0037] The present invention focuses the target detection features on the human body area through two-level human semantic information enhancement, minimizes the influence of background and interference targets, and greatly improves the accuracy of human target detection from the perspective of drones. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0039] Figure 1 This is a flow chart of a method for detecting human targets from the perspective of a drone based on semantic enhancement in Embodiment 1 of the present invention;
[0040] Figure 2 This is a structural block diagram of a human target detection system from a drone perspective based on semantic enhancement in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0041] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0042] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0043] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0044] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0045] Embodiment 1
[0046] Embodiment 1 of the present invention introduces a method for detecting human targets from the perspective of a drone based on semantic enhancement.
[0047] like Figure 1 A method for detecting human targets from a drone perspective based on semantic enhancement is shown, comprising:
[0048] Get drone-view images;
[0049] Extract potential human targets from the acquired images and obtain the coordinates of the potential human target annotation boxes;
[0050] Performing spatial transformation operations on the acquired images and extracting low-dimensional feature maps of the transformed images;
[0051] Performing focus enhancement processing on the extracted low-dimensional feature map to obtain a biological information focus feature map;
[0052] Human body semantic segmentation is used to extract features of the biological information focus feature map, and a probability feature map of the human body semantic area is obtained;
[0053] The obtained potential human target annotated box coordinates and the human semantic area probability feature map are cross-validated with confidence to obtain the human target annotated box coordinates and complete the human target detection.
[0054] As one or more implementation modes, the acquired drone perspective image is continuous video frame data captured by the drone camera.
[0055] In this embodiment, the original image sequence of the drone perspective image is obtained. for ,in,, Represents a single image, n Indicates the number of images in each training batch.
[0056] As one or more implementation modes, potential human targets in each frame of video image are detected, and the coordinates of the annotation box of the potential human target in the video image are extracted. The extracted coordinates of the annotation box of the potential human target include at least the human target serial number, the human target prediction probability, the coordinates of the center point of the annotation box, and the height and width of the annotation box.
[0057] In this embodiment, YOLOv8 is used to parse the original image sequence. I The data based on the COCO dataset and 80 label categories are used to perform general target detection; in other embodiments, other target detection algorithms can also be used to detect general targets.
[0058] The detection results of general targets correspond to the 80 label categories of the COCO dataset, including all possible target categories such as people, vehicles, animals, etc., the relative position of the target in the original image, and the probability of being identified as a specific target; the general target detection results are filtered, and the target detection results with the filter label person are potential human targets. The labeled frame coordinates of these potential human targets in the picture are extracted, that is, the potential human target labeled frame coordinates are obtained. The obtained potential human target labeled frame coordinates are a six-tuple including the output human serial number, predicted probability, and position coordinates. ;in Represents the serial number of the human target detected in the original image I, Represents each detected human target The probability of being a human target, and and are the human target The center coordinates and width and height of the annotation box are based on the original image The upper left corner vertex is the coordinate origin, and the right is Axis positive direction, downward Axis positive direction, where is the horizontal coordinate of the center point of the annotation box, is the ordinate of the center point of the annotation box, is the width of the annotation box, is the height of the annotation box; the positioning of each potential human target is achieved through the coordinates of the potential human target annotation box.
[0059] As one or more implementations, the original image sequence I Perform spatial transformation operations to obtain a sequence of images after spatial transformation , processing the spatially transformed image sequence through a convolutional neural network , get the low-dimensional feature map ; Use channel attention to focus on feature maps Semantic features in the feature map are focused on using spatial attention The location information of the semantic features in the feature map In the area with more effective features, the complex background influence is shielded to obtain the bioinformatics focused feature map ; Use semantic segmentation algorithm to identify detectable human body parts, and weight the high attention area with biological information, that is, use the pre-trained human semantic segmentation algorithm to focus on the biological information feature map Perform feature extraction to obtain the probability feature map of the human body semantic area .
[0060] In this embodiment, a lightweight biological information locator is constructed and spatial operations such as scaling, shifting and cropping are performed to adjust the image to focus on the biological information region of interest, that is, the region where the human target exists.
[0061] The spatial transformation operation used is ; Among them, the image The position of each pixel in is transformed by its original coordinates And the transformed coordinates are determined By using the scaling parameter and translation parameters , calibrate the scale and position of the image to determine the biological information focus area; the converted image sequence is represented as .
[0062] The converted image sequence Normalized to a consistent shape, and then input into the ResNet50 convolutional neural network to extract Low-dimensional feature map of size ,in, The feature maps are The number of channels, height, and width of the
[0063] This embodiment uses a dedicated attention layer to focus on low-dimensional feature maps Processing to focus on feature maps The area with more effective features in . The attention layer used is ;in, represents the attention score, represents the sigmoid activation function, The weight matrix is responsible for increasing the dimension, and ReLU represents the nonlinear activation function. The weight matrix is used to reduce the dimensionality.
[0064] In this embodiment, the low-dimensional feature map is analyzed by attention score. Enhanced, the enhanced features obtained for ; By enhancing the features Combine the original input with the corresponding input modified by channel attention. According to the channel division, it can be expressed as ,in is the feature of each channel, C is The number of channels of the feature.
[0065] Spatial attention is performed by strengthening the peak response, i.e. ,in The sigmoid activation function represents that each channel of the feature is aggregated and then multiplied by the channel-specific feature to finally generate a feature representation that completes the bioinformation focus, that is, the bioinformation focus feature map is obtained. .
[0066] The human body semantic segmentation algorithm is used to identify the human body parts that can be detected, and the high attention area is weighted by biological information, that is, the pre-trained human body semantic segmentation algorithm is used to focus the biological information feature map Perform feature extraction to obtain the probability feature map of the human body semantic area ; The specific steps are:
[0067] The human body semantic segmentation model is pre-set with five semantics: head, torso, arms, legs, and feet. The pre-trained semantic segmentation model SCHP is used to complete the biological information focusing feature map. Perform feature extraction to locate the existence of the five semantic regions and the The relative position in the image is used to obtain the semantic segmentation feature maps corresponding to the five semantic regions of head, torso, arms, legs, and feet. ;
[0068] Semantic segmentation feature map Perform normalization processing to obtain the probability feature map of the human body semantic area , the probability feature map The value at each pixel represents the probability of the existence of the five semantics.
[0069] As one or more implementation modes, in the process of confidence cross-validation, the probability mean of the corresponding annotation box position of each human target number in the potential human target annotation box coordinates in the human semantic area probability feature map is determined according to the center point coordinates of the annotation box and the height and width of the annotation box, and the semantically enhanced human target detection probability is calculated according to the obtained probability mean and the human target prediction probability; according to the obtained semantically enhanced human target detection probability and the human target number, the center point coordinates of the annotation box and the height and width of the annotation box, the human target annotation box coordinates are determined, the human target position is determined, and the human target detection is realized; that is, the obtained semantic area probability feature map Coordinates of the potential human target annotation box Perform confidence cross-validation to obtain the coordinates of the human target annotation box .
[0070] Labeling box coordinates for potential human targets , for each human target In the human body semantic probability feature map The corresponding box selection position in takes the probability mean , corresponding to the box selection position, that is, each target annotation box The range of probability ,Right now For the horizontal axis from arrive , the vertical axis is from arrive The total number of selected positions The probability values corresponding to the pixel positions are averaged; the probability of human target detection with semantic enhancement is calculated ;in, represents the weight factor of the potential human target probability, Represents the weight factor of the probability of human semantic enhancement; outputs the final human target extraction result, that is, the coordinates of the human target annotation box .
[0071] In this embodiment, the loss function can be used Training constraints are imposed on the human semantic enhancement and human target extraction processes; that is, ;in, , , are the coefficients for adjusting the loss weights of each part; is the classification loss, which is used to constrain the probability accuracy of detecting the target as a person. The difference between the predicted category and the actual category is calculated through the binary cross entropy loss. ;in, is the total number of predictions, is the number of categories. is the indicator function, when The prediction is 1 if it contains a human object, and 0 otherwise. is the actual category label (0 or 1), is the predicted class probability; is the bounding box regression loss, which is used to measure the difference between the predicted human target bounding box and the actual bounding box. ;in, are the actual bounding box center coordinates and width and height, are the predicted bounding box center coordinates and width and height.
[0072] In order to constrain the reinforcement of human semantics to the target and prevent attention from being applied to areas where no human targets exist, a human target existence loss is set. , measure the accuracy of whether a certain position has an object, using binary cross entropy loss; ;in, is the predicted probability of human target existence, is the indicator function, when It is 1 if the prediction contains the target, and 0 otherwise.
[0073] In this embodiment, continuous video frame data is input, and the coordinates of potential human target annotation boxes are obtained through general target detection, human semantic enhancement, and human target detection. ,according to The coordinate information defined in the original image Draw a label box for each human target on the map, and display the probability of determining it as a human target in the upper right corner of the label box. , and then obtain the coordinates of the human target annotation box to complete human target detection.
[0074] This embodiment focuses the target detection features on the human body area through two-level human semantic information enhancement, minimizes the impact of background and interference targets, and greatly improves the accuracy of human target detection from the perspective of the drone.
[0075] This embodiment reduces non-primary target misjudgment and background interference by extracting potential human targets; through human semantic enhancement, a semantic segmentation module is used to identify detectable human body parts, and biometric information weighting is performed on high-attention areas; through human target detection, human targets are identified, and confidence cross-validation is performed using weighted semantic enhancement features and initially identified human targets to determine human targets, thereby achieving real-time human target detection from the perspective of a drone.
[0076] Embodiment 2
[0077] Embodiment 2 of the present invention introduces a human target detection system from the perspective of a drone based on semantic enhancement.
[0078] like Figure 2 The human target detection system based on semantic enhancement from the perspective of a drone is shown, comprising:
[0079] A human target acquisition module, which is configured to acquire images from the perspective of a drone;
[0080] A general target detection module is configured to extract potential human targets from the acquired image and obtain the coordinates of the potential human target annotation box;
[0081] A human semantic enhancement module is configured to perform a spatial transformation operation on the acquired image to extract a low-dimensional feature map of the transformed image; perform focus enhancement processing on the extracted low-dimensional feature map to obtain a biological information focus feature map; use human semantic segmentation to perform feature extraction on the biological information focus feature map to obtain a human semantic region probability feature map;
[0082] The human target detection module is configured to perform confidence cross-validation on the obtained potential human target annotated box coordinates and the human semantic area probability feature map to obtain the human target annotated box coordinates and complete the human target detection.
[0083] The detailed steps are the same as those of the method for detecting human targets from a drone perspective based on semantic enhancement provided in Example 1, and will not be repeated here.
[0084] Embodiment 3
[0085] Embodiment 3 of the present invention provides a computer-readable storage medium.
[0086] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement as described in Embodiment 1 of the present invention.
[0087] The detailed steps are the same as those of the method for detecting human targets from a drone perspective based on semantic enhancement provided in Example 1, and will not be repeated here.
[0088] Embodiment 4
[0089] A fourth embodiment of the present invention provides an electronic device.
[0090] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement are implemented as described in Embodiment 1 of the present invention.
[0091] The detailed steps are the same as those of the method for detecting human targets from a drone perspective based on semantic enhancement provided in Example 1, and will not be repeated here.
[0092] Embodiment 5
[0093] Embodiment 5 of the present invention provides a computer program product.
[0094] A computer program product includes software code, wherein the program in the software code executes the steps in the method for detecting human targets from the perspective of a drone based on semantic enhancement as described in Embodiment 1 of the present invention.
[0095] The detailed steps are the same as those of the method for detecting human targets from a drone perspective based on semantic enhancement provided in Example 1, and will not be repeated here.
[0096] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. A method for detecting human targets from the perspective of a drone based on semantic enhancement, characterized in that: include: Get drone-view images; Extract potential human targets from the acquired images and obtain the coordinates of the potential human target annotation boxes; Performing spatial transformation operations on the acquired images and extracting low-dimensional feature maps of the transformed images; The extracted low-dimensional feature map is subjected to focus enhancement processing to obtain a biological information focused feature map, including: performing attention layer processing on the obtained low-dimensional feature map, focusing on the image features of the low-dimensional feature map, and obtaining an attention score of the low-dimensional feature map; performing feature enhancement on the low-dimensional feature map according to the obtained attention score to obtain enhanced features of the low-dimensional feature map; and obtaining a biological information focused feature map by aggregating the enhanced features of the low-dimensional feature map obtained by spatial attention. Human body semantic segmentation is used to extract features of the biological information focus feature map, and a probability feature map of the human body semantic area is obtained; Preset five semantics of head, torso, arms, legs and feet for the human body semantic segmentation model, use the pre-trained semantic segmentation model to extract features from the completed biological information focused feature map, locate the existence of the five semantic regions and their relative positions in the feature map, and obtain the semantic segmentation feature maps corresponding to the five semantic regions of head, torso, arms, legs and feet; The obtained potential human target annotated box coordinates and the human semantic region probability feature map are cross-validated for confidence. The probability mean of the corresponding annotated box position in the human semantic region probability feature map for each human target number in the potential human target annotated box coordinates is determined according to the center point coordinates of the annotated box and the height and width of the annotated box. The semantically enhanced human target detection probability is calculated according to the obtained probability mean and the human target prediction probability. The human target annotated box coordinates are determined according to the obtained semantically enhanced human target detection probability as well as the human target number, the center point coordinates of the annotated box and the height and width of the annotated box, and the human target annotated box coordinates are obtained to complete the detection of the human target.
2. A method for detecting human targets from the perspective of a drone based on semantic enhancement as claimed in claim 1, characterized in that: The acquired drone perspective image is continuous video frame data collected by the drone camera. Potential human targets in each frame of video image are detected, and the labeled box coordinates of the potential human targets in the video image are extracted. The extracted potential human target labeled box coordinates include at least the human target serial number, the human target prediction probability, the center point coordinates of the labeled box, and the height and width of the labeled box.
3. A method for detecting human targets from the perspective of a drone based on semantic enhancement as claimed in claim 1, characterized in that: A human body semantic region segmentation model is used to extract features of different human body semantic regions of a biological information focusing feature map, and a semantic segmentation feature map corresponding to the human body semantic region is obtained; the obtained semantic segmentation feature map is normalized to obtain a human body semantic region probability feature map.
4. A method for detecting human targets from the perspective of a drone based on semantic enhancement as claimed in claim 3, characterized in that: The number of obtained semantic segmentation feature maps is consistent with the number of human semantic regions.
5. A human target detection system from the perspective of a drone based on semantic enhancement, characterized in that: include: A human target acquisition module, which is configured to acquire images from the perspective of a drone; A general target detection module is configured to extract potential human targets from the acquired image and obtain the coordinates of the potential human target annotation box; a human semantic enhancement module is configured to perform a spatial transformation operation on the acquired image and extract a low-dimensional feature map of the transformed image; perform an attention layer processing on the obtained low-dimensional feature map, focus on the image features of the low-dimensional feature map, and obtain an attention score of the low-dimensional feature map; perform feature enhancement on the low-dimensional feature map according to the obtained attention score to obtain enhanced features of the low-dimensional feature map; obtain a bio-information focused feature map by aggregating the enhanced features of the low-dimensional feature map obtained by spatial attention; perform feature extraction on the bio-information focused feature map using human semantic segmentation to obtain a human semantic region probability feature map; Preset five semantics of head, torso, arms, legs and feet for the human body semantic segmentation model, use the pre-trained semantic segmentation model to extract features from the completed biological information focused feature map, locate the existence of the five semantic regions and their relative positions in the feature map, and obtain the semantic segmentation feature maps corresponding to the five semantic regions of head, torso, arms, legs and feet; The human target detection module is configured to perform confidence cross-validation on the obtained potential human target annotation box coordinates and the human semantic area probability feature map, determine the probability mean of the corresponding annotation box position of each human target serial number in the potential human target annotation box coordinates in the human semantic area probability feature map according to the center point coordinates of the annotation box and the height and width of the annotation box, calculate the semantically enhanced human target detection probability according to the obtained probability mean and the human target prediction probability; determine the human target annotation box coordinates according to the obtained semantically enhanced human target detection probability and the human target serial number, the center point coordinates of the annotation box and the height and width of the annotation box, obtain the human target annotation box coordinates, and complete the detection of the human target.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement are implemented.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement are implemented as described in any one of claims 1 to 4.
8. A computer program product comprising software code, characterized in that The program in the software code executes the steps of the method for detecting human targets from the perspective of a drone based on semantic enhancement as described in any one of claims 1 to 4.
