A data processing method and related apparatus
By extracting features and weighting feature representation from single-modal 3D point cloud data, the problem of high complexity in fusing event frames and RGB images is solved, and the accuracy of target object tracking is improved in low-light and high-dynamic scenes.
Patent Information
- Application Number
- CN202510689427.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for target tracking suffer from high complexity in fusing event frames and RGB image features, and are greatly affected by lighting conditions, resulting in low accuracy in target object tracking, especially for low-dynamic or static targets.
Target object tracking is performed using single-modal 3D point cloud data. By acquiring 3D point cloud data at different times, feature extraction and weighted feature representation are performed to determine the spatial information of the target object, adapt to the deformation of non-rigid objects, and improve tracking accuracy.
It achieves robust tracking of target objects in low-light, textureless, or high-dynamic scenes, applicable to both rigid and non-rigid objects, improving the accuracy and adaptability of target tracking.
Smart Images

Figure CN123160607A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to a data processing method and related apparatus. Background Technology
[0002] Target tracking is an important problem in the field of computer vision (CV). Given the size and position of a target in the initial frame of a video, predicting the size and position of the target in subsequent frames can be widely used in sports broadcasting, surveillance, drones, unmanned vehicles, robots and other fields.
[0003] Currently, traditional RGB (red, green, blue) frame cameras are used to acquire RGB images of the search area, providing color or texture information. Event cameras are used to acquire event frames of the search area, providing brightness changes. To adapt to real-world applications, these two modalities need to be stitched together before further feature extraction. Multiple feature fusions of the two modalities are then performed, and the location of the target object in the search area is determined based on the fused feature information, thus achieving target tracking.
[0004] However, the feature fusion between event frames and RGB images is complex, and event frames only trigger events when brightness changes. Static or low-dynamic targets hardly generate events. In this case, target tracking relies solely on feature information from the RGB image, which is greatly affected by lighting conditions. This significantly impacts the accuracy of target tracking. Summary of the Invention
[0005] This application provides a data processing method and related apparatus for tracking target objects based on single-modal 3D point cloud data in application scenarios involving target object tracking, thereby improving the accuracy of target object tracking.
[0006] Firstly, this application provides a data processing method applicable to computing devices or clusters of computing devices, such as drones and intelligent vehicles. The method includes: acquiring first three-dimensional point cloud data of a search area at a first moment and second three-dimensional point cloud data of a target object at a second moment, wherein the second moment is earlier than the first moment, for example, the second moment is the moment preceding the first moment. Then, feature extraction is performed on the first and second three-dimensional point cloud data to obtain first feature information of the first three-dimensional point cloud data and second feature information of the second three-dimensional point cloud data. Based on the first and second feature information, a weighted feature representation is determined, which indicates the similarity between the first feature information at the first moment and the second feature information at the second moment. Based on the weighted feature representation, target spatial information of the target object in the search area at the first moment is determined, the target spatial information including two-dimensional position coordinates.
[0007] The weighted feature representation can also be understood as indicating the correlation between the first feature information at the first time step and the second feature information at the second time step. In other words, the weighted feature representation includes the feature information changes between the first feature information at the first time step and the second feature information at the second time step. The higher the similarity between the first feature information at the first time step and the second feature information at the second time step, the smaller the feature information changes between the first feature information at the first time step and the second feature information at the second time step.
[0008] 3D point cloud data can be understood as a dense or sparse set of 3D points, where each point contains spatial coordinates (x, y, z) and optional reflection intensity or color information. Environmental factors such as ambient lighting or object surface texture have little impact on the acquisition of 3D point cloud data, making it suitable for low-light, textureless, or high-dynamic application scenarios.
[0009] In this implementation, the position prediction of the target object is achieved by directly using 3D point cloud data of a single modality to provide the 3D geometric information of the target object or search area. This eliminates the need for depth calculations, is applicable to more application scenarios, and ensures robust target tracking. The position of the target object is determined by the changes or similarities between the feature information of the target object at a given historical moment and the feature information of the search area to be tracked. Furthermore, it adapts to the spatial feature changes of non-rigid objects (which may undergo deformation), enabling the tracking of both rigid and non-rigid objects based on 3D point cloud data, thus improving the accuracy of target tracking.
[0010] In one possible implementation, feature extraction of the first and second 3D point cloud data further includes: extracting features from a first set of feature points in the first 3D point cloud data to obtain first-level feature information, wherein the first set of feature points includes a subset of the feature points in the first 3D point cloud data. Then, extracting features from a second set of feature points to obtain second-level feature information, wherein the second set of feature points is a subset of the feature points in the first set. Similarly, extracting features from a third set of feature points in the second 3D point cloud data to obtain first-level feature information, wherein the third set of feature points includes a subset of the feature points in the second 3D point cloud data. Finally, extracting features from a fourth set of feature points in the second 3D point cloud data to obtain second-level feature information, wherein the fourth set of feature points is a subset of the feature points in the third set.
[0011] In one possible implementation, the weighted feature representation includes a first-level weighted feature representation and a second-level weighted feature representation. The first-level weighted feature representation is determined based on the first-level feature information of the first 3D point cloud data and the first-level feature information of the second 3D point cloud data. This first-level weighted feature representation is used to determine the spatial information of the first target object. Furthermore, the second-level weighted feature representation is determined based on the second-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data. This second-level weighted feature representation is used to determine the spatial information of the second target object, the scale of which is larger than that of the first target object.
[0012] In this implementation, due to the near and far distances between the target object and the acquisition device (such as lidar), the scale of the same target object may change at different times, and there may also be target objects of different scales in the same search area. By using feature information with different degrees of saliency represented by weighted feature representations at different levels, it can adapt to target objects of different scales and effectively track the dynamic changes in the size of the target object.
[0013] In one possible implementation, before performing feature extraction on the first set of feature points of the first 3D point cloud data, the method further includes: determining a first feature point from the first 3D point cloud data; and determining a second feature point from other feature points of the first 3D point cloud data based on the distance between the first feature point and other feature points in the first 3D point cloud data, wherein the second feature point is farthest from the first feature point, and the first set of feature points includes the first feature point and the second feature point.
[0014] In this implementation, the first set of feature points is determined using a farthest-point sampling algorithm, resulting in more uniform sampling of feature points and a wider spatial distribution of the feature point set, thus avoiding redundancy. This allows for better extraction of local or global features of the target object during feature extraction.
[0015] In one possible implementation, feature extraction of the first feature point set of the first 3D point cloud data includes: determining K neighboring points for each feature point in the first feature point set, where the K neighboring points are the points in the first feature point set that are closest to the feature point. Based on the k neighboring points of each feature point, local feature information of the first feature point set is determined, and the first-level feature information of the first 3D point cloud data includes the local feature information of the first feature point set. Here, k is a positive integer, and the value of k can be customized or preset. For example, k can be 32.
[0016] In one possible implementation, feature extraction of the first feature point set of the first three-dimensional point cloud data further includes: determining the global feature information of the first feature point set based on the local feature information of the first feature point set and the centroid coordinates of the first feature point set. The first-level feature information of the first three-dimensional point cloud data includes the global feature information of the first feature point set, and the centroid coordinates are calculated based on the spatial coordinates of each feature point in the first feature point set.
[0017] In one possible implementation, the target spatial information also includes position offset and scale information. Based on weighted feature representation, the position offset and scale information of the target object are determined. The position offset represents the difference between the spatial coordinates of the target object in the search area at the first time step and the spatial coordinates of the target object at the second time step. The target spatial information also includes position offset and scale information. Then, based on the position offset of the target object and the centroid coordinates of the first 3D point cloud data, the 2D spatial coordinates of the target object are determined. The centroid coordinates of the first 3D point cloud data are calculated based on the spatial coordinates of each feature point in the first 3D point cloud data.
[0018] In this implementation, since the centroid of the search area may change at different times, the generation of the final position coordinates can be guided by the centroid coordinates, which can improve the tracking accuracy of the target object.
[0019] Secondly, this application provides a data processing apparatus, comprising: an acquisition module for acquiring first three-dimensional point cloud data of a search area at a first time and second three-dimensional point cloud data of a target object at a second time, wherein the second time is a historical time of the first time; a first processing module for performing feature extraction on the first and second three-dimensional point cloud data to obtain first feature information of the first three-dimensional point cloud data and second feature information of the second three-dimensional point cloud data; a second processing module for determining a weighted feature representation based on the first and second feature information, wherein the weighted feature representation indicates the similarity between the first and second feature information at the first and second times; and a third processing module for determining spatial information of the target object in the search area at the first time based on the weighted feature representation, wherein the spatial information includes position coordinates.
[0020] In one implementation, the first processing module is further configured to: extract features from a first set of feature points of the first 3D point cloud data to obtain first-level feature information of the first 3D point cloud data, wherein the first set of feature points includes some feature points of the first 3D point cloud data; extract features from a second set of feature points to obtain second-level feature information of the first 3D point cloud data, wherein the second set of feature points is a subset of the first set of feature points; extract features from a third set of feature points of the second 3D point cloud data to obtain first-level feature information of the second 3D point cloud data, wherein the third set of feature points includes some feature points of the second 3D point cloud data; and extract features from a fourth set of feature points of the second 3D point cloud data to obtain second-level feature information of the second 3D point cloud data, wherein the fourth set of feature points is a subset of the third set of feature points.
[0021] In one implementation, the second processing module is further configured to: determine a first-level weighted feature representation based on the first-level feature information of the first three-dimensional point cloud data and the first-level feature information of the second three-dimensional point cloud data; the first-level weighted feature representation is used to determine the spatial information of the first target object. Based on the second-level feature information of the first three-dimensional point cloud data and the second-level feature information of the second three-dimensional point cloud data, determine a second-level weighted feature representation; the second-level weighted feature representation is used to determine the spatial information of the second target object, the scale of the second target object being larger than the scale of the first target object, and the weighted feature representation including both the first-level weighted feature representation and the second-level weighted feature representation.
[0022] In one implementation, the first processing module is further configured to: determine a first feature point from the first three-dimensional point cloud data; and determine a second feature point from the other feature points in the first three-dimensional point cloud data based on the distance between the first feature point and other feature points in the first three-dimensional point cloud data, wherein the second feature point is farthest from the first feature point, and the set of first feature points includes the first feature point and the second feature point.
[0023] In one implementation, the first processing module is further configured to: determine K neighboring points for each feature point in the first feature point set, wherein the K neighboring points are the points in the first feature point set that are closest to the feature point. Based on the k neighboring points of each feature point, local feature information of the first feature point set is determined, and the first-level feature information of the first 3D point cloud data includes the local feature information of the first feature point set.
[0024] In one implementation, the first processing module is further configured to: determine the global feature information of the first feature point set based on the local feature information of the first feature point set and the centroid coordinates of the first feature point set, wherein the first-level feature information of the first three-dimensional point cloud data includes the global feature information of the first feature point set, and the centroid coordinates are calculated based on the spatial coordinates of each feature point in the first feature point set.
[0025] In one implementation, the third processing module is further configured to: determine the position offset and scale information of the target object based on the weighted feature representation. The position offset of the target object represents the difference between the spatial coordinates of the target object in the search area at the first time step and the spatial coordinates of the target object at the second time step. The target spatial information also includes position offset and scale information. Based on the position offset of the target object and the centroid coordinates of the first 3D point cloud data, the two-dimensional spatial coordinates of the target object are determined. The centroid coordinates of the first 3D point cloud data are calculated based on the spatial coordinates of each feature point in the first 3D point cloud data.
[0026] Thirdly, this application provides a computing device including a processor and a memory, the processor being coupled to the memory, the memory being used to store programs or instructions, which, when executed by the processor, cause the computing device to perform the method described in the first aspect or any optional embodiment of the first aspect.
[0027] Fourthly, this application provides a computing device cluster, including at least one computing device, each computing device including a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device to cause the computing device cluster to perform the method described in the first aspect or any optional embodiment of the first aspect.
[0028] Fifthly, this application provides a computer program product containing instructions that, when executed by a cluster of computing devices, enable the cluster of computing devices to perform the method described in the first aspect or any optional embodiment of the first aspect.
[0029] In a sixth aspect, this application provides a computer-readable storage medium including computer program instructions that, when executed by a cluster of computing devices, perform the method described in the first aspect or any optional embodiment of the first aspect.
[0030] Understandably, the second to sixth aspects can perform the operations performed as described in the first aspect or any optional implementation of the first aspect, and achieve the same technical effect, which will not be elaborated here. Attached Figure Description
[0031] Figure 1 A structural diagram of an artificial intelligence main framework provided in this application;
[0032] Figure 2 A schematic diagram of a system architecture is provided for this application;
[0033] Figure 3 A flowchart illustrating a data processing method provided in this application;
[0034] Figure 4 A flowchart illustrating the feature extraction process provided in this application;
[0035] Figure 5 Another flowchart illustrating the feature extraction process provided for this application;
[0036] Figure 6 A flowchart of the attention layer provided in this application;
[0037] Figure 7 A schematic diagram of the structure of a data processing device provided in this application;
[0038] Figure 8 A schematic diagram of the structure of a computing device provided in this application;
[0039] Figure 9 This application provides a schematic diagram of the structure of a computing device cluster;
[0040] Figure 10 This is a schematic diagram of another computing device cluster provided in this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. With the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0042] The terms "first," "second," etc., used in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of modules is not necessarily limited to those modules, but may include other modules not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0043] First, the embodiments of this application involve a large number of applications related to neural networks. In order to better understand the solutions of the embodiments of this application, the relevant terms and concepts of neural networks that may be involved in the embodiments of this application will be introduced below.
[0044] (1) Event Camera
[0045] An event camera is a device that outputs an asynchronous signal by measuring the dynamic light intensity changes of each pixel. For example, an event camera can be a camera that includes one or more event camera sensors (also simply called event sensors). Unlike traditional cameras that capture a complete image, event cameras capture "events" (or event items), treating the brightness change of a single pixel in a real-world scene as an event. Event sensors include, but are not limited to, dynamic vision sensors (DVS), asynchronous time-based image sensors (ATIS), and dynamic and active pixel vision sensors (DAVIS).
[0046] Event cameras capture dynamic changes in a scene using an event-driven approach. This can be understood as capturing changes in the brightness of pixels within the scene; that is, the event camera outputs the changes in pixel brightness. A pixel can also be simply called a pixel. Specifically, when the brightness of a pixel in a real-world scene changes, the event camera generates an event at that pixel. The event data corresponding to an event can include four parts: (x, y, p, t). Here, x and y are the pixel coordinates in two-dimensional space, i.e., the row and column values of the light sensor corresponding to the pixel whose brightness changed; t is the timestamp of the event, i.e., the time when the pixel's brightness changed; and p is the polarity of the event, representing whether the brightness change is an increase or a decrease. p takes the value 1 or -1, where 1 indicates an increase in brightness and -1 indicates a decrease in brightness.
[0047] (2) Point cloud data
[0048] Point cloud data refers to a collection of vectors in a three-dimensional coordinate system. The smallest unit of point cloud data is the point cloud data of a single point, which at least contains the three-dimensional coordinates corresponding to that point. Optionally, the point cloud data of a single point may also include attribute information other than location, such as color, reflectivity, and intensity. Point cloud data can be acquired by sensors carried in sensing devices, and the types of sensors include, but are not limited to, LiDAR, cameras, and 3D scanners. Understandably, point cloud data can also be called 3D point cloud data, 3D point cloud, point cloud, etc., and this application does not limit it to these terms.
[0049] (3) Convolutional Neural Network (CNN)
[0050] A CNN (Convolutional Neural Network) is a deep neural network with convolutional structures. A CNN contains a feature extractor consisting of convolutional layers and subsampling layers; this feature extractor can be viewed as a filter. A convolutional layer is a layer of neurons in a CNN that performs convolutional processing on the input signal. In a convolutional layer of a CNN, a neuron may only be connected to some of its neighboring neurons. A convolutional layer typically contains several feature planes, each composed of a series of rectangularly arranged neural units. Neural units on the same feature plane share weights; these shared weights are the convolutional kernel. Shared weights can be understood as the way features are extracted being independent of their location.
[0051] Most simple convolutions are one-dimensional (1D) convolutions, typically used for sequence datasets (but can also be used for other use cases). They can be used to extract local 1D subsequences from an input sequence and to identify local patterns within a convolution window. Other common uses of 1D convolutions are, for example, in the field of NLP, where each sentence is represented as a sequence of words. For image datasets, CNN architectures primarily use two-dimensional (2D) convolutional filters. The main idea behind 2D convolutions is that the convolutional filter typically moves in two directions (x, y) to compute low-dimensional features from the image data. The output shape of a 2D CNN is also a 2D matrix. Three-dimensional (3D) convolutions apply three-dimensional filters to the dataset, which typically move in three directions (x, y, z) to compute low-level feature information. The output shape of a 3D CNN is a 3D volumetric space, such as a cube or cuboid. They are helpful in event detection in videos, 3D medical images, etc. They are not limited to 3D space and can also be applied to 2D spatial inputs such as images.
[0052] (4) Multi-layer perceptron (MLP)
[0053] A multi-layer perceptron (MLP) is a complement to a feedforward neural network, consisting of three types of layers—an input layer, an output layer, and hidden layers. The input layer receives the input signal to be processed. The output layer performs the required tasks, such as prediction and classification. Any number of hidden layers located between the input and output layers are the actual computational engine of the MLP. Similar to feedforward neural networks, data flows forward from the input layer to the output layer. Neurons in an MLP are trained using a backpropagation learning algorithm (also known as a backward propagation learning algorithm). MLPs are designed to approximate any continuous function and can solve problems that are not linearly separable. The main use cases for MLPs are pattern classification, recognition, prediction, and approximation.
[0054] (5) Attention mechanism
[0055] Attention mechanisms can quickly extract important features from sparse data. Attention occurs between the encoder and decoder, or more specifically, between the input and generated sentences. In contrast, the self-attention mechanism in a self-attention model occurs within the encoding matrix or the output sequence, extracting connections between distant words within the same sentence, such as syntactic features (phrase structure). Self-attention provides an effective modeling method for capturing global contextual information through QKV (key-value pairs). Assuming the input is Q (query), and the context is stored as key-value pairs (K, V), then the attention mechanism is essentially a mapping function from the query to a series of key-value pairs (key, value). The essence of the attention function can be described as a mapping from a query to a series of (key-value) pairs. Attention essentially assigns a weight coefficient to each element in the sequence, which can also be understood as soft addressing. If each element in the sequence is stored in (K, V) form, then attention performs addressing by calculating the similarity between Q and K. The similarity calculated between Q and K reflects the importance of the extracted V values, i.e., the weights, and then a weighted sum is obtained to obtain the final feature value.
[0056] Attention calculation mainly consists of three steps. The first step is to calculate the similarity between the query and each key to obtain weights. Common similarity functions include dot product, concatenation, and perceptron. The second step typically uses a softmax function (which can normalize the weights, resulting in a probability distribution where the sum of all weight coefficients is 1, and also highlights the weights of important elements) to normalize these weights. Finally, the weights and their corresponding key values are weighted and summed to obtain the final feature value. The specific calculation formula is as follows:
[0057]
[0058] Where d is the dimension of matrix QK. Furthermore, attention includes self-attention and cross-attention. Self-attention can be understood as a special type of attention where the inputs to QKV are consistent. Cross-attention, on the other hand, involves inconsistent inputs to QKV. Attention integrates the queried features as updated values for the current features using the similarity between features (e.g., inner product) as weights. Self-attention is attention extracted based on the attention drawn from the feature map itself.
[0059] For convolutional networks, the kernel size limits the receptive field, often requiring multiple layers to focus on the entire feature map. Self-attention, on the other hand, offers the advantage of global focus; it can acquire global spatial information of the feature map through simple queries and assignments. A unique aspect of self-attention in query-key-value (QKV) models is that the inputs for each QKV value are consistent.
[0060] Since the method provided in this application uses a machine learning model, before describing the specific implementation process of the method provided in this application in detail, the overall workflow of the artificial intelligence system and the system architecture applied in the embodiments of this application will be described first.
[0061] Please see Figure 1 As shown, Figure 1 This is a schematic diagram of the main framework of artificial intelligence provided in this application. The framework is described below from two dimensions: the "intelligent information chain" (horizontal axis) and the "IT value chain" (vertical axis). The "intelligent information chain" reflects a series of processes from data acquisition to processing. For example, it could be a general process of intelligent information perception, intelligent information representation and formation, intelligent reasoning, intelligent decision-making, and intelligent execution and output. In this process, data undergoes a condensation process of "data—information—knowledge—wisdom." The "IT value chain" reflects the value that artificial intelligence brings to the information technology industry, from the underlying infrastructure of human intelligence and information (provided and processed by technology) to the industrial ecosystem of the system.
[0062] (1) Infrastructure
[0063] Infrastructure provides computing power to support artificial intelligence systems, enabling communication with the external world and providing support through a basic platform. This communication occurs through sensors; computing power is provided by intelligent chips (hardware acceleration chips such as CPUs, NPUs, GPUs, ASICs, and FPGAs); and the basic platform includes distributed computing frameworks and related platform guarantees and support, which may include cloud storage and computing, interconnected networks, etc. For example, sensors communicate with the outside world to acquire data, and this data is provided to intelligent chips in the distributed computing system provided by the basic platform for computation.
[0064] (2) Data
[0065] The data at the next layer of infrastructure is used to represent data sources in the field of artificial intelligence. The data involves graphics, images, voice, text, and IoT data from traditional devices, including business data from existing systems as well as data on force, displacement, liquid level, temperature, humidity, etc.
[0066] (3) Data processing
[0067] Data processing typically includes methods such as data training, machine learning, deep learning, search, reasoning, and decision-making. Machine learning and deep learning can perform symbolic and formal intelligent information modeling, extraction, preprocessing, and training on data. Reasoning refers to the process in which a computer or intelligent system simulates human intelligent reasoning, using formalized information to perform machine thinking and solve problems based on reasoning control strategies; typical functions include search and matching. Decision-making refers to the process of making decisions based on intelligent information after reasoning, typically providing functions such as classification, ranking, and prediction.
[0068] (4) General ability
[0069] After the data processing mentioned above, the results of the data processing can be used to form some general capabilities, such as algorithms or a general system, for example, translation, text analysis, computer vision processing, speech recognition, image recognition, etc.
[0070] (5) Smart Products and Industry Applications
[0071] Intelligent products and industry applications refer to products and applications of artificial intelligence systems in various fields. They are the encapsulation of overall artificial intelligence solutions, productizing intelligent information decision-making and realizing practical applications. Their application areas mainly include: intelligent terminals, intelligent transportation, intelligent healthcare, autonomous driving, smart cities, etc.
[0072] This application provides a data processing method and related apparatus for reducing data volume and power consumption in applications involving target object tracking, thereby improving the accuracy of target object tracking. These applications include, but are not limited to, sports broadcasting, drones, human-computer interaction, autonomous driving, and robotics. For example, when a drone swarm operates in an environment, it needs to locate the position of the target object. If the target object is moving, the drone swarm can further track its trajectory to facilitate the operation. For instance, in extreme scenarios such as low light, dim light, and overexposure, as well as high-speed moving object scenarios, 3D point cloud data in the search area is collected using an event camera or LiDAR. Feature extraction is performed based on the single-modal 3D point cloud data to predict the position coordinates of the target object generated in the search area.
[0073] For example, a drone can be equipped with devices such as event cameras and LiDAR to acquire 3D point cloud data in real time. When tracking a target object, the drone first acquires 3D point cloud data of the target object at its initial position, identifies the target object within the 3D point cloud data, and records the target object's 3D point cloud data or initial position information (e.g., spatial coordinates and scale). The target object's 3D point cloud data can then be used as a matching template for subsequent tracking. For example, when tracking a red car, the target is identified through color features and the vehicle's outline. During subsequent tracking, 3D point cloud data of the search area is acquired in real time. Multi-scale spatial features are extracted from the 3D point cloud data of the search area and compared with the previously recorded multi-scale spatial features of the target object's 3D point cloud data to perform attention feature extraction, thereby obtaining the target object's position offset and scale. Based on the target object's position offset and scale, the multi-scale spatial features of the 3D point cloud data of the search area are used to further guide the generation of the final prediction bounding box. This prediction bounding box can represent the target object's position and scale within the search area.
[0074] In addition to generating bounding boxes for multiple target objects within the search area, classification labels for these objects can also be generated. Therefore, when generating bounding boxes, different scale bounding boxes are generated for target objects of different scales within the search area to adapt to the actual scale of the target objects. Furthermore, classification labels for the target objects are generated to represent their attributes.
[0075] Please see Figure 2 As shown, Figure 2 This is a schematic diagram of the system architecture provided for this application. System 200 includes a training device 210, a database 220, an execution device 230, and a data storage system 240. The execution device 230 includes a computing module 231, which may also include a machine learning model 201.
[0076] Database 220 can store 3D point cloud data of the search area collected at different times, as well as 3D point cloud data of target objects collected and identified at historical times. Here, 3D point cloud data refers to a set of vectors in a 3D coordinate system. Furthermore, the 3D point cloud data in database 220 can be acquired by acquisition devices deployed in system 200, or obtained from other acquisition devices. These acquisition devices can be LiDAR, event cameras, etc.
[0077] Training device 210 obtains training samples from database 220. These training samples include 3D point cloud data of the search area collected at different times and 3D point cloud data of target objects collected and identified at historical times. The training samples are used to train machine learning model 201, enabling it to predict the position and scale of the target object within the search area. For example, a trained machine learning model 201 can predict the scale and position changes of the target object in the search area at the current moment based on the 3D point cloud data of the moving target object at historical times. Computation module 231 obtains the scale and position changes of the target object output by machine learning model 201, further determines the spatial coordinates and scale of the predicted bounding box of the target object, and sends it to other external devices via I / O interface.
[0078] Training device 210 can send the trained machine learning model 201 or the trained model parameter matrix to execution device 230, where a machine learning model is constructed to perform the corresponding target object tracking task. For details on the implementation of target object tracking by execution device 230 using the trained machine learning model 201, please refer to [reference needed]. Figure 3 A flowchart.
[0079] The execution device 230 is equipped with an I / O interface for data interaction with external devices. Through the I / O interface, the execution device 230 can acquire 3D point cloud data of the search area collected at different times, as well as 3D point cloud data of target objects collected and identified at historical times, from other devices. This 3D point cloud data can also be obtained from the system's database 220. When the machine learning model 201 is a prediction model, it can predict and generate bounding boxes for different target objects in the search area based on the collected 3D point cloud data. These bounding boxes represent the positions of the target objects in the search area and are adapted to the different scales of different target objects. The execution device 230 can be installed in a cloud server or in a user client, such as in drones or automobiles.
[0080] The execution device 230 can access data, code, etc., in the data storage system 240, and can also store output data into the data storage system 240. The data storage system 240 can be located within the execution device 230, can be set up independently, or can be located in other network entities; there can be one or multiple such systems.
[0081] It is worth noting that Figure 2 This is merely a schematic diagram of a system architecture provided by an embodiment of the present invention. The positional relationships between the devices, components, modules, etc. shown in the diagram do not constitute any limitation. For example, in Figure 2In this context, the data storage system 240 is an external memory relative to the execution device 230. In other cases, the data storage system 240 may also be placed within the execution device 230.
[0082] In the embodiments of this application, the training device 210 and the execution device 230 may be two different physical devices, or they may be on the same physical device or a cluster. This application does not impose any restrictions on this.
[0083] The above parts combined Figure 2 The system architecture provided in this application is described below, with reference to the following. Figure 3 The data processing methods will be explained in detail. Figure 3 This is a flowchart illustrating a data processing method provided in this application.
[0084] like Figure 3 As shown, the data processing method provided in this application includes:
[0085] Step 301: Obtain the first three-dimensional point cloud data of the search area at the first moment and the second three-dimensional point cloud data of the target object at the historical moment.
[0086] For example, the first and second 3D point cloud data can be obtained by collecting and preprocessing sensors such as LiDAR or depth cameras. The second 3D point cloud data of the target object at a historical moment can be understood as the 3D point cloud data of the target object that has been collected and identified at a historical moment. The first 3D point cloud data of the search area at the first moment can be understood as the 3D point cloud data of the search area collected at the first moment.
[0087] Optionally, the second three-dimensional point cloud data of the target object at different times may be obtained by collecting and processing different search areas. The three-dimensional point cloud data collected at historical times can be used as a template to match the three-dimensional point cloud data of other search areas at the next time (e.g., the search area at the first time).
[0088] For example, 3D point cloud data of a first search area is acquired at a first moment, and 3D point cloud data of a second search area is acquired at a second moment, with the second moment being the time preceding the first moment. Then, for the 3D point cloud data acquired at the second moment, after determining the target object, only the 3D point cloud data of the target object is retained as a template. That is, the template stores 3D point cloud data of the target object acquired at different moments, and the spatial features (e.g., scale and position) of the 3D point cloud data of the target object acquired at different moments may differ. For example, within the same search area, the distance between the target object and the lidar at the second moment is closer than the distance between the target object and the lidar at the third moment, where the third moment is the time preceding the second moment. Another example is that the position of the target object in the first search area at the second moment is different from its position in the second search area at the third moment.
[0089] Optionally, 3D point cloud data can be understood as a large number of discrete 3D spatial points. For example, each point in 3D point cloud data contains spatial coordinates (X, Y, Z). Understandably, each point may also include other information, such as color. Therefore, for the first 3D point cloud data of the search area at the first moment and the second 3D point cloud data of the target object at historical moments, the first 3D point cloud data P... t It includes feature information and temporal feature information for each point. The second 3D point cloud data P s It includes feature information and time feature information for each point.
[0090] For example, 3D point cloud data (such as first 3D point cloud data or second 3D point cloud data) can be determined based on feature information obtained by LiDAR scanning in the search area. That is, based on feature information obtained by LiDAR scanning in the search area, such as distance measurement and angle in the search area, the feature information is then mapped or transformed to obtain the 3D point cloud data of the search area, that is, the 3D spatial coordinates (x, y, z).
[0091] For example, 3D point cloud data (such as first or second 3D point cloud data) can be determined based on event clouds acquired by an event camera in the search area. That is, the event camera acquires event clouds (x, y, p, t) in the search area over a continuous time period (e.g., 10 ms), and then processes or transforms the event clouds to obtain 3D point cloud data (x, y, z) of the search area. During the processing or transformation of the event clouds, the polarity parameter p is discarded, and spatial coordinates z are calculated or converted based on the time information t and other distance information in the event clouds. This yields 3D point cloud data (x, y, z) at different times t.
[0092] Optionally, in the second three-dimensional point cloud data P sThe data may contain only the 3D point cloud data corresponding to a specified target object. In the first 3D point cloud data P... t The search area can contain 3D point cloud data corresponding to all objects within the search region (e.g., including the target object and other non-target objects). The second 3D point cloud data P... s It can be updated dynamically. For example, the second 3D point cloud data P s Includes 3D point cloud data of the target object collected at times (t1, t2, t3) or within a continuous time period, the first 3D point cloud data P t This includes 3D point cloud data of the search area collected at time t4 or within a continuous time period. After predicting the bounding box of the target object in the search area at time t4, the 3D point cloud data of the target object at time t4 can be added to the second 3D point cloud data P. s In this context, the prediction bounding box is used to generate the next time step. Here, t1 is the time step before t2, t2 is the time step before t3, and t3 is the time step before t4.
[0093] Understandably, the first and second 3D point cloud data need to be normalized to the range of [0,1] before feature extraction can be performed, i.e., step 302 is executed.
[0094] Step 302: Extract features from the first 3D point cloud data and the second 3D point cloud data respectively to obtain multi-scale feature information of the first 3D point cloud data and the second 3D point cloud data.
[0095] For example, the multi-scale feature information of the first 3D point cloud data can be understood as first-level feature information and second-level feature information of the first 3D point cloud data. The first-level feature information is used to determine a first target object at a first scale in the search area, and the second-level feature information is used to determine a second target object at a second scale in the search area, wherein the first scale is smaller than the second scale. Similarly, the multi-scale feature information of the second 3D point cloud data can be understood as first-level feature information and second-level feature information of the second 3D point cloud data. The first-level feature information of the second 3D point cloud data is used to determine a first target object at a first scale in the search area, and the second-level feature information of the second 3D point cloud data is used to determine a second target object at a second scale in the search area, wherein the first scale is smaller than the second scale.
[0096] Since the information represented by 3D point cloud data on the time axis is unidirectional and immutable, and maintains consistency across the entire hierarchical structure based on ascending order of the initial timestamp, the temporally ordered point sequence can be used as a feature to learn temporal features through a multilayer perceptron (MLP). Multilayer perceptrons perform multi-level feature extraction to obtain feature information at different scales. During multi-level feature extraction, as the number of stages (or levels) increases, the number of feature points decreases, while the features of the feature points (e.g., local or global feature information) become increasingly significant. Therefore, as the number of stages increases, the feature information of the feature points is better able to represent larger-scale objects, while the feature information of feature points closer to the initial stage is better able to represent smaller-scale objects.
[0097] refer to Figure 4 and Figure 5 , Figure 4 This is a schematic diagram of a feature extraction process provided in an embodiment of this application. Figure 5 This is a schematic diagram of another feature extraction process provided in an embodiment of this application.
[0098] Optionally, feature extraction is performed at each stage of each layer. For example, in stage 1 of the first layer, features are extracted from the first set of feature points of the first 3D point cloud data to obtain first-level feature information. The first-level feature information may include local feature information or global feature information of the first set of feature points.
[0099] Optionally, the first 3D point cloud data P is processed by a multilayer perceptron. t (like Figure 4 (template) and second-dimensional point cloud data P s (like Figure 4 The search region is used for multi-level feature extraction. The multi-layer perceptron can include two layers (weight-shared): the first layer extracts multi-level features from the first 3D point cloud data, and the second layer extracts features from the first 3D point cloud data. To obtain multi-level feature information, each layer includes m stages. After feature extraction from the first 3D point cloud data at different stages, multi-level feature information is obtained; that is, one stage corresponds to one level of feature information, and different stages yield different levels of feature information, used to adapt to target objects of different scales in the search region. Alternatively, it can be understood that one stage corresponds to one scale of feature information, and different scales yield different scales of feature information.
[0100] For example, such as Figure 4The first 3D point cloud data is input into the first layer, which includes three stages (e.g., stage 1, stage 2, stage 3). In stage 1, the first feature point set of the first 3D point cloud data (e.g., ...) is processed. Figure 5 Feature extraction is performed on P0 (where N is the number of feature points) to obtain the first-level feature information. Then, a second set of feature points is obtained by further sampling from the first set of feature points. The number of feature points in the second set is greater than that in the first set (e.g., P0, N is the number of feature points). Figure 4 In the first 3D point cloud data, P1 has a small number of feature points (N / 2). Therefore, in stage 2, feature extraction is performed on the second set of feature points to obtain the second-level feature information. Furthermore, during feature extraction in stage 2, the first-level feature information from stage 1 can be combined with the second-level feature information.
[0101] Similarly, a third set of feature points is obtained by further sampling from the second set of feature points. The number of feature points in the third set is greater than that in the second set of feature points (e.g., ...). Figure 4 In stage P2, the number of feature points is N / 4, which is relatively small. In stage 3, feature extraction is performed on the third set of feature points from the first 3D point cloud data to obtain the third-level feature information. Thus, as the number of stages increases, the number of feature points decreases, making the features of the feature points increasingly significant. In stage 3, the feature information of the feature points is more representative of larger objects, while in stage 1, the feature information of the feature points is more representative of smaller objects.
[0102] The following is combined with Figure 5 Taking feature extraction in stage 1 of the first layer as an example, the specific process of feature extraction in each stage will be explained separately:
[0103] like Figure 5 As shown, Figure 5 The feature extraction process for a certain stage out of m stages is shown. Figure 5 P0 can be understood as N feature points obtained from 3D point cloud data (such as first or second 3D point cloud data). P1 can be understood as N / 2 feature points of stage 1 obtained by sampling the farthest point from N original points, and so on, P1 can be understood as N / 4 feature points of stage 2 obtained by sampling the farthest point from N / 2 feature points of stage 1. Where m is the number of stages.
[0104] (1) Determine the first set of feature points from the first three-dimensional point cloud data by sampling from the farthest point.
[0105] Optionally, in stage 1, a starting point (e.g., a first feature point) is selected from the first 3D point cloud data. Then, the point furthest from the currently selected feature point, such as a second feature point, is iteratively selected. Based on the second and first feature points, the furthest point is selected from the first 3D point cloud data again until a predetermined number of feature points (e.g., N feature points) are sampled, resulting in a first feature point set. The starting point can be selected as the point furthest from the 3D point cloud data center. Then, in stage 2, a starting point (e.g., a third feature point) is selected from the first feature point set. Then, the point furthest from the currently selected feature point, such as a fourth feature point, is iteratively selected. Based on the third and fourth feature points, the furthest point is selected from the first feature point set again until a predetermined number of feature points (e.g., N / 2 feature points) are sampled, resulting in a second feature point set.
[0106] Understandably, the distance between two points can be Euclidean distance, or other metrics, such as Manhattan distance, but no specific limitation is made here.
[0107] (2) Determine the K nearest neighbors of the feature points in the first feature point set.
[0108] Optionally, after obtaining the first set of feature points through sampling from the farthest point, the feature points in the first set of feature points are clustered to distinguish different objects in the search area. For example, the feature points in the first set of feature points can be further grouped using the K-nearest neighbor algorithm. The K-nearest neighbor algorithm can be understood as finding the K nearest neighbors (e.g., based on the nearest Euclidean distance) of a feature point in the first set of feature points in the first 3D point cloud data. The K nearest neighbors together define the local feature information of the feature point.
[0109] Optionally, for the first 3D point cloud data, the local feature extraction module uses farthest point sampling (FPS) and K-nearest neighbor (KNN) to sample and group the points in the first 3D point cloud data, and then uses convolutional neural networks (CNNs) to extract local features from the feature points in the first feature point set. Feature aggregation is then performed through max pooling to obtain the local feature information of stage 1 (or, in other words, the first-level local feature information). This local feature information can be used to represent the local geometric relationships of the feature points, such as the local surface shape (e.g., planes, edges, corners, etc.) where each feature point in the first feature point set is located.
[0110] Local feature extraction is performed on the first feature point using a 3D convolutional neural network (3D CNN). Specifically, the 3D CNN performs convolution calculations within a group or neighborhood (a local region consisting of K neighboring points) of the feature point set to obtain local feature information for each feature point. For example, the local geometric properties of the feature point, such as the spatial distribution, normal, and curvature of its K neighboring points, represent the shape of the local surface where the feature point is located (e.g., plane, edge, corner).
[0111] Optionally, for multiple local feature information from the first feature point set extracted in the current stage, feature aggregation can be performed using max pooling. Max pooling is a downsampling operation that selects the largest local feature information within a local region as the output of that region. For example, on the feature map extracted by a 3D CNN, a max pooling window is used to divide the feature map, with each window corresponding to a local region. For all feature information within each window, the largest one is selected as the output value of that window, i.e., the final local feature information. In this way, multiple feature information within a window are aggregated into a single maximum value, representing the most salient feature within the corresponding local region. This achieves feature dimensionality reduction and aggregation, reducing the sensitivity of the feature map to noise and small changes, and improving feature robustness.
[0112] Optionally, based on the local feature information of the current stage obtained by the aforementioned local feature extraction, global feature extraction is further performed to obtain the global feature information of the current stage. For example, by further abstracting the point cloud features through CNN, one-dimensional convolution (Conv1D) is used to perform global feature extraction on the local feature information of the current stage (e.g., stage 1) to obtain the global feature information of the current stage. Among them, the local feature information and the global feature information can satisfy the following formulas (1) and (2), respectively:
[0113] L i =BLK local (P i-1 (1)
[0114] P i =BLK glocal (L i (2)
[0115] Where i is a variable, i = m, and m represents the number of stages. For example, m = 3, which means there are 3 stages in the first or second layer of the multilayer perceptron, such as stage 1, stage 2, and stage 3 as mentioned above. L i This represents local feature information at different stages. (P) iIt can represent the global feature information corresponding to the feature point sets at different stages. For example, P1 represents the first-level global feature information extracted in stage 1, P2 represents the second-level global feature information extracted in stage 2, and P3 represents the third-level global feature information extracted in stage 3.
[0116] Optionally, based on the local feature information and centroid feature information of the current stage, global feature extraction is further performed to obtain the global feature information of the current stage. Here, the centroid can be understood as the average position or geometric center of the feature point set. That is, each stage's feature point set corresponds to a centroid, used to focus on global spatial features. For example, the centroid feature information can be the centroid coordinates of the first feature point set. By calculating the average of the spatial coordinates of each feature point in the first feature point set, the centroid coordinates of the first feature point set are obtained.
[0117] Optionally, the global or local feature information obtained in the current stage can be used as a reference for the next stage of global or local feature extraction. Understandably, global feature information is a holistic description of the entire set of feature points, representing the overall distribution, statistical characteristics, or spatial relationships of all feature points in the set. For example, global feature information can represent the overall density, shape, etc., of the feature point set.
[0118] It should be noted that the above description of feature extraction using stage 1 of the first layer as an example is similar to stage 2 of the first layer, where further farthest point sampling and K-nearest neighbor grouping are required for feature extraction. That is, the number of feature points in stage 2 is less than in stage 1. For example, the feature point set in stage 1 includes 64 feature points, while in stage 2 it includes 32. Multi-scale feature information is obtained by extracting local and global feature information from different stages. For example, in the first layer, for the first 3D point cloud data, multi-scale feature information is obtained through feature extraction at different stages. In the second layer, for the second 3D point cloud data, multi-scale feature information is obtained through feature extraction at different stages. In other words, as the number of stages increases, the number of feature points decreases, while the features of the points become more significant. Near the output (e.g., stage 3), the features of the points are more representative of larger objects, while near the input (e.g., stage 1), they are better at representing smaller objects.
[0119] Understandably, the specific implementation process of feature extraction in other stages of the first layer of the multilayer perceptron and in each stage of the second layer of the multilayer perceptron can refer to the above description, and will not be elaborated here.
[0120] Step 303: Perform a weighted calculation on the multi-scale feature representation of the first 3D point cloud data and the multi-scale feature representation of the second 3D point cloud data to obtain a multi-scale weighted feature representation.
[0121] refer to Figure 6 , Figure 6 This is a flowchart illustrating an attention layer provided in an embodiment of this application.
[0122] For example, a multi-scale weighted feature representation is obtained by weighting the multi-scale feature information of the first 3D point cloud data and the second 3D point cloud data through an attention layer. In other words, the multi-scale weighted feature representation can be used to represent the correlation between the first 3D point cloud data and the second 3D point cloud data at different scales in the temporal and spatial domains. It can also be understood that the multi-scale weighted feature information can be used to represent the correlation between the different scale feature information of the first 3D point cloud data and the different scale feature information of the second 3D point cloud data at different times.
[0123] Optionally, the multi-scale weighted feature information may include a first-level weighted feature representation and a second-level weighted feature representation. The first-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data are input into the first attention layer for weight learning and weighted calculation. Specifically, the first-level feature information of the first 3D point cloud data serves as the query vector of the first attention layer, and the first-level feature information of the second 3D point cloud data serves as the key vector and value vector of the first attention layer.
[0124] The first attention layer outputs a first-level weighted feature representation. This first-level weighted feature representation can be used to indicate the temporal correlation between the first-level feature information of the first 3D point cloud data and the first-level feature information of the second 3D point cloud data at the first scale. Alternatively, it can be understood as indicating the similarity between the first-level feature information of the first 3D point cloud data and the first-level feature information of the second 3D point cloud data at the first scale. This allows the attention layer to learn or perceive the changes in the spatial features of the first target object in the search area at the first time step and the spatial information of the first target object at the second time step, adapting to rigid or non-rigid first target objects, and better determining the position and scale of the target object in subsequent regression tasks.
[0125] The second attention layer outputs a second-level weighted feature representation, which can be used to indicate the temporal correlation between the second-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data at a second scale. Alternatively, it can be understood as indicating the similarity between the second-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data at a second scale. This allows the attention layer to learn or perceive the changes in the spatial features of the second target object in the search area at the first time step and the second time step, adapting to rigid or non-rigid second target objects, and better determining the position and scale of the target object in subsequent regression tasks.
[0126] For example, such as Figure 6 As shown, the first-level feature information of the first three-dimensional point cloud data extracted in stage 1 of the first layer is used as the query vector, and the first-level feature information of the second three-dimensional point cloud data extracted in stage 1 of the second layer is used as the key vector and value vector. These are input into the attention layer for weighted calculation to obtain the weighted feature information of the first scale. The following formula (3) is satisfied:
[0127]
[0128] Among them, F cta This represents weighted feature representations at different scales, for example, the first-level weighted feature representation. W represents the learnable parameters in the attention layer. q is the query vector, k is the key vector, v is the value vector, and T represents the transpose operation.
[0129] Optionally, before weighted calculation in the attention layer, learnable temporal location encoding is added to the multi-scale feature information of the first 3D point cloud data and the multi-scale feature information of the second 3D point cloud data. For example, based on the multi-scale feature information F of the first 3D point cloud data obtained from feature extraction in step 302... t The multi-scale feature information F of the second three-dimensional point cloud data s All of these have temporal characteristics. Understandably, the explanation of attention mechanisms can be found in the detailed descriptions in the aforementioned terminology, which will not be repeated here.
[0130] Step 304: Perform regression and classification tasks based on multi-scale weighted feature information to generate 2D prediction boxes of target objects at different scales in the search area.
[0131] Optionally, a regression task is performed using a decoupled head based on multi-scale weighted feature information to determine the target spatial information of the target object in the search area, such as two-dimensional spatial coordinates and size. The multi-scale weighted feature information may include a first-level weighted feature representation and a second-level weighted feature representation. For example, the first-level weighted feature representation can indicate the changes in the spatial features of the first target object in the search area at a first time step and at a second time step. Therefore, when performing the regression task, the target spatial information of the first target object at a first scale in the search area can be predicted based on the first-level weighted feature representation.
[0132] Optionally, when performing a regression task using a decoupled head based on multi-scale weighted feature representation, target objects in the search region can be indicated by generating 2D prediction boxes in the image corresponding to the search region. For example, the two-dimensional coordinates, length, and width of the prediction box corresponding to the first target object can be predicted. The 2D prediction box can be understood as a two-dimensional bounding box used to define the possible location of the target object in the image corresponding to the search region. For example, the two-dimensional prediction box can be a two-dimensional rectangle.
[0133] Optionally, based on the first-level weighted feature representation or the second-level weighted feature representation, the position offset and scale information of the predicted bounding box are generated. The position offset and scale information of the predicted bounding box correspond to the spatial information of the target object. The position offset of the predicted bounding box represents the difference between the position coordinates of the target object in the search area at the first time step and the position coordinates of the target object in the search area at the second time step. The scale information of the predicted bounding box includes its length and width, which can represent the scale of the target object in the search area at the first time step, such as its size. Understandably, the scale of the target object may change at different times. For example, within the same search area, for the same target object, the scale of the target object in the search area acquired at time t1 may differ from the scale of the target object acquired at time t2 during movement (due to the near and far distances between the target object and the acquisition device).
[0134] Optionally, a classification task can be performed by decoupling the head based on multi-scale weighted feature information to determine the classification label of the target object bounded by the 2D prediction box, such as the category or attribute of the target object.
[0135] Optionally, since the feature point set obtained by sampling the farthest point in step 302 has undergone two reductions in number at each stage of the multilayer perceptron, in order to cover a wider spatial range, an offset can be introduced into the feature point set in each stage through a voting layer, which satisfies the following formula (4). Based on the offset and feature point set of each stage, the centroid coordinates of each stage are obtained, which satisfies the following formula (5). Here, the centroid can be understood as the geometric center or average position of the feature point set.
[0136] O i =VoteLayer(P i (4)
[0137] C i =PS i +O i (5)
[0138] Among them, O i The offset is determined for the voting layer. `i` is a variable, i∈(1,m). `m` is the number of stages in the multilayer perceptron. For example, in the example of step 302 above, `m` is 3. C i This represents the center of mass at different stages. PS i This represents a set of feature points at different stages.
[0139] Optionally, the final centroid coordinates obtained by combining the centroid coordinates of each stage can be used as a guide, such as... Figure 4 The centroid coordinates [x, y] are used to perform a regression task based on the multi-scale weighted feature information obtained in step 303 above. For example, the parameters of the predicted 2D bounding box are regressed using m decoupling heads (different decoupling heads process weighted feature representations at different levels). The following formula (6) is satisfied:
[0140] (Δx,Δy,w,h),Cls,Obj=DeHead(F cta (6)
[0141] Where Δx refers to the predicted horizontal coordinate offset, Δy refers to the predicted vertical coordinate offset, w refers to the width of the predicted bounding box, h refers to the length of the predicted bounding box, Cls is the class probability vector, and Obj is the background confidence score. In other words, the predicted bounding box will be guided by the final centroid coordinates [x, y], and then the true coordinates, length, and width of the predicted bounding box will be recovered through inverse clipping normalization. That is, it satisfies the following formula (7):
[0142]
[0143] Among them, S minand k are parameters used when normalizing the first or second 3D point cloud data. B represents the prediction box. Understandably, normalization and de-clipping normalization can refer to conventional techniques (such as normalization in the attention mechanism mentioned above), and this application will not elaborate on them.
[0144] The beneficial effects achieved by this application will be explained next with reference to experiments. The performance of the E2B model provided in this application was evaluated on three target object tracking datasets: FE108, VisEvent, and Event-LaSOT. FE108 is a dataset for rigid objects in indoor and outdoor scenes, while VisEvent and Event-LaSOT are datasets for non-rigid objects, with VisEvent being for indoor and outdoor scenes. The E2B model can be understood as a trained machine learning model used to implement the method described in steps 301 to 304 above in the embodiments of this application. Furthermore, models such as ATOM, DIMP, SiamFC++, PrDiMP, E-PrDiMP, FENet, E-TransT, and MonTrack were selected as baseline models.
[0145] The experimental evaluation metrics include: HDR (High-Resolution Hierarchy), which is the detection success rate in complex scenes such as occlusion and changing lighting. LL (Long-Limited Tracking), which is the ability to track lost frequencies or recover them over long periods. FWB (Front-Wide Bandwidth), which is the algorithm's error in forward or backward tracking consistency checks and the consistency of the tracking trajectory. FNB (Failed Detection Number), which is the number of targets that are actually present in the search area but not detected. SR (Intersection over Union), which can be understood as the proportion of frames where the ground truth and the predicted bounding box overlap by more than a preset threshold, expressed as the area under the success rate curve (AUC). PR (Center Distance), which can be understood as the proportion of frames where the center distance between the ground truth and the predicted bounding box is within a specified threshold.
[0146] During the training of the machine learning model, the number of stages m in the multilayer perceptron was set to 4. The point cloud data for the template and the search region were obtained through random sampling, with quantities of 512 and 1024, respectively. For each stage of feature extraction, the number of feature points was halved compared to the previous stage, while the feature dimension was either doubled or remained unchanged.
[0147] Refer to Table 1, which shows the experimental results of the E2B model and other single-modal baseline models. The best results are highlighted in bold and underlined, the second best results are underlined, and the third best results are bolded.
[0148] Table 1 Comparison of evaluation metrics for different models on the dataset.
[0149]
[0150] Experimental results show that the model provided in this application (i.e., the E2B model in Table 1) outperforms other single-modal trackers, achieving an SR of 56.3 and a PR of 87.1, which is nearly 2% higher than MonTrack.
[0151] Experiment 2: VisEvent-aedat4 Dataset
[0152] Table 2 shows the experimental results of the E2B model and other bimodal baseline models on the VisEvent-aedat4 dataset in indoor scenes.
[0153] Table 2 Comparison of evaluation metrics for different models on the dataset.
[0154]
[0155] Experimental results show that the model provided in this application (i.e., the E2B model in Table 2) outperforms other bimodal trackers, achieving an SR of 29.8 and a PR of 43.6. This approach demonstrates good adaptability and generalization ability to both indoor and outdoor datasets, as well as rigid and non-rigid objects.
[0156] Experiment 3: Event-LaSOT Dataset
[0157] Table 3 shows the experimental results of the E2B model and other baseline models on the Event-LaSOT dataset in outdoor scenarios.
[0158] Table 3 Comparison of evaluation metrics for different models on the dataset.
[0159]
[0160] Experimental results demonstrate the adaptability and generalization ability of the model provided in this application (i.e., the E2B model in Table 3) on indoor and outdoor datasets as well as on both rigid and non-rigid objects.
[0161] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of the data processing apparatus provided in an embodiment of this application. Figure 7 As shown, the data processing device 700 includes an acquisition module 701, a first processing module 702, a second processing module 703, and a third processing module 704.
[0162] The acquisition module 701 is used to acquire the first point cloud data of the search area at the first moment and the second point cloud data of the target object at the second moment, wherein the second moment is a historical moment of the first moment.
[0163] The first processing module 702 is used to extract features from the first point cloud data and the second point cloud data to obtain the first feature information of the first point cloud data and the second feature information of the second point cloud data.
[0164] The second processing module 703 is used to determine a weighted feature representation based on the first feature information and the second feature information. The weighted feature representation indicates the similarity of feature information between the first feature information at the first time and the second feature information at the second time.
[0165] The third processing module 704 is used to determine the target spatial information of the target object in the search area at the first moment based on the weighted feature representation. The target spatial information includes two-dimensional spatial coordinates.
[0166] The acquisition module 701, the first processing module 702, the second processing module 703, and the third processing module 704 can all be implemented in software or in hardware. For example, the implementation of the first processing module 702 will be described below. Similarly, the implementation of the acquisition module 701, the second processing module 703, and the third processing module 704 can refer to the implementation of the first processing module 702.
[0167] As an example of a software functional unit, the first processing module 702 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the aforementioned computing instance may be one or more. For example, the first processing module 702 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Further, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one or more geographically proximate data centers. Typically, a region may include multiple AZs.
[0168] Similarly, multiple hosts / virtual machines / containers used to run this code can be distributed within the same Virtual Private Cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Communication between two VPCs within the same region, as well as between VPCs in different regions, requires a communication gateway to be set up within each VPC to enable interconnection between VPCs.
[0169] As an example of a hardware functional unit, the first processing module 702 may include at least one computing device, such as a server. Alternatively, the first processing module 702 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be implemented using a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), generic array logic (GAL), or any combination thereof.
[0170] The multiple computing devices included in the first processing module 702 can be distributed in the same region or in different regions. Similarly, the multiple computing devices included in the first processing module 702 can be distributed in the same Availability Zone (AZ) or in different AZs. Likewise, the multiple computing devices included in the first processing module 702 can be distributed in the same Virtual Private Cloud (VPC) or in multiple VPCs. These multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0171] Please see Figure 8 , Figure 8 This is a schematic diagram of a computing device provided in an embodiment of this application. The computing device 800 includes a processor 801, a communication interface 802, a bus 803, and a memory 804. The processor 801, the communication interface 802, and the memory 804 communicate with each other via the bus 803. In practical applications, communication can also be achieved through other means such as wireless transmission; the specific method is not limited here.
[0172] The computing device 800 may be a server or a terminal device. It should be understood that this application does not limit the number of processors and memory in the computing device 800.
[0173] Processor 801 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0174] The communication interface 802 uses transceiver modules, such as, but not limited to, network interface cards and transceivers, to enable communication between the computing device 800 and other devices or communication networks.
[0175] The 803 bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 8 The bus 803 may be represented by a single line, but this does not mean that there is only one bus or one type of bus. The bus 803 may include a path for transmitting information between various components of the computing device 800 (e.g., memory 804, processor 801, communication interface 802).
[0176] Memory 804 may include volatile memory, such as random access memory (RAM). Memory 804 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0177] The memory 804 stores executable program code, and the processor 801 executes the executable program code to implement the functions of the aforementioned acquisition module 701, first processing module 702, second processing module 703, and third processing module 704, thereby realizing the data processing method. That is, the memory 804 stores instructions for executing the data processing method.
[0178] This application also provides a computing device cluster, which includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some optional embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0179] Please see Figure 9 and Figure 10 , Figure 9 and Figure 10 These are all schematic diagrams of the computing device clusters provided in the embodiments of this application.
[0180] like Figure 9As shown, the computing device cluster includes at least one computing device 800. The memory 804 of one or more computing devices 800 in the computing device cluster may store the same instructions for executing the data processing method provided in the embodiments of this application.
[0181] In some possible implementations, the memories 804 of one or more computing devices 800 in the computing device cluster may also each store a portion of the instructions for executing the data processing method. In other words, the combination of the memories 804 of one or more computing devices can jointly execute the instructions for executing the data processing method.
[0182] It should be noted that the memory 804 in different computing devices 800 within the computing device cluster can store different instructions, each used to execute a portion of the functions of the data processing device. That is, the instructions stored in the memory 804 of different computing devices 800 can implement the functions of one or more units among the acquisition module 701, the first processing module 702, the second processing module 703, and the third processing module 704.
[0183] In some possible implementations, one or more computing devices in a computing device cluster can be connected via a network. This network can be a wide area network (WAN) or a local area network (LAN), etc. Figure 10 One possible implementation is shown. For example... Figure 10 As shown, the two computing devices 800A and 800B are connected via a network. Specifically, they are connected to the network through communication interfaces in each computing device. In this possible implementation, the memory 804 in computing device 800A stores instructions for executing the functions of the acquisition module 701 and the first processing module 702. Simultaneously, the memory 804 in computing device 800B stores instructions for executing the functions of the second processing module 703 and the third processing module 704.
[0184] It should be understood that Figure 10 The functions of the computing device 800A shown can also be performed by multiple computing devices 800. Similarly, the functions of the computing device 800B can also be performed by multiple computing devices 800.
[0185] This application also provides another computing device cluster. The connection relationships between the computing devices in this computing device cluster can be similarly referred to... Figure 9 and Figure 10 The connection method of the computing device cluster will not be described in detail here.
[0186] This application also provides a computer program product containing instructions. The computer program product may be a software or program product containing instructions, capable of running on a computing device or stored on any usable medium. When the computer program product is run on at least one computer device, it causes the at least one computer device to perform the above-described data processing method.
[0187] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of being stored by a computing device, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to perform the aforementioned data processing method.
[0188] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0189] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of this application.
Claims
1. A data processing method, characterized in that, The method includes: Acquire the first three-dimensional point cloud data of the search area at the first moment and the second three-dimensional point cloud data of the target object at the second moment, wherein the second moment is earlier than the first moment; Feature extraction is performed on the first three-dimensional point cloud data and the second three-dimensional point cloud data to obtain first feature information of the first three-dimensional point cloud data and second feature information of the three-dimensional second point cloud data. The first feature information includes the spatial information of the first three-dimensional point cloud data and the second feature information includes the spatial information of the target object. Based on the first feature information and the second feature information, a weighted feature representation is determined, wherein the weighted feature representation is used to indicate the similarity between the first feature information at the first time and the second feature information at the second time. Based on the weighted feature representation, the target spatial information of the target object in the search area at the first time point is determined, and the target spatial information includes two-dimensional spatial coordinates.
2. The method according to claim 1, characterized in that, The feature extraction of the first 3D point cloud data and the second 3D point cloud data includes: Feature extraction is performed on the first feature point set of the first three-dimensional point cloud data to obtain the first level feature information of the first three-dimensional point cloud data. The first feature point set includes some feature points of the first three-dimensional point cloud data. Feature extraction is performed on the second set of feature points to obtain the second-level feature information of the first three-dimensional point cloud data. The second set of feature points is a subset of the feature points in the first set of feature points. Feature extraction is performed on the third feature point set of the second three-dimensional point cloud data to obtain the first-level feature information of the second point cloud data. The third feature point set is a partial feature point of the second three-dimensional point cloud data. Feature extraction is performed on the fourth feature point set of the second three-dimensional point cloud data to obtain the second-level feature information of the second three-dimensional point cloud data. The fourth feature point set is a subset of the feature points in the third feature point set.
3. The method according to claim 2, characterized in that, The spatial information further includes scale information, and the weighted feature representation includes a first-level weighted feature representation and a second-level weighted feature representation; determining the weighted feature representation based on the first feature information and the second feature information includes: The first-level feature information of the first three-dimensional point cloud data and the first-level feature information of the second three-dimensional point cloud data are input into the first attention layer. The first-level weighted feature representation is determined by weighted calculation through the first attention layer. The first-level weighted feature representation is used to determine the scale information of the first target object. The second-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data are input into the second attention layer. The second attention layer performs weighted calculation to determine the second-level weighted feature representation. The second-level weighted feature representation is used to determine the scale information of the second target object. The scale of the second target object is larger than the scale of the first target object.
4. The method according to claim 2 or 3, characterized in that, Before performing feature extraction on the first feature point set of the first three-dimensional point cloud data, the method further includes: Determine the first feature point from the first three-dimensional point cloud data; Based on the distance between the first feature point and other feature points in the first 3D point cloud data, a second feature point is determined from other feature points in the first 3D point cloud data. The second feature point is the farthest from the first feature point. The first feature point set includes the first feature point and the second feature point. Before performing feature extraction on the second set of feature points, the method further includes: Determine the third feature point from the first set of feature points; Based on the distance between the third feature point and each feature point in the first feature point set, a fourth feature point is determined from the first feature point set, wherein the fourth feature point is the farthest from the third feature point, and the second feature point set includes the third feature point and the fourth feature point.
5. The method according to any one of claims 2 to 4, characterized in that, The feature extraction of the first feature point set of the first three-dimensional point cloud data includes: From the first set of feature points, determine K neighboring points for each feature point in the first set of feature points, where the K neighboring points are the points in the first set of feature points that are closest to the feature point. The local feature information of the first feature point set is determined based on the k nearest neighbors of each feature point, and the first-level feature information of the first three-dimensional point cloud data includes the local feature information of the first feature point set.
6. The method according to claim 5, characterized in that, The feature extraction of the first feature point set of the first three-dimensional point cloud data further includes: Based on the local feature information of the first feature point set and the centroid coordinates of the first feature point set, the global feature information of the first feature point set is determined. The first-level feature information of the first three-dimensional point cloud data includes the global feature information of the first feature point set. The centroid coordinates are calculated based on the spatial coordinates of each feature point in the first feature point set.
7. The method according to any one of claims 1 to 6, characterized in that, The target spatial information also includes position offset and scale information. Determining the target spatial information of the target object in the search area at the first moment includes: Based on the weighted feature representation, the position offset and scale information of the target object are determined. The position offset of the target object represents the difference between the spatial coordinates of the target object in the search area at the first time and the spatial coordinates of the target object at the second time. Based on the position offset of the target object and the centroid coordinates of the first three-dimensional point cloud data, the two-dimensional spatial coordinates of the target object are determined. The centroid coordinates of the first three-dimensional point cloud data are calculated based on the spatial coordinates of each feature point in the first three-dimensional point cloud data.
8. A data processing apparatus, characterized in that, The device includes: The acquisition module is used to acquire the first three-dimensional point cloud data of the search area at a first moment and the second three-dimensional point cloud data of the target object at a second moment, wherein the second moment is earlier than the first moment. The first processing module is used to extract features from the first three-dimensional point cloud data and the second three-dimensional point cloud data to obtain the first feature information of the first three-dimensional point cloud data and the second feature information of the second three-dimensional point cloud data. The second processing module is used to determine a weighted feature representation based on the first feature information and the second feature information, wherein the weighted feature representation indicates the similarity between the first feature information at the first time and the second feature information at the second time. The third processing module is used to determine the target spatial information of the target object in the search area at the first moment based on the weighted feature representation, wherein the target spatial information includes two-dimensional position coordinates.
9. The apparatus according to claim 8, characterized in that, The first processing module is also used for: Feature extraction is performed on the first feature point set of the first three-dimensional point cloud data to obtain the first level feature information of the first three-dimensional point cloud data. The first feature point set includes some feature points of the first three-dimensional point cloud data. Feature extraction is performed on the second set of feature points to obtain the second-level feature information of the first three-dimensional point cloud data. The second set of feature points is a subset of the feature points in the first set of feature points. Feature extraction is performed on the third feature point set of the second three-dimensional point cloud data to obtain the first-level feature information of the second three-dimensional point cloud data. The third feature point set includes some feature points of the second three-dimensional point cloud data. Feature extraction is performed on the fourth feature point set of the second three-dimensional point cloud data to obtain the second-level feature information of the second three-dimensional point cloud data. The fourth feature point set is a subset of the feature points in the third feature point set.
10. The apparatus according to claim 9, characterized in that, The second processing module is also used for: Based on the first-level feature information of the first three-dimensional point cloud data and the first-level feature information of the second three-dimensional point cloud data, a first-level weighted feature representation is determined, and the first-level weighted feature representation is used to determine the spatial information of the first target object; Based on the second-level feature information of the first 3D point cloud data and the second-level feature information of the second 3D point cloud data, a second-level weighted feature representation is determined. The second-level weighted feature representation is used to determine the spatial information of the second target object. The scale of the second target object is larger than the scale of the first target object. The weighted feature representation includes a first-level weighted feature representation and a second-level weighted feature representation.
11. The apparatus according to claim 8 or 9, characterized in that, The first processing module is also used for: Determine the first feature point from the first three-dimensional point cloud data; Based on the distance between the first feature point and other feature points in the first 3D point cloud data, a second feature point is determined from the other feature points in the first 3D point cloud data. The second feature point is the farthest from the first feature point. The first feature point set includes the first feature point and the second feature point.
12. The apparatus according to any one of claims 9 to 11, characterized in that, The first processing module is also used for: From the first set of feature points, determine K neighboring points for each feature point in the first set of feature points, where the K neighboring points are the points in the first set of feature points that are closest to the feature point. The local feature information of the first feature point set is determined based on the k neighboring points of each feature point, and the first-level feature information of the first point cloud data includes the local feature information of the first feature point set.
13. The apparatus according to claim 12, characterized in that, The first processing module is further configured to: determine the global feature information of the first feature point set based on the local feature information of the first feature point set and the centroid coordinates of the first feature point set, wherein the first-level feature information of the first point cloud data includes the global feature information of the first feature point set, and the centroid coordinates are calculated based on the spatial coordinates of each feature point in the first feature point set.
14. The apparatus according to any one of claims 8 to 13, characterized in that, The third processing module is further configured to: determine the position offset and scale information of the target object based on the weighted feature representation, wherein the position offset of the target object represents the difference between the spatial coordinates of the target object in the search area at the first time and the spatial coordinates of the target object at the second time, and the target spatial information further includes position offset and scale information; Based on the position offset of the target object and the centroid coordinates of the first three-dimensional point cloud data, the two-dimensional spatial coordinates of the target object are determined. The centroid coordinates of the first three-dimensional point cloud data are calculated based on the spatial coordinates of each feature point in the first three-dimensional point cloud data.
15. A computing device cluster, characterized in that, The system includes at least one computing device, each computing device including a processor and a memory; the processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device to cause the cluster of computing devices to perform the method as described in any one of claims 1 to 7.
16. A computer program product containing instructions, characterized in that, When the instruction is executed by the computing device cluster, the computing device cluster performs the method as described in any one of claims 1 to 7.
17. A computer-readable storage medium, characterized in that, It includes computer program instructions, which, when executed by a cluster of computing devices, perform the method as described in any one of claims 1 to 7.
