Target tracking method, device, electronic device and computer-readable storage medium

By determining multiple second position points around the first position point and planning a path to avoid obstacles, the problem of high failure rate due to obstacles during robot tracking is solved and the success rate and fluency of tracking are improved.

CN114442674BActive Publication Date: 2024-09-06BEIJING ORION STAR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When the robot is tracking the human body, if the human body is too close to an obstacle, the tracking will fail or be discontinuous, resulting in a high tracking task failure rate.

Method used

By determining multiple second position points around the first position point, using diffusion to increase the surrounding position points, and planning the path to avoid obstacles, ensure that the robot can track normally.

Benefits of technology

It improves the success rate and fluency of robot tracking, avoids tracking interruptions caused by obstacles, and enhances tracking accuracy and continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114442674B
    Figure CN114442674B
Patent Text Reader

Abstract

The present application proposes a target tracking method, device, electronic device and computer-readable storage medium, which relate to the field of navigation and positioning technology, wherein the method comprises: determining a first position point of a target object, and determining at least one second position point located around the first position point, planning a path for a movable device to reach each second position point, determining the second position point where the path planning is successful as the target position point, and controlling the movable device to move to the target position point along the successfully planned path. In the present application, multiple second position points are determined around the first position point, and the surrounding position points are increased by diffusion, so as to ensure that the robot can track normally, thereby improving the success rate and smoothness of continuous tracking, and solving the technical problem in the prior art that the robot is not smooth or even has a high failure rate in following the movement of the human body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of navigation and positioning technology, and in particular to a target tracking method, device, electronic device and computer-readable storage medium. Background Art

[0002] When a robot interacts with a target object, such as a person, an important application is tracking the person to move to a specified location.

[0003] In the related art, when a robot is tracking a human body, if the human body is too close to an obstacle, the robot will consider the human body's location to be unreachable, and terminate the following task, resulting in failure of human body tracking and discontinuity of the tracking task. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the first purpose of the present application is to propose a target tracking method, which determines multiple second position points around a first position point, and increases the surrounding position points by diffusion, thereby ensuring that the robot can track normally, improving the success rate and smoothness of continuous tracking, and solving the technical problems in the prior art that the robot follows the human body's movement process unsmoothly or even has a high failure rate.

[0006] The second objective of this application is to provide a target tracking device.

[0007] The third objective of the present application is to provide an electronic device.

[0008] A fourth object of the present application is to provide a non-transitory computer-readable storage medium.

[0009] To achieve the above-mentioned purpose, the first embodiment of the present application proposes a target tracking method, including:

[0010] Determine a first location point where the target object is located, and determine at least one second location point located around the first location point;

[0011] Planning a path for the movable device to reach each of the second position points, and determining the second position point for which the path planning is successful as the target position point;

[0012] and controlling the movable device to move to the target location point along the successfully planned path. Optionally, as a first possible implementation of the first aspect, determining a plurality of second location points located around the first location point includes:

[0013] The determining of at least one second position point located around the first position point includes:

[0014] obtaining at least one preset distance;

[0015] For each preset distance, determine at least one second position point located around the first position point; wherein the angle between the line between the second position point and the first position point and the reference direction conforms to the at least one preset angle, and the reference direction is the direction of the target object toward the movable device.

[0016] Optionally, as a second possible implementation manner of the first aspect, before determining at least one second position point located around the first position point, the method further includes:

[0017] It is determined that path planning for the movable device to reach the first location point fails.

[0018] Optionally, as a third possible implementation manner of the first aspect, planning a path for the movable device to reach each second location point includes:

[0019] Acquire the position and posture of the movable device, and acquire the position information between the movable device and each of the second position points;

[0020] Determine the posture corresponding to the second position point according to the posture of the movable device and the position information between the movable device and each of the second position points;

[0021] According to the positions and postures corresponding to the second position points, paths for the movable device to reach each of the second position points are planned in sequence.

[0022] Optionally, as a fourth possible implementation manner of the first aspect, before planning a path for the movable device to reach each second location point, the method further includes:

[0023] determining a relative distance between each of the second position points and the movable device according to the position information between the movable device and each of the second position points;

[0024] The second position points are sorted in sequence according to the relative distance.

[0025] Optionally, as a fifth possible implementation manner of the first aspect, the acquiring the location information between the movable device and each of the second location points includes:

[0026] The position information between the movable device and each of the second position points is determined based on the position information between the movable device and the first position point, and the preset distance and the preset angle between each of the second position points and the first position point.

[0027] To achieve the above-mentioned purpose, the second aspect of the present application provides a target tracking device, including:

[0028] A first determination module, used to determine a first location point where the target object is located, and to determine at least one second location point located around the first location point;

[0029] A path planning module, used for planning a path for the movable device to reach each of the second position points, and determining the second position point where the path planning is successful as the target position point;

[0030] The control module is used to control the movable device to move to the target location point along the successfully planned path.

[0031] Optionally, as a first possible implementation manner of the second aspect,

[0032] The first determination module is specifically used for:

[0033] Acquire at least one preset distance; for each preset distance, determine at least one second position point located around the first position point; wherein the angle between the line between the second position point and the first position point and the reference direction conforms to the at least one preset angle, and the reference direction is the direction of the target object toward the movable device.

[0034] Optionally, as a second possible implementation manner of the second aspect,

[0035] The device also includes:

[0036] The second determination module is used to determine that the path planning of the movable device to reach the first location point fails, and trigger the first determination module to determine at least one second location point located around the first location point.

[0037] Optionally, as a third possible implementation manner of the second aspect,

[0038] The path planning module is specifically used for:

[0039] Acquire the position and posture of the movable device, and acquire the position information between the movable device and each of the second position points;

[0040] Determine the posture corresponding to the second position point according to the posture of the movable device and the position information between the movable device and each of the second position points;

[0041] According to the positions and postures corresponding to the second position points, paths for the movable device to reach each of the second position points are planned in sequence.

[0042] Optionally, as a fourth possible implementation manner of the second aspect, the path planning module is further configured to:

[0043] determining a relative distance between each of the second position points and the movable device according to the position information between the movable device and each of the second position points;

[0044] The second position points are sorted in sequence according to the relative distance.

[0045] Optionally, as a fifth possible implementation manner of the second aspect, the path planning module is further configured to:

[0046] The position information between the movable device and each of the second position points is determined based on the position information between the movable device and the first position point, and the preset distance and the preset angle between each of the second position points and the first position point.

[0047] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the target tracking method as described in the first aspect is implemented.

[0048] To achieve the above-mentioned purpose, the fourth aspect of the present application proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the target tracking method described in the first aspect is implemented.

[0049] The technical solution provided in the embodiments of the present application may have the following beneficial effects:

[0050] Determine a first position point of the target object and at least one second position point located around the first position point, plan a path for the movable device to reach each second position point, determine the second position point where the path planning is successful as the target position point, and control the movable device to move to the target position point along the successfully planned path. In the present application, multiple second position points are determined around the first position point, and the surrounding position points are increased by diffusion to ensure that the robot can track normally, thereby improving the success rate and fluency of continuous tracking.

[0051] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0053] Figure 1 A flowchart of a target tracking method provided in an embodiment of the present application;

[0054] Figure 2 A flowchart of another target tracking method provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of the position of a second position point provided in an embodiment of the present application;

[0056] Figure 4 A flowchart of another target tracking method provided in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of the structure of a target tracking device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0059] The target tracking method, device, electronic device, and computer-readable storage medium of the embodiments of the present application are described below with reference to the accompanying drawings.

[0060] Figure 1 A flowchart of a target tracking method provided in an embodiment of the present application.

[0061] like Figure 1 As shown, the method comprises the following steps:

[0062] Step 101: determine a first location point where a target object is located, and determine at least one second location point located around the first location point.

[0063] The execution subject of this embodiment is a target tracking device, which can be configured in any movable device, such as a robot, to achieve tracking of the target object.

[0064] The target object is an object tracked by the movable device, such as a human body, an animal, or other movable devices (such as a specific float), etc., which is not limited in this embodiment.

[0065] In one implementation of this embodiment, a laser radar, a depth sensor and an image sensor are provided in a movable device, a point cloud image measured by the laser radar is obtained, a depth image measured by the depth sensor is obtained, a first target area is extracted from the point cloud image, and a second target area is extracted from the depth image, wherein the first target area and the second target area detect the same object as the region of interest in the synchronously acquired visual image, wherein the region of interest refers to the region in the visual image containing the target object, for example, if the target object is a human body, then the region of interest is the region containing the human body. As a possible implementation, the visual image is detected to determine the region of interest, for example, the region of interest is determined from the image by using a target detection algorithm (Single Shot MultiBox Detector, referred to as SSD) or a target detection algorithm (You Only Look Once, referred to as YOLO). Furthermore, based on the first positioning information carried by the first target area, the first observation position of the target object is determined, and based on the second positioning information carried by the second target area, the second observation position of the target object is determined. According to the historical motion state of the target object, an iterative correction process is performed on any one of the first observation position and the second observation position, and the historical motion state is updated according to the position obtained by the iterative correction process. Furthermore, based on the updated historical motion state, an iterative correction process is performed on the other of the first observation position and the second observation position to obtain the first position point of the target object. In the process of iterative correction, the fusion of multiple time-unsynchronized sensor measurement data is realized, and the accuracy of determining the first position point of the target object is improved after the fusion.

[0066] As another possible implementation method, the movable device is provided with a laser radar, an angle sensor, etc., and the relative distance between the target object to be tracked and the movable device can be determined according to the laser radar, the relative angle between the target object and the movable device can be determined according to the angle sensor, and the current position information of the movable device can be determined according to the positioning device of the movable device. Based on the current position information of the movable device, and the relative distance and relative angle between the movable device and the target object, the first position point of the target object is determined.

[0067] Furthermore, in the present embodiment, based on the first position point, a plurality of second position points are determined within a set area around the first position point. Since the distances between the plurality of second position points and the first position point are within the preset distance, the distance of the obstacle identified and detected at the first position point is within the preset distance. That is to say, when the distance between the first position point and the obstacle is too close to continue tracking, the movable device can be controlled to use one of the plurality of second position points as the navigation tracking position, and track the corresponding second position point from the current position of the movable device. This avoids the problem of stopping tracking when it is identified that the first position point cannot be tracked, resulting in a problem of poor tracking or even failure. This allows the device to continue tracking after avoiding the obstacles when encountering temporary obstacles or in corners, thereby improving the accuracy and smoothness of target object tracking.

[0068] Step 102, planning the path for the movable device to reach each second position point, and determining the second position point for which the path planning is successful as the target position point.

[0069] In a possible implementation of the present embodiment, for multiple second position points, the multiple second position points are randomly numbered, and the paths to each second position point are planned in ascending order of the numbers. For example, path navigation planning is performed through a dynamic planning algorithm until the path planning to one of the second position points is successful, that is, the corresponding second position point is not above an obstacle, or the distance from the obstacle is a preset distance, then it is determined that the path planning corresponding to the corresponding second position point is successful, and the second position point for which the path planning is successful is used as the target position point.

[0070] In another possible implementation of this embodiment, for multiple second position points, the position information between the multiple second position points and the movable device is determined, and the multiple second position points are sorted in order according to the relative distance in the position information, for example, in order of relative distance from small to large, that is, the closer the second position point is to the movable device, the higher the ranking. According to the sorting, the path to each second position point is planned, for example, path navigation planning is performed through a dynamic planning algorithm, until the path planning to one of the second position points is successful, that is, the corresponding second position point is not above an obstacle, or the distance from the obstacle is a preset distance, then it is determined that the path planning corresponding to the corresponding second position point is successful, and the second position point with successful path planning is used as the target position point.

[0071] In another possible implementation of the present embodiment, with respect to multiple second position points, one second position point is randomly selected, and a path to the second position point is planned. If successful, it is determined as the target position point. If unsuccessful, another second position point is randomly selected from the remaining second position points, and a path to the second position point is planned until the path planning for one of the second position points is successful.

[0072] This embodiment does not limit the specific implementation scheme for planning the path for the movable device to reach each of the second location points.

[0073] Step 103: Control the movable device to move to the target location point along the successfully planned path.

[0074] Furthermore, the movable device is controlled to move to the target location point along the successfully planned path to track the target object, thereby reaching the periphery of the first location point where the target object is located, thereby achieving tracking of the target object and improving tracking accuracy and process.

[0075] In the specific implementation process, if the path planning of the movable device to each second position point fails, other position points around the first position point can be determined as the second position points, and steps 102 and 103 are performed until the path planning of one of the second position points succeeds. If the path planning of the second position points determined for a set number of times or the second position points determined within a set time period fails, the tracking of the target object is abandoned, and the target object can also be prompted by voice.

[0076] In the target tracking method of the embodiment of the present application, a first position point of the target object is determined, and at least one second position point located around the first position point is determined, a path for a movable device to reach each second position point is planned, the second position point for which the path planning is successful is determined as the target position point, and the movable device is controlled to move to the target position point along the successfully planned path. In the present application, multiple second position points are determined around the first position point, and the surrounding position points are increased by diffusion, so as to ensure that the robot can track normally, thereby improving the success rate and fluency of continuous tracking.

[0077] In a possible implementation manner of the embodiment of the present application, before determining at least one second location point located around the first location point, it also includes: determining that path planning of the movable device to reach the first location point fails.

[0078] In this embodiment, after determining the first position point of the target object, path planning is first performed on the first position point of the target object. If the path planning is successful, the robot directly moves to the first position point according to the planned path. If the path planning is unsuccessful, it means that the first position point of the determined target object is close to the obstacle, or coincides with the position point of the obstacle, and the first position point cannot be reached. In this way, at least one second position point located around the first position point is determined, so as to increase the surrounding position points by diffusion, thereby ensuring that the robot can track normally and improving the success rate and fluency of continuous tracking.

[0079] This embodiment does not limit the specific implementation scheme for planning the path for the movable device to reach the first location point.

[0080] Based on the above embodiments, this embodiment provides an implementation method, which specifically describes how to determine multiple second position points around a first position point to increase the success rate and fluency of target object tracking.

[0081] like Figure 2 As shown, the above step 101 may include the following steps:

[0082] Step 201: Obtain at least one preset distance.

[0083] The at least one preset distance may be one or more preset distances, and in this embodiment, four preset distances are used as an example for illustration. For example, the four preset distances are 0.1 m, 0.2 m, 0.3 m, and 0.4 m, respectively. The specific value of the preset distance is not limited in this embodiment.

[0084] Step 202: for each preset distance, determine at least one second location point located around the first location point.

[0085] As an implementation method, taking the preset distance of 0.1 meters as an example, with the first position point as the center of the circle and the preset distance of 0.1 meters as the radius, the area corresponding to the edge of the circle is determined, and the area corresponding to the edge of the circle is used as the set area located around the first position point.

[0086] As another possible implementation method, taking the preset distance of 0.1 meter as an example, the deviation threshold is plus or minus a meters, and the first position point is taken as the center of the circle, with the preset distance of 0.1+a meters and the preset distance of 0.1-a meters as the radii, respectively, to determine two circles, and use the corresponding edges of the two circles and the enclosed area as the set area located around the first position point.

[0087] Furthermore, at least one second position point located around the first position point is determined in the set area, wherein the angle between the connecting line between the plurality of second position points and the first position point and the reference direction meets at least one preset angle, and the reference direction is set as the direction of the target object toward the movable device.

[0088] There are one or more preset angles, so that a plurality of second position points can be determined in the set area.

[0089] For example, Figure 3 A schematic diagram of the position of the second position point provided in this embodiment, such as Figure 3 As shown in the figure, point P is the first position point of the determined target object, and the reference direction is set as the direction of the target object toward the movable device, that is, the direction corresponding to the line connecting point P and point R where the movable device is located is the positive direction. The movable device takes the preset distance r as the radius, and the set area around the first position point is determined as Figure 3 In the area corresponding to the edge of the semicircle shown in , in the set area corresponding to the edge of the semicircle, according to the preset angles of 0 degrees, 45 degrees, 90 degrees, -45 degrees and -90 degrees with the set reference direction, multiple second position points are determined on the semicircle, namely P3, P2, P1, P4 and P5. Furthermore, according to the set 4 preset distances, a total of 20 second position points can be determined, and multiple second position points are diffused around the first position point. By adding multiple second position points, in scenes such as temporary obstacles and corners, it is possible to avoid obstacles and continue to track, thereby improving the success rate of tracking.

[0090] It should be noted that there may be multiple set areas determined in this embodiment. In other set areas, the method, principle and Figure 3 The principle of the method for determining multiple second position points shown in is the same as that shown in , and will not be repeated here.

[0091] Similarly, at least one second position point around the first position point corresponding to other preset distances may be determined.

[0092] In the target tracking method of the present embodiment, based on the first position point where the target object is located, at least one second position point located around the first position point is determined according to at least one preset distance, and within the set area, multiple second position points whose angles with the set reference direction meet at least one preset angle are determined. This achieves the diffusion of at least one second position point around the first position point where the target object is located, avoids the situation where the first position point cannot be reached, and provides at least one trackable second position point around the target object, thereby improving the consistency of target object tracking and the success rate of tracking.

[0093] Based on the above embodiments, this embodiment provides an implementation method, which specifically describes how to plan the paths to reach each second location point in sequence.

[0094] like Figure 4 As shown, the above step 102 may include the following steps:

[0095] Step 401, obtaining the position and posture of the movable device, and obtaining the position information between the movable device and each second position point.

[0096] In this embodiment, a positioning device is provided in the movable device. In the positioning state, the posture of the movable device can be obtained, wherein the posture of the movable device includes the position of the movable device in the map coordinate system and the orientation of the movable device, so that the posture R of the movable device can be expressed as R(x, y, theta), wherein theta is θ.

[0097] The location information includes the relative distance and relative angle between the movable device and each second location point. For each second location point, the relative distance refers to the distance between the movable device and the second location point; the relative angle refers to the angle between the direction indicated by the movable device and the second location point.

[0098] The position information between the movable device and each second position point is determined, as a possible implementation method, based on the position information between the movable device and the first position point, and the preset distance and preset angle between each second position point and the first position point. Specifically, the position information between the movable device and each second position point, that is, the relative distance and relative angle, can be determined based on a trigonometric function formula. For example, Figure 3 As shown in , the distance S indicates the relative distance between the second position point P3 and the movable device, and the angle 2 indicates the relative angle α between the orientation of the movable device and the second position point P3.

[0099] Step 402: Determine the posture corresponding to the second position point according to the posture of the movable device and the position information between the movable device and each second position point.

[0100] In this embodiment, taking the second position point P3 as an example, the posture P(x, y, t) corresponding to the second position point P3 is determined, that is, each parameter Px, Py, Pt is determined.

[0101] Specifically, the following formula can be used:

[0102] The parameters corresponding to the current posture of the movable device are expressed as: Rx, Ry, Rt.

[0103] p t =R t -(π*α) / 180;

[0104] p x =(R x +s)Math.cos(p t );

[0105] p y =(R y +s)Math.sin(p t ), where Math represents the cosine function in the code formula.

[0106] Similarly, the position and posture corresponding to each second position point can be determined.

[0107] It should be noted that the posture of the second position point includes parameters Px and Py for indicating the position information of the second position point in the map coordinate system, and also includes a parameter Pt for indicating the orientation of the second position point, wherein Pt is used to determine the orientation of the movable device at the corresponding second position point. When path planning is subsequently performed according to the posture of the second position point, the orientation of the movable device at the second position point can be determined when the movable device moves to the second position point. The determined orientation of the movable device at the second position point can allow the target object to be within the field of view of the camera of the movable device, so that the movable device can continue to follow the target object.

[0108] Step 403: Determine the relative distance between each second location point and the movable device according to the location information between the movable device and each second location point.

[0109] Step 404: sort the plurality of second position points in sequence according to the relative distances.

[0110] When there are multiple second position points, in this embodiment, the relative position information between the movable device and each second position point includes the relative distance between each second position point and the movable device. According to the size of the relative distance, the multiple second position points can be sorted in sequence. The sequence can be sorted from small to large according to the relative distance, or from large to small according to the relative distance.

[0111] Step 405 , planning paths to reach each second position point in sequence according to the positions and postures corresponding to the second position points.

[0112] In this embodiment, a dynamic programming algorithm is used according to the postures corresponding to multiple second position points to sequentially plan the paths to each second position point. When it is determined that the path corresponding to a second position point is not on an obstacle, or is at a preset safety distance from the obstacle, the second position point is considered to be a reachable position point, and the path planning is successful.

[0113] In the target tracking method of the embodiment of the present application, the postures corresponding to multiple second position points are determined based on the posture and position information of the movable device, and the multiple second position points are sequentially sorted based on the relative distance determined by the position information between each second position point and the movable device. Then, based on the postures corresponding to the multiple second position points, the paths to reach each second position point are planned in sequence to determine a trackable second position point so that the movable device can navigate to the second position point, thereby realizing target tracking and improving the success rate and continuity of target tracking.

[0114] In order to implement the above embodiment, the present application also proposes a target tracking device.

[0115] Figure 5 A schematic diagram of the structure of a target tracking device provided in an embodiment of the present application.

[0116] like Figure 5 As shown, the device includes: a first determination module 51, a path planning module 52 and a control module 53.

[0117] A first determination module 51 is used to determine a first location point where the target object is located, and to determine at least one second location point located around the first location point;

[0118] A path planning module 52, used for planning the path for the movable device to reach each second position point, and determining the second position point where the path planning is successful as the target position point;

[0119] The control module 53 is used to control the movable device to move to the target location point along the successfully planned path.

[0120] Furthermore, in a possible implementation of the embodiment of the present application, the first determining module 51 is specifically configured to:

[0121] Acquire at least one preset distance; for each preset distance, determine at least one second position point located around the first position point; wherein the angle between the line between the second position point and the first position point and the reference direction conforms to the at least one preset angle, and the reference direction is the direction of the target object toward the movable device.

[0122] In a possible implementation manner of the embodiment of the present application, the device also includes a second determination module.

[0123] The second determination module is used to determine that the path planning of the movable device to reach the first location point fails, and trigger the first determination module to determine at least one second location point located around the first location point.

[0124] In a possible implementation of the embodiment of the present application, the path planning module 52 is specifically used to:

[0125] Acquire the posture of the movable device, and acquire the position information between the movable device and each of the second position points; determine the posture corresponding to the second position points according to the posture of the movable device and the position information between the movable device and each of the second position points; and sequentially plan the path for the movable device to reach each of the second position points according to the posture corresponding to the second position points.

[0126] In a possible implementation of the embodiment of the present application, the path planning module 52 is further configured to:

[0127] determining a relative distance between each of the second position points and the movable device according to the position information between the movable device and each of the second position points;

[0128] The corresponding second position points are sorted in sequence according to the relative distances.

[0129] In a possible implementation of the embodiment of the present application, the path planning module 52 is further configured to:

[0130] The position information between the movable device and each of the second position points is determined based on the position information between the movable device and the first position point, and the preset distance and the preset angle between each of the second position points and the first position point.

[0131] It should be noted that the aforementioned explanation of the target tracking method embodiment is also applicable to the target tracking device of this embodiment, and will not be repeated here.

[0132] The target tracking device of the embodiment of the present application determines a first position point of the target object and at least one second position point located around the first position point, plans a path for a movable device to reach each second position point, determines the second position point for which the path planning is successful as the target position point, and controls the movable device to move to the target position point along the successfully planned path. In the present application, multiple second position points are determined around the first position point, and the surrounding position points are increased by diffusion to ensure that the robot can track normally, thereby improving the success rate and fluency of continuous tracking.

[0133] In order to implement the above embodiments, the present application also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the target tracking method as described in the above method embodiments is implemented.

[0134] The electronic device proposed in this application can be, but is not limited to, a robot.

[0135] In order to implement the above embodiments, the present application also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the target tracking method described in the above method embodiment is implemented.

[0136] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0137] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0138] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0139] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0140] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0141] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0142] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0143] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A target tracking method, It is characterized in that The method comprises: Determine a first location point where the target object is located, determine at least one second location point located around the first location point after determining that a path planning of the movable device to reach the first location point fails: obtaining at least one preset distance; For each preset distance, determining at least one second position point located around the first position point; wherein the angle between a line connecting the second position point and the first position point and a reference direction meets the at least one preset angle, and the reference direction is the direction of the target object toward the movable device; Planning a path for the movable device to reach each of the second position points, and determining the second position point for which the path planning is successful as the target position point; The movable device is controlled to move to the target location point along the successfully planned path.

2. The target tracking method according to claim 1, It is characterized in that The planning of the path for the movable device to reach each of the second location points includes: Acquire the position and posture of the movable device, and acquire the position information between the movable device and each of the second position points; Determine the posture corresponding to the second position point according to the posture of the movable device and the position information between the movable device and each of the second position points; According to the positions and postures corresponding to the second position points, paths for the movable device to reach each of the second position points are planned in sequence.

3. The target tracking method according to claim 2, It is characterized in that Before planning the path for the movable device to reach each second location point, the method further includes: determining a relative distance between each of the second position points and the movable device according to the position information between the movable device and each of the second position points; The second position points are sorted in sequence according to the relative distance.

4. The target tracking method according to claim 2, It is characterized in that The acquiring the location information between the movable device and each of the second location points includes: The position information between the movable device and each of the second position points is determined based on the position information between the movable device and the first position point, and the preset distance and the preset angle between each of the second position points and the first position point.

5. A target tracking device, It is characterized in that The device comprises: A first determination module, used to determine a first location point where the target object is located; A second determination module is configured to determine at least one second location point located around the first location point after determining that the path planning of the movable device to reach the first location point fails: obtaining at least one preset distance; For each preset distance, determining at least one second position point located around the first position point; wherein the angle between a line connecting the second position point and the first position point and a reference direction meets the at least one preset angle, and the reference direction is the direction of the target object toward the movable device; A path planning module, used for planning a path for the movable device to reach each of the second position points, and determining the second position point where the path planning is successful as the target position point; The control module is used to control the movable device to move to the target location point along the successfully planned path.

6. The target tracking device according to claim 5, It is characterized in that The path planning module is specifically used for: Acquire the position and posture of the movable device, and acquire the position information between the movable device and each of the second position points; Determine the posture corresponding to the second position point according to the posture of the movable device and the position information between the movable device and each of the second position points; According to the positions and postures corresponding to the second position points, paths for the movable device to reach each of the second position points are planned in sequence.

7. The target tracking device according to claim 6, It is characterized in that The path planning module is further specifically used for: determining a relative distance between each of the second position points and the movable device according to the position information between the movable device and each of the second position points; The second position points are sorted in sequence according to the relative distance.

8. The target tracking device according to claim 6, It is characterized in that The path planning module is further specifically used for: The position information between the movable device and each of the second position points is determined based on the position information between the movable device and the first position point, and the preset distance and the preset angle between each of the second position points and the first position point.

9. An electronic device, It is characterized in that The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the target tracking method as claimed in any one of claims 1 to 4 is implemented.

10. A non-transitory computer-readable storage medium having stored thereon a computer program, It is characterized in that When the program is executed by a processor, the target tracking method as described in any one of claims 1 to 4 is implemented.