Target positioning and recognition method, device, and readable storage medium
Multiple face images are obtained through a swarm of UAVs and processed on edge devices. Lightweight neural networks and machine vision technology are used to perform three-dimensional coordinate point conversion and feature fusion, which solves the high cost of UAV person recognition technology in open environments. and poor real-time performance, achieving efficient positioning and identification.
Patent Information
- Application Number
- PCT/CN2024/081015
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-03-11
- Publication Date
- 2024-09-19
Smart Images

Figure CN2024081015_19092024_PF_FP_ABST
Abstract
Description
Target positioning and identification method, device and readable storage medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202310266610.5 filed on March 13, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of wireless network technology, and in particular to a target positioning and identification method, device, and computer-readable storage medium. Background Art
[0004] In recent years, person recognition technology has been widely used to improve public safety. By analyzing facial features, this technology can effectively determine a person's identity. Traditional person recognition solutions rely primarily on images captured by fixed-position cameras. These cameras have a limited field of view, are inefficient at tracking moving targets, and are unable to perform large-scale person recognition in crowds in open environments.
[0005] Human recognition technology can be applied to drone surveillance, improving the ability to locate and identify people. However, current drones using this technology require advanced positioning hardware, and the orientation of individual drones and people can differ significantly. Furthermore, drones have limited onboard computing resources, while human positioning and identification require significant computing power, resulting in heavy loads and high latency. Therefore, the current use of drones for human positioning and identification often faces technical limitations such as high cost, low human target positioning accuracy, and poor human recognition accuracy and real-time performance.
[0006] Summary of the Invention
[0007] The main purpose of this application is to provide a target positioning and identification method, device and computer-readable storage medium, aiming to solve the technical problems that drones currently using human recognition technology often have high costs, low accuracy in human target positioning, and poor accuracy and real-time performance in human recognition.
[0008] To achieve the above objectives, the present application provides a target positioning and identification method, which is applied to a target positioning and identification system; the target positioning and identification system includes a drone swarm and an edge device swarm; the drone swarm and the edge device swarm are wirelessly connected;
[0009] The target positioning and identification method comprises the following steps:
[0010] Acquiring multiple facial image information of human targets through the drone group;
[0011] Determine a target edge device with the earliest completion time in the edge device group and dispatch each facial image information to the target edge device;
[0012] Converting the facial image coordinates in the facial image information into a three-dimensional coordinate point set through the target edge device, and determining the facial spatial position corresponding to the facial image coordinates according to the three-dimensional coordinate point set; and
[0013] The target edge device extracts the facial feature vectors from each of the facial image information, and fuses the facial feature vectors to determine the identity information of the target person.
[0014] In one embodiment, the step of obtaining multiple facial image information of a human target through the drone swarm includes:
[0015] At preset shooting intervals, the drone swarm collects multiple scene images within the viewing range;
[0016] Determine and obtain a human target image in the scene image based on a preset target detection model;
[0017] Facial image information in the human target image is acquired based on a preset facial detection model; the facial image information represents a facial image having a face detection frame and facial image coordinates.
[0018] In one embodiment, the edge device group includes scheduled edge devices and non-scheduled edge devices;
[0019] The step of determining the target edge device with the earliest completion time in the edge device group includes:
[0020] Sending a test file packet to each of the non-scheduled edge devices via the scheduling edge device to determine the current transmission delay of the non-scheduled edge device; and
[0021] Obtaining the current task queue length, central processing unit performance parameters, and image processing unit performance parameters of the non-scheduled edge device;
[0022] Inputting the transmission delay, the task queue length, the central processing unit performance parameter, and the image processing unit performance parameter into a preset multivariate linear regression model to obtain a predicted completion time of the non-scheduled edge device;
[0023] The predicted completion times of the non-scheduled edge devices are compared to determine a target edge device with the earliest completion time among the non-scheduled edge devices.
[0024] In one embodiment, the step of converting the facial image coordinates in the facial image information into a set of three-dimensional coordinate points by the target edge device includes:
[0025] The facial image coordinates and preset height space restriction parameters in the facial image information are input into a preset two-dimensional-three-dimensional conversion model through the target edge device to convert the facial image coordinates into a three-dimensional coordinate point set having multiple three-dimensional coordinate points.
[0026] In one embodiment, the step of determining the spatial position of the face corresponding to the facial image coordinates based on the three-dimensional coordinate point set includes:
[0027] Traversing the three-dimensional coordinate points in the three-dimensional coordinate point set, and projecting the traversed three-dimensional coordinate points onto each face image information;
[0028] Determining whether the traversed three-dimensional coordinate point is projected within a face detection frame in all face image information;
[0029] If the traversed three-dimensional coordinate point is within the face detection frame in all face image information, the traversed three-dimensional coordinate point is determined as the face space position corresponding to the face image coordinates.
[0030] In one embodiment, the facial image coordinates include: coordinate points of facial features; and the step of fusing the facial feature vectors to determine the identity information of the target person includes:
[0031] Inputting the facial feature coordinate points and resolution of each facial image information into a preset fusion weight model to obtain the feature fusion weight of each facial image information;
[0032] Multiplying the facial feature vector by the corresponding feature fusion weight to obtain a weighted facial feature vector;
[0033] The weighted facial feature vectors are added together to determine the identity information of the target person.
[0034] In one embodiment, the step of adding the weighted facial feature vectors to determine the identity information of the target person includes:
[0035] Adding the weighted facial feature vectors to obtain a fused facial feature vector, and inputting the fused facial feature vector into a support vector machine to determine the corresponding person category;
[0036] If the person category is a preset person of interest, the spatial position and face image of the person target are output.
[0037] In one embodiment, the target positioning and identification system further includes a cloud server; the edge device is wirelessly connected to the cloud server;
[0038] After the step of determining the target edge device with the earliest completion time in the edge device group, the method further includes:
[0039] If the predicted completion time of the target edge device is greater than the preset shooting interval, the facial image information of each person is sent to the cloud server; the cloud server is used to determine the facial spatial position corresponding to the facial image coordinates; and determine the identity information of the person target.
[0040] In addition, to achieve the above objectives, the present application also provides a target positioning and identification system, the target positioning and identification system comprising:
[0041] A drone swarm is used to obtain multiple facial image information of human targets;
[0042] An edge device group is used to determine a target edge device with the earliest completion time in the edge device group and dispatch each facial image information to the target edge device;
[0043] The facial image coordinates in the facial image information are converted into a set of three-dimensional coordinate points, and the spatial position of the face corresponding to the facial image coordinates is determined according to the set of three-dimensional coordinate points; and the facial feature vectors in each of the facial image information are extracted, and each of the facial feature vectors is fused to determine the identity information of the target person.
[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a target positioning and identification device, which includes a processor, a storage unit, and a target positioning and identification program stored on the storage unit and executable by the processor, wherein when the target positioning and identification program is executed by the processor, the steps of the target positioning and identification method as described above are implemented.
[0045] The present application also provides a computer-readable storage medium, on which a target positioning and identification program is stored. When the target positioning and identification program is executed by a processor, the steps of the target positioning and identification method described above are implemented.
[0046] The target positioning and recognition method of the technical solution of the present application first obtains multiple facial image information of human targets through a swarm of drones. This not only enables large-scale human recognition in crowd scenes in open environments and effectively improves the tracking efficiency of human targets based on the flexibility of drones, but also obtains facial image information of each human target from different angles to improve the accuracy of facial recognition. In addition, the drones only transmit facial image information, without having to transmit the entire scene image within the viewing angle, reducing the data traffic transmitted, improving the efficiency of information transmission and ensuring the real-time performance of image processing. Then, by determining the target edge device with the earliest completion time in the edge device group and dispatching each facial image information to the target edge device, the load status and processing capacity of each edge device in the edge device group are obtained in real time. The target edge device with the earliest completion time is selected from the target edge device, and the facial image information obtained by the drone swarm at this time is determined as the current human target positioning and recognition task and dispatched to the target edge device. This allows for timely and rapid task processing, thereby improving the efficiency of human target positioning and recognition and significantly reducing the latency of human target positioning and recognition. Finally, the target edge device converts the facial image coordinates in the facial image information into a set of three-dimensional coordinate points, and determines the facial spatial position corresponding to the facial image coordinates based on the three-dimensional coordinate point set. This allows the drone, even without a high-cost depth camera or specialized positioning device such as a lidar, to first determine various possible three-dimensional coordinate points, i.e., various possible facial spatial coordinates, based on the two-dimensional facial image coordinates acquired by an ordinary camera. Then, based on the three-dimensional coordinate point set, the drone utilizes facial image information from different perspectives and uses machine vision technology to cross-search from multiple views to determine the actual facial spatial coordinates of the target person. This not only accurately locates the facial spatial coordinates, i.e., the target person, but also greatly reduces the hardware cost of drone positioning. Furthermore, the target edge device extracts facial feature vectors from each facial image information and fuses each facial feature vector to determine the identity information of the target person. By fusing the facial feature vectors from facial image information with different facial perspectives, a relatively complete facial feature vector of the target person can be obtained, achieving a comprehensive analysis of the facial feature vectors, thereby greatly improving the accuracy of identifying the target person's identity information. And because the method of positioning and fusion recognition of human targets in this application is performed in the target edge device with the earliest completion time, the load of the entire system is more balanced, and the efficiency and timeliness of its human positioning and recognition are also more excellent and stable. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] FIG1 is a schematic diagram of the structure of the hardware operating environment of the target positioning and identification device involved in the embodiment of the present application;
[0048] FIG2 is a flow chart of a first embodiment of the target positioning and identification method of the present application;
[0049] FIG3 is a detailed flow chart of step S10 involved in an embodiment of the target positioning and identification method of the present application;
[0050] FIG4 is a detailed flow chart of step S20 involved in an embodiment of the target positioning and identification method of the present application;
[0051] FIG5 is a schematic diagram of an application scenario involved in the target positioning and identification method of the present application;
[0052] FIG6 is a system block diagram of dynamic task scheduling of heterogeneous devices involved in the target positioning and identification method of the present application;
[0053] FIG7 is a flow chart of a multi-view cross-search algorithm involved in the target positioning and recognition method of the present application;
[0054] FIG8 is a schematic diagram of the fusion weight network structure and training process involved in the target positioning and recognition method of the present application;
[0055] FIG9 is a schematic diagram of a scenario corresponding to dynamic scheduling and cross-positioning involved in the target positioning and identification method of the present application;
[0056] FIG10 is a schematic diagram of a multi-view fusion face recognition scenario involved in the target positioning and recognition method of the present application.
[0057] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0058] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0059] The present application provides a target positioning and identification device that includes multiple drones and multiple edge devices with data processing and computing capabilities.
[0060] As shown in FIG1 , FIG1 is a structural diagram of the hardware operating environment of the target positioning and identification device involved in the embodiment of the present application.
[0061] As shown in Figure 1, the target positioning and identification device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a storage unit 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display (Display), an input unit such as a control panel, and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a WIFI interface). The storage unit 1005 may be a high-speed RAM storage unit or a stable storage unit (non-volatile memory), such as a disk storage unit. The storage unit 1005 may also be a storage device independent of the aforementioned processor 1001. The storage unit 1005, which is a computer storage medium, may include a target positioning and identification program.
[0062] Those skilled in the art will understand that the hardware structure shown in FIG1 does not constitute a limitation on the device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0063] 1 , the storage unit 1005 as a computer-readable storage medium in FIG1 may include an operating system, a user interface module, a network communication module, and a target positioning and recognition program.
[0064] In FIG1 , the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the target positioning and recognition program stored in the storage unit 1005 and perform the following operations:
[0065] Acquiring multiple facial image information of human targets through the drone group;
[0066] Determine a target edge device with the earliest completion time in the edge device group and dispatch each facial image information to the target edge device;
[0067] Converting the facial image coordinates in the facial image information into a three-dimensional coordinate point set through the target edge device, and determining the facial spatial position corresponding to the facial image coordinates according to the three-dimensional coordinate point set; and
[0068] The target edge device extracts the facial feature vectors from each of the facial image information, and fuses the facial feature vectors to determine the identity information of the target person.
[0069] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0070] At preset shooting intervals, the drone swarm collects multiple scene images within the viewing range;
[0071] Determine and obtain a human target image in the scene image based on a preset target detection model;
[0072] Facial image information in the human target image is acquired based on a preset facial detection model; the facial image information represents a facial image having a face detection frame and facial image coordinates.
[0073] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0074] Sending a test file packet to each of the non-scheduled edge devices via the scheduling edge device to determine the current transmission delay of the non-scheduled edge device; and
[0075] Obtaining the current task queue length, central processing unit performance parameters, and image processing unit performance parameters of the non-scheduled edge device;
[0076] Inputting the transmission delay, the task queue length, the central processing unit performance parameter, and the image processing unit performance parameter into a preset multivariate linear regression model to obtain a predicted completion time of the non-scheduled edge device;
[0077] The predicted completion times of the non-scheduled edge devices are compared to determine a target edge device with the earliest completion time among the non-scheduled edge devices.
[0078] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0079] The facial image coordinates and preset height space restriction parameters in the facial image information are input into a preset two-dimensional-three-dimensional conversion model through the target edge device to convert the facial image coordinates into a three-dimensional coordinate point set having multiple three-dimensional coordinate points.
[0080] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0081] Traversing the three-dimensional coordinate points in the three-dimensional coordinate point set, and projecting the traversed three-dimensional coordinate points onto each face image information;
[0082] Determining whether the traversed three-dimensional coordinate point is projected within a face detection frame in all face image information;
[0083] If the traversed three-dimensional coordinate point is within the face detection frame in all face image information, the traversed three-dimensional coordinate point is determined as the face space position corresponding to the face image coordinates.
[0084] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0085] Inputting the facial feature coordinate points and resolution of each facial image information into a preset fusion weight model to obtain the feature fusion weight of each facial image information;
[0086] Multiplying the facial feature vector by the corresponding feature fusion weight to obtain a weighted facial feature vector;
[0087] The weighted facial feature vectors are added together to determine the identity information of the target person.
[0088] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0089] Adding the weighted facial feature vectors to obtain a fused facial feature vector, and inputting the fused facial feature vector into a support vector machine to determine the corresponding person category;
[0090] If the person category is a preset person of interest, the spatial position and face image of the person target are output.
[0091] Furthermore, the processor 1001 may call the target positioning and recognition program stored in the memory 1005 and perform the following operations:
[0092] If the predicted completion time of the target edge device is greater than the preset shooting interval, the facial image information of each person is sent to the cloud server; the cloud server is used to determine the facial spatial position corresponding to the facial image coordinates; and determine the identity information of the person target.
[0093] To facilitate understanding of the following embodiments of this application, a series of major challenges and corresponding major technical solutions for using drones to locate and identify human targets to be addressed in this application are briefly described here:
[0094] To perform large-scale human recognition in crowds in open environments, drones can be used for human identification and target location tracking. Drone-based human recognition and tracking solutions, thanks to their wide field of view and high maneuverability, are applicable in a variety of scenarios, including military operations and security services. However, using drones for human recognition and tracking presents significant challenges, primarily the following:
[0095] 1) The accuracy and real-time performance of person recognition are poor
[0096] Currently, facial recognition solutions based on deep neural networks have achieved high accuracy, but this requires sufficient facial pixels in the image. However, due to the high altitude of a single drone and the varying angles between the drone and the person, the scale of the face in the image is often small, and the face is deflected too far toward the drone camera, making it difficult to identify. Furthermore, facial recognition technology based on deep neural networks consumes a significant amount of computing resources. Given the limited onboard computing resources of drones, deploying facial recognition technology based on deep neural networks on a drone would overload the drone, introducing high latency to the system and making it less than ideal for real-time recognition.
[0097] 2) Insufficient target positioning accuracy and working range
[0098] To track a target person in a crowd, most advanced positioning technologies require drone-mounted depth cameras or lidar, which are approximately 10 times more expensive than traditional cameras. Furthermore, in outdoor and long-range scenarios, the positioning accuracy and point cloud density of depth cameras and lidar drop sharply, resulting in poor positioning accuracy and a smaller working area.
[0099] In order to solve the above technical problems and challenges, the main technical solutions of this application are:
[0100] This application designs a real-time visual perception system that works in collaboration with multiple drones, namely the target positioning and recognition system mentioned in this application, which can accurately and quickly locate and identify human targets in crowded crowds. This application uses a drone platform with onboard computing capabilities and deploys a lightweight neural network model on the drone to detect people in the scene from different drone perspectives. At the same time, through analysis on the drone side, effective facial data is extracted and unloaded to the edge device, reducing the data traffic transmitted; to achieve human positioning, this application uses images from different perspectives of multiple drones and uses machine vision technology to cross-search from multiple views to calculate the three-dimensional position of the person; in order to achieve high-precision recognition, this application obtains facial data of people from different perspectives of multiple drones, uses neural network technology to judge their recognizability, and performs fusion recognition based on their recognizability. In order to achieve load balancing and end-to-end latency optimization of multi-UAV systems, this application uses a lightweight machine learning algorithm to dynamically evaluate the estimated task completion time of each edge device in the system, and selects the optimal completion device (target edge device) based on the earliest completion time (EFT), and unloads the data to the optimal completion device for execution. In addition, when edge devices require a long data processing time, the data can also be unloaded to the cloud server to achieve scheduling and balancing of workloads between edge devices and between edge devices and cloud servers, so as to minimize processing delays, improve the efficiency of target positioning and recognition, and ensure the real-time performance of target positioning and recognition.
[0101] Furthermore, to facilitate understanding of the application scenarios involved in this application, please refer to FIG5 , which is a schematic diagram of the application scenarios involved in the target positioning and recognition method of this application. As shown in FIG5 , the drone swarm includes three drones, namely, drones 1, 2, and 3. Each drone collects facial image data (information) within a certain area in the air. After determining the current optimal device from the edge computing device, the drone is guided by the scheduling decision information to unload the collected facial image data to the current optimal device, so that the current person target positioning and recognition task is processed in the current optimal device to determine the spatial position and identity information of the person target.
[0102] The embodiment of the present application provides a target positioning and identification method.
[0103] Please refer to Figure 2, which is a flow chart of a first embodiment of the target positioning and identification method of the present application. In the first embodiment of the present application, the target positioning and identification method is applied to a target positioning and identification system; the target positioning and identification system includes a drone swarm and an edge device swarm; the drone swarm and the edge device swarm are wirelessly connected;
[0104] The target positioning and identification method comprises the following steps:
[0105] Step S10, acquiring multiple facial image information of human targets through the drone group;
[0106] In this embodiment, the target positioning and recognition system is an integrated system composed of multiple drones (drone swarm) and multiple edge devices (edge device swarm) with the function of positioning and recognizing human targets. The drone swarm is used to shoot scenes within the field of view from the air and obtain facial image information of human targets from the scene; the edge device refers to a computing device or data processing device within a certain range of the drone swarm, which is mainly used for scheduling positioning and recognition tasks, and processing the positioning and recognition tasks of human targets. The drone swarm and the edge device swarm can communicate through wireless communication technologies such as wifi local area network, ZigBee, 4G, 5G, etc. In order to improve the communication efficiency between the two, the spatial distance between the drone swarm and the edge device swarm should not be too far, and can be adjusted according to actual needs.
[0107] A drone swarm is composed of multiple drones. The number of drones in the swarm can be set according to actual needs. Currently, drones are all equipped with cameras. In this embodiment, ordinary cameras with basic recording and shooting functions can be used. There is no need for cameras with ranging functions or specialized positioning devices such as laser radar, thereby reducing the cost of the drone swarm.
[0108] During the flight of the drone swarm, each drone can obtain facial image information of the human targets in the scene within its own viewing angle, so that the drone swarm obtains facial image information from multiple perspectives. Among these facial image information, there is not only facial image information of each human target in the scene, but also facial image information of the same human target from different perspectives.
[0109] The drone swarm initially captures scene images, that is, it captures scene images including human targets and other objects within its respective viewing angles. Then, based on a lightweight neural network, it identifies and marks human targets from the scene images, and then extracts facial image information from the scene images.
[0110] Referring to FIG. 3 , in one embodiment, step S10 includes:
[0111] Step S11, collecting multiple scene images within a viewing angle range by a swarm of drones at predetermined shooting intervals;
[0112] The preset shooting interval, that is, the sampling frequency of the drone collecting scene images, can be set according to actual needs, for example, 1s, that is, every 1s, the drones in the drone group collect a scene image within their respective viewing angles, so that the drone group obtains multiple scene images.
[0113] Step S12, determining and acquiring a human target image in the scene image based on a preset target detection model;
[0114] Step S13, acquiring facial image information in the human target image based on a preset facial detection model; the facial image information represents a facial image having a face detection frame and facial image coordinates.
[0115] In this embodiment, the drone has onboard computing capabilities, and the scene images captured by the drone are processed on the airborne side by a target detection model and a face detection model. In addition, the above-mentioned image recognition models carried by the drone are all lightweight neural networks, thereby reducing the load of the drone and using more computing power for other tasks, thereby preventing the drone from suffering losses due to flight abnormalities caused by excessive load.
[0116] In one embodiment, a lightweight target detection algorithm YoloX-tiny and a face detection algorithm RetinaFace are deployed on the airborne side of the drone. Compared with the traditional Yolo algorithm, YoloX-tiny removes the Anchor mechanism, reducing the complexity and parameter amount of the model. At the same time, YoloX-tiny is adjusted and trained on the VisDrone drone target detection dataset, and data enhancement methods such as random scaling, cropping, arrangement (Mosaic) and multi-image mixing (Mix Up) are used to strengthen the training of the network to better detect people in the drone's perspective. The above two algorithm models will extract the face image, the coordinates of the facial features, and the position of the bounding box containing the face (face detection box) in the scene image.
[0117] After acquiring the scene image, a lightweight object detection model is used to first identify and determine which images are human figures in the scene image, and then extract a human target image (human figure image) from the scene image. Furthermore, a lightweight facial detection model is used to obtain facial image information from the human target image. During the facial detection model's recognition of the human target image, a facial detection frame is annotated on the facial image, and the image coordinates of the facial image within the entire scene image are determined, thereby obtaining facial image information having a face detection frame and facial image coordinates.
[0118] This embodiment utilizes a lightweight image recognition neural network, allowing the drone to execute only the task of extracting facial images from the scene in parallel. This reduces the drone's operational load and ensures the normal operation of other modules essential for maintaining the drone, such as filming and flight. Furthermore, the drone does not need to carry heavy and complex onboard equipment and cooling devices, reducing flight pressure and energy consumption. Furthermore, the drone can transmit the extracted facial image information, which is much smaller than the scene image data, to the edge device, ensuring real-time data exchange and reducing latency.
[0119] Step S20, determining the target edge device with the earliest completion time in the edge device group and dispatching each facial image information to the target edge device;
[0120] The edge device group needs to designate at least one edge device as a scheduling edge device to schedule the current positioning and identification tasks. The scheduling edge device can be selected from one or more edge devices in the group, or based on the performance of the edge device, without any restrictions.
[0121] By scheduling edge devices, the performance of other non-scheduled edge devices is evaluated and the time required to complete the current task is predicted to determine the target edge device with the earliest completion time in the edge device group and schedule each facial image information to the target edge device.
[0122] In one embodiment, after determining the target edge device, the scheduling edge device can send relevant scheduling decision information to each drone, thereby directing the drone swarm to offload all facial image information to the target edge device. The target edge device with the earliest completion time will then complete the current person location and recognition task. This improves the processing efficiency of the person location and recognition tasks and ensures real-time location and recognition.
[0123] In one embodiment, the edge device group includes scheduled edge devices and non-scheduled edge devices;
[0124] Referring to FIG. 4 , step S20 of determining the target edge device with the earliest completion time in the edge device group includes:
[0125] Step S21, sending a test file packet to each of the non-scheduled edge devices through the scheduling edge device to determine the current transmission delay of the non-scheduled edge device; and
[0126] After the scheduling edge devices are selected, the other edge devices are defined as non-edge devices.
[0127] The status of other non-scheduled edge devices is collected and scheduled by scheduling edge devices. Specifically, during the intervals between drone group shooting scene images, a test file package can be sent to each non-scheduled edge device, thereby receiving the status feedback data of the non-scheduled edge device to obtain the maximum transmission delay Delay to the non-scheduled edge device at the current moment. j , where the test file package can be an empty file package.
[0128] Step S22, obtaining the current task queue length, central processing unit performance parameters, and image processing unit performance parameters of the non-scheduled edge device;
[0129] Receive status feedback data from non-scheduled edge devices to obtain the current task queue length Queue of non-scheduled edge devices j , CPU and GPU performance parameters of edge devices CPU j ,GPU j .
[0130] Step S23: inputting the transmission delay, the task queue length, the CPU performance parameter, and the image processor performance parameter into a preset multivariate linear regression model to obtain a predicted completion time of the non-scheduled edge device;
[0131] Step S24 : comparing the predicted completion times of the non-scheduled edge devices to determine the target edge device with the earliest completion time among the non-scheduled edge devices.
[0132] The maximum transmission delay Delay j , Current task queue length Queue j , CPU and GPU performance parameters of edge devices CPU j ,GPU j The input is input into the preset Multivariable Linear Regression (MLR) model in the scheduling edge device, and the model will output the earliest task completion time of each non-scheduled edge device. After the drone completes a shot, the scheduling edge device will compare the predicted completion time of each non-scheduled edge device, and assign the subsequent positioning and recognition tasks of this shot to the non-scheduled edge device with the shortest predicted completion time, that is, the target edge device corresponding to the earliest completion time. It should be noted that the scheduling edge device can also participate in the task of human target positioning and recognition, so that the scheduling edge device can also estimate its own predicted completion time, and then comprehensively compare all edge devices to determine the earliest completion time, that is, the currently optimal edge device, and send the current task to the optimal device.
[0133] For the multivariate linear regression model in this embodiment, its corresponding mathematical expression can be: EFT j =MLR(Delay j ,||Queue j ||,CPU j ,GPU j )=θ0+θ1Delay j +θ2Queue j + θ3 GPU j +θ4CPU j );
[0134] Among them, θ0, θ1, θ2, θ3, θ4 are updateable parameters of multivariate linear regression; Delay j is the maximum transmission delay of the jth edge device; Queue j is the number of tasks queued in the jth edge device, that is, the task queue length; CPU j ,GPU j They represent the CPU performance parameters and GPU performance parameters of the j-th edge device respectively.
[0135] The multivariable linear regression model in this embodiment is a trainable and updateable model. In order to train the multivariable linear regression model, a track pool can be maintained to store real historical records. Each track is a pair of parameters (Delay j ,||Queue j ||,CPU j ,GPU j ) and the actual completion time. The mean squared error loss can be used to update the multivariate linear regression model in real time during system operation to achieve accurate prediction of the predicted completion time.
[0136] To facilitate understanding of the process of this embodiment of the present application, please refer to Figure 6, which is a system block diagram of the dynamic task scheduling of heterogeneous devices involved in the target positioning and identification method of the present application. As shown in Figure 6, the edge device group includes edge device 1, edge device j, ... edge device M, with M edge devices. The drone group includes drone 1, drone i, ... drone N, with N edge devices. In addition, it also includes cloud devices, which are not described here. Any edge device is selected as a scheduling edge device, and the device status of other edge devices is collected. The device status of drones can also be collected, such as the drone's shooting status and flight status. Multivariate linear regression is then performed based on the device status information of the edge devices. The trajectory pool is used to store real historical records for the multivariate linear regression model. During the multivariate linear regression process, the device selector selects the target edge device with the earliest completion time and can generate an allocation table to sort the current tasks in order, such as assigning tasks to task 1. For example, the executor of task 1 is edge device 1.
[0137] This embodiment of the present application determines the target edge device with the earliest completion time at the current moment, which can greatly reduce the delay in processing target positioning and identification tasks, and balance the load between each edge device. While improving the efficiency of target positioning and identification task processing, it ensures that each task can be carried out in an orderly manner, thereby improving the stability and reliability of the operation of the edge device group.
[0138] Step S30, converting the facial image coordinates in the facial image information into a three-dimensional coordinate point set through the target edge device, and determining the facial spatial position corresponding to the facial image coordinates according to the three-dimensional coordinate point set; and
[0139] Facial image information includes facial image coordinates, which can be the coordinates of the facial features. Any coordinate point of the facial features can be selected to convert the two-dimensional coordinates to three-dimensional coordinates. As the execution device for processing the current task of positioning and identifying the current human target, the target edge device can first convert the two-dimensional coordinates of the facial image coordinates through a preset image-space coordinate matrix to obtain the two-dimensional spatial coordinates of the human target, and then predict a variety of possible three-dimensional coordinate points of the human target, because the three-dimensional coordinate points only lack the depth coordinates (usually represented by the z-axis coordinates) compared to the two-dimensional coordinate points. In this way, a set of three-dimensional coordinate points can be obtained. In the set of three-dimensional coordinate points, there must be the real three-dimensional spatial coordinates of the human target. Then, in order to determine the spatial position of the human target, a unique three-dimensional coordinate point can be determined by aligning the multi-view facial images of the human target. The unique three-dimensional coordinate point is the three-dimensional spatial coordinate of the face, that is, the spatial position of the face, which is actually the spatial position of the human target.
[0140] In one embodiment, step S30, the step of converting the facial image coordinates in the facial image information into a set of three-dimensional coordinate points by the target edge device, includes:
[0141] Step a: input the facial image coordinates and preset height space restriction parameters in the facial image information into a preset two-dimensional-three-dimensional conversion model through the target edge device to convert the facial image coordinates into a three-dimensional coordinate point set having multiple three-dimensional coordinate points.
[0142] In this embodiment, the preset two-dimensional to three-dimensional conversion model is used to convert two-dimensional facial image coordinates into three-dimensional facial space coordinates.
[0143] Take one of the drones D i As an example, the three-dimensional coordinate position of the character in the real world is defined as P W =[x W ,y W ,z W ] T , UAV D i The coordinates of the person in the image (face image coordinates) are P i =[x i ,y i ] T According to the coordinate system transformation rules in machine vision, the three-dimensional point P W and the image 2D point P i The mapping relationship is:
[0144] Among them C i Indicates drone D i The camera internal matrix, which can establish the image pixel coordinate system and D i The mapping relationship between the camera coordinate system. i and T i Indicates drone D i The rotation matrix and translation matrix of D i The mapping relationship between the camera coordinate system and the world coordinate system. i and T i Can be obtained through PNP visual positioning, C i The representation can be obtained through camera calibration technology. According to formula (1), the formula for obtaining three-dimensional coordinates from two-dimensional image coordinates can be derived:
[0145] Formula (2) is also the mathematical expression of the 2D-3D conversion model. Due to the lack of , the three-dimensional spatial coordinates of the face cannot be determined directly from the two-dimensional coordinates of the face image. Instead, a series of possible three-dimensional coordinate point sets are obtained, which are called epipolar lines.
[0146] In order to reduce the amount of data processing operations on the target edge device, the input face image coordinates P i At the same time, you can also enter the preset height space limit parameters: minimum height h min , maximum height h max , to the preset 2D-3D conversion model, thereby using the height spatial constraint to narrow the range of the 3D coordinate point set, excluding some 3D coordinate points that are unlikely to be human targets. For human targets, the height spatial constraint parameter here is related to the spatial height of the human body (primarily height). For example, a height spatial constraint of 0-3m can be used. Other height spatial constraint parameters can also be set and are not limited here.
[0147] In one embodiment, step S30, the step of determining the spatial position of the face corresponding to the facial image coordinates based on the three-dimensional coordinate point set, includes:
[0148] Step b, traversing the three-dimensional coordinate points in the three-dimensional coordinate point set, and projecting the traversed three-dimensional coordinate points onto each face image information;
[0149] This embodiment can be considered as a multi-perspective cross-search algorithm. For one of the drones, after obtaining its three-dimensional coordinate point set, the three-dimensional coordinate points in the three-dimensional coordinate point set can be traversed starting from the first three-dimensional coordinate point and projected to the perspectives of all drones, that is, projected to all face images.
[0150] Step c, determining whether the traversed three-dimensional coordinate point is projected within a face detection frame in all face image information;
[0151] Step d: If the traversed three-dimensional coordinate point is within the face detection frame in all face image information, the traversed three-dimensional coordinate point is determined as the face space position corresponding to the face image coordinate.
[0152] Determine whether the three-dimensional coordinate point is projected within the face detection frame in all face images.
[0153] If the three-dimensional coordinate point after traversal is projected into the face detection frame in all face image information, it means that the three-dimensional coordinate point must be the three-dimensional space coordinate of the person target. At this time, the face space position corresponding to the face image coordinate is determined, and the traversal can be stopped.
[0154] If the traversed three-dimensional coordinate point is not projected into the face detection frame in all face image information, it may be projected into only part of the face detection frame, or it may not be projected into any face detection frame. Then it is necessary to continue traversing the next three-dimensional coordinate point until the currently traversed three-dimensional coordinate point is projected into the face detection frame in all face image information, thereby determining the spatial position of the human target.
[0155] To further understand the multi-view cross-search algorithm proposed in this embodiment, please refer to FIG7 , which is a flow chart of the multi-view cross-search algorithm involved in the target positioning and recognition method of this application. The process of determining the spatial position of the face corresponding to the coordinates of the face image based on the three-dimensional coordinate point set can be:
[0156] All drones perform face detection;
[0157] Select any main view drone;
[0158] Obtain epipolar lines based on the detection results (face image coordinates);
[0159] Limit the depth of the search range based on space;
[0160] Traverse the three-dimensional coordinate points on the epipolar line;
[0161] Projection to other drones’ perspectives;
[0162] Determine whether the projection of this point falls within the face detection frame of all drones;
[0163] If yes, exit the traversal and use the current point as the estimated position of the person; output the positioning result;
[0164] If not, continue to traverse the next point.
[0165] This embodiment of the present application utilizes images from multiple drones with different viewpoints and uses machine vision technology to calculate a person's three-dimensional position through cross-searching across multiple views. This allows accurate positioning of a person in the three-dimensional real world using only two-dimensional images captured by traditional cameras, and allows alignment of facial sub-images of the same person from different drone perspectives. This embodiment allows multiple drones to form a unified perception of the real scene.
[0166] Step S40: extracting facial feature vectors from each facial image information through the target edge device, and fusing each facial feature vector to determine the identity information of the target person.
[0167] After aligning the multi-view facial images of the target person, the target edge device runs the multi-view fusion recognition algorithm module, which includes a fusion weight network (FWN). Based on image recognition technology (such as the ArcFace face recognition algorithm), it extracts facial feature vectors (which can be 1x512 dimensional vectors) from facial images at each viewpoint. In order to comprehensively utilize the facial features from these different angles and improve the accuracy of face recognition, the fusion weight network assigns a fusion weight to each facial image to reflect its readability. The readability here is related to the viewing angle and resolution. The closer the viewing angle is to the front of the face, the higher the resolution, the better the corresponding readability, and the higher the fusion weight.
[0168] The fusion layer in the fusion weight network then uses the fusion weights to fuse facial feature vectors from different perspectives, generating a fused facial feature vector. The fused facial features contain more information than those extracted from a single image. Finally, the features are classified using a support vector machine (SVM) algorithm. The SVM algorithm is trained on a database containing feature vectors of target individuals. During testing, the fused facial features are classified. Individuals classified as target individuals are identified as those being sought, and their 3D position and facial image are obtained for further operations, such as real-time outdoor person search, surveillance, and broadcasting of facial images.
[0169] In one embodiment, the facial image coordinates include: coordinate points of facial features;
[0170] Step S40, the step of fusing the facial feature vectors to determine the identity information of the target person, includes:
[0171] Step e: inputting the facial feature coordinate points and resolution of each facial image information into a preset fusion weight model to obtain the feature fusion weight of each facial image information;
[0172] Step f, multiplying the facial feature vector by the corresponding feature fusion weight to obtain a weighted facial feature vector;
[0173] Step g: adding the weighted facial feature vectors to determine the identity information of the target person.
[0174] As shown in FIG8 , FIG8 is a schematic diagram of the fusion weight network structure and training process involved in the target positioning and recognition method of this application.
[0175] Please refer to the upper part of Figure 8, the fusion weight network (weight fusion network), which inputs the coordinate points of the facial features and the resolution of the facial image, and outputs a fusion weight for fusion. The neural network structure of the fusion weight network is a simple fully connected layer with a total of 5 layers, with dimensions of 180 dimensions, 360 dimensions, 180 dimensions, 2 dimensions, and 1 dimension respectively. The above network dimension settings are derived from the angle range of the face facing the drone, from 0 degrees to 360 degrees. Therefore, it can extract angle-related high-dimensional features from the coordinates of the facial features and map them into a 1-dimensional fusion weight, reflecting the recognizability of the face angle.
[0176] After obtaining the feature fusion weights for each facial image, the original facial feature vector is multiplied by the corresponding feature fusion weight to obtain a weighted facial feature vector. Each weighted facial feature vector is then added together to obtain the fused facial feature vector. The identity of the target person is then determined based on the fused facial feature vector. Specifically, the fusion layer normalizes the fusion weights of the feature vectors for each angle, multiplies them by the facial feature vector for the corresponding angle, and then adds all the multiplied facial feature vectors together to obtain the fused facial feature vector. The fused facial feature vector contains more details than the facial feature vectors extracted from a single image.
[0177] Classification is performed using a support vector machine (SVM). The fused facial features are input into the SVM, which outputs the category of the features. The person classified as a preset person of interest is considered the target person to be found. The preset person of interest or target person here can be set according to actual application needs, such as criminals, missing persons waiting to be searched. When the person category is identified as a preset person of interest, the spatial location of the person target and their facial image can be output to a designated system (such as a public security system) to facilitate subsequent activities such as manual confirmation, tracking, capture, and search for the person.
[0178] That is, the step of adding the weighted facial feature vectors to determine the identity information of the target person includes:
[0179] Adding the weighted facial feature vectors to obtain a fused facial feature vector, and inputting the fused facial feature vector into a support vector machine to determine the corresponding person category;
[0180] If the person category is a preset person of interest, the spatial position and face image of the person target are output.
[0181] For further information, please refer to the lower half of Figure 8. For the fusion weight network, its network structure and training process are shown in the figure. The fusion weight network inputs the coordinate points of the facial features and the resolution of the facial image, and outputs a fusion weight for fusion. A simple fully connected layer is used as the network structure of the fusion weight network to achieve lightweight and fast calculations. During the training process of the fusion weight network, the ArcFace face recognition algorithm is used to extract features from the baseline face image and the training set face image, and then the two features are compared to obtain the true weight of the training face image, which can represent the deviation between the training data and the baseline face image (that is, reflect its readability). The mean square loss function is then calculated with the weight output by the fusion weight network to reversely update the fusion weight network.
[0182] Furthermore, due to the lightweight and fast nature of the fusion weight network, it was deployed on the CPU for inference, while the ArcFace facial recognition algorithm was deployed on the graphics card (GPU) for inference, enabling both to work in parallel. A thread pool was also maintained, creating a thread for each facial image from each perspective, enabling multi-threaded parallel processing to further improve the efficiency of fusion facial recognition.
[0183] This embodiment of the present application utilizes facial images from different drone perspectives, fuses them together according to weights reflecting readability, and also performs parallel computing, which not only reduces processing delays, but more importantly, compared to single-perspective facial images, through multi-perspective facial images and feature fusion of facial images according to certain weight rules, the accuracy of human target recognition can be greatly improved.
[0184] Furthermore, in one embodiment, the target positioning and identification system further includes a cloud server; the edge device is wirelessly connected to the cloud server;
[0185] Step S20, after determining the target edge device with the earliest completion time in the edge device group, the method further includes:
[0186] If the predicted completion time of the target edge device is greater than the preset shooting interval, the facial image information of each person is sent to the cloud server; the cloud server is used to determine the facial spatial position corresponding to the facial image coordinates; and determine the identity information of the person target.
[0187] If the predicted completion time of the target edge device is greater than the preset shooting interval, that is, the earliest completion time is greater than the preset shooting interval, then the predicted completion time of all current edge devices is greater than the preset shooting interval, which means that the current load of the edge device group is high. In order to process the facial image data transmitted by the drone in a timely manner, in this case, the edge device can be scheduled to guide the drone group to unload the soy milk facial image information to the remote cloud server, so that the cloud server is used as the target edge device in the above embodiments, and the same steps are executed to determine the spatial position and identity information of the human target.
[0188] The target positioning and recognition method of the technical solution of the present application first obtains multiple facial image information of human targets through a swarm of drones. This not only enables large-scale human recognition in crowd scenes in open environments and effectively improves the tracking efficiency of human targets based on the flexibility of drones, but also obtains facial image information of each human target from different angles to improve the accuracy of facial recognition. In addition, the drones only transmit facial image information, without having to transmit the entire scene image within the viewing angle, reducing the data traffic transmitted, improving the efficiency of information transmission and ensuring the real-time performance of image processing. Then, by determining the target edge device with the earliest completion time in the edge device group and dispatching each facial image information to the target edge device, the load status and processing capacity of each edge device in the edge device group are obtained in real time. The target edge device with the earliest completion time is selected from the target edge device, and the facial image information obtained by the drone swarm at this time is determined as the current human target positioning and recognition task and dispatched to the target edge device. This allows for timely and rapid task processing, thereby improving the efficiency of human target positioning and recognition and significantly reducing the latency of human target positioning and recognition. Finally, the target edge device converts the facial image coordinates in the facial image information into a set of three-dimensional coordinate points, and determines the facial spatial position corresponding to the facial image coordinates based on the three-dimensional coordinate point set. This allows the drone, even without a high-cost depth camera or specialized positioning device such as a lidar, to first determine various possible three-dimensional coordinate points, i.e., various possible facial spatial coordinates, based on the two-dimensional facial image coordinates acquired by an ordinary camera. Then, based on the three-dimensional coordinate point set, the drone utilizes facial image information from different perspectives and uses machine vision technology to cross-search from multiple views to determine the actual facial spatial coordinates of the target person. This not only accurately locates the facial spatial coordinates, i.e., the target person, but also greatly reduces the hardware cost of drone positioning. Furthermore, the target edge device extracts facial feature vectors from each facial image information and fuses each facial feature vector to determine the identity information of the target person. By fusing the facial feature vectors from facial image information with different facial perspectives, a relatively complete facial feature vector of the target person can be obtained, achieving a comprehensive analysis of the facial feature vectors, thereby greatly improving the accuracy of identifying the target person's identity information. And because the method of positioning and fusion recognition of human targets in this application is performed in the target edge device with the earliest completion time, the load of the entire system is more balanced, and the efficiency and timeliness of its human positioning and recognition are also more excellent and stable.
[0189] In order to further enhance the understanding of the above-mentioned embodiments of this application, relevant explanations and supplements are provided in conjunction with the various actual application scenarios in this application. Please refer to Figures 9 and 10. Figure 9 is a schematic diagram of the scenarios corresponding to dynamic scheduling and cross-positioning involved in the target positioning and recognition method of this application; Figure 10 is a schematic diagram of the multi-view fusion face recognition scenario involved in the target positioning and recognition method of this application.
[0190] As shown in Figure 9, the lower half of Figure 9 is called dynamic scheduling of heterogeneous devices (DTSH), which involves the process of selecting the current optimal edge device in this application, that is, the process of determining the target edge device. The system includes edge devices and cloud devices (cloud servers). After the scheduling edge device obtains the status of each device, it is input into the multivariate linear regression to output the estimated completion time (predicted completion time). The target device is determined by the device selector. The target device here can be a target edge device or a cloud server.
[0191] The upper part of Figure 9 is called Multi-UAV Person Cross-Localization (MDPL). UAV 1, UAV 2, and UAV 3 each detect and acquire the faces of three human targets (person 1, person 2, and person 3). Multi-view cross-localization is performed through the target device, and the face images of the same human target are aligned to determine the spatial coordinates (X1, Y1, Z1) corresponding to the face image of person 1, the spatial coordinates (X1, Y1, Z1) corresponding to the face image of person 2, and the spatial coordinates (X1, Y1, Z1) corresponding to the face image of person 1. k 、Y k 、Z k ), the spatial coordinates (X K 、Y K 、Z K ).
[0192] As shown in Figure 10, Figure 10 involves multi-view fusion face recognition (MVFI). In the multi-image feature fusion stage, taking the face image of person k as an example, it includes face image 1, face image 2 and face image 3, and the facial coordinates and resolution in the face image information are input into the weighted fusion network (FWN) to obtain the fusion weights of each image. After being combined with the face features extracted by the face feature extraction network, feature fusion is performed in the fusion layer of the fusion weight network to obtain fusion features. The fused fusion features are compared with the face features of the target person (person of attention), and finally the recognition result of the person target is output.
[0193] In addition, the present application also provides a computer-readable storage medium. The computer-readable storage medium of the present application stores a target positioning and recognition program, wherein when the target positioning and recognition program is executed by a processor, the steps of the target positioning and recognition method described above are implemented.
[0194] Among them, the method implemented when the target positioning and identification program is executed can refer to the various embodiments of the target positioning and identification method of this application, and will not be repeated here.
[0195] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0196] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.
[0197] These computer program instructions may also be stored in a computer-readable storage unit that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable storage unit produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0198] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0199] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0200] Although the optional embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the optional embodiments and all changes and modifications that fall within the scope of the present application.
[0201] The above description is merely an optional embodiment of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made using the contents of the present application specification and drawings under the inventive concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A target positioning and identification method, wherein: The target positioning and identification method is applied to a target positioning and identification system; the target positioning and identification system includes a drone group and an edge device group; the drone group and the edge device group are wirelessly connected; The target positioning and identification method comprises the following steps: Acquiring multiple facial image information of human targets through the drone group; Determine the target edge device with the earliest completion time in the edge device group and dispatch each of the facial image information to the target edge device; Converting the facial image coordinates in the facial image information into a three-dimensional coordinate point set through the target edge device, and determining the facial spatial position corresponding to the facial image coordinates according to the three-dimensional coordinate point set; and The target edge device extracts the facial feature vectors in each of the facial image information, and fuses the facial feature vectors to determine the identity information of the target person.
2. The target positioning and identification method according to claim 1, wherein: The step of obtaining multiple facial image information of human targets through the drone group includes: At preset shooting intervals, multiple scene images within the viewing range are collected by a swarm of drones; Determine and obtain a human target image in the scene image based on a preset target detection model; The facial image information in the human target image is acquired based on a preset facial detection model; the facial image information represents a facial image having a facial detection frame and facial image coordinates.
3. The target positioning and identification method according to claim 1, wherein: The edge device group includes scheduled edge devices and non-scheduled edge devices; The step of determining the target edge device with the earliest completion time in the edge device group includes: Sending a test file packet to each of the non-scheduled edge devices through the scheduling edge device to determine the current transmission delay of the non-scheduled edge device; and Obtaining the current task queue length, central processing unit performance parameters, and image processing unit performance parameters of the non-scheduled edge device; Inputting the transmission delay, the task queue length, the central processing unit performance parameter, and the image processing unit performance parameter into a preset multivariate linear regression model to obtain a predicted completion time of the non-scheduled edge device; The predicted completion times of the non-scheduled edge devices are compared to determine a target edge device with the earliest completion time among the non-scheduled edge devices.
4. The target positioning and identification method according to claim 1, wherein: The step of converting the facial image coordinates in the facial image information into a three-dimensional coordinate point set by the target edge device comprises: The facial image coordinates in the facial image information and the preset height space restriction parameters are input into a preset two-dimensional-three-dimensional conversion model through the target edge device to convert the facial image coordinates into a three-dimensional coordinate point set having multiple three-dimensional coordinate points.
5. The target positioning and identification method according to claim 1, wherein: The step of determining the face space position corresponding to the face image coordinates according to the three-dimensional coordinate point set comprises: Traversing the three-dimensional coordinate points in the three-dimensional coordinate point set, and projecting the traversed three-dimensional coordinate points to each face image information; Determine whether the traversed three-dimensional coordinate point is projected within a face detection frame in all face image information; If the traversed three-dimensional coordinate point is within the face detection frame in all face image information, the traversed three-dimensional coordinate point is determined as the face space position corresponding to the face image coordinates.
6. The target positioning and identification method according to claim 1, wherein: The facial image coordinates include: facial features coordinate points; the step of fusing each of the facial feature vectors to determine the identity information of the target person includes: Inputting the facial feature coordinate points and resolution of each facial image information into a preset fusion weight model to obtain the feature fusion weight of each facial image information; The facial feature vector is multiplied by the corresponding feature fusion weight to obtain a weighted facial feature vector; The weighted facial feature vectors are added together to determine the identity information of the target person.
7. The target positioning and identification method according to claim 6, wherein: The step of adding the weighted facial feature vectors to determine the identity information of the target person comprises: Adding the weighted facial feature vectors to obtain a fused facial feature vector, and inputting the fused facial feature vector into a support vector machine to determine the corresponding character category; If the person category is a preset person of interest, the spatial position and face image of the person target are output.
8. The target positioning and identification method according to claim 1, wherein: The target positioning and identification system further includes a cloud server; the edge device is wirelessly connected to the cloud server; After the step of determining the target edge device with the earliest completion time in the edge device group, the method further includes: If the predicted completion time of the target edge device is greater than the preset shooting interval, sending each face image information to the cloud server; The cloud server is used to determine the face space position corresponding to the face image coordinates; and determine the identity information of the person target.
9. A target positioning and identification device, wherein: The target positioning and identification device includes a processor, a storage unit, and a target positioning and identification program stored in the storage unit and executable by the processor; when the target positioning and identification program is executed by the processor, the steps of the target positioning and identification method as described in any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores a target positioning and identification program; when the target positioning and identification program is executed by the processor, the steps of the target positioning and identification method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Monitoring method based on unmanned aerial vehicle, and related product
CN110765874A
Face texture image acquisition method and device, equipment and storage medium
CN111325823A
Face recognition method and device and training method and device of face recognition system
CN111401344A
Method for identifying consignee based on face alignment and face identification in unmanned aerial vehicle delivery
CN114220157A
Target person continuous tracking method, device and system
CN114663796A
Cited By
Low-quality video stream-oriented real-time tracking face recognition method and low-quality video stream-oriented real-time tracking face recognition system
CN119516433A
Personnel behavior identification method and device, medium and equipment
CN119888615A
