A target tracking method, system, device and storage medium
By obtaining multi-frame tracking information and noise index, the motion detection threshold is determined and the target motion status is accurately determined, which solves the problem of unstable target speed evaluation in the autonomous driving system and improves the safety and adaptability of the system.
Patent Information
- Application Number
- CN202311772300.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-12-21
AI Technical Summary
In the field of autonomous driving, it is difficult to accurately assess the target speed with existing technology, resulting in instability of the control system and affecting the vehicle's adaptability and safety to road changes. Especially in noisy scenarios, it is difficult to distinguish between normal and abnormal speeds, which can easily cause Dangerous situation.
By obtaining multi-frame tracking information, the noise index and motion detection threshold are determined, and the corresponding detection threshold is set based on the weight factor to accurately determine the target's motion state, distinguish between stationary and low-speed motion, and improve the sensitivity and accuracy of normal speed determination.
It achieves stable and accurate assessment of target speed in noisy scenes, improves the autonomous driving system's ability to recognize low-speed moving objects, reduces false predictions and dangerous decisions, and enhances the vehicle's adaptability and safety to environmental changes. sex.
Smart Images

Figure CN117765026B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a target tracking method and system. Background Art
[0002] In the field of autonomous driving, stable and accurate target speed assessment is the basis for pursuing higher safety, stability and more intelligent driving behavior. First, from a safety perspective, accurate target speed estimation helps avoid collisions, maintain a safe driving position of the vehicle on the road, and facilitates planning, decision-making and control to accurately respond to road and environmental changes. Second, from a stability perspective, abnormal speed output may cause control system instability, making the vehicle unable to adapt to rapidly changing road conditions and traffic conditions. Finally, if the speed estimate is inaccurate, the autonomous driving system will find it difficult to generate an effective driving route and perform smooth vehicle control, which may lead to inappropriate emergency braking or excessive acceleration, and may also cause dangerous situations.
[0003] Therefore, some embodiments of the present specification propose a target tracking method and system to provide stable and accurate target speed output. Summary of the invention
[0004] One of the embodiments of the present specification provides a target tracking method, which includes: obtaining multi-frame tracking information related to the tracked target, the multi-frame tracking information corresponding to multiple moments respectively, the multiple moments including the current moment and at least one historical moment; determining a noise index based on the multi-frame tracking information; determining a motion detection threshold based on the noise index; and determining a motion state of the tracked target based on the motion detection threshold and the multi-frame tracking information.
[0005] In some embodiments, determining the noise index based on the multi-frame tracking information includes: determining at least one set of position information of the tracking target based on the multi-frame tracking information; determining at least one direction change parameter based on the at least one set of position information; and determining the noise index based on the at least one direction change parameter.
[0006] In some embodiments, determining the motion detection threshold based on the noise index includes: determining the motion detection threshold based on the noise index and a motion index, wherein the motion index is determined based on the number of frames in which the tracking target is in a moving state in the multi-frame tracking information.
[0007] In some embodiments, determining the motion detection threshold based on the noise index includes: determining a first detection threshold applied to adjacent frame detection based on the noise index and a first weight factor; and / or determining a second detection threshold applied to interval frame detection based on the noise index and a second weight factor, wherein the first weight factor is different from the second weight factor.
[0008] In some embodiments, determining the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information includes: determining a first position change corresponding to a target moment based on the multi-frame tracking information, wherein the first position change corresponding to the target moment is determined based on the global tracking information corresponding to the target moment and the global tracking information corresponding to an adjacent previous historical moment; determining the motion state of the tracking target based on the first position change corresponding to the target moment and the motion detection threshold.
[0009] In some embodiments, determining the motion state of the tracked target based on the first position change amount corresponding to the target moment and the motion detection threshold includes: in response to the speed of the tracked target being greater than a preset speed threshold, if the first position change amounts corresponding to at least two target moments are greater than the motion detection threshold, determining that the motion state of the tracked target is a moving state; in response to the speed of the tracked target being less than or equal to the preset speed threshold, if the first position change amounts corresponding to three consecutive target moments are greater than the motion detection threshold, determining that the motion state of the tracked target is a moving state.
[0010] In some embodiments, determining the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information includes: determining a second position change corresponding to the current moment based on the multi-frame tracking information, wherein the second position change corresponding to the current moment is determined based on the global tracking information corresponding to the current moment and the global tracking information corresponding to the previous historical moment interval with the current moment; determining the motion state of the tracking target based on the second position change corresponding to the current moment and the motion detection threshold.
[0011] One of the embodiments of the present specification provides a target tracking system, which includes: an acquisition module, used to acquire multi-frame tracking information related to the tracked target, the multi-frame tracking information corresponds to multiple moments respectively, and the multiple moments include a current moment and at least one historical moment; a noise index determination module, used to determine a noise index based on the multi-frame tracking information; a detection threshold determination module, used to determine a motion detection threshold based on the noise index; and a motion state determination module, used to determine the motion state of the tracked target based on the motion detection threshold and the multi-frame tracking information.
[0012] One of the embodiments of the present specification provides a target tracking device, including a processor, wherein the processor is used to execute the above-mentioned target tracking method.
[0013] One of the embodiments of the present specification provides a computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions, the computer executes the above-mentioned target tracking method. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0015] Figure 1 is a schematic diagram of an application scenario of an exemplary target tracking system according to some embodiments of this specification;
[0016] Figure 2 is a module diagram of an exemplary target tracking system according to some embodiments of this specification;
[0017] Figure 3 is an exemplary flow chart of a target tracking method according to some embodiments of this specification;
[0018] Figure 4A-4D is a schematic diagram of tracking a stationary target by the Kalman method;
[0019] Figure 5A-5D It is a schematic diagram of tracking a low-speed target by the Kalman method;
[0020] Figure 6 is an exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification;
[0021] Figure 7 is another exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification;
[0022] Figure 8 is another exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification;
[0023] Figure 9A-9B is a schematic diagram of tracking a stationary target as shown in some embodiments of this specification;
[0024] Figure 10A-10B is a schematic diagram of tracking a low-speed tracking target shown in some embodiments of this specification;
[0025] Figure 11A-11B It is a schematic diagram of tracking a high-speed target shown in some embodiments of this specification. DETAILED DESCRIPTION
[0026] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0027] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0028] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0029] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0030] In the field of autonomous driving, target tracking is a key component to ensure that autonomous vehicles can safely and efficiently perceive and respond to the surrounding environment. In target tracking, filtering abnormal speeds is an important part of ensuring accurate target tracking.
[0031] In target tracking, many factors may cause abnormal speed, such as measurement errors of sensors such as lidar and inertial navigation systems, uncertainty in the movement of targets such as pedestrians and bicycles, sensor occlusion, interference between multiple targets, and data loss. For these reasons, the autonomous driving system must be designed with powerful data processing and anomaly detection mechanisms to filter and correct abnormal speed values to ensure the safety and performance of the system.
[0032] Some existing solutions filter out abnormal speeds by setting upper and lower thresholds for normal speeds. The advantage of this method is its simplicity, but its disadvantage is clear. If the threshold is not set properly, it will not only affect the filtering of abnormal speeds, but also limit the output of normal speeds. For example, if the lower limit of normal speed is set too high, there will be no speed output for slow-moving objects below the lower limit, while if it is set too low, a large amount of noise speeds of static objects will be introduced. Some existing solutions detect outliers through statistical methods, which rely on a large amount of historical information and are not very sensitive, so they have low value in autonomous driving scenarios.
[0033] However, for scenarios where the speed estimation itself has a lot of noise, it is often difficult to distinguish between normal speed and abnormal speed in the detection of noisy scenarios. A one-size-fits-all threshold often loses one thing while taking the other into account. The proportion of abnormal speed filtering and the retention of normal speed need to be weighed. The consequences of inappropriate scenarios are inconsistent. Imagine a scenario where, in a scenario where the detection noise increases, in order to filter the noise speed of stationary or moving objects, it is often necessary to improve the standard for normal speed judgment. Admittedly, the erroneous prediction trajectory caused by abnormal speed is greatly reduced, but for low-speed moving objects, the output of its speed is blocked. Then there is such a dangerous scenario. If a pedestrian waiting to cross the lane suddenly slows down and the speed output is blocked at the low speed stage, the pedestrian trajectory prediction line appears at a time when the pedestrian speed is higher, which triggers the decision to slow down or brake later than the optimal time, which may cause danger.
[0034] In view of this, some embodiments of the present specification provide a target tracking method and system, which takes the noise situation into consideration and sets the corresponding detection threshold in combination with the noise situation, and has higher sensitivity and accuracy in distinguishing between stillness and low-speed motion.
[0035] Figure 1 It is a schematic diagram of an application scenario of an exemplary target tracking system according to some embodiments of this specification.
[0036] like Figure 1 As shown, the application scenario 100 of the target tracking system includes a tracking device 110 , a processing device 120 , a terminal device 130 , a storage device 140 and a network 150 .
[0037] Tracking device 110 refers to a device that monitors and records the position, movement or state of the tracking target. In some embodiments, tracking device 110 has multiple types. For example, in an autonomous driving scenario, tracking device 110 includes a camera, a laser radar, a radar, a millimeter wave radar, an infrared sensor, an ultrasonic sensor, a GPS tracker (Global Positioning System Trackers), a gas sensor, a pressure sensor, an accelerometer and a gyroscope, a sonar, an electromagnetic sensor, a Bluetooth tracker, etc.
[0038] In some embodiments, the tracking device 110 may be disposed on a vehicle and / or in a driving environment, for example, on a building, on a lamp post, at an intersection, etc. In some embodiments, the tracking device 110 may collect various data in the environment, for example, images of the environment and / or the tracking target, radar point clouds of the environment, GPS location data, ultrasonic ranging data, etc.
[0039] The above description of the tracking device is for illustrative purposes only and is not intended to limit the scope of this specification.
[0040] The processing device 120 can be used to process data and / or information obtained from the tracking device 110, the terminal device 130, the storage device 140 and / or other components of the target tracking system application scenario 100, and analyze and / or process the data and / or information. For example, the processing device 120 obtains various data in the environment from the tracking device 110; and processes the various data in the environment.
[0041] In some embodiments, the processing device 120 is a single server or a server group. The server group can be centralized or distributed. In some embodiments, the processing device 120 can be local or remote. For example, the processing device 120 can access information and / or data from the tracking device 110, the terminal device 130 and / or the storage device 140 through the network 150. For another example, the processing device 120 can be directly connected to the tracking device 110, the terminal device 130 and / or the storage device 140 to access information and / or data. In some embodiments, the processing device 120 is implemented on a cloud platform. For example, the cloud platform includes a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cloud-to-cloud cloud, a multi-cloud, etc. or any combination thereof.
[0042] In some embodiments, the processing device 120 and the tracking device 110 may be integrated into one. In some embodiments, the processing device 120 and the tracking device 110 may be directly or indirectly connected to jointly implement the methods and / or functions described in this specification.
[0043] The terminal device 130 may communicate and / or connect with the tracking device 110, the processing device 120, and / or the storage device 140. In some embodiments, the interaction with the user may be achieved through the terminal device 130. In some embodiments, the terminal device 130 may include a mobile device 131, a tablet computer 132, a laptop computer 133, etc. or any combination thereof. In some embodiments, the terminal device 130 (or all or part of its functions) may be integrated into the processing device 120.
[0044] The storage device 140 may store data, instructions, and / or any other information. In some embodiments, the storage device 140 may store data (e.g., various data in the environment, etc.) acquired from the tracking device 110, the processing device 120, the terminal device 130, and / or the like. In some embodiments, the storage device 140 may store data and / or instructions that the processing device 120 uses to execute or use to complete the exemplary methods described in this specification.
[0045] In some embodiments, the storage device 140 may include one or more storage components, each of which may be an independent device or part of another device. In some embodiments, the storage device 140 may include a random access memory (RAM), a read-only memory (ROM), a mass storage device, a removable memory, a volatile read-write memory, etc. or any combination thereof. In some embodiments, the storage device 140 may be implemented on a cloud platform. In some embodiments, the storage device 140 may be part of the tracking device 110, the processing device 120, and / or the terminal device 130.
[0046] The network 150 may include any suitable network capable of facilitating information and / or data exchange. In some embodiments, at least one component of the target tracking system application scenario 100 (e.g., tracking device 110, processing device 120, terminal device 130, storage device 140) may exchange information and / or data with at least one other component in the target tracking system application scenario 100 via the network 150. For example, the processing device 120 may obtain various data in the environment from the tracking device 110 via the network 150.
[0047] It should be noted that the above description of the application scenario 100 of the target tracking system is provided for illustrative purposes only and is not intended to limit the scope of this specification. For those of ordinary skill in the art, various modifications or variations can be made based on the description of this specification. For example, the application scenario 100 of the target tracking system can implement similar or different functions on other devices. However, these changes and modifications will not deviate from the scope of this specification.
[0048] Figure 2 is a module diagram of an exemplary target tracking system according to some embodiments of the present specification.
[0049] In some embodiments, the target tracking system 200 may be implemented by the processing device 120 or other devices. Figure 2 As shown, the target tracking system 200 may include an acquisition module 210 , a noise index determination module 220 , a detection threshold determination module 230 , and a motion state determination module 240 .
[0050] The acquisition module 210 can be used to acquire multiple frames of tracking information related to the tracking target, and the multiple frames of tracking information correspond to multiple moments, including the current moment and at least one historical moment. For more information about the acquisition of multiple frames of tracking information, please refer to step 310 and its related description.
[0051] The noise index determination module 220 may be used to determine the noise index based on the multi-frame tracking information. For more information about the noise index determination, please refer to step 320 and its related description.
[0052] The detection threshold determination module 230 may be used to determine a motion detection threshold based on the noise index. For more information about the motion detection threshold determination, please refer to step 230 and its related description.
[0053] The motion state determination module 240 can be used to determine the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information. For more information about the determination of the motion state of the tracking target, please refer to step 240 and its related description.
[0054] It should be understood that Figure 2 The system and its modules shown can be implemented in various ways. For example, by hardware, software, or a combination of software and hardware. The system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, but also by software implemented by, for example, various types of processors, and can also be implemented by a combination of the above hardware circuits and software (e.g., firmware).
[0055] Figure 3 is an exemplary flow chart of a target tracking method according to some embodiments of the present specification. In some embodiments, process 300 may be executed by a processing device (e.g., processing device 120). For example, process 300 may be stored in a storage device (e.g., a built-in storage unit of a processing device or an external storage device) in the form of a program or instruction, and when the program or instruction is executed, process 300 may be implemented. Process 300 may include the following operations.
[0056] Step 310 , obtaining multiple frames of tracking information related to the tracking target, the multiple frames of tracking information corresponding to multiple moments respectively, the multiple moments including the current moment and at least one historical moment. In some embodiments, step 310 may be performed by the processing device 120 or the acquisition module 210 .
[0057] Tracking targets refer to traffic participants in the environment, such as pedestrians, non-motor vehicles, vehicles, etc. In some embodiments, for example, in the environment of port autonomous driving, tracking targets include loading and unloading equipment (e.g., cranes, hoists, forklifts, loaders and conveyor belts, etc.), ships, containers, vehicles, staff, visitors, etc.
[0058] Tracking information refers to the relevant data and / or information obtained by monitoring and recording the tracking of the tracking target. Tracking information can reflect the status, changes, and change trends of the tracking target.
[0059] In some embodiments, the tracking information includes a variety of data of the tracking target. For example, the tracking information may include the type, confidence, bounding box center, size, heading information, etc. of the tracking target; it may also include point cloud, point cloud features and other information of the tracking target; it may also include motion state characterization quantities, feature states, life cycle and other information of the tracking target, wherein the motion state characterization quantities include the position, speed, acceleration, displacement, etc. of the tracking target, and the feature states include dimensional features such as the length and width of the bounding box, point cloud histogram features, etc.
[0060] In some embodiments, the data of the tracking target can be represented based on a world coordinate system (Universal Transverse Mercator Coordinate System), a local map coordinate system (Local Map Coordinate System), a geographic coordinate system (Geographic Coordinate System), a vehicle coordinate system (Vehicle Coordinate System), a vehicle frame (Vehicle Frame), etc.
[0061] In some embodiments, the acquisition module 210 acquires multiple frames of tracking information through the following main steps.
[0062] First, the acquisition module 210 performs target detection on the point cloud data collected by the tracking device 110 to obtain the type, confidence, bounding box center, size, heading information, etc. of each tracked target.
[0063] Secondly, the motion state representation of the tracking target at the current moment is predicted through an already built model (eg, Kalman model), for example, the position, velocity, acceleration, etc. of the tracking target.
[0064] Thirdly, a matching method (eg, Hungarian matching method) is used to determine the association between the tracked target in the historical frame and the newly detected target in the current frame; the association is newly created, updated, or maintained.
[0065] Finally, through further processing (e.g., Kalman filtering), the final state of the tracking information is obtained.
[0066] In some embodiments, the acquisition module 210 may obtain multiple frames of tracking information from a storage device 140, a storage unit of the processing device 120, etc. In some embodiments, the acquisition module 210 may obtain multiple frames of tracking information by reading from a storage device, a database, calling a data interface, etc., and this specification does not limit this.
[0067] In some embodiments, the multiple frames of tracking information may correspond to a time window with a preset time length t (preset number of frames N). The preset time length t is related to the acquisition frequency of the tracking device 110 (e.g., lidar), etc. In some embodiments, the selection of the preset time length t (preset number of frames N) needs to balance the timeliness of speed output and the ability to resist noise. For example, if the sensor output frequency of the lidar perception system adopted is 10 Hz, then N = 10 and t = 1 s are set, that is, 10 frames (i.e., a 1-second time period) of tracking information are selected for the evaluation of motion noise. In some embodiments, the shortest time length of the time window is 4, and data with less than 4 frames is not processed, and time windows with 4 < length < N are processed according to the actual length. In some embodiments, the length of the time window can be set in combination with actual requirements.
[0068] In some embodiments, the multiple frames of tracking information respectively correspond to multiple moments, and the multiple moments include the current moment and at least one historical moment. In some embodiments, each frame of tracking information in the multiple frames of tracking information corresponds to the moment when the frame of tracking information is obtained. For example, the current frame of tracking information in the multiple frames of tracking information corresponds to the current moment. Also for example, the previous frame of tracking information of the current frame of tracking information corresponds to the previous historical moment of the current moment. Again for example, the first frame of tracking information in the multiple frames of tracking information corresponds to the start moment of the preset time window. As an example, assuming the current moment is represented by k (k >= N), then the N frames of tracking information are the (k - N + 1)-th frame of tracking information, the (k - N + 2)-th frame of tracking information,..., the k-th frame of tracking information.
[0069] In some embodiments, different frames of tracking information in the multiple frames of tracking information are represented in the same coordinate system.
[0070] In some embodiments, due to situations such as the appearance of a tracking target, occlusion, leaving the field of view, or a new tracking target entering the field of view, the tracking targets included in different frames of tracking information in the multiple frames of tracking information may be the same or different.
[0071] Step 320, based on the multiple frames of tracking information, determine the noise index. In some embodiments, step 320 may be executed by the processing device 120 or the noise index determination module 220.
[0072] The noise index is a quantity that reflects the level of detection fluctuations.
[0073] In some embodiments, the noise index determination module 220 determines the noise index by a variety of methods. For example, multiple frames of tracking information are input into a trained machine learning model to obtain the noise index corresponding to the multiple frames of tracking information. For another example, multiple frames of point clouds collected by the tracking device 110 are input into a trained machine learning model to obtain the noise index corresponding to the multiple frames of tracking information.
[0074] In some embodiments, the noise index determination module 220 determines at least one set of position information of the tracking target based on multiple frames of tracking information, and determines the noise index based on the at least one set of position information.
[0075] In some embodiments, in combination with the above, N frames of tracking information may include N frames of position information respectively, and the noise index determination module 220 may determine at least one set of position information based on the N frames of position information. In some embodiments, a set of position information includes at least three frames of position information in the N frames of position information. For example, a set of position information includes three consecutive frames of position information.
[0076] In some embodiments, each frame of position information includes a position in the x direction and a position in the y direction. For example, the kth frame of position information includes (pos_x k , pos_y k ), where k is a positive integer. For another example, the N-frame position information includes (pos_x k-N+1 , pos_y k-N+1 )、(pos_x k-N+2 , pos_y k-N+2 )、(pos_x k-N+3 , pos_y k-N+3 ),……(pos_x k , pos_y k ), where k>=N.
[0077] In some embodiments, the noise index determination module 220 determines at least one direction change parameter based on at least one set of position information, and determines the noise index based on the at least one direction change parameter.
[0078] The direction change parameter is a quantity that reflects the degree of direction change. The direction change parameter is intended to distinguish the detection fluctuations (reflecting the noise index) of slow-moving and stationary tracking targets. For stationary tracking targets, the fluctuations in the detection position have no fixed pattern, while slow-moving tracking targets still have a clearer direction of movement in the presence of noise. For example, Figure 4A-4D and Figure 5A-5DThe differences in the detection fluctuation rules of stationary tracking targets and low-speed tracking targets in the presence of noise are demonstrated, which confirms the effectiveness of determining the detection fluctuation (reflecting the noise index) based on the direction change parameter, which will be described in detail later.
[0079] In some embodiments, for each set of position information in at least one set of position information, the noise index determination module 220 may calculate the displacement angle corresponding to the set of position information, and use the displacement angle as the direction change parameter corresponding to the set of position information. For example, for a set of position information including three consecutive frames k-N+1, k-N+2, and k-N+3, the direction change parameter angle_change corresponding to the set of position information is k-N+3 The calculation formula is:
[0080]
[0081] angle_change_ang k-N+3 =angle_change_rad k-N+3 *180 / π
[0082] angle_change k-N+3 =min(angle_change_ang k-N+3 ,360-angle_change_ang k-N+3 )
[0083] In some embodiments, the noise index determination module 220 determines the noise index based on at least one direction change parameter. In some embodiments, the noise index determination module 220 may use the average value of at least one direction change parameter as the noise index. For example, based on at least one direction change parameter within a time window of length N, the calculation formula for calculating the noise index is:
[0084]
[0085] In some embodiments, the noise index determination module 220 may perform weighted processing based on at least one direction change parameter and its corresponding weight, and use the weighted processing result as the noise index. In some embodiments, taking a direction change parameter as an example, the weight corresponding to it may be negatively correlated with the time distance between the moment of a set of position information corresponding to it and the current moment. For example, still taking a direction change parameter as an example, the direction change parameter is determined based on a set of position information, and the set of position information corresponds to three consecutive frames of tracking information (corresponding to three consecutive moments), and the weight corresponding to the direction change parameter may be negatively correlated with the time distance between the average moment of the three consecutive moments and the current moment.
[0086] Based on the direction change parameter, the noise index is determined, which can effectively distinguish the detection fluctuations of slow-moving objects and stationary objects.
[0087] Step 330 : Determine a motion detection threshold based on the noise index. In some embodiments, step 330 may be performed by the processing device 120 or the detection threshold determination module 230 .
[0088] The motion detection threshold is a threshold used to determine whether the tracking target is in a moving state. For example, if the motion state representation quantity (e.g., displacement) of the tracking target is greater than the motion detection threshold, the tracking target is in a moving state; otherwise, the tracking target is not in a moving state.
[0089] In some embodiments, the detection threshold determination module 230 may determine the motion detection threshold based on the noise index and the weight factor. For example, the motion detection threshold th corresponding to the kth frame is k The calculation formula is:
[0090] th k =a·noise_indicator k b k
[0091] Among them, a is the weight factor, noise_indicator k is the noise index, and the weight factor can be set according to actual needs.
[0092] In some embodiments, the detection threshold determination module 230 may determine the motion detection threshold based on the noise index and the motion index, wherein the motion index may reflect the overall movement state of the tracking target in the multi-frame tracking information. k The calculation formula is:
[0093] th k =a·noise_indicator k b k
[0094] Among them, a is the weight factor, noise_indicator k is the noise index, b k The movement index.
[0095] In some embodiments, the motion index may be determined based on the number of frames in which the tracking target is in a moving state in the multi-frame tracking information. k It is designed as an exponential function of the number of historical motion frames (the number of frames in which the target is moving in the multi-frame tracking information) to further attenuate the motion detection threshold. For example, the motion index b k The calculation formula is:
[0096]
[0097] Among them, m k is the number of historical motion frames (the number of frames in which the target is moving in the multi-frame tracking information), w1, w2 and w3 are coefficients, which can be set based on experience or needs. For example, w1 can be used to adjust the weight of the historical moving state. For example, if the historical moving state is required to play a greater role, w1 can be set to a smaller value between 0 and 1; w3 reflects the attenuation degree. The smaller w3 is, the slower the attenuation speed is. It can be set based on actual needs; w2 can be used to adjust b k The interval can be set according to actual needs.
[0098] The target is stationary or moving to a standstill after m k All are 0, that is, b k When it is 1, it means that the weighting of the historical motion frame number will be invalid, and the motion detection threshold will be adjusted only by the noise level (noise index) at the detection position.
[0099] The additional information of historical motion state judgment is added to further attenuate the motion detection threshold and adjust the dynamic target threshold, which can make it more sensitive to position changes and enable it to accurately identify low-speed and high-noise objects.
[0100] In some embodiments, the detection threshold determination module 230 determines a first detection threshold applied to adjacent frame detection based on a noise index and a first weight factor; and / or determines a second detection threshold applied to interval frame detection based on a noise index and a second weight factor, wherein the first weight factor is different from the second weight factor.
[0101] For example, the calculation formula for the first detection threshold corresponding to the kth frame and applied to the adjacent frame detection is th k1 =a1·noise_indicator k ; The calculation formula for the second detection threshold applied to interval frame detection corresponding to the kth frame is th k2 =a2·noise_indicator k , wherein the first weight factor a1 is different from the second weight factor a2.
[0102] For another example, the calculation formula of the first detection threshold corresponding to the frame and applied to the adjacent frame detection is th k1 =a1·noise_indicator k b k ; The calculation formula for the second detection threshold applied to the interval frame detection corresponding to the kth frame is th k2 =a2·noise_indicatork b k , wherein the first weight factor a1 is different from the second weight factor a2.
[0103] In some embodiments, the first weighting factor and / or the second weighting factor are evaluated and set based on the detection situation of the usage scenario.
[0104] In some embodiments, the first weight factor and / or the second weight factor can be adaptively and dynamically adjusted as the scene changes. For example, in intersections and turning scenes, low-speed tracking targets are more common, and low-speed tracking targets usually have smaller position changes between adjacent frames, and the position changes between interval frames may not be significant. By reducing the first weight factor and / or the second weight factor, the motion detection threshold is reduced, and the low-speed tracking target is more sensitive.
[0105] Step 340 , based on the motion detection threshold and the multi-frame tracking information, determine the motion state of the tracking target. In some embodiments, step 340 may be performed by the processing device 120 or the motion state determination module 240 .
[0106] In some embodiments, the motion state determination module 240 may determine the motion state of the tracking target based on the motion detection threshold and multiple frames of tracking information by various methods.
[0107] In some embodiments, Figure 6 As shown, the motion state determination module 240 determines the first position change corresponding to the target moment based on multi-frame tracking information; and determines the motion state of the tracked target based on the first position change corresponding to the target moment and the motion detection threshold.
[0108] In some embodiments, Figure 7 As shown, the motion state determination module 240 determines the second position change amount corresponding to the current moment based on the multi-frame tracking information; and determines the motion state of the tracking target based on the second position change amount corresponding to the current moment and the motion detection threshold.
[0109] In some embodiments, Figure 8 As shown, the motion state determination module 240 first determines the motion state of the tracking target based on the first position change; if the motion state of the tracking target is determined not to be a moving state, the motion state of the tracking target is further determined according to the second position change.
[0110] Figure 6It is an exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification. In some embodiments, process 600 can be executed by a processing device (e.g., processing device 120) and / or motion state determination module 240. For example, process 600 can be stored in a storage device (e.g., a built-in storage unit of a processing device or an external storage device) in the form of a program or instruction, and the program or instruction can implement process 600 when executed. Process 600 can include the following operations.
[0111] Step 610: Determine a first position change corresponding to the target moment based on the multi-frame tracking information. In some embodiments, the first position change corresponding to the target moment is determined based on the global tracking information corresponding to the target moment and the global tracking information corresponding to the adjacent previous historical moment.
[0112] In some embodiments, the first position change includes the first position change in the x direction and the first position change in the y direction. Taking the target time as the time corresponding to the kth frame as an example, the corresponding first position change in the x direction can be calculated by the following formula:
[0113]
[0114] Among them, duration1 is the theoretical time interval between adjacent frames, for example, 0.1s; t k and t k-1 The timestamps of the kth frame and the k-1th frame respectively; smooth_pos_x k is the global tracking information corresponding to the target time; smooth_pos_x k-1 It is the global tracking information corresponding to the previous adjacent historical moment.
[0115] In some embodiments, the global tracking information may be an average or weighted average of multiple frames of position information within a time window. For example, the global tracking information corresponding to the target moment may be an average or weighted average of N frames of position information including the target moment (including the position information corresponding to the target moment and the position information corresponding to the previous N-1 historical moments); the global tracking information corresponding to the adjacent previous historical moment may be an average or weighted average of N frames of position information including the historical moment (including the position information corresponding to the historical moment and the position information corresponding to the previous N-1 historical moments). In some embodiments, the weight setting method for weighted processing is similar to that described elsewhere in this specification and will not be repeated here.
[0116] In some embodiments, the first position change amount in the y direction can be calculated in a similar manner with reference to the above formula.
[0117] In some embodiments, the motion state determination module 240 determines the motion state of the tracking target based on the first position change amount corresponding to the target moment and the motion detection threshold (e.g., the first detection threshold). For example, if the first position change amount in the x-direction or the y-direction is higher than the first detection threshold, the motion state of the tracking target at the target moment is determined to be a moving state. For another example, if the first position change amounts in the x-direction and the y-direction are both higher than the first detection threshold, the motion state of the tracking target at the target moment is determined to be a moving state.
[0118] In the embodiments of the present specification, the motion state is judged based on the global tracking information, the position change is more reliable, and the judgment result is more accurate.
[0119] In some embodiments, the motion state determination module 240, in addition to considering the first position change amount corresponding to the target moment and the motion detection threshold, further considers the speed of the tracked target when making a motion state judgment. That is, different judgment conditions are executed for targets with higher speeds and targets with lower speeds, so that the judgment result is more accurate. In some embodiments, the motion state determination module 240 first determines whether the speed of the tracked target is greater than a preset speed threshold, and in response to the speed of the tracked target being greater than the preset speed threshold, executes step 620; in response to the speed of the tracked target being less than or equal to the preset speed threshold, executes step 630.
[0120] Step 620: If the first position change corresponding to at least two target moments is greater than the motion detection threshold, it is determined that the motion state of the tracked target is a moving state.
[0121] The preset speed threshold is a pre-set boundary speed value used to divide high speed and low speed. The preset speed threshold is set based on experience and / or demand. In some embodiments, the preset speed threshold can be 1m / s, 1.5m / s, 2m / s, 2.5m / s, etc.
[0122] For example, assuming that the speed of the tracked target is 2 m / s and the preset speed threshold is 1.5 m / s, if at least the first position change corresponding to the k-N+1th frame and the k-1th frame are both greater than the first detection threshold, the motion state of the tracked target is judged to be a moving state.
[0123] Step 630: If the first position change corresponding to three consecutive target moments is greater than the motion detection threshold, it is determined that the motion state of the tracked target is a moving state.
[0124] For example, assuming that the speed of the tracked target is 0.5 m / s and the preset speed threshold is 1.5 m / s, if the first position change corresponding to three consecutive frames, namely the k-2 frame, the k-1 frame and the k-th frame, is greater than the first detection threshold, the motion state of the tracked target is judged to be a moving state.
[0125] The above method of separately judging the high-speed and low-speed tracking targets not only meets the timeliness of the speed output of the high-speed object, but also has a good ability to eliminate abnormal values for the speed output of the low-speed noisy object.
[0126] Figure 7 It is another exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification. In some embodiments, process 700 can be executed by a processing device (e.g., processing device 120) and / or motion state determination module 240. For example, process 700 can be stored in a storage device (e.g., a built-in storage unit of a processing device or an external storage device) in the form of a program or instruction, and the program or instruction can implement process 700 when executed. Process 700 can include the following operations.
[0127] Step 710: Determine the second position change corresponding to the current moment based on the multi-frame tracking information. In some embodiments, the second position change corresponding to the current moment is determined based on the global tracking information corresponding to the current moment and the global tracking information corresponding to the previous historical moment separated from the current moment.
[0128] In some embodiments, similar to the first position change, the second position change includes a second position change in the x direction and a second position change in the y direction. Taking the current moment as the moment corresponding to the kth frame as an example, the corresponding second position change in the x direction can be calculated by the following formula:
[0129]
[0130] Among them, duration2 is the theoretical time interval of the interval frame, which is related to the selected interval frame. For example, taking the selected interval frame as the k-N+1th frame, duration2 can be 1s; t k and t k-N+1 The timestamps of the kth frame and the k-N+1th frame respectively; smooth_pos_x k is the global tracking information corresponding to the current moment; smooth_pos_x k-N+1 is the global tracking information corresponding to the previous historical moment between the current moment and the current moment. The calculation method of the global tracking information can be found in the previous text and will not be repeated here.
[0131] In some embodiments, the second position change in the y direction is calculated with reference to the above formula.
[0132] Step 720: Determine the motion state of the tracking target based on the second position change corresponding to the current moment and the motion detection threshold (e.g., the second detection threshold). For example, if the second position change in the x direction and / or the y direction is higher than the second detection threshold, the motion state of the tracking target at the current moment is determined to be a moving state.
[0133] For low-speed noisy tracking targets, the judgment result can be made more accurate by introducing a position change criterion based on interval frames.
[0134] Figure 8 It is another exemplary flow chart of target tracking based on motion detection threshold and multi-frame tracking information according to some embodiments of this specification. In some embodiments, process 800 can be executed by a processing device (e.g., processing device 120) and / or motion state determination module 240. For example, process 800 can be stored in a storage device (e.g., a built-in storage unit of a processing device or an external storage device) in the form of a program or instruction, and the program or instruction can implement process 800 when executed. Process 800 can include the following operations.
[0135] Step 810, based on the multi-frame tracking information, determine the first position change corresponding to the target moment. In some embodiments, the first position change corresponding to the target moment is determined based on the global tracking information corresponding to the target moment and the global tracking information corresponding to the adjacent previous historical moment. For details of step 810, refer to step 610.
[0136] The motion state determination module 240 determines the motion state of the tracked target based on the first position change corresponding to the target moment and the motion detection threshold. In some embodiments, the motion state determination module 240 first determines whether the speed of the tracked target is greater than a preset speed threshold, and in response to the speed of the tracked target being greater than the preset speed threshold, executes step 820; in response to the speed of the tracked target being less than or equal to the preset speed threshold, executes step 830.
[0137] Step 820: If the first position changes corresponding to at least two target moments are greater than the motion detection threshold, the motion state of the tracked target is determined to be a moving state. For details of step 820, please refer to step 620.
[0138] Step 830 : If the first position change corresponding to three consecutive target moments is greater than the motion detection threshold, the motion state of the tracked target is determined to be a moving state. For details of step 830 , please refer to step 630 .
[0139] After the judgment in step 820 or step 830, if the motion state of the tracking target is a moving state, the judgment of the motion state is ended; if the motion state of the tracking target is not a moving state, steps 840 and 850 are executed again to determine the motion state of the tracking target according to the second position change amount.
[0140] Step 840, based on the multi-frame tracking information, determine the second position change corresponding to the current moment. In some embodiments, the second position change corresponding to the current moment is determined based on the global tracking information corresponding to the current moment and the global tracking information corresponding to the previous historical moment interval with the current moment. For details of step 840, refer to step 710.
[0141] Step 850 : Determine the motion state of the tracking target based on the second position change amount corresponding to the current moment and the motion detection threshold. For details of step 850 , refer to step 720 .
[0142] Through the above judgment process, the timeliness of the motion state judgment of the high-speed tracking target can be met, and the accuracy of the motion state judgment of the low-speed noisy tracking target can be met.
[0143] Figure 4A-4D A schematic diagram showing the direction change of a stationary tracking target in the presence of noise and the speed output by the Kalman method.
[0144] Figure 4A The figure shows the change of the position of the stationary tracking target over time on a two-dimensional plane, where the horizontal axis is the x-axis and the vertical axis is the y-axis. The connecting lines represent the association of time, that is, the positions of adjacent time points are connected by line segments. The connecting line 410 is the connecting line of the position of the tracking target detected initially, and the connecting line 420 is the connecting line of the position of the tracking target obtained after Kalman filtering.
[0145] Figure 4B Yes Figure 4A The detected position is expanded to the x-axis and the y-axis. Among them, position x (i.e., curve 430) represents the position in the x-direction, and position y (i.e., curve 440) represents the position in the y-direction. cv vx and ctra vx are the positions in the x-direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model). cv vy and ctra vy are the positions in the y-direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model).
[0146] Depend on Figure 4A and Figure 4B It can be seen that the position of the detected stationary tracking target has been fluctuating, and there is no clear pattern in the direction of fluctuation.
[0147] Figure 4C The speed output of the stationary tracking target in the x direction is shown. cv vx (curve 450) and ctra vx (curve 460) are the speed values in the x direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model), and state vx is the speed value in the x direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering).
[0148] Figure 4D The velocity output of the stationary tracking target in the y direction is shown. cv vy (curve 470) and ctra vy (curve 480) are velocity values in the y direction output based on different Kalman motion models. state vy is the velocity value in the y direction after being processed by a conventional abnormal velocity processing method (e.g., a processing method based on threshold filtering).
[0149] Depend on Figure 4C and Figure 4D It can be seen that in the conventional Kalman method, due to the influence of noise, there is also a speed output for stationary objects (especially in the early stage, there is a large abnormal speed output). Correspondingly, if the speed processing is performed by the conventional threshold filtering-based processing method, there will also be a speed output for stationary objects.
[0150] Figure 5A-5D A schematic diagram showing the direction change of a low-speed tracking target in the presence of noise and the speed output by the Kalman method.
[0151] Figure 5A The figure shows the change of the position of the low-speed tracking target over time on a two-dimensional plane. The horizontal axis is the x-axis and the vertical axis is the y-axis. The connecting line represents the association of time, that is, the positions of adjacent time points are connected by line segments. The connecting line 511 is the connecting line of the position of the tracking target detected initially, and the connecting line 512 is the connecting line of the position of the tracking target obtained after Kalman filtering.
[0152] Figure 5B Yes Figure 5A The position of is expanded to the x-axis and the y-axis. Among them, position x (i.e., curve 521) represents the position in the x-direction, and position y (i.e., curve 522) represents the position in the y-direction. cv vx and ctra vx are the positions in the x-direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model). cv vy and ctra vy are the positions in the y-direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model).
[0153] Depend on Figure 5A and Figure 5B It can be seen that the low-speed tracking target still has a clearer movement direction in the presence of noise.
[0154] Figure 5C The speed output of the low-speed tracking target in the x-direction is shown. CV vx (curve 531) and CTRA vx (curve 532) are the speed values in the x-direction output based on different Kalman motion models (e.g., uniform linear motion model and uniform acceleration and constant speed model), and STATE vx (curve 533) is the speed value in the x-direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering).
[0155] Figure 5D The speed output of the low-speed tracking target in the y direction is shown. cv vy (curve 541) and ctra vy (curve 542) are the speed values in the y direction output based on different Kalman motion models. state vy (curve 543) is the speed value in the y direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering).
[0156] Depend on Figure 5C and Figure 5D It can be seen that in the conventional Kalman method, the output speed of the low-speed tracking target is not accurate due to the presence of detection noise. Accordingly, if the speed is processed by the conventional abnormal speed processing method (for example, the processing method based on threshold filtering), the lower speed cannot be output normally.
[0157] Accordingly, in this context, the motion state determination based on the noise index introduced in the embodiments of this specification can effectively distinguish between stationary tracking targets and low-speed tracking targets, and further can maintain timely and accurate tracking of high-speed tracking targets. The specific description is as follows:
[0158] 1) Effectively combat noise and maintain accurate determination of the state of stationary tracking targets. For example, Fig.9A 910) and ctra vx (curve 920) are the x-direction speed values output based on different Kalman motion models, respectively. state vx (curve 930) is the x-direction speed value processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering). revised vx (curve 940) is the x-direction speed value output according to the embodiment of the present specification. Fig. 9B Represents the velocity output in the y direction for a stationary tracking target, similar to the x direction, cv vy (since similar to the x direction, Fig. 9B(not numbered one by one in the figure) and ctra vy are the speed values in the y direction outputted based on different Kalman motion models, respectively, and state vy is the speed value in the y direction processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering). Revised vy is the speed value in the y direction outputted according to the embodiment of this specification. It can be seen that for a stationary tracking target, due to the irregular fluctuation of its position and the influence of noise, an abnormal speed will be outputted according to the conventional speed processing method. However, the scheme described in the embodiment of this specification can effectively resist noise and maintain accurate determination of the state of the stationary tracking target.
[0159] 2) Ability to accurately and effectively track the state of a low-speed target. For example, Fig. 10A represents the speed output in the x direction for the low-speed tracking target, cv vx (curve 1010) and ctra vx (curve 1020) are the speed values in the x direction output based on different Kalman motion models, state vx (curves 1030a and 1030b) are the speed values in the x direction processed by the conventional abnormal speed processing method (e.g., the processing method based on threshold filtering), and revised vx (curve 1040) is the speed value in the x direction output according to the embodiment of the present specification. Fig. 10B Indicates the velocity output in the y direction for the low-speed tracking target, similar to the x direction, cv vy (since it is similar to the x direction, Fig. 10B 1030a) and ctra vy are the speed values in the y direction output based on different Kalman motion models, respectively. state vy is the speed value in the y direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering). revised vy is the speed value in the y direction output according to the embodiment of this specification. It can be seen that for a low-speed tracking target, according to the conventional speed processing method, not only an abnormal speed is output at the initial stage of the Kalman model initialization (curve 1030a), but also the normal lower speed after the Kalman model is stabilized (curve 1030b) is truncated, and no effective output is generated. However, according to the scheme described in the embodiment of this specification, the state of the low-speed tracking target can be accurately and effectively tracked.
[0160] 3) It can identify the moving target in advance and output the speed in advance, leaving sufficient reaction time for the prediction, decision-making and planning of the autonomous vehicle. For example, Fig.11AThe speed output of the tracking target in the moving state in the x direction is shown. The cv vx (curve 1110) and ctra vx (curve 1120) are the speed values in the x direction output based on different Kalman motion models. The state vx (curve 1130) is the speed value in the x direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering). The revised vx (curve 1140) is the speed value in the x direction output according to the embodiment of the present specification. Fig. 11B Indicates the velocity output in the y direction for the low-speed tracking target, similar to the x direction, cvvy (because it is similar to the x direction, Fig. 11B vy) and ctra vy are the speed values in the y direction output based on different Kalman motion models, respectively. state vy is the speed value in the y direction after being processed by a conventional abnormal speed processing method (e.g., a processing method based on threshold filtering). revised vy is the speed value in the y direction output according to the embodiment of this specification. It can be seen that in the conventional speed processing method, the speed is output late, and the speed is still output as 0 within a few seconds after the tracking target starts. According to the solution described in the embodiment of this specification, the speed can be output timely and accurately (e.g., 1-2s in advance), ensuring the smooth progress of the subsequent process.
[0161] It should be noted that the above description of the system and its modules is only for convenience of description and is not intended to limit the present specification to the embodiments described above. It is understandable that, after understanding the principle of the system, those skilled in the art may arbitrarily combine the modules or form a subsystem to connect with other modules without departing from the principle.
[0162] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0163] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0164] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0165] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0166] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0167] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0168] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A target tracking method, characterized in that: The method comprises: Acquire multiple frames of tracking information related to the tracking target, wherein the multiple frames of tracking information correspond to multiple moments respectively, and the multiple moments include a current moment and at least one historical moment; Determine at least one set of position information of the tracking target based on the multiple frames of tracking information; Based on the at least one set of position information, determining at least one direction change parameter, the direction change parameter reflecting a degree of direction change; Taking an average value or a weighted result of the at least one direction change parameter as a noise index, wherein the noise index reflects a detection fluctuation level; Determine a motion detection threshold based on the noise index and the motion index, or determine a motion detection threshold based on the noise index and a weight factor, wherein the motion detection threshold is used to determine whether the tracking target is in a moving state; Based on the motion detection threshold and the multi-frame tracking information, a motion state of the tracking target is determined.
2. The method according to claim 1, characterized in that The motion index is determined based on the number of frames in which the tracking target is in a moving state in the multi-frame tracking information.
3. The method according to claim 1, characterized in that Determining the motion detection threshold based on the noise index and the weight factor comprises: Determining a first detection threshold applied to adjacent frame detection based on the noise index and the first weight factor; and / or A second detection threshold applied to interval frame detection is determined based on the noise index and a second weighting factor, wherein the first weighting factor is different from the second weighting factor.
4. The method according to claim 1, characterized in that: The determining the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information includes: Determine a first position change corresponding to a target moment based on the multi-frame tracking information, wherein the first position change corresponding to the target moment is determined based on global tracking information corresponding to the target moment and global tracking information corresponding to an adjacent previous historical moment; The motion state of the tracked target is determined based on the first position change amount corresponding to the target moment and the motion detection threshold.
5. The method according to claim 4, characterized in that The determining the motion state of the tracking target based on the first position change amount corresponding to the target moment and the motion detection threshold comprises: In response to the speed of the tracked target being greater than a preset speed threshold, if the first position change corresponding to at least two target moments is greater than the motion detection threshold, determining that the motion state of the tracked target is a moving state; In response to the speed of the tracked target being less than or equal to the preset speed threshold, if the first position change corresponding to three consecutive target moments is greater than the motion detection threshold, it is determined that the motion state of the tracked target is a moving state.
6. The method according to claim 1, characterized in that The determining the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information includes: Determine, based on the multi-frame tracking information, a second position change amount corresponding to the current moment, wherein the second position change amount corresponding to the current moment is determined based on the global tracking information corresponding to the current moment and the global tracking information corresponding to a previous historical moment separated from the current moment; The motion state of the tracking target is determined based on the second position change amount corresponding to the current moment and the motion detection threshold.
7. A target tracking system, characterized in that: The system comprises: An acquisition module, used to acquire multiple frames of tracking information related to a tracking target, wherein the multiple frames of tracking information correspond to multiple moments respectively, and the multiple moments include a current moment and at least one historical moment; Noise figure determination module, used to: Determine at least one set of position information of the tracking target based on the multiple frames of tracking information; Based on the at least one set of position information, determining at least one direction change parameter, the direction change parameter reflecting a degree of direction change; Taking an average value or a weighted result of the at least one direction change parameter as a noise index, wherein the noise index reflects a detection fluctuation level; A detection threshold determination module, used to determine a motion detection threshold based on the noise index and the motion index, or to determine a motion detection threshold based on the noise index and a weight factor, wherein the motion detection threshold is used to determine whether the tracked target is in a moving state; The motion state determination module is used to determine the motion state of the tracking target based on the motion detection threshold and the multi-frame tracking information.
8. The system according to claim 7, characterized in that To determine the motion detection threshold based on the noise index and the weight factor, the detection threshold determination module: Determining a first detection threshold applied to adjacent frame detection based on the noise index and a first weight factor; and / or A second detection threshold applied to interval frame detection is determined based on the noise index and a second weighting factor, wherein the first weighting factor is different from the second weighting factor.
9. A target tracking device, characterized in that: The method comprises a processor, wherein the processor is used to execute the target tracking method according to any one of claims 1 to 6.
10. A computer-readable storage medium, wherein the storage medium stores computer instructions, and when a computer reads the computer instructions, the computer executes the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Object tracking method and device and storage medium
CN111832343A
Target tracking method and device and mobile robot
CN112991389A
Long-term target tracking method and system fusing depth information
CN114359330A
Indoor personnel information detection method based on millimeter wave radar point cloud data
CN114660592A
Fusion positioning method and device based on motion constraint
CN115839718A
