Low-delay target tracking method and device, medium and product

By generating high and low frequency event frames and multi-modal fusion models, combined with Kalman filtering, the problem of traditional camera delay and sparse information of event cameras is solved, and low-latency, high-accuracy target tracking is achieved, which is suitable for high-speed unmanned systems.

CN118628531AActive Publication Date: 2024-09-10BEIHANG UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410948169.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-10
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Traditional cameras suffer from large delays in high-frequency target tracking in high-speed unmanned systems. The sparse semantic information and high-frequency characteristics of event cameras make it difficult to achieve low-latency and high-accuracy target tracking. Existing fusion methods have challenges in real-time performance.

Method used

By acquiring frame images and event collections, high and low frequency event frames are generated, the multi-modal fusion model and lightweight image matching network are used to determine the target tracking frame and pixel position, and the target state is estimated using Kalman filtering to achieve low-latency target tracking.

Benefits of technology

While maintaining high accuracy, it significantly reduces the delay time of target tracking and improves the intelligent perception capabilities of unmanned systems in rapidly changing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628531A
    Figure CN118628531A
Patent Text Reader

Abstract

The invention discloses a low-delay target tracking method and device, a medium and a product, and relates to the field of target tracking, and the method comprises the steps: obtaining a frame image of a to-be-tracked target and an event set in a preset time period; generating a high-frequency event frame and a low-frequency event frame based on the event set; based on the low-frequency event frame and the frame image, determining a target tracking frame by using a multi-modal fusion target tracking model; on the basis of the target tracking frame, a latest template is determined by using a Gaussian Laplacian operator and a sliding window method; based on the high-frequency event frame, the target tracking frame and the newest template, determining a target pixel position at the current moment by using a lightweight image matching network; and based on the target tracking frame and the target pixel position at the current moment, estimating the current target pixel position and the pixel speed by using Kalman filtering or Kalman filtering based on an enhanced state. According to the invention, low-delay target tracking is realized while high precision is maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of target tracking, and in particular to a low-latency target tracking method, device, medium and product. Background Art

[0002] Target tracking technology is one of the core issues of intelligent perception and the key to the autonomy of unmanned systems. It is widely used in the fields of drones and autonomous driving. However, due to the defects of the imaging principle based on light intensity integration and synchronous output, traditional cameras require sufficient exposure time to output frame images, which makes it difficult to meet the high-frequency target tracking needs of high-speed unmanned systems. As a new type of bionic visual sensor, different from the working mode of traditional cameras, each pixel of the event camera independently detects the changes in the light intensity received by each camera, and asynchronously outputs an event stream containing pixel position, light intensity change and time information. This imaging method enables the event camera to have the characteristics of low latency and high temporal resolution, and can provide visual information with microsecond delay for target tracking. However, the imaging principle of the event camera makes it only able to represent sparse scene contour information, and it cannot completely replace the visible light camera that can provide rich semantic information. Therefore, studying how to achieve low-latency target tracking through the effective fusion of event streams and frame images can effectively improve the intelligent perception ability of unmanned systems in rapidly changing scenes.

[0003] However, the fusion processing of event stream and frame image needs to overcome two challenges. On the one hand, the unique imaging characteristics of event camera make the processing of event stream quite difficult. Since the event stream output by the event camera has the characteristics of spatial discreteness and temporal asynchronousness, it is impossible to directly use the traditional computer vision algorithm designed for synchronous and dense images. And because the photosensitive device is extremely sensitive, the output results of the event camera may contain noise caused by light signal particle noise and optoelectronic circuit noise; on the other hand, the time resolution of the event stream is at the microsecond level, which is a big gap from ordinary frame images. Therefore, how to achieve efficient and accurate multimodal fusion while maintaining the low latency advantage of the event stream as much as possible is also one of the difficulties that need to be solved in the field of event stream and frame image fusion target tracking.

[0004] Due to sparse semantic information, event cameras have inherent disadvantages in pattern recognition tasks (such as target detection and tracking). Therefore, a considerable amount of work focuses on target tracking by fusing traditional cameras with event cameras, which requires consideration of issues such as spatiotemporal registration, feature fusion, and fusion result processing. In current research, most of the work follows the research results in the field of multimodal perception, converting event streams into "event frames" by event accumulation, and then realizing the fusion of two modalities through feature-level fusion. Zhang et al. proposed CDFI, which effectively enhanced the multimodal feature fusion based on sub-attention and cross-domain attention through a new cross-domain attention algorithm, thereby realizing the fusion target tracking of event streams and frame images; Aydin et al. chose to use pulse neural networks to process event streams and convolutional neural networks to process images, realizing lightweight and high-precision target tracking. However, the above schemes all choose to generate event frames synchronously according to the image frequency. Although they can obtain higher tracking accuracy, it is difficult to achieve a higher tracking frequency to cope with rapidly changing scenes. In order to further improve the tracking frequency, Zhang et al. proposed AFNet, which realizes the temporal registration of frame images and event accumulation images through variable convolution and style transfer modules, so that event frames and images that are not aligned in time can still be fused. However, due to the use of generative neural networks, if the tracking frequency is to be increased, the computational complexity of the model will also increase, and real-time performance is difficult to guarantee. Grehrig et al. used a linear event generation model, using images as templates to find the area with the smallest photometric error in the event frame to achieve target tracking. Although this method can make the tracking frequency no longer limited by frame images, due to the use of convex optimization for image matching, it can only process 17,000 event information per second and cannot be used for real-time target tracking tasks. In summary, how to achieve low-latency event stream and frame image fusion target tracking in real time is still a difficult problem to be solved in the direction of intelligent perception based on event cameras.

[0005] In event-based camera target tracking, due to the complementary relationship between event streams and frame images, target tracking strategies based on the fusion of event streams and frame images are currently widely used. Two key issues need to be addressed in algorithm design: the processing of event streams and the fusion of event streams and frame images. The former generally adopts the method of event frame accumulation, which is now relatively mature. The latter is still a difficult point in this field due to the time registration problem of multimodal fusion. On the one hand, although the time alignment of event frames and images can directly solve the time registration problem, it loses the advantage of low latency of event streams; on the other hand, the method of autonomously realizing time registration through models requires a more complex network structure and is difficult to meet real-time performance. Therefore, it is necessary to comprehensively consider the requirements of low latency and high accuracy, and on the basis of existing research, a new algorithm framework is designed to achieve low-latency target tracking of event streams and frame images. Summary of the invention

[0006] The purpose of this application is to provide a low-latency target tracking method, device, medium and product to reduce the delay time of target tracking and improve the accuracy of target tracking.

[0007] To achieve the above objectives, this application provides the following solutions: In a first aspect, the present application provides a low-latency target tracking method, comprising: Acquire a frame image of the target to be tracked and a set of events within a preset time period; Based on the event set, an event frame is generated; the event frame includes a high-frequency event frame and a low-frequency event frame; Based on the low-frequency event frame and the frame image, a target tracking frame is determined using a multimodal fusion target tracking model; Based on the target tracking frame, using the Gaussian Laplace operator and the sliding window method, determining the latest template; Based on the high-frequency event frame, the target tracking frame and the latest template, a lightweight image matching network is used to determine the target pixel position at the current moment; the lightweight image matching network includes a feature extraction module, a feature fusion module and a coordinate regression module; the feature extraction module includes two encoder-decoder structures; the encoder-decoder structure includes a 4-layer encoder network and a 4-layer decoder network; the feature fusion module includes a splicing operation, a convolutional long short-term memory neural network and a fusion unit; the coordinate regression module includes a multi-layer perceptron; Based on the target tracking frame and the target pixel position at the current moment, the current target state is estimated using Kalman filtering or Kalman filtering based on the enhanced state; the target state includes the target pixel position and pixel speed.

[0008] Optionally, generating an event frame based on the event set specifically includes: Using the formula Generate an event frame; where, is the event frame; is the event frame one pixel coordinate; is the timestamp of the event frame, for The timestamp of the most recent event. is the time decay parameter.

[0009] Optionally, the target tracking frame is represented as: ;in, The target center position coordinates of the target to be tracked in the current frame image; w is the length of the target frame; h The width of the target box.

[0010] Optionally, based on the target tracking frame, using a Gaussian Laplace operator and a sliding window method, determining the latest template specifically includes: Determine whether the length or width of the target tracking frame is greater than the side length of the image block; If yes, extracting a gradient map using a Laplacian of Gaussian operator according to the image frame; On the target tracking frame, a sliding window method is used to determine a latest template; the latest template is an area with the highest texture richness on the target tracking frame; the texture richness is determined according to the pixel coordinates of the upper left corner of the image block, the side length of the image block and the gradient map; If not, the target tracking frame is used as the latest template.

[0011] Optionally, determining the texture richness according to the pixel coordinates of the upper left corner of the image block, the side length of the image block and the gradient map specifically includes: Using the formula Determines the texture richness; where is the pixel coordinate of the upper left corner of the image block; k Representative k candidate image blocks; is the side length of the image block; is the gradient map; Pixel The L1 norm of the image gradient extracted by the Gaussian Laplacian operator at .

[0012] Optionally, based on the target tracking frame and the target pixel position at the current moment, using Kalman filtering or Kalman filtering based on an enhanced state, estimating the current target state specifically includes: When the target pixel position at the current moment is received, the current target state is determined using Kalman filtering; When the target tracking frame is received, the current target state is determined using enhanced state-based Kalman filtering.

[0013] Optionally, when the target tracking frame is received, a current target state is determined using a Kalman filter based on an enhanced state, specifically including: Build an enhanced state model; Based on the enhanced state model, the target tracking frame at the previous target estimation moment is corrected using Kalman filtering to obtain the current target state.

[0014] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the low-latency target tracking methods described above.

[0015] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the low-latency target tracking methods described above.

[0016] In a fourth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the low-latency target tracking methods described above.

[0017] According to the specific embodiments provided in this application, this application discloses the following technical effects: The present application provides a low-latency target tracking method, device, medium and product, by acquiring a frame image of a target to be tracked and an event set within a preset time period; based on the event set, generating a high-frequency event frame and a low-frequency event frame; based on the low-frequency event frame and the frame image, using a multimodal fusion target tracking model, determining a target tracking frame; based on the target tracking frame, using a Gaussian Laplace operator and a sliding window method, determining the latest template; based on the high-frequency event frame, the target tracking frame and the latest template, using a lightweight image matching network, determining the target pixel position at the current moment; based on the target tracking frame and the target pixel position at the current moment, using a Kalman filter or a Kalman filter based on an enhanced state, estimating the current target pixel position and pixel velocity. The present application achieves low-latency target tracking while maintaining high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A flowchart of a low-latency target tracking method provided in accordance with an embodiment of the present application.

[0020] Figure 2 Schematic diagram of a low-latency target tracking framework based on the fusion of event stream and frame image.

[0021] Figure 3 This is a schematic diagram of the network structure of the template update module.

[0022] Figure 4 Schematic diagram of target tracking results.

[0023] Figure 5 This is a comparison chart of algorithm performance.

[0024] Figure 6 This is an application environment diagram of a low-latency target tracking method in one embodiment of the present application.

[0025] Figure 7 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

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

[0028] The low-latency target tracking method of the present application achieves low-latency target tracking while maintaining high accuracy. Figure 2 As shown in the figure, the whole system consists of three modules: template update module, template tracking module and state estimation module. The template update module receives time-synchronized event frames and images, and uses a high-precision multimodal target tracking model to obtain the position and image appearance of the target at the synchronized moment as the latest template; the template high-frequency tracking module uses higher-frequency event frames and a lightweight image matching model to obtain the target pixel position at the current moment according to the latest template; and the state estimation module uses a filter under disordered measurement to estimate the target state at the current moment according to the results of the template update and tracking modules, which is the final tracking result.

[0029] In an exemplary embodiment, Figure 1 As shown, a low-latency target tracking method is provided, comprising: S1: Acquire a frame image of a target to be tracked and a set of events within a preset time period.

[0030] In practical applications, define a period of time The event collection obtained in ,in, is the total number of events, Respectively The pixel coordinates, timestamp, and polarity of each event.

[0031] S2: Generate event frames based on the event set; the event frames include high-frequency event frames and low-frequency event frames.

[0032] In practical applications, using the received Compute the Time Surface (TS) as event frames : .

[0033] in, is the event frame one pixel coordinate; is the timestamp of the i-th event frame, for The timestamp of the most recent event. is the time attenuation parameter. In this application, event frames will be generated at two frequencies, high and low. Among them, high-frequency event frames will be released at a frequency of 100~200Hz for low-latency template tracking modules; low-frequency event frames will be released synchronously with frame images for template update modules based on multi-modal fusion target tracking.

[0034] S3: Based on the low-frequency event frame and the frame image, a target tracking frame is determined using a multimodal fusion target tracking model.

[0035] In practical applications, the existing multimodal fusion target tracking model is first used to track the target using time-synchronized event frames and frame images. In the actual test of the present invention, a small sample target tracking model based on Transformer, ViPT, is selected for template updating in view of the scarcity of multimodal datasets. It should be noted that the present invention does not explicitly specify a multimodal fusion target tracking model, which can be selected according to actual task requirements and dataset conditions.

[0036] Then, the output results of the target tracking model are unified as In the form of is the target center position of the target in the current frame image, are the length and width of the target box respectively.

[0037] S4: Based on the target tracking frame, using the Gaussian Laplacian operator and the sliding window method, determine the latest template.

[0038] As an optional implementation, S4 specifically includes: It is determined whether the length or width of the target tracking frame is greater than the side length of the image block.

[0039] If so, a gradient map is extracted based on the image frame using a Laplacian of Gaussian operator.

[0040] On the target tracking frame, a sliding window method is used to determine the latest template; the latest template is the area with the highest texture richness on the target tracking frame; the texture richness is determined based on the pixel coordinates of the upper left corner of the image block, the side length of the image block and the gradient map.

[0041] If not, the target tracking frame is used as the latest template.

[0042] In practical applications, since the subsequent template tracking module requires a fixed-size image block, it is necessary to select a region with rich texture from the above tracking results as the latest template. Texture richness Make an evaluation: .

[0043] in, is the side length of the image block, is the pixel coordinate of the upper left corner of the image block, is the gradient map; for The L1 norm of the image gradient extracted by the Laplacian of Gaussian (LoG) operator is used. The sliding window method is used to search and select the area with the richest texture as the latest template.

[0044] The entire template update algorithm process is as follows: Function patch_serach ( ).

[0045] 1: Get the target tracking frame: .

[0046] 2: if bbox(t).w>s or bbox(t).h>s then.

[0047] According to the LoG operator, according to the frame image Extract the gradient map: .

[0048] exist Search for the best region using a sliding window method: .

[0049] 3: else.

[0050] by( ) as the optimal region pixel center: .

[0051] 4: end if.

[0052] Update the template: .

[0053] 14: Return .

[0054] S5: Based on the high-frequency event frame, the target tracking frame and the latest template, a lightweight image matching network is used to determine the target pixel position at the current moment; the lightweight image matching network includes a feature extraction module, a feature fusion module and a coordinate regression module; the feature extraction module includes two encoder-decoder structures; the encoder-decoder structure includes a 4-layer encoder network and a 4-layer decoder network; the feature fusion module includes a splicing operation, a convolutional long short-term memory neural network and a fusion unit; the coordinate regression module includes a multi-layer perceptron.

[0055] In practical applications, low-latency target tracking is achieved through a lightweight image matching network based on the latest template. The network structure is as follows Figure 3 As shown, it consists of a feature extraction module, a feature fusion module and a coordinate regression module.

[0056] The first step is feature extraction. Centered on the last target tracking result, extract the received event frame in the same size as the template. , cut out the TS image block for target tracking. Send the template and image block to the encoder-decoder structure model with the same weights to extract their respective semantic features. In the specific implementation, a 4-layer encoder network is used to first obtain The deep feature vector of dimension is obtained by passing the feature vector through a 4-layer decoder network. dimensional feature map.

[0057] Then, the feature fusion module is used to fuse the feature maps extracted from the TS image block and the template into a feature map for coordinate regression. In the specific implementation, the feature maps extracted from the features are first spliced ​​according to the channel direction to obtain Feature map of dimension Afterwards, in order to utilize the inter-frame information, a convolutional LSTM network is used to combine the current and previous fusion feature maps. With the splicing result Fusion is performed to obtain the fusion feature map of this round of iteration The fusion result is -dimensional feature vector.

[0058] Finally, a multi-layer perceptron is used according to The offset of the regression target relative to the current TS block , and calculate the coordinates of the current target in the pixel coordinate system.

[0059] S6: Based on the target tracking frame and the target pixel position at the current moment, the current target state is estimated using Kalman filtering or Kalman filtering based on an enhanced state; the target state includes the target pixel position and pixel velocity.

[0060] As an optional implementation, S6 specifically includes: When the target pixel position at the current moment is received, the current target state is determined using Kalman filtering.

[0061] When the target tracking frame is received, the current target state is determined using Kalman filtering based on the enhanced state, specifically including: Build an augmented state model.

[0062] Based on the enhanced state model, the target tracking frame at the previous target estimation moment is corrected using Kalman filtering to obtain the current target state.

[0063] In practical applications, the size of the neural network used by the template update and template tracking modules is different, and the reasoning speed is quite different. In the actual operation process, the template update will obviously lag behind the template tracking, causing the problem of disordered measurement. The specific manifestations are as follows: Figure 4 As shown in the figure, the first row shows the tracking results of the template update module. At this time, the event frame and the image are at the same time, showing accurate multimodal fusion tracking performance; the second row shows the tracking results of the template tracking module. At this time, only the event frame is updated, showing accurate inter-frame tracking performance. This application uses an augmented state-Kalman filter (AS-KF) based on the tracking results of the template update module and the template tracking module with different update frequencies and non-sequential arrival to estimate the target state. The state estimation quantity , that is, the target pixel position and pixel speed.

[0064] When receiving the result from the template tracking module (the target pixel position at the current moment), the target state is updated according to the normal Kalman filter mode. When receiving the result from the template update module (target tracking frame), due to the delay of model reasoning, the result is an unordered measurement, which is processed by AS-KF: First, build the augmented state model.

[0065] Assume that The unordered measurement results are received at the time, and the most recent target estimation time is , then set the enhanced state: .

[0066] in, for The state of the moment, The closest estimated state The state of the moment; for The transpose of The actual measurement corresponding to the enhanced state for: .

[0067] in, for The measurement result corresponding to the state moment.

[0068] Correspondingly, the state transfer equation and observation equation of the model are as follows: .

[0069] Among them, the state transfer matrix The form is as follows, for arrive The state transition matrix of .

[0070] .

[0071] Measurement Matrix The form is as follows: .

[0072] in, H k for The measurement matrix corresponding to the state moment; H k-1 for The measurement matrix corresponding to the state moment; for The measurement matrix corresponding to the state moment.

[0073] State transition noise The form is as follows: .

[0074] for The state transition noise at time.

[0075] Measuring noise N The form is as follows: .

[0076] for The measurement noise corresponding to the state moment.

[0077] Then, the status update of the out-of-order measurement is performed.

[0078] Using the enhanced state model constructed above, Kalman filtering is used to estimate the state of the most recent target To make corrections: .

[0079] .

[0080] in, is the posterior state estimate, and its covariance is , is the prior state estimate, and its covariance is : .

[0081] .

[0082] and is the Kalman gain: .

[0083] Through the above update equation, we can get the current posterior state estimate , and use it as the state estimate of the current target .

[0084] In general, the template update module uses a multimodal fusion target tracking network to provide a template with a low update frequency but sufficiently accurate for template tracking, thereby avoiding large offsets in subsequent target tracking. The template tracking module only uses event frames and is not limited by the frame image frequency, thereby greatly improving the frequency of target tracking. The state estimation module uses a filtering method to effectively suppress erroneous tracking results on the one hand, and directly uses the target coordinates obtained by the delayed template update module on the other hand to correct the current target state estimate, thereby further improving the accuracy of target tracking. Therefore, the method proposed in this application can significantly improve the target tracking frequency compared to the case where the target tracking accuracy is not significantly reduced when using a multimodal target tracking network alone. As a result, the update interval of the target state is greatly reduced, reducing the time delay of target tracking.

[0085] In the target tracking task based on the fusion of event stream and frame image, due to the huge frequency gap, while retaining the low latency advantage of event stream, achieving high-precision target tracking is still a difficulty in this field. This application proposes a new low-latency target tracking method based on the fusion of event stream and frame image, which uses event stream to generate low and high frequency event frames, which are used for template update and template tracking modules respectively. Among them, the template update module uses synchronized event frames and images to achieve low-frequency but accurate target tracking through a multimodal fusion target tracking network. The template tracking module uses the tracking results of the template update module as a template, and achieves higher frequency target tracking through a lightweight image matching network. The two modules are carried out in parallel and fused through a state estimation module based on AS-KF. On the one hand, the state estimation module can effectively suppress erroneous tracking results, and on the other hand, it can directly use the tracking results of the delayed template update module to correct the current target state. Therefore, in real-time target tracking tasks, compared with simply using the existing multimodal fusion target tracking network for end-to-end target tracking, this solution can significantly reduce the interval time for updating the target state estimation while maintaining basically unchanged accuracy, thereby achieving low-latency target tracking.

[0086] The ViPT multi-mode fusion target tracking network is used as the benchmark method, and the template update module of this application also samples ViPT for comparative experiments. Through multiple experiments, the RMSE of the benchmark method is 8.53 pixels, and the average time interval for target state updates is 24.8 ms; the RMSE of this application is 5.80 pixels, and the average time interval for target state updates is 5.1 ms. It can be seen that compared with the benchmark method, this application has greatly reduced the target state update time interval while maintaining high precision, thereby achieving low-latency target tracking.

[0087] In the performance comparison experiment, the baseline method uses the same multimodal fusion target tracking network ViPT as the template update module, and realizes target state estimation through Kalman filtering. Figure 5 This is the tracking trajectory of the proposed method and the benchmark method on the same sequence. It can be seen that the accuracy of the proposed method is higher than that of the benchmark method.

[0088] The low-latency target tracking method provided in the embodiment of the present application can be applied to Figure 6In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the event frame and frame image to be processed to the server 104. After the server 104 receives the event frame and frame image to be processed, the server 104 uses the event stream to generate low and high frequency event frames for the event frame and frame image to be processed, which are used for the template update and template tracking modules respectively. Among them, the template update module uses the synchronized event frame and image to achieve low-frequency but accurate target tracking through a multimodal fusion target tracking network. The template tracking module uses the tracking result of the template update module as a template, and achieves higher frequency target tracking through a lightweight image matching network. The two modules are carried out in parallel and fused through a state estimation module based on AS-KF. The server 104 can feedback the current target state obtained to the terminal 102. In addition, in some embodiments, the low-latency target tracking method can also be implemented independently by the server 104 or the terminal 102. For example, the terminal 102 can directly process the event frames and frame images to be processed, or the server 104 can obtain the event frames and frame images to be processed from the data storage system and process the event frames and frame images to be processed.

[0089] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.

[0090] The present application also provides an application scenario, which applies the above-mentioned low-latency target tracking method. Specifically: the low-latency target tracking method provided in this embodiment can be applied in a drone tracking scenario.

[0091] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store event frames and frame image data to be processed. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a low-latency target tracking method is implemented.

[0092] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0093] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0094] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0095] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0096] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0097] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0098] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A low-latency target tracking method, characterized in that: include: Acquire a frame image of the target to be tracked and a set of events within a preset time period; Based on the event set, generating an event frame; The event frames include high-frequency event frames and low-frequency event frames; Based on the low-frequency event frame and the frame image, a target tracking frame is determined using a multimodal fusion target tracking model; Based on the target tracking frame, using the Gaussian Laplace operator and the sliding window method, determining the latest template; Based on the high-frequency event frame, the target tracking frame and the latest template, a lightweight image matching network is used to determine the target pixel position at the current moment; The lightweight image matching network includes a feature extraction module, a feature fusion module and a coordinate regression module; the feature extraction module includes two encoder-decoder structures; the encoder-decoder structure includes a 4-layer encoder network and a 4-layer decoder network; the feature fusion module includes a splicing operation, a convolutional long short-term memory neural network and a fusion unit; the coordinate regression module includes a multi-layer perceptron; Based on the target tracking frame and the target pixel position at the current moment, a current target state is estimated by using a Kalman filter or a Kalman filter based on an enhanced state; The target state includes the target pixel position and pixel velocity.

2. The low-latency target tracking method according to claim 1, characterized in that: Based on the event set, an event frame is generated, specifically including: Using the formula Generate an event frame; where, is the event frame; is the event frame one pixel coordinate; is the timestamp of the event frame, for The timestamp of the most recent event. is the time decay parameter.

3. The low-latency target tracking method according to claim 1, characterized in that: The target tracking frame is represented as: ;in, The target center position coordinates of the target to be tracked in the current frame image; w is the length of the target frame; h The width of the target box.

4. The low-latency target tracking method according to claim 1, characterized in that: Based on the target tracking frame, the latest template is determined using the Gaussian Laplace operator and the sliding window method, specifically including: Determine whether the length or width of the target tracking frame is greater than the side length of the image block; If yes, extracting a gradient map using a Laplacian of Gaussian operator according to the image frame; On the target tracking frame, a sliding window method is used to determine a latest template; the latest template is an area with the highest texture richness on the target tracking frame; the texture richness is determined according to the pixel coordinates of the upper left corner of the image block, the side length of the image block and the gradient map; If not, the target tracking frame is used as the latest template.

5. The low-latency target tracking method according to claim 4, characterized in that: Determining the texture richness according to the pixel coordinates of the upper left corner of the image block, the side length of the image block and the gradient map specifically includes: Using the formula Determines the texture richness; where is the pixel coordinate of the upper left corner of the image block; k Representative k candidate image blocks; is the side length of the image block; is the gradient map; Pixel The L1 norm of the image gradient extracted by the Gaussian Laplacian operator at .

6. The low-latency target tracking method according to claim 1, characterized in that: Based on the target tracking frame and the target pixel position at the current moment, the current target state is estimated by using Kalman filtering or Kalman filtering based on the enhanced state, specifically including: When the target pixel position at the current moment is received, the current target state is determined using Kalman filtering; When the target tracking frame is received, the current target state is determined using enhanced state-based Kalman filtering.

7. The low-latency target tracking method according to claim 6, characterized in that: When the target tracking frame is received, the current target state is determined using Kalman filtering based on the enhanced state, specifically including: Build an enhanced state model; Based on the enhanced state model, the target tracking frame at the previous target estimation moment is corrected using Kalman filtering to obtain the current target state.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the low-latency target tracking method according to any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the low-latency target tracking method described in any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the low-latency target tracking method described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Attitude estimation method of maneuvering acceleration-assisted extended Kalman filter (EKF) attitude and heading reference system (AHRS)

    CN101782391A

  • Target tracking method and device, electronic equipment and readable storage medium

    CN113610895A

  • Space target detection tracking method and system based on event camera, and storage medium

    CN116363163A

  • Lightweight twin network tracking algorithm based on spatial-temporal feature fusion

    CN116958206A

  • Multi-target tracking method based on Kalman filtering and correlation matching

    CN117649430A