Target tracking method and device, storage medium, and electronic device

By combining radar point cloud data and scene information, and using clustering and Kalman filtering algorithms, the problem of low radar accuracy in target tracking is solved, and high-accuracy tracking in human recognition and people counting is achieved.

CN112102370BActive Publication Date: 2024-09-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011001634.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-22
Publication Date
2024-09-06
Estimated Expiration
2040-09-22

AI Technical Summary

Technical Problem

The accuracy of radar in target tracking is low, especially in home use and human body recognition. It is difficult to achieve accurate tracking.

Method used

By obtaining the point cloud data and scene information collected by the radar device, combined with the clustering algorithm and the extended Kalman filter algorithm, the target is accurately tracked, and the boundary information provided by the user is used to limit the tracking range, solving the problems of radar in target tracking. Inaccuracy issues.

Benefits of technology

It improves the radar's accuracy and precision in human identification and people counting, ensures the accuracy of target tracking, and makes up for the instability and inaccurate tracking problems when the radar is used alone.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112102370B
    Figure CN112102370B
Patent Text Reader

Abstract

The present application discloses a method and device for tracking a target, a storage medium, and an electronic device. The method comprises: obtaining point cloud data collected by a radar device; obtaining scene information input for the point cloud data; and tracking the target according to the point cloud data and the scene information. The present application solves the technical problem of low accuracy of target tracking by radar.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of target tracking, and in particular, to a target tracking method and device, a storage medium, and an electronic device. Background Art

[0002] Radar technology is a relatively advanced technology at present, because radar, as an electromagnetic wave detection device, has many excellent characteristics, and with the continuous acceleration of the development of science and technology and artificial intelligence, the breakthrough of radar technology is also advancing by leaps and bounds. Its technology has gradually entered the daily life application from the initial military use, and the use of radar technology includes airport security equipment, mechanical vibration measurement, human vital signs detection and many other places. The millimeter wave radar in the radar has the characteristics of high sensitivity, strong penetration, and no contact, and is widely used in various fields. At present, the technology of millimeter wave radar is widely used in the automotive field. However, its use in home and human body recognition is still relatively lacking (especially the inability to accurately track), which will also be the next stage of radar development, truly using technology to benefit human life.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a target tracking method and device, a storage medium, and an electronic device to at least solve the technical problem of low accuracy in target tracking by radar.

[0005] According to one aspect of an embodiment of the present application, a target tracking method is provided, comprising: acquiring point cloud data collected by a radar device; acquiring scene information input for the point cloud data; and tracking the target based on the point cloud data and the scene information.

[0006] According to another aspect of an embodiment of the present application, a target tracking device is also provided, including: a first acquisition unit, used to acquire point cloud data collected by a radar device; a second acquisition unit, used to acquire scene information input for the point cloud data; and a tracking unit, used to track the target based on the point cloud data and the scene information.

[0007] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above method is executed when the program is run.

[0008] According to another aspect of an embodiment of the present application, an electronic device is further provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above method through the computer program.

[0009] In the embodiment of the present application, when the millimeter wave radar is used, the boundary and range to be detected are actively given to the millimeter wave radar, and then the millimeter wave radar accurately detects and tracks the data based on the boundary data transmitted. A method based on the combination of millimeter wave radar and user scene information is provided to track targets in the area, which can solve the technical problem of low accuracy of radar target tracking. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0011] Figure 1 is a flowchart of an optional target tracking method according to an embodiment of the present application;

[0012] Figure 2 is a schematic diagram of an optional target tracking solution according to an embodiment of the present application;

[0013] Figure 3 is a schematic diagram of an optional target tracking solution according to an embodiment of the present application;

[0014] Figure 4 is a schematic diagram of an optional target tracking device according to an embodiment of the present application;

[0015] as well as

[0016] Figure 5 It is a structural block diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0018] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0019] According to one aspect of the embodiments of the present application, a method embodiment of a target tracking method is provided. This solution provides a target tracking solution based on the combination of millimeter wave radar and user scene information, which can solve the problem of inaccurate tracking of millimeter wave radar and better realize the tracking monitoring and headcount of people in human scenes. Figure 1 is a flow chart of an optional target tracking method according to an embodiment of the present application, such as Figure 1 As shown, the method may include the following steps:

[0020] Step S1, obtaining point cloud data collected by a radar device.

[0021] Step S2, obtaining scene information input for the point cloud data.

[0022] Optionally, obtaining scene information input for the point cloud data includes: when the radar device is located on the roof, obtaining the scene information including the following information: the height of the radar from the ground, the length and width of the area to be detected, and the positions of entering and exiting the detection area; when the radar device is located in the corner, obtaining the scene information including the following information: the positions of the four walls of the area to be detected relative to the radar, and the positions of entering and exiting the detection area; when the radar device is located on the side of the wall, obtaining the scene information including the following information: the positions of the other three walls of the four walls of the area to be detected except the wall where the radar is located relative to the radar, and the positions of entering and exiting the detection area.

[0023] Step S3: tracking a target based on the point cloud data and the scene information.

[0024] Optionally, target tracking based on the point cloud data and the scene information includes: clustering the point cloud data of each frame using a clustering algorithm to detect the target; tracking the target in each frame of the point cloud data in real time using an extended Kalman filter algorithm; and during the target tracking process, releasing the target that walks out of the radar detection area.

[0025] The above-mentioned clustering of the point cloud data of each frame by using a clustering algorithm to detect the target includes: clustering detection of each frame of point cloud data by dividing the point cloud data into regions by using a clustering algorithm, wherein the divided regions include an entrance region and an indoor region.

[0026] Optionally, after using a clustering algorithm to perform cluster detection on each frame of point cloud data by region, when a new target is formed and is located in the entrance area, the new target is confirmed as the target to be tracked; when a new target is formed and is located in the indoor area and there are old targets in the indoor area, the new target is confirmed as the target to be tracked and the old targets in the indoor area are released; when a new target is formed and is located in the indoor area and there are no old targets in the indoor area, the new target is not taken as the target to be tracked.

[0027] Optionally, after performing cluster detection on each frame of point cloud data by region using a clustering algorithm, if a new target appears in the indoor area for multiple times in succession within a target time and no old target exists in the indoor area, the new target is confirmed as the target to be tracked.

[0028] Optionally, during the target tracking process, if a target goes out of the boundary from the entrance area, the target is released; if the target does not go out of the boundary from the entrance area, the target is not released even if it is lost.

[0029] Through the above steps, when using the millimeter wave radar, the boundary and range to be detected are actively given to the millimeter wave radar, and then the millimeter wave radar accurately detects and tracks the data based on the boundary data transmitted. A method based on combining millimeter wave radar with user scene information is provided to track targets in the area, which can solve the technical problem of low accuracy of radar target tracking.

[0030] Regarding the selection and determination of boundaries, an interactive program can be provided to users, such as an app or a small program. In this way, users can intuitively input the area information they want to detect with radar (the above can also be done automatically by the machine). These data will be transmitted to the millimeter-wave radar through interactive methods such as apps, and then the boundary data information will be displayed on the user's mobile phone interface. The user will judge whether the boundary information is correct. If it is correct, it is determined that the setting is successful.

[0031] As an optional embodiment, the following is combined with Figure 2 and Figure 3 The specific implementation shown further details the technical solution of the present application.

[0032] This solution is an upper-level application based on the point cloud data obtained by millimeter-wave radar detection. It uses millimeter-wave radar and the scene information detected by the radar input by the user. The two are combined to track human targets in the scene, realize user tracking and headcount in a specific scene, and improve accuracy and precision.

[0033] Step 1: Get scene information.

[0034] There are three modes for radar installation: 1) Top mode, that is, the radar is installed on the roof and detects vertically downward; 2) Corner mode, that is, the radar is placed in the corner of the wall for detection and data collection; 3) Side mode, that is, the radar is placed on the side of the wall for detection.

[0035] The reason for setting three modes is that, on the one hand, the principles of radar detection and data collection in the above three modes are somewhat different, and on the other hand, the scene information in the above three modes is different. The scene information is as follows: 1) Scene information of the top mode: the height of the radar from the ground, the length and width of the area to be detected, and the position of the entry and exit area; 2) Scene information of the corner mode: the position of the four walls in the area to be detected relative to the radar, and the position of the entry and exit area of ​​the room; 3) Scene information of the side mode: the position of the other three walls of the four walls in the area to be detected relative to the radar, except the wall where the radar is located, and the position of the entry and exit area.

[0036] Step 2: millimeter wave radar point cloud data.

[0037] This solution is an upper-level application based on the point cloud data detected by millimeter-wave radar. Millimeter-wave radar obtains point cloud data through signal processing of the received echo signal. Point cloud data is the original data to be calculated and processed by this solution. Point cloud data information includes: 1) The distance between the target point and the radar; 2) The azimuth of the target point relative to the radar; 3) The elevation angle of the target point relative to the radar (this attribute is the information detected by the three-dimensional millimeter-wave radar, and the two-dimensional millimeter-wave radar does not contain this attribute. This solution includes both radars); 4) The speed of the target point relative to the radar; 5) The signal-to-noise ratio of the target point.

[0038] Step 3: Target tracking based on point cloud data.

[0039] The target tracking process based on point cloud data is as follows:

[0040] Step 3.1, target formation, uses a clustering algorithm to cluster the point cloud data of each frame to achieve target detection, that is, the formation of new targets. The clustering algorithm uses the DBSCAN algorithm, but is not limited to this clustering algorithm.

[0041] Step 3.2, target tracking, uses the extended Kalman filter algorithm to track the new target and perform real-time tracking of the target in each frame of point cloud data.

[0042] Step 3.3, target release management. During the target tracking process, some targets may go out of the radar detection area and need to be released.

[0043] Step 4, the defects of target tracking applications based on point cloud data, the defects of radar detection: 1) the data generally detected are of moving objects, and static objects cannot be accurately detected; 2) there are reflections on the wall, resulting in false targets. The defects of target tracking based on point cloud data detected by radar: 1) there is no boundary, the algorithm does not know when to go out of the boundary, and when to release cannot be confirmed, resulting in errors in the release mechanism in actual application; 2) it is easy to form false targets.

[0044] Step 5: Combine the millimeter wave radar with the scene information.

[0045] Using prior knowledge of scene information to limit the constraint algorithm can improve the practical application ability of the algorithm.

[0046] The scene information includes the boundary of the area to be detected and the entrance to the boundary. The tracking algorithm combines the scene information as follows:

[0047] Step 5.1, target formation, clustering DBSCAN algorithm is used to cluster the point cloud data of each frame to achieve target detection. Cluster detection is performed in different regions, divided into two areas: entrance area and indoor area. Add rule constraints: a. If the new target is formed in the entrance area, the new target is confirmed as the target to be tracked, and no other processing is performed; b. If the new target is formed in the indoor area, the new target is confirmed as the target to be tracked, and an old target in the indoor area is released (deleted). If there are no other targets in the indoor area, the new target is not confirmed as the target to be tracked; c. If new targets are formed in the indoor area for 10 consecutive times within a period of time, that is, the above step b is repeated. If it exceeds 10 times within a certain period of time and a new target is formed, then step a is executed at this time to confirm that the new target is the target to be tracked, and no other processing is performed.

[0048] Step 5.2, target tracking, uses the extended Kalman filter algorithm to track the new target and perform real-time tracking of the target in each frame of point cloud data.

[0049] Step 5.3, target release management. During the target tracking process, if a target walks out of the boundary of the entrance area, the target will be released. If the target does not walk out of the boundary of the entrance area, the target will not be released even if it is lost (when the target is lost, the actual target will form a new target. When a new target is formed, the old target can be released according to the previous steps, so as to keep the number of tracked targets consistent with the number of actual targets, which can make up for the defect of inaccurate number of radar tracked targets.

[0050] This solution proposes a target tracking method based on the combination of millimeter wave radar and scene information. It mainly solves the problem of unstable and inaccurate tracking when using millimeter waves alone. This solution can be applied to air conditioners, wall-mounted boilers and other products that need to control switches to control the opening and closing of equipment according to user needs.

[0051] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0052] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0053] According to another aspect of an embodiment of the present application, a target tracking device for implementing the above-mentioned target tracking method is also provided. Figure 4 is a schematic diagram of an optional target tracking device according to an embodiment of the present application, such as Figure 4 As shown, the device may include:

[0054] A first acquisition unit 401 is used to acquire point cloud data collected by a radar device;

[0055] A second acquisition unit 403 is used to acquire scene information input for the point cloud data;

[0056] The tracking unit 405 is used to track the target according to the point cloud data and the scene information.

[0057] It should be noted that the first acquisition unit 401 in this embodiment can be used to execute step S1 in the embodiment of the present application, the second acquisition unit 403 in this embodiment can be used to execute step S2 in the embodiment of the present application, and the tracking unit 405 in this embodiment can be used to execute step S3 in the embodiment of the present application.

[0058] Through the above modules, when using the millimeter wave radar, the boundaries and ranges to be detected are actively given to the millimeter wave radar, and then the millimeter wave radar accurately detects and tracks the data based on the boundary data transmitted. A method based on the combination of millimeter wave radar and user scene information is provided to track targets in the area, which can solve the technical problem of low accuracy of radar target tracking.

[0059] Optionally, the first acquisition unit is also used to: when the radar device is located on the roof, obtain the scene information including the following information: the height of the radar from the ground, the length and width of the area to be detected, and the position of entering and exiting the detection area; when the radar device is located in the corner of the wall, obtain the scene information including the following information: the positions of the four walls of the area to be detected relative to the radar, and the positions of entering and exiting the detection area; when the radar device is located on the side of the wall, obtain the scene information including the following information: the positions of the other three walls of the four walls of the area to be detected except the wall where the radar is located relative to the radar, and the positions of entering and exiting the detection area.

[0060] Optionally, the tracking unit is also used to: cluster the point cloud data of each frame using a clustering algorithm to detect the target; track the target in each frame of point cloud data in real time using an extended Kalman filter algorithm; and release the target that walks out of the radar detection area during the target tracking process.

[0061] Optionally, the tracking unit is further used to: use a clustering algorithm to perform cluster detection on each frame of point cloud data by dividing the regions, wherein the divided regions include an entrance region and an indoor region.

[0062] Optionally, the tracking unit is also used for: after performing cluster detection on each frame of point cloud data by region using a clustering algorithm, when a new target is formed and is located in the entrance area, confirming the new target as the target to be tracked; when a new target is formed and is located in the indoor area and there are old targets in the indoor area, confirming the new target as the target to be tracked and releasing the old targets in the indoor area; when a new target is formed and is located in the indoor area and there are no old targets in the indoor area, not treating the new target as the target to be tracked.

[0063] Optionally, the tracking unit is also used to: after performing cluster detection on each frame of point cloud data by region using a clustering algorithm, if new targets appear in the indoor area for multiple consecutive times within a target time and there are no old targets in the indoor area, confirm the new target as the target to be tracked.

[0064] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can be run in a corresponding hardware environment, can be implemented by software, and can also be implemented by hardware, wherein the hardware environment includes a network environment.

[0065] According to another aspect of the embodiments of the present application, a server or terminal for implementing the tracking method of the above-mentioned target is also provided.

[0066] Figure 5 is a structural block diagram of a terminal according to an embodiment of the present application, such as Figure 5 As shown, the terminal may include: one or more (only one is shown) processors 201, a memory 203, and a transmission device 205, such as Figure 5 As shown, the terminal may also include an input and output device 207.

[0067] Among them, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the target tracking method and device in the embodiment of the present application. The processor 201 executes various functional applications and data processing by running the software programs and modules stored in the memory 203, that is, realizing the above-mentioned target tracking method. The memory 203 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 203 may further include a memory remotely arranged relative to the processor 201, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0068] The above-mentioned transmission device 205 is used to receive or send data via a network, and can also be used for data transmission between a processor and a memory. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 205 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 205 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0069] Specifically, the memory 203 is used to store application programs.

[0070] The processor 201 may call the application stored in the memory 203 through the transmission device 205 to perform the following steps:

[0071] Obtaining point cloud data collected by the radar device;

[0072] Acquiring scene information input for the point cloud data;

[0073] Target tracking is performed according to the point cloud data and the scene information.

[0074] The processor 201 is further configured to execute the following steps:

[0075] In the case where the radar device is located on the roof, the scene information including the following information is obtained: the height of the radar from the ground, the length and width of the area to be detected, and the position of entering and exiting the detection area;

[0076] In the case where the radar device is located at a corner, the scene information including the following information is obtained: the positions of the four walls of the detection area relative to the radar, and the positions of entering and exiting the detection area;

[0077] In the case where the radar device is located on the side of the wall, the scene information including the following information is obtained: the positions of the other three walls of the four walls of the detection area except the wall where the radar is located relative to the radar, and the positions entering and exiting the detection area.

[0078] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0079] It can be understood by those skilled in the art that Figure 5The structure shown is for illustration only, and the terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 5 It does not limit the structure of the above electronic device. For example, the terminal may also include Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 5 Different configurations are shown.

[0080] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0081] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to execute the program code of the target tracking method.

[0082] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.

[0083] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:

[0084] Obtaining point cloud data collected by the radar device;

[0085] Acquiring scene information input for the point cloud data;

[0086] Target tracking is performed according to the point cloud data and the scene information.

[0087] Optionally, the storage medium is further configured to store program codes for executing the following steps:

[0088] In the case where the radar device is located on the roof, the scene information including the following information is obtained: the height of the radar from the ground, the length and width of the area to be detected, and the position of entering and exiting the detection area;

[0089] In the case where the radar device is located at a corner, the scene information including the following information is obtained: the positions of the four walls of the area to be detected relative to the radar, and the positions of entering and exiting the detection area;

[0090] In the case where the radar device is located on the side of the wall, the scene information including the following information is obtained: the positions of the other three walls of the four walls of the detection area except the wall where the radar is located relative to the radar, and the positions entering and exiting the detection area.

[0091] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0092] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0093] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0094] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

[0095] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0096] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0099] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A target tracking method, characterized in that: include: Obtaining point cloud data collected by the radar device; Acquiring scene information input for the point cloud data; Performing target tracking according to the point cloud data and the scene information; Wherein, the acquiring of scene information input as the point cloud data includes: In the case where the radar device is located on the roof, the scene information including the following information is obtained: the height of the radar from the ground, the length and width of the area to be detected, and the position of entering and exiting the detection area; In the case where the radar device is located at a corner, the scene information including the following information is obtained: the positions of the four walls of the detection area relative to the radar, and the positions of entering and exiting the detection area; In the case where the radar device is located on the side of the wall, the scene information including the following information is obtained: positions of the other three walls of the four walls of the detection area except the wall where the radar is located relative to the radar, and positions entering and exiting the detection area; The target tracking according to the point cloud data and the scene information comprises: A clustering algorithm is used to cluster the point cloud data of each frame to detect the target; The extended Kalman filter algorithm is used to track the target in each frame of point cloud data in real time; During target tracking, targets that have walked out of the radar detection area are released; The clustering algorithm is used to cluster the point cloud data of each frame to detect the target including: A clustering algorithm is used to perform cluster detection on each frame of point cloud data by dividing it into regions, where the divided regions include entrance regions and indoor regions; After the clustering algorithm is used to perform cluster detection on each frame of point cloud data by region, the method further includes: In the case where the formed new target is located in the entrance area, confirming the new target as a target to be tracked; When the formed new target is located in the indoor area and there is an old target in the indoor area, confirming the new target as the target to be tracked and releasing the old target in the indoor area; In the case where the formed new target is located in the indoor area and there is no old target in the indoor area, the new target is not taken as the target to be tracked.

2. The method according to claim 1, characterized in that After performing cluster detection on each frame of point cloud data by region using a clustering algorithm, the method further includes: If a new target appears in the indoor area for multiple times in succession within a target time and no old target exists in the indoor area, the new target is confirmed as the target to be tracked.

3. The method according to claim 1, characterized in that During the target tracking process, the release of the target that has walked out of the radar detection area includes: During the target tracking process, if a target goes out of the boundary of the entrance area, the target will be released. If the target does not go out of the boundary of the entrance area, the target will not be released even if it is lost.

4. A target tracking device, characterized in that: A method for tracking a target according to any one of claims 1 to 3 is applied, comprising: A first acquisition unit, used to acquire point cloud data collected by the radar device; A second acquisition unit, used to acquire scene information input for the point cloud data; A tracking unit is used to track a target based on the point cloud data and the scene information.

5. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 3 when executed.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor executes the method according to any one of claims 1 to 3 through the computer program.