Target detection method and apparatus, device, and computer-readable storage medium

By using point cloud data to update the movement trajectory of target objects, the problem of confusing location information of multiple target objects in smart homes is solved, and the location of each target object is accurately obtained and displayed in real time, improving the user experience.

WO2024217250A1PCT designated stage expired Publication Date: 2024-10-24SHENZHEN LUMIUNITED TECH CO LTD

Patent Information

Application Number
PCT/CN2024/084617
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-21
Filing Date
2024-03-28
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

In a smart home environment, multiple target objects are too close together, resulting in confusing location information. Existing technology is difficult to accurately obtain the motion trajectory and location information of each target object, affecting the effective development of smart home services and user experience.

Method used

By using point cloud data to update the movement trajectory of the target object, radar equipment is used to collect point cloud data frames in the target space in real time, and the target movement trajectory is associated with the distance relationship between the point cloud and the historical movement trajectory to calculate the target trajectory points of the target movement trajectory. And extend it to the corresponding target trajectory point to accurately obtain the position information of the target object.

Benefits of technology

It achieves accurate acquisition of location information of each target object in a smart home environment, avoids confusion of location information, and improves user experience and effectiveness of smart home services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024084617_24102024_PF_FP_ABST
    Figure CN2024084617_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a target detection method and apparatus, a device, and a computer-readable storage medium. Specifically, the method comprises: displaying a target detection page; acquiring position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space; and, in the target detection page, displaying in real time a position mark corresponding to the target object, wherein the page position of the position mark is determined on the basis of the position information of the target object in the target space.
Need to check novelty before this filing date? Find Prior Art

Description

Target detection method, device, equipment and computer-readable storage medium

[0001] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on April 21, 2023, with application number 202310462214.X and invention name “Target detection method, device, equipment and computer-readable storage medium”, the entire contents of which are incorporated by reference into the application. Technical Field

[0002] The present disclosure relates to the field of computer technology, and in particular to a target detection method, apparatus, device, and computer-readable storage medium. Background Art

[0003] The continuous development of IoT technology has also driven the continuous advancement of IoT-related products. In particular, smart home services have gradually become part of people's lives. The implementation of smart home services primarily depends on the location of target objects in the home space. Therefore, it is necessary to accurately obtain the location information of target objects in the home space. Related technologies can use radar equipment to cluster target objects in the target space and then track the target objects' movement trajectories to obtain the target objects' location information.

[0004] However, although the relevant technology can detect the location information of the target object, when there are multiple target objects in the target space, the relevant technology will cluster the target objects that are closer into one target, resulting in the detection device being unable to accurately obtain the motion trajectory of each target object, and thus unable to accurately obtain the location information of the target object, making it impossible to effectively carry out smart home services and reducing the user experience. Technical Solutions

[0005] The present disclosure provides a target detection method, apparatus, device and computer-readable storage medium, which can update the motion trajectory of the target object based on the point cloud data in the target space, thereby accurately obtaining the position information of each object based on the motion trajectory and improving the user experience.

[0006] The present disclosure provides a target detection method, which is executed by a computer device, and the method includes:

[0007] Displaying the target detection page;

[0008] Acquiring position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space;

[0009] A position mark corresponding to the target object is displayed in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

[0010] The present disclosure also provides a target detection device, comprising:

[0011] A display unit, used for displaying a target detection page;

[0012] an acquiring unit, configured to acquire position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space;

[0013] A display unit is used to display a position mark corresponding to the target object in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

[0014] The present disclosure also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein the computer program, when executed by the processor, implements any of the target detection methods described above.

[0015] The present disclosure also provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, any target detection method as described above is implemented.

[0016] The present disclosure also provides a computer program product, comprising computer-readable instructions, which implement the target detection method described above when executed by a processor.

[0017] The disclosed embodiment can display a target detection page; obtain the position information of the target object in the target space, wherein the position information is determined by the motion trajectory data of the target object in the target space; and display the position mark corresponding to the target object in real time in the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space. Thus, after the target detection page is displayed on the user terminal, this solution can accurately determine the position information of the target object in the target space based on the motion trajectory data of the target object, so as to avoid the position information confusion problem caused by multiple target objects in the target space being too close to each other, thereby displaying the position mark of the target object in real time in the target detection page based on the position information, and providing visualization services to the user; thereby, the motion trajectory of the target object is updated according to the point cloud data in the target space, thereby accurately obtaining the position information of each object based on the motion trajectory, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] To more clearly illustrate the technical solutions provided by the present disclosure, the following briefly introduces the drawings required for describing the various embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0019] FIG1 is a schematic diagram of a scene of an object detection system provided by an embodiment of the present disclosure.

[0020] FIG2 is a schematic diagram of a step flow chart of a target detection method provided by an embodiment of the present disclosure.

[0021] FIG3 is a schematic diagram of an information display page and a monitoring page provided in an embodiment of the present disclosure.

[0022] FIG4 is a schematic diagram of another step flow of the target detection method provided by an embodiment of the present disclosure.

[0023] FIG5 is a schematic diagram of a process of associating point clouds with motion trajectories according to an embodiment of the present disclosure.

[0024] FIG6 is a schematic diagram of a process of obtaining location information of a target object and transmitting the information to a user terminal by a radar device according to an embodiment of the present disclosure.

[0025] FIG7 is a first structural diagram of the target detection device provided by an embodiment of the present disclosure.

[0026] FIG8 is a second structural diagram of the target detection device provided by an embodiment of the present disclosure.

[0027] FIG9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0028] Implementation of the Present Disclosure

[0029] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure.

[0030] The embodiments of the present disclosure provide a target detection method, device and computer-readable storage medium. Specifically, the embodiments of the present disclosure will be described from the perspective of a target detection device, which can be integrated into an electronic device, which can be a server or a user terminal or other device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The user terminal can be a smart phone, an intelligent control panel, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a smart home appliance, a car terminal, an intelligent voice interaction device, an aircraft, etc., but is not limited to this.

[0031] The object detection method provided in the embodiments of the present disclosure can be applied to various application scenarios, including but not limited to the application scenario of object detection in a home space, which is specifically described by the following embodiments:

[0032] For example, referring to FIG1 , which is a schematic diagram of a target detection system provided by an embodiment of the present disclosure, the system may include a terminal and a data processing terminal, and its specific implementation scenario may be as follows:

[0033] The terminal can be used to: display the target detection page; obtain the position information of the target object in the target space, wherein the position information is determined by the motion trajectory data of the target object in the target space; and display the position mark corresponding to the target object in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

[0034] The data processing end can be a detection device or a server, or a combination of a detection device and a server. The detection device can be a device that has the function of detecting the position of the face, such as a human body sensor, a millimeter wave radar, or the like.

[0035] Specifically, the data processing end can be used to: obtain the point cloud data frame corresponding to the target space collected in real time by the detection equipment, the point cloud data frame contains at least one point cloud; based on the distance relationship, query the target motion trajectory associated with the point cloud from the historical motion trajectory, the target motion trajectory is jointly constructed by the point clouds in one or more frames of historical point cloud data frames; use the point cloud associated with the target motion trajectory to calculate the target trajectory point of the target motion trajectory; extend the target motion trajectory to the corresponding target trajectory point to obtain motion trajectory data; based on the motion trajectory data, determine the position information of the target object in the target space.

[0036] The target detection process may include displaying a target detection page, prompting the target object to move, collecting detection information of the target object's movement process, determining the target object's position, and displaying the target object's position on the target detection page.

[0037] It should be noted that the order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0038] In the embodiments of the present disclosure, the description will be from the perspective of an object detection device, which can be integrated into a computer device such as a terminal. Referring to Figure 2, Figure 2 is a schematic flow chart of the steps of an object detection method provided by the embodiments of the present disclosure. In the embodiments of the present disclosure, the object detection device is specifically integrated into a terminal. When a processor on the terminal executes the program instructions corresponding to the object detection method, the specific process is as follows:

[0039] 101. Display the target detection page.

[0040] In the embodiments of the present disclosure, in order to accurately obtain the location information of the target object in the target space, it is necessary to first determine the monitoring range of the target space. For example, in a smart home, in order to record information about the automated control scheme for home appliances provided to users indoors, it is necessary to determine whether the user has reached the area where the home appliances are located. The location of the target object can be first detected using a radar detection device and then reported to the user terminal, so that the location of the target object can be displayed on the target detection page of the user terminal, so that the time when the target object moves into the area within the scope of the home automation control scheme can be recorded later, thereby realizing the automated control of the home appliances in the smart home.

[0041] The above are only examples. The embodiments of the present disclosure can also be applied to target detection processes in spaces in other scenarios, such as home scenes, offices, indoor sports venues, indoor parking lots, etc. The examples listed above are not intended to limit the implementation of the present disclosure.

[0042] It should be noted that the spatial area described in the present disclosure can be understood as the area of ​​the target space configured in the target detection page.

[0043] The target detection page may be a content screen containing location information corresponding to the target object. The target detection page corresponds to the monitoring range of the target space and is used to display the location of each target object in the target space in real time. Exemplarily, the target detection page may include a content display area, which may be used to display the location of the target object.

[0044] Specifically, when a target application for detecting the target space is installed on the terminal, the target detection page can be entered through the target application, or the target detection page can be connected through a web page. At this time, the target detection page will be displayed on the display interface of the terminal. The target detection page corresponds to the monitoring range of the target space and can be used to display the position of each target object in the target space in real time. In this way, the user can view the position of the target object in the target space in real time from the terminal.

[0045] In the above manner, the target detection page can be displayed by the terminal, so that the user can view the position of the target object in the target space through the target detection page.

[0046] 102. Obtain the position information of the target object in the target space.

[0047] In the embodiment of the present disclosure, when the target detection page in the user terminal is in the open state, the user terminal will obtain the location information of the target object sent by the detection device. It is worth noting that the location information of the target object is determined by the motion trajectory of the target object in the target space.

[0048] Specifically, after the user opens the target detection page on the user terminal, he obtains the location information of the target object sent by the detection device through the information transmission channel established with the detection device. It is worth noting that each target object corresponds to a motion trajectory in the target space, and the location information of the target object is determined by the motion trajectory of the target object in the target space.

[0049] For example, if the target object A moves from point a to point b in the video, a motion trajectory will appear in the process of the target object A moving from a to b. The end point of the motion trajectory is the current position of the target object A. The user terminal will obtain the position information of the target object A at b, including but not limited to the coordinate value and speed value at b.

[0050] In some embodiments, the position information is determined by motion trajectory data of the target object in the target space.

[0051] For example, step 102 may include:

[0052] The position information is determined by motion trajectory data of the target object in the target space, wherein the motion trajectory data is obtained by updating the historical motion trajectory associated with the point cloud pair of the target object in the target space.

[0053] Specifically, the detection equipment combines radar measurement, laser measurement or photogrammetry principles to obtain a point cloud in the target space, including three-dimensional coordinates (XYZ), laser reflection intensity (Intensity) and color information (RGB). It is worth noting that a plurality of sampling points with spatial coordinates can be collected on the surface of the target object, and the collection of sampling points is the point cloud of the target object. The detection equipment constantly collects point clouds in the target space. When the target object moves in the target space, the point cloud changes of each data frame corresponding to the target object constitute the motion trajectory of the target object in the target space, and the detection equipment can determine the position information of the target object in the target space through the motion trajectory of the target object.

[0054] By using the above method, the position information of the target object in the target space can be obtained, so that the position of the target object can be displayed on the target detection page.

[0055] 103. Display the location mark corresponding to the target object in real time on the target detection page.

[0056] In an embodiment of the present disclosure, in order to visualize the position of the target object, after obtaining the position information of the target object in the target space, the position mark corresponding to the target object can be displayed in real time in the target detection page in the user terminal, so as to visualize the position of the target object in the target space to the user.

[0057] Specifically, after the user terminal obtains the location information of the target object sent by the detection device, the location mark corresponding to the target object is displayed in real time on the target detection page. It is worth noting that the page position of the location mark corresponding to the target object is determined by the location information of the target object in the target space.

[0058] In some implementations, the target detection page includes multiple location markers, and each location marker corresponds to a target object.

[0059] For example, after step 103, the following steps may also be included:

[0060] If the position information of the target object in the target space is not obtained within the preset time period, the position mark corresponding to the target object is deleted from the target detection page.

[0061] Specifically, the detection device will always detect the position information of the target object in the target space and send the position information of the target object to the user terminal. When the target object leaves the target space, the detection device cannot detect the position information of the target object in the target space and will no longer send the position information of the target object to the user terminal. When the user terminal does not receive the position information of the target object within the preset waiting time, it is assumed that the target object has left the target space and the position mark of the target object originally existing in the target detection page is deleted.

[0062] In some embodiments, the target detection page may be composed of an information display page and a monitoring page, wherein the monitoring page is pre-set with a monitoring area for responding to the automation control solution.

[0063] For example, the target detection method may further include:

[0064] (103.A) Obtaining information display instructions for the monitoring area, where the information display instructions are triggered when any location marker first appears in the monitoring area, or when all location markers leave the monitoring area;

[0065] (103.B) Based on the information display instruction, display the time information when any position mark is in the monitoring area on the information display page, and / or display the execution status of the automation control plan.

[0066] Among them, the information display page can be an interface in the user terminal for displaying the execution status of the automation plan in the monitoring area and the time information of the target object in the monitoring area. If the target object triggers the corresponding automation control service in the monitoring area, the information display page will record and display the status of the automation control service and the time information of the target object in the monitoring area.

[0067] Among them, the monitoring area can be a spatial area in the target space used to set up an automation control plan (the monitoring area can be a part of the target space or the entire target space). The monitoring area can be used to set up intelligent services for smart homes, and the monitoring page in the target detection page can visualize the monitoring area.

[0068] Specifically, the target detection page consists of an information display page and a monitoring page. The monitoring page is used to display the location mark of the target object, and the information display page is used to display the information in the monitoring page. It is worth noting that there can be multiple monitoring areas in the target space for setting the automation control scheme. When any one or more target objects move into the monitoring area in the target space, the automation control scheme in the monitoring area is triggered, and the information display instruction of the monitoring area is triggered at the same time, or when all the target objects leave the monitoring area, the information display instruction of the monitoring area is also triggered. When the user terminal detects the information display instruction, the time information of the location mark of any target object in the monitoring area and / or the execution status of the automation control scheme in the monitoring area are displayed on the information display page.

[0069] For example, as shown in FIG3 , the monitoring page in the target detection page has five location marks and a monitoring area A. Before 17:46, there is no one in the monitoring area A and there is no location mark in the monitoring page. At 17:46, any location mark enters the monitoring area A. Then, the information display page shows that there is someone in the monitoring area A at 17:46, and displays the triggered lighting service status of the monitoring area A, that is, the execution status of the automation control plan.

[0070] In the above manner, the user terminal can display the position mark corresponding to the target object in real time on the target detection page through the position information of the target object in the target space, thereby visually displaying the position of the target object in the target space to the user.

[0071] By implementing any one implementation or combination of implementations in the embodiments of the present disclosure, an application scenario of the target detection process can be realized.

[0072] As can be seen from the above, the disclosed embodiment can display a target detection page; obtain the position information of the target object in the target space, wherein the position information is determined by the motion trajectory data of the target object in the target space; and display the position mark corresponding to the target object in real time in the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space. It can be seen that after the target detection page is displayed on the user terminal, this solution can accurately determine the position information of the target object in the target space based on the motion trajectory data of the target object, so as to avoid the position information confusion problem caused by the close distance of multiple target objects in the target space, thereby displaying the position mark of the target object in real time in the target detection page based on the position information, and providing visualization services to the user; thereby, the motion trajectory of the target object is updated according to the point cloud data in the target space, thereby accurately obtaining the position information of each object according to the motion trajectory, and improving the user experience.

[0073] The method described in the above embodiment will be further described in detail below with examples.

[0074] The embodiment of the present disclosure takes data processing as an example to further describe the data processing method provided by the embodiment of the present disclosure.

[0075] Figure 4 is a schematic flow chart of another step in the target detection method provided by an embodiment of the present disclosure. Figure 5 is a schematic flow chart of the point cloud associated motion trajectory provided by an embodiment of the present disclosure. Figure 6 is a schematic flow chart of the radar device acquiring the location information of the target object and transmitting it to the user terminal provided by an embodiment of the present disclosure. For ease of understanding, the present disclosure embodiment is described in conjunction with Figures 4-6.

[0076] In the embodiments of the present disclosure, the object detection method will be described from the perspective of an object detection device. The object detection device can be integrated into a computer device such as a detection device, a terminal, or a server. For example, when a processor on the computer device executes a program corresponding to the object detection method, the specific process of the object detection method is as follows:

[0077] 201. Obtain a point cloud data frame corresponding to the target space collected in real time by a detection device.

[0078] In the embodiment of the present disclosure, in order to track the motion trajectory of the target object in the target space at all times, thereby obtaining the position information of the target object in the target space and realizing the intelligent automation control scenario of related equipment or functional devices, the point cloud data frame in the target space can be first collected in real time by the detection equipment, so that the motion trajectory of the target object can be determined based on the point cloud in the point cloud data frame, making the position detection of the target object more accurate.

[0079] The point cloud data frame may be a point cloud data image acquired by the detection device in the target space at intervals of one time frame, and the point cloud data frame includes at least one point cloud.

[0080] Specifically, the target space can be scanned by wireless signal detection equipment such as lidar equipment to obtain the collection points indicated by all objects in the target space, and the collection points with a close distance can be clustered into corresponding point cloud data, that is, the corresponding point cloud data frames in the target space collected in real time.

[0081] Through the above method, the point cloud data frame in the target space can be collected in real time by the detection device, so that the motion trajectory of the target object can be determined based on the point cloud in the point cloud data frame, making the position detection of the target object more accurate.

[0082] 202. According to the distance relationship, a target motion trajectory associated with the point cloud is queried from the historical motion trajectory, and the target motion trajectory is jointly constructed by point clouds in one or more frames of historical point cloud data.

[0083] In the embodiment of the present disclosure, in order to accurately distinguish the point cloud corresponding to the target object, thereby using the point cloud to update the motion trajectory of the target object and obtain the position information of the target object in the target space, the target motion trajectory that the point cloud can be associated with can be queried from the historical motion trajectory based on the distance relationship between the point cloud and the motion trajectory, so that the point cloud can be used to update the corresponding motion trajectory in the future to accurately obtain the position information of the target object.

[0084] The distance relationship may be a spatial relationship between a point cloud and each historical motion trajectory, including but not limited to a straight-line distance relationship, a Mahalanobis distance relationship, and the like.

[0085] The historical motion trajectory can be any motion trajectory created and stored in the target space before the current moment. The number of historical motion trajectories can be one or more. It is understood that if no point cloud in the target space has been acquired or no motion trajectory has been created before the current moment, the number of historical motion trajectories at the current moment is zero. Historical motion trajectories include the motion trajectory of the target object and / or the motion trajectory of false targets.

[0086] Specifically, the motion trajectory is constructed by combining the point clouds in one or more frames of historical point cloud data frames. Each target object corresponds to a motion trajectory in the target space. As long as the target object is in the target space, the motion trajectory corresponding to the target object will always exist. After the point cloud data frame of the current frame is obtained, since the point cloud in the point cloud data frame cannot directly determine which historical motion trajectory it is associated with, it is necessary to calculate the spatial distance between each point cloud and each historical motion trajectory in the target space. Then, based on the distance relationship between the point cloud and the historical motion trajectory, the point cloud with the closest distance is associated with the historical motion trajectory to determine the target motion trajectory associated with the point cloud.

[0087] In some embodiments, in addition to detecting the distance between the point cloud and the historical motion trajectory, the detection device also needs to compare the distance value between the point cloud and the historical motion trajectory with a preset distance threshold to determine the target motion trajectory of the point cloud.

[0088] For example, step 202 may include:

[0089] (202.1) Determine the distance relationship based on the distance values ​​between the point cloud and each historical motion trajectory;

[0090] (202.2) If a historical motion trajectory with a distance value less than a preset distance threshold is found based on the distance relationship, the historical motion trajectory with the smallest distance value is determined as the target motion trajectory, and the point cloud is associated with the target motion trajectory.

[0091] The preset distance threshold may be the minimum distance value at which the point cloud and the historical motion trajectory can be associated. If the distance between the point cloud and the historical motion trajectory is greater than the preset distance threshold, no association can be established between the point cloud and the historical motion trajectory.

[0092] Specifically, a point cloud data frame may contain multiple point clouds, and the number of historical motion trajectories may be one or more. After obtaining the point cloud data frame, the distance value between each point cloud in the point cloud data frame and each historical motion trajectory is calculated respectively. Specifically, the Mahalanobis distance value between the point cloud and the historical motion trajectory can be calculated. The Mahalanobis distance value is calculated as follows:

[0093] Among them, the measurement value Z c (k+1) is the candidate echo, is the predicted value of the measurement, S(k+1) is the new information v c (k+1) covariance. For each point cloud, if the distance between the point cloud and the historical trajectory is less than a preset distance threshold, it indicates that there is a possible association between the point cloud and the historical trajectory. In this case, the historical trajectory with the smallest distance to the point cloud is determined as the target trajectory for the point cloud.

[0094] Taking radar detection equipment as an example, the indoor signal propagation environment is significantly more complex than the outdoor environment due to the influence of numerous factors, such as the placement of objects and fixtures, the movement of walls, and other objects. This means that modeling radar signal propagation in indoor environments cannot simply consider the signal's free propagation. Indoor propagation is subject to multipath effects, the propagation delay and signal strength of which are significantly affected by the properties of the materials the signal propagates through. Furthermore, human activity and other related factors indoors also alter the actual signal propagation conditions. Furthermore, indoor areas are typically small, subject to occlusion and loss of target point cloud data due to insufficient angular resolution. Under these numerous uncertainties, accurately tracking the motion trajectories of multiple targets within the target space is crucial. Simultaneously correlating the corresponding motion trajectories of moving and stationary point clouds ensures accurate tracking by leveraging the fewer false targets in the moving point cloud and the ability of the stationary point cloud to detect subtle motion. It is worth noting that, on the one hand, the present disclosure directly associates point clouds with historical motion trajectories. Compared with clustering point clouds and then associating them with historical motion trajectories, when faced with some relatively discrete point clouds, such point clouds will not be ignored due to the inability to cluster them, thereby improving the utilization rate of point clouds and being able to more accurately obtain the position information of target objects; on the other hand, the method of directly associating point clouds with motion trajectories can solve problems such as the inability to measure all target objects due to the existence of temporary obstructions and low angular resolution. At the same time, compared with the traditional association method of clustering point clouds and then associating them with historical motion trajectories, directly associating point clouds with historical motion trajectories can avoid the situation where the detection equipment clusters the point clouds of multiple target objects into the same point cloud, thereby improving the accuracy of motion trajectory tracking.

[0095] For example, as shown in Figure 5, a radar device detects one point cloud A in a frame of point cloud data. There are three historical motion trajectories in the target space, namely p1, p2, and p3, with a preset distance threshold of Min R. Point cloud A is initially not associated with any historical motion trajectory. Historical motion trajectories p1, p2, and p3 are selected in sequence, and the distances R1, R2, and R3 between point cloud A and historical motion trajectories p1, p2, and p3 are calculated. After calculation and comparison, if R1 is the smallest, R1 is compared with the preset distance threshold Min R. If R1 < Min R, point cloud A is determined to be associated with historical motion trajectory p1, and point cloud A is subsequently used to track historical motion trajectory p1. If the radar device detects multiple point clouds in a frame of point cloud data, the above process is repeated for each point cloud to determine the historical motion trajectory that can be associated with each point cloud.

[0096] In this way, the distance relationship between the point cloud and the motion trajectory can be used to query the target motion trajectory that the point cloud can be associated with from the historical motion trajectory, so that the point cloud can be used to update the corresponding motion trajectory in the future to accurately obtain the position information of the target object.

[0097] 203. Calculate target trajectory points of the target trajectory using the point cloud that can be associated with the target trajectory.

[0098] In an embodiment of the present disclosure, in order to accurately update the position of the motion trajectory of the target object in the target space, after associating the point cloud with the corresponding target historical motion trajectory, the point cloud associated with the target motion trajectory can be used to calculate the trajectory points of the target motion trajectory in the current frame, thereby updating the target motion trajectory of the current frame, so that the position information of the target object can be obtained subsequently according to the target motion trajectory of the target object.

[0099] Specifically, the detection device associates the point cloud in the point cloud data frame with the corresponding historical motion trajectory based on the spatial distance relationship, so as to obtain the target motion trajectory corresponding to the point cloud, and then uses the position information and speed information of the point cloud to calculate the extension point of the target motion trajectory, that is, calculates the trajectory point of the current frame of the target motion trajectory, including but not limited to the coordinate position and speed information of the trajectory point; in this way, the motion direction of the motion trajectory of the target object can be accurately obtained using the point cloud.

[0100] In some embodiments, the detection device can calculate the first predicted trajectory point corresponding to the point cloud that can be associated with the target motion trajectory in the current point cloud data frame based on the tracking filtering algorithm, and calculate the second predicted trajectory point based on the historical target trajectory point of the previous frame. Finally, the first predicted trajectory point and the second predicted trajectory point are calculated according to a preset weight ratio to obtain the target trajectory point of the target motion trajectory.

[0101] For example, step 203 may include:

[0102] (203.1) Calculating a first predicted trajectory point corresponding to a point cloud associated with a target motion trajectory in the current point cloud data frame using a tracking filter algorithm;

[0103] (203.2) Determine the historical target trajectory point of the previous frame from the target motion trajectory, and calculate the second predicted trajectory point corresponding to the point cloud based on the historical target trajectory point;

[0104] (203.3) Calculate the first predicted trajectory point and the second predicted trajectory point according to a preset weight ratio to obtain a target trajectory point of the target motion trajectory.

[0105] The first predicted trajectory point may be a trajectory point predicted by the point cloud for the target motion trajectory associated with the current point cloud through a tracking filtering algorithm.

[0106] The second predicted trajectory point may be a trajectory point of the current frame predicted based on the coordinate information and speed information of the historical motion trajectory point of the previous frame.

[0107] Specifically, after determining the point cloud associated with the target motion trajectory, a tracking filtering algorithm can be used to perform coordinate prediction and speed prediction on each acquisition point in the point cloud obtained in the current frame, thereby obtaining the first predicted trajectory point of the target motion trajectory. The first predicted trajectory point is the position of the target object predicted by the point cloud of the current frame; then the historical target trajectory point obtained in the previous frame is obtained from the target motion trajectory, and the motion position of the target motion trajectory of the current frame is predicted based on the coordinate information and speed information of the historical target trajectory point, that is, the second predicted trajectory point. After obtaining the first predicted trajectory point and the second predicted trajectory point, the first predicted trajectory point and the second trajectory point are calculated according to the preset weight ratio to obtain the target trajectory point of the current frame of the target motion trajectory. The specific tracking filtering includes the following steps:

[0108] 1. The observed value of the one-step forecast of the state, where F k is the state transfer matrix:

[0109] 2. One-step prediction of covariance, where Q k is the system noise:

[0110] 3. Calculate the innovation covariance, where H k is the observation matrix, R k is the observation noise:

[0111] 4. Update the observation noise covariance matrix R k , the observation noise covariance matrix R k It is the covariance matrix calculated based on the point cloud associated with the track And the last observation matrix is ​​obtained by smoothing it with an alpha filter.

[0112] 5. Calculate the Kalman filter gain:

[0113] 6. Update the state and output the estimated value of the Kalman filter, where y k is the residual:

[0114] 7. Covariance update, I is the identity matrix:

[0115] Exemplarily, in the target space, the motion trajectory of the target object A is tracked through the point cloud, and the point cloud of the target object A is denoised and predicted using a Kalman filter, and the coordinates of the first predicted trajectory point of the target motion trajectory of the target object A are obtained to be (0,1,0); the target motion trajectory of the target object A is smoothed using an alpha filter, and the coordinates of the second predicted trajectory point of the current frame are predicted to be (0,3,0) based on the historical target trajectory points of the previous frame of the target motion trajectory. If the preset weight ratio is 1:1, the coordinates of the target trajectory point of the current frame of the target motion trajectory can be calculated to be (0,2,0) based on the first predicted trajectory point and the second predicted trajectory point.

[0116] Through the above method, the target motion trajectory points of the current frame can be calculated from the point cloud associated with the target motion trajectory, thereby updating the target motion trajectory of the current frame, so that the target object's position information can be obtained based on the target motion trajectory of the target object. In addition, the observation noise covariance matrix is ​​smoothed using an alpha filter, which can better adapt to the situation of maneuvering target tracking during the target tracking process (such as a person suddenly stopping, turning, or walking in the opposite direction).

[0117] 204. Extend the target motion trajectory to the corresponding target trajectory point to obtain motion trajectory data.

[0118] In the embodiment of the present disclosure, in order to accurately obtain the position of the target object and to better track the motion trajectory of the target object, the target motion trajectory can be extended to the corresponding target trajectory point to obtain motion trajectory data, thereby accurately obtaining the position information of the target object in the target space.

[0119] The motion trajectory data may be position data of the current target object reflected by the motion trajectory, including but not limited to coordinate data, speed data, and the like.

[0120] Specifically, after calculating the target trajectory point of the target motion trajectory of the target object, the detection device extends the target motion trajectory toward the position of the target trajectory point to obtain the target motion trajectory of the current frame, and determines the motion trajectory data of the target motion trajectory of the target object in the target space.

[0121] In this way, the target motion trajectory can be extended to the corresponding target trajectory point to obtain the motion trajectory data, thereby accurately obtaining the position information of the target object in the target space and preventing the motion trajectory of the target object from being lost.

[0122] 205. Determine the position information of the target object in the target space based on the motion trajectory data.

[0123] In the embodiment of the present disclosure, in order to accurately obtain the position information of the target object in the target space, the motion trajectory data in the current motion trajectory of the target object can be used to determine the position information of the target object in the target space, thereby accurately obtaining the current position information of the target object.

[0124] Specifically, after determining the current target motion trajectory of the target object based on the point cloud of the target object in the current point cloud data frame, the motion trajectory data of the target motion trajectory is used to determine the coordinates, speed and other information of the target object in the target space, that is, to obtain the position information of the target object in the target space.

[0125] In some embodiments, after the detection device obtains the position information of the target object in the target space, it is necessary to send the position information of the target object to the display end of the user terminal so that the target detection page in the display end can display the position mark of the target object in real time.

[0126] For example, after step 205, the following steps may also be included:

[0127] The location information is sent to the display end, so that the display end displays the location mark corresponding to the target object in real time on the target detection page based on the location information.

[0128] Specifically, after the detection device detects the position information of the target object in the target space, the position information of the target object needs to be sent to the user terminal in real time, so that the user terminal can update the position mark of the target object in real time on the target detection page in the display end, so that the position of the target object in the target space can be visualized.

[0129] In the above manner, the position information of the target object in the target space can be determined through the motion trajectory data in the current motion trajectory of the target object, thereby accurately acquiring the current position information of the target object.

[0130] In some embodiments, if there is no historical motion trajectory in the target space at the current moment or there is a point cloud in the point cloud data frame that cannot be associated with any historical motion trajectory in the target space, the target data point cloud can be selected from the point cloud, and the target motion trajectory can be created by using the target point cloud and the point clouds contained in the preset distance range, thereby creating a new associated motion trajectory for the point cloud. Specifically, the target detection method may also include:

[0131] (A.1) If no historical motion trajectory associated with the point cloud is found based on the distance relationship, then a target data point cloud is determined based on the point cloud in the point cloud data frame that is not associated with the historical motion trajectory, and the target data point cloud has the largest number of point clouds within the preset distance range;

[0132] (A.2) Create a target motion trajectory based on the target data point cloud and the point clouds contained in the preset distance range.

[0133] Specifically, after the detection device calculates the distance between the point cloud in the point cloud data frame and each historical motion trajectory, if the point cloud cannot establish an association with all the historical motion trajectories in the target space, it means that the point cloud is likely to belong to a new target object that has just appeared in the target space. At this time, it is necessary to determine a target data point cloud from the point cloud in the point cloud data frame that is not associated with the historical motion trajectory in the target space. The target data point cloud needs to be the point cloud with the largest number of point clouds within the preset distance range among the point clouds that are not associated with the historical motion trajectory in the target space, because the more point clouds there are within the preset distance range of the point cloud, the more representative it is of the real target object. The coordinate information, speed information and signal-to-noise ratio information of the target data point cloud and the point clouds contained in its preset distance range are obtained, the coordinate mean, speed mean and signal-to-noise ratio mean are calculated, the center of mass is obtained, and the center of mass is used as the starting point of the new motion trajectory to create a new motion trajectory, that is, based on the selected target data point cloud and the point clouds contained in its preset distance range, a new target motion trajectory is created.

[0134] In some embodiments, the point cloud data frame includes a moving point cloud obtained based on a moving target detection method and a stationary point cloud obtained based on a stationary target detection method. The characteristic of the moving point cloud having fewer false targets can be utilized to select the target data point cloud from the point cloud data frame so as to subsequently create a new motion trajectory, thereby enabling the created motion trajectory to effectively suppress false targets. For example, step (A.1) may include:

[0135] (A.1.1) Select the motion point cloud from the point cloud that is not associated with the historical motion trajectory in the point cloud data frame,

[0136] (A.1.2) determining a first point cloud volume corresponding to each moving point cloud, and determining a moving point cloud whose first point cloud volume is greater than a preset moving point quantity threshold as a candidate moving point cloud, where the first point cloud volume is the number of moving point clouds contained within a preset range of the moving point cloud;

[0137] (A.1.3) determining a second point cloud volume for each candidate moving point cloud, and determining a candidate moving point cloud whose second point cloud volume is greater than a preset threshold value for the number of stationary points as a data point cloud to be confirmed, where the second point cloud volume is the number of stationary point clouds contained within a preset range of the candidate moving point cloud;

[0138] (A.1.4) Determine the total amount of point clouds of each data point cloud to be confirmed, and determine the data point cloud to be confirmed with the largest total amount of point clouds as the target data point cloud. The total amount of point clouds is the sum of the first point cloud amount and the second point cloud amount.

[0139] The moving point cloud may be a point cloud obtained in a point cloud data frame based on a moving target detection method, and the stationary point cloud may be a point cloud obtained in a point cloud data frame based on a stationary target detection method.

[0140] Specifically, when a point cloud in a point cloud data frame does not have an associated motion trajectory in the target space, a new motion trajectory needs to be created for the point cloud. To avoid the negative impact of false point clouds, the characteristic of fewer false point clouds in a moving point cloud can be utilized to select a moving point cloud from a point cloud in the point cloud data frame that is not associated with a historical motion trajectory, and obtain the amount of moving point clouds within a preset range of each moving point cloud, i.e., the first point cloud amount. A moving point cloud whose first point cloud amount is greater than a preset threshold value for the number of moving points is determined as a candidate moving point cloud, so that there are sufficient point clouds around the selected candidate moving point cloud to prove that the moving point cloud is a real point cloud of the target object and not a point cloud of a ghost or other false target. Then, with each candidate moving point cloud as the center, the number of stationary point clouds contained within its preset range is obtained, i.e., the second point cloud amount. If the second point cloud amount of a candidate moving point cloud is greater than the preset threshold value for the number of stationary points, the candidate moving point cloud can be directly considered to be a real moving point cloud and not a point cloud of a ghost or other false target, and the candidate moving point cloud is determined as a data point cloud to be confirmed. The first point cloud volume and the second point cloud volume of the data point cloud to be confirmed are added to obtain the total point cloud volume of the data point cloud to be confirmed, and the data point cloud to be confirmed with the largest total point cloud volume is determined as the target data point cloud.

[0141] Through the above method, the target data point cloud can be selected from the point cloud, and a new target motion trajectory can be created based on the target point cloud and the point clouds contained in the preset distance range. Based on the new target motion trajectory, the current position information of the new target object is determined, and the position information of the target object in the target space can be better tracked later. The new target motion trajectory created at the current moment and / or the updated target motion trajectory will be used as the historical motion trajectory of the next point cloud data frame.

[0142] In some implementations, when a target object leaves the target space, the motion trajectory corresponding to the target object in the target space needs to be deleted, that is, the motion trajectory of the target object is no longer used as the historical motion trajectory of the next frame.

[0143] In one embodiment, multiple frames of point cloud data can be acquired within a preset time. If the number of frames associated with the target motion trajectory and / or the frequency of the motion point cloud associated with the target motion trajectory within the preset time does not meet the preset conditions, it is assumed that the target object corresponding to the target motion trajectory is no longer in the target space, and the target motion trajectory is deleted. Specifically, the target detection method may further include:

[0144] (B.1) acquiring multiple frames of point cloud data within a preset time, and deleting the target motion trajectory if the number of frames associated with the target motion trajectory within the preset time is less than a preset frame number threshold;

[0145] (B.2) and / or, if it is detected that within a preset time, the frequency with which the target motion trajectory is associated with the motion point cloud in the point cloud data frame is less than a preset frequency threshold, the target motion trajectory is deleted, wherein the point cloud data frame includes the motion point cloud obtained based on the motion target detection method and the stationary point cloud obtained based on the stationary target detection method.

[0146] Specifically, multiple frames of point cloud data frames are continuously acquired within a preset time. When the number of frames with which the target motion trajectory is associated (associated with the moving point cloud or associated with the static point cloud) within the preset time is greater than the preset frame value, it can be explained that the target object corresponding to the target motion trajectory has always existed in the target space within the preset time, so point cloud data frames associated with the target object are acquired multiple times. Similarly, within the preset time of continuous detection, the frequency with which the target motion trajectory of the target object is associated with the moving point cloud in the point cloud data frame is greater than the preset frequency threshold, which also indicates that the target object exists in the target space within the preset time, so the moving point cloud of the target object is detected in the target space. Therefore, when the number of frames with which the target motion trajectory is associated within the preset time is less than the preset frame threshold, or the frequency with which the target motion trajectory is associated with the moving point cloud in the point cloud data frame is less than the preset frequency threshold within the preset time, it indicates that the target object corresponding to the target motion trajectory is no longer in the target space, so no point cloud information related to the target object can be detected in the target space. At this time, the target motion trajectory corresponding to the target object in the target space needs to be deleted.

[0147] Through the above method, multiple frames of point cloud data can be obtained within a preset time. If the number of frames associated with the target motion trajectory within the preset time and / or the frequency of being associated with the motion point cloud does not meet the preset conditions, it is assumed that the target object corresponding to the target motion trajectory is no longer in the target space, and the target motion trajectory is deleted, thereby providing information assistance for the subsequent synchronous deletion of the position mark corresponding to the target object on the target detection page in the user terminal, avoiding negative impact on the position visualization of the target object, and allowing the user to understand the situation in the target space more accurately.

[0148] To facilitate understanding of the embodiments of the present disclosure, the embodiments of the present disclosure will be described using a specific application scenario example. Specifically, the application scenario example is described by executing steps 201-203 above and combining Figures 3-6.

[0149] The application scenario examples of the embodiments of the present disclosure can be applied to target detection scenarios such as smart homes, parking lots, and indoor sports fields. For ease of understanding, the embodiments of the present disclosure will be described in the context of a smart home. The target detection scenario of the smart home is as follows:

[0150] The user can view the position mark of the target object in the target space in real time through the APP target detection page on the user terminal, where the page position of the position mark is determined based on the position information of the target object in the target space, and the position information is determined by the motion trajectory data of the target object in the target space. When a target object moves to the monitoring area in the target space where an automated control scheme is set, the information display page in the target detection page will display the corresponding time information and the status of the automated control scheme; in this way, not only can the motion trajectory of the target object be used to accurately obtain the position information of the target object, but also a visualization service of the target space is provided to the user, thereby improving the user experience.

[0151] The target detection scenario of this smart home can be realized through user terminals and detection devices, as follows:

[0152] (1) The target detection process for the user terminal interface interaction is as follows:

[0153] (1.1) After opening the target detection application on the user terminal, the target detection page is displayed, which can be regarded as the initial page. The target detection page includes an information display page and a monitoring page. The monitoring page is pre-set with a monitoring area for responding to the automation control solution. If a target object appears in the target space, the monitoring page in the target detection page will display the location mark corresponding to the target object.

[0154] (1.2) When the location marker of any target object appears in the monitoring area for the first time, or when all location markers leave the monitoring area, the information display instruction on the information display page is triggered. As shown in Figure 3, there are 5 location markers in the monitoring area, corresponding to 5 target objects in the target space. The information display page shows that at 17:46, someone was in the monitoring area and triggered the relevant automatic control service, that is, the illumination was adjusted to 334 Lux.

[0155] (2) Taking the radar device as the detection device as an example, as shown in Figures 5 and 6, the target object position information detection process on the detection device side is as follows:

[0156] (2.1) As shown in FIG6 , after the radar device is turned on, it can collect point cloud data frames in the target space in real time. Each point cloud data frame contains at least one point cloud, i.e., point cloud entry is performed.

[0157] (2.2) If there is a historical motion trajectory in the target space, the distance value between the point cloud in the point cloud data frame and each historical motion trajectory is calculated. As shown in Figure 5, the distance values ​​R1, R2, and R3 between the point cloud A and the historical motion trajectories p1, p2, and p3 are calculated respectively. Among them, R1 is the smallest and satisfies R1<Min R. Then, the point cloud A is associated with the historical motion trajectory p1, and the historical motion trajectory p1 is tracked using the point cloud A. It is worth noting that each historical motion trajectory corresponds to a target object. The radar equipment can track the historical motion trajectory through the point cloud associated with the historical motion trajectory and obtain the motion trajectory data of the historical motion trajectory, thereby obtaining the latest position information of the target object corresponding to the historical motion trajectory.

[0158] (2.3) If no historical motion trajectory exists in the target space, or if the point cloud of the point cloud data frame cannot be associated with any historical motion trajectory in the target space, a target data point cloud is selected from the point cloud, and a new target motion trajectory is created using the target data point cloud and all point clouds within its preset range. It is worth noting that the target data point cloud is the motion point cloud obtained in the point cloud data frame based on the motion target detection method, and the target data point cloud contains the largest number of point clouds within the preset range.

[0159] (2.4) Tracking the historical motion trajectory through the point cloud associated with the historical motion trajectory, predicting the target trajectory point of the historical motion trajectory, and extending the historical motion trajectory to the target trajectory point to obtain the motion trajectory data of the current frame.

[0160] (2.5) If the radar device detects that the target object has left the target space, that is, the motion trajectory of the target object in the target space is terminated, the motion trajectory is deleted.

[0161] (2.6) The radar device determines the position information of the target object in the target space through the motion trajectory data of the target object's corresponding motion trajectory in the current frame, and transmits the position information of the target object to the cloud server in real time. The cloud server sends the position information of the target object to the user terminal, so that the user terminal can display the position mark of each target object on the target detection page according to the position information corresponding to each target object.

[0162] The above application scenarios enable the following: The target object's position in the target space can be viewed in real time on the target detection page on the user terminal. The status of automated control services triggered by the target object within the monitoring area of ​​the target space, as well as the time the target object was in the monitoring area, can be recorded and displayed. The radar device detects the point cloud in the target space and uses the point cloud associated with the target object's motion trajectory to calculate the target object's current position, improving the accuracy of target object position detection.

[0163] From the above, it can be seen that the embodiment of the present disclosure can accurately determine the position information of the target object in the target space based on the motion trajectory data of the target object after the target detection page is displayed on the user terminal, so as to avoid the position information confusion problem caused by multiple target objects in the target space being too close to each other, and thus display the position mark of the target object in real time in the target detection page according to the position information, providing visualization services for the user; in this way, the motion trajectory of the target object is updated according to the point cloud data in the target space, so as to accurately obtain the position information of each object according to the motion trajectory, thereby improving the user experience.

[0164] In order to better implement the above method, the embodiment of the present disclosure further provides a target detection device. For example, as shown in FIG7 , the target detection device may include a display unit 401 , an acquisition unit 402 , and a presentation unit 403 .

[0165] Display unit 401, used to display the target detection page;

[0166] An acquiring unit 402 is configured to acquire position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space;

[0167] The display unit 403 is configured to display a position mark corresponding to the target object in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

[0168] In some embodiments, the acquiring unit 402 is further configured to: determine the position information by motion trajectory data of the target object in the target space, wherein the motion trajectory data is obtained by updating a historical motion trajectory associated with a point cloud pair of the target object in the target space.

[0169] In some embodiments, the target detection page includes multiple position marks, each position mark corresponds to a target object, and the target detection device also includes a deletion unit for deleting the position mark corresponding to the target object from the target detection page if the position information of the target object in the target space is not obtained within a preset time period.

[0170] In some embodiments, the target detection page includes an information display page and a monitoring page. The monitoring page is pre-set with a monitoring area for responding to the automation control scheme. The target detection device also includes a trigger unit, which is used to: obtain information display instructions for the monitoring area, and the information display instructions are triggered when any position mark appears in the monitoring area for the first time, or when all position marks leave the monitoring area; based on the information display instructions, the time information of any position mark in the monitoring area is displayed in the information display page, and / or the execution status of the automation control scheme is displayed.

[0171] As can be seen from the above, the disclosed embodiments enable real-time viewing of the target object's position within the target space through the target detection page on the user terminal, recording and displaying the status of automated control services triggered by the target object within the monitoring area of ​​the target space, as well as the time information of the target object within the monitoring area. Point clouds within the target space are detected, and the current position information of the target object is calculated using the point clouds associated with the target object's motion trajectory, thereby improving the accuracy of target object position detection and enhancing the user experience.

[0172] To better implement the above method, the present disclosure further provides a target detection device. For example, as shown in FIG8 , the target detection device may include a detection unit 501 , a query unit 502 , a calculation unit 503 , an extension unit 504 , and a determination unit 505 .

[0173] The detection unit 501 is used to obtain a point cloud data frame corresponding to the target space collected in real time by the detection device, where the point cloud data frame includes at least one point cloud;

[0174] A query unit 502 is configured to query a target motion trajectory associated with a point cloud from the historical motion trajectory based on a distance relationship, where the target motion trajectory is constructed by combining point clouds in one or more frames of historical point cloud data.

[0175] A calculation unit 503 is configured to calculate a target trajectory point of the target motion trajectory using a point cloud that can be associated with the target motion trajectory;

[0176] An extension unit 504 is used to extend the target motion trajectory to the corresponding target trajectory point to obtain motion trajectory data;

[0177] The determining unit 505 is configured to determine the position information of the target object in the target space based on the motion trajectory data.

[0178] In some embodiments, the query unit 502 is further used to: determine a distance relationship based on the distance values ​​between the point cloud and each historical motion trajectory; if a historical motion trajectory with a distance value less than a preset distance threshold is queried based on the distance relationship, the historical motion trajectory with the smallest distance value is determined as the target motion trajectory, and the point cloud is associated with the target motion trajectory.

[0179] In some embodiments, the target detection device also includes a creation unit, which is used to: if no historical motion trajectory that can be associated with the point cloud is queried based on the distance relationship, determine the target data point cloud based on the point cloud that is not associated with the historical motion trajectory in the point cloud data frame, and the number of point clouds contained in the preset distance range of the target data point cloud is the largest; create the target motion trajectory based on the target data point cloud and the point clouds contained in the preset distance range.

[0180] In some embodiments, the point cloud data frame includes a moving point cloud obtained based on a moving target detection method and a stationary point cloud obtained based on a stationary target detection method, and the creation unit is further used to: select a moving point cloud from a point cloud that is not associated with a historical motion trajectory in the point cloud data frame; determine the first point cloud volume corresponding to each moving point cloud, and determine the moving point cloud whose first point cloud volume is greater than a preset moving point quantity threshold as a candidate moving point cloud, and the first point cloud volume is the number of moving point clouds contained in the moving point cloud within its preset range; determine the second point cloud volume of each candidate moving point cloud, and determine the candidate moving point cloud whose second point cloud volume is greater than a preset stationary point quantity threshold as a data point cloud to be confirmed, and the second point cloud volume is the number of stationary point clouds contained in the candidate moving point cloud within its preset range; determine the total point cloud volume of each data point cloud to be confirmed, and determine the data point cloud to be confirmed with the largest total point cloud volume as the target data point cloud, and the total point cloud volume is the sum of the first point cloud volume and the second point cloud volume.

[0181] In some embodiments, the computing unit 503 is further configured to: compute a first predicted trajectory point corresponding to a point cloud associated with a target motion trajectory in a current point cloud data frame using a tracking filtering algorithm; determine a historical target trajectory point of a previous frame from the target motion trajectory, and compute a second predicted trajectory point corresponding to the point cloud based on the historical target trajectory point; and compare the first predicted trajectory point and the second predicted trajectory point according to a preset weight ratio to obtain a target trajectory point of the target motion trajectory.

[0182] In some embodiments, the target detection device also includes a judgment unit, which is used to: obtain multiple frames of point cloud data frames within a preset time, and delete the target motion trajectory if it is detected that the number of frames associated with the target motion trajectory within the preset time is less than a preset frame number threshold; and / or, if it is detected that the frequency of the target motion trajectory being associated with the motion point cloud in the point cloud data frame within the preset time is less than a preset frequency threshold, delete the target motion trajectory, wherein the point cloud data frame includes a motion point cloud obtained based on a motion target detection method and a static point cloud obtained based on a static target detection method.

[0183] In some embodiments, the target detection device further includes a sending unit configured to send the location information to a display terminal, so that the display terminal displays a location mark corresponding to the target object in real time on the target detection page based on the location information.

[0184] From the above, it can be seen that the embodiment of the present disclosure can accurately determine the position information of the target object in the target space based on the motion trajectory data of the target object after the target detection page is displayed on the user terminal, so as to avoid the position information confusion problem caused by multiple target objects in the target space being too close to each other, and thus display the position mark of the target object in real time in the target detection page according to the position information, providing visualization services for the user; in this way, the motion trajectory of the target object is updated according to the point cloud data in the target space, so as to accurately obtain the position information of each object according to the motion trajectory, thereby improving the user experience.

[0185] The present disclosure also provides a computer device, as shown in FIG9 , which shows a schematic diagram of the structure of the computer device involved in the present disclosure embodiment. Specifically:

[0186] The computer device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the computer device structure shown in FIG9 does not limit the computer device, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0187] Processor 601 is the control center of the computer device. It connects all components of the computer device using various interfaces and circuits. It executes software programs and / or modules stored in memory 602 and accesses data stored in memory 602 to perform various computer functions and process data. Optionally, processor 601 may include one or more processing cores. Preferably, processor 601 integrates an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 601.

[0188] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and target detection by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0189] The computer device also includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 603 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0190] The computer device may further include an input unit 604, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0191] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in the embodiment of the present disclosure, the processor 601 in the computer device will load the executable files corresponding to one or more application processes into the memory 602 according to the following instructions, and the processor 601 will run the application stored in the memory 602 to implement various functions as follows:

[0192] Display the target detection page; obtain the position information of the target object in the target space, wherein the position information is determined by the motion trajectory data of the target object in the target space; display the position mark corresponding to the target object in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

[0193] Alternatively, a point cloud data frame corresponding to the target space collected in real time by the detection device is obtained, the point cloud data frame including at least one point cloud; based on the distance relationship, a target motion trajectory associated with the point cloud is queried from the historical motion trajectory, the target motion trajectory being jointly constructed by point clouds in one or more frames of historical point cloud data frames; the target trajectory point of the target motion trajectory is calculated using the point cloud associated with the target motion trajectory; the target motion trajectory is extended to the corresponding target trajectory point to obtain motion trajectory data; and based on the motion trajectory data, the position information of the target object in the target space is determined.

[0194] The specific implementation of the above operations can be found in the previous embodiments and will not be described in detail here.

[0195] It can be concluded that after the target detection page is displayed on the user terminal, this solution can accurately determine the position information of the target object in the target space based on the motion trajectory data of the target object, so as to avoid the position information confusion problem caused by multiple target objects in the target space being too close to each other, and thus display the position mark of the target object in real time in the target detection page according to the position information, providing visualization services for the user; in this way, the motion trajectory of the target object is updated according to the point cloud data in the target space, so as to accurately obtain the position information of each object according to the motion trajectory, thereby improving the user experience.

[0196] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0197] In one embodiment, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of the above-described method embodiments.

[0198] In one embodiment, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When executed by a processor, the computer-readable instructions implement the steps described in the above method embodiments. For specific definitions of the steps, please refer to the definitions of the target detection method in each method embodiment, and will not be repeated here.

[0199] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present disclosure can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

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

[0201] The above-described embodiments merely represent several implementation methods of the present disclosure. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the scope of the present disclosure, all of which fall within the scope of protection of the present disclosure. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A target detection method, performed by a computer device, comprising: Display the target detection page; Acquire position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space; A position mark corresponding to the target object is displayed in real time on the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

2. The method according to claim 1, wherein: The position information is determined by the motion trajectory data of the target object in the target space, including: The position information is determined by motion trajectory data of the target object in the target space, wherein the motion trajectory data is obtained by updating a historical motion trajectory associated with a point cloud pair of the target object in the target space.

3. The method according to claim 1, wherein: The target detection page includes a plurality of position marks, each of which corresponds to a target object. After the position mark corresponding to the target object is displayed in real time on the target detection page, the method further includes: If the position information of the target object in the target space is not obtained within a preset time period, the position mark corresponding to the target object is deleted from the target detection page.

4. The method according to any one of claims 1 to 3, wherein: The target detection page includes an information display page and a monitoring page, wherein a monitoring area for responding to an automation control scheme is pre-set in the monitoring page, and the method further includes: Obtaining an information display instruction for the monitoring area, wherein the information display instruction is triggered when any position marker appears in the monitoring area for the first time, or when all position markers leave the monitoring area; Based on the information display instruction, the time information when any position is marked in the monitoring area is displayed in the information display page, and / or the execution status of the automation control solution is displayed.

5. A target detection method, performed by a computer device, comprising: Acquire a point cloud data frame corresponding to the target space collected in real time by the detection device, wherein the point cloud data frame includes at least one point cloud; According to the distance relationship, a target motion trajectory associated with the point cloud is queried from the historical motion trajectory, wherein the target motion trajectory is jointly constructed by point clouds in one or more frames of historical point cloud data frames; Calculating a target trajectory point of the target motion trajectory using a point cloud that can be associated with the target motion trajectory; Extending the target motion trajectory to a corresponding target trajectory point to obtain motion trajectory data; Based on the motion trajectory data, position information of the target object in the target space is determined.

6. The method according to claim 5, wherein: The step of querying the target motion trajectory associated with the point cloud from the historical motion trajectory based on the distance relationship includes: Determining a distance relationship according to the distance values ​​between the point cloud and each historical motion trajectory; If a historical motion trajectory whose distance value is less than a preset distance threshold is found based on the distance relationship, the historical motion trajectory with the smallest distance value is determined as the target motion trajectory, and the point cloud is associated with the target motion trajectory.

7. The method according to claim 5, wherein: The method further comprises: If no historical motion trajectory associated with the point cloud is found according to the distance relationship, a target data point cloud is determined based on the point cloud not associated with the historical motion trajectory in the point cloud data frame, and the target data point cloud is within the preset distance range. Contains the largest number of point clouds; A target motion trajectory is created based on the target data point cloud and the point clouds contained in the preset distance range.

8. The method according to claim 7, wherein: The point cloud data frame includes a moving point cloud obtained based on a moving target detection method and a stationary point cloud obtained based on a stationary target detection method, and the target data point cloud is determined based on a point cloud not associated with a historical motion trajectory in the point cloud data frame, including: Selecting a motion point cloud from point clouds not associated with a historical motion trajectory in the point cloud data frame; Determine a first point cloud volume corresponding to each of the motion point clouds, and determine a motion point cloud whose first point cloud volume is greater than a preset motion point quantity threshold as a candidate motion point cloud, wherein the first point cloud volume is the quantity of motion point clouds contained in a preset range of the motion point cloud; Determine a second point cloud amount of each candidate moving point cloud, and determine a candidate moving point cloud whose second point cloud amount is greater than a preset static point amount threshold as a data point cloud to be confirmed, wherein the second point cloud amount is the number of static point clouds contained in the preset range of the candidate moving point cloud; The total amount of point clouds of each of the to-be-confirmed data point clouds is determined, and the to-be-confirmed data point cloud with the largest total amount of point clouds is determined as the target data point cloud, wherein the total amount of point clouds is the sum of the first point cloud amount and the second point cloud amount.

9. The method according to any one of claims 5 to 8, wherein: The step of calculating a target trajectory point of the target motion trajectory by using a point cloud that can be associated with the target motion trajectory comprises: Calculate a first predicted trajectory point corresponding to the point cloud associated with the target motion trajectory in the current point cloud data frame by a tracking filtering algorithm; Determine a historical target trajectory point of a previous frame from the target motion trajectory, and calculate a second predicted trajectory point corresponding to the point cloud according to the historical target trajectory point; The first predicted trajectory point and the second predicted trajectory point are calculated according to a preset weight ratio to obtain a target trajectory point of the target motion trajectory.

10. The method according to any one of claims 5 to 8, wherein: The method further comprises: Acquire multiple frames of the point cloud data within a preset time, and if it is detected that the number of frames associated with the target motion trajectory within the preset time is less than a preset frame number threshold, delete the target motion trajectory; And / or, if it is detected that within the preset time, the frequency with which the target motion trajectory is associated with the motion point cloud in the point cloud data frame is less than a preset frequency threshold, the target motion trajectory is deleted, wherein the point cloud data frame includes the motion point cloud obtained based on the motion target detection method and the stationary point cloud obtained based on the stationary target detection method.

11. The method according to any one of claims 5 to 8, wherein: After determining the position information of the target object in the target space based on the target motion trajectory, the method further includes: The position information is sent to a display terminal, so that the display terminal displays a position mark corresponding to the target object in real time in a target detection page based on the position information.

12. A target detection device, wherein: include: A display unit, used for displaying a target detection page; an acquisition unit, configured to acquire position information of a target object in a target space, wherein the position information is determined by motion trajectory data of the target object in the target space; A display unit is used to display a position mark corresponding to the target object in real time in the target detection page, wherein the page position of the position mark is determined based on the position information of the target object in the target space.

13. The device of claim 12, wherein: The target detection page includes a plurality of position marks, each of which corresponds to a target object. The target detection device further includes a deleting unit, which is used to: If the position information of the target object in the target space is not obtained within a preset time period, the position mark corresponding to the target object is deleted from the target detection page.

14. The device according to claim 12 or 13, wherein: The target detection page includes an information display page and a monitoring page. The monitoring page is pre-set with a monitoring area for responding to the automation control scheme. The target detection device also includes a trigger unit for: Obtaining an information display instruction for the monitoring area, wherein the information display instruction is triggered when any position marker appears in the monitoring area for the first time, or when all position markers leave the monitoring area; Based on the information display instruction, the time information when any position is marked in the monitoring area is displayed in the information display page, and / or the execution status of the automation control solution is displayed.

15. A target detection device, wherein: include: A detection unit, used to obtain a point cloud data frame corresponding to the target space collected in real time by the detection device, wherein the point cloud data frame includes at least one point cloud; A query unit, configured to query a target motion trajectory associated with the point cloud from the historical motion trajectory according to the distance relationship, wherein the target motion trajectory is jointly constructed by point clouds in one or more frames of historical point cloud data; a calculation unit, configured to calculate a target trajectory point of the target motion trajectory using a point cloud that can be associated with the target motion trajectory; An extension unit, used for extending the target motion trajectory to a corresponding target trajectory point to obtain motion trajectory data; A determination unit is used to determine the position information of the target object in the target space based on the motion trajectory data.

16. The device of claim 15, wherein: The query unit is further used for: Determining a distance relationship according to the distance values ​​between the point cloud and each historical motion trajectory; If a historical motion trajectory whose distance value is less than a preset distance threshold is found based on the distance relationship, the historical motion trajectory with the smallest distance value is determined as the target motion trajectory, and the point cloud is associated with the target motion trajectory.

17. The device of claim 15, wherein: The target detection device also includes a creation unit, which is used to: If no historical motion trajectory associated with the point cloud is found according to the distance relationship, a target data point cloud is determined based on the point cloud not associated with the historical motion trajectory in the point cloud data frame, and the target data point cloud has the largest number of point clouds within a preset distance range; A target motion trajectory is created based on the target data point cloud and the point clouds contained in the preset distance range.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.

19. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

20. A computer program product comprising computer readable instructions, which when executed by a processor implement the steps of the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Target detection method, device and equipment and computer readable storage medium

    CN118823103A

  • Target labeling processing method and device, electronic equipment and readable storage medium

    CN113870390A

  • Personnel behavior recognition model training method, behavior recognition method and device

    CN115205891A

  • Equipment control method and device, electronic equipment and storage medium

    CN115390468A

  • Indoor personnel detection method, device and equipment based on millimeter wave radar and medium

    CN115542308A

Cited By

  • Regional target tracking method and system based on spatial point cloud, and computer equipment

    CN119494850A