Accurate positioning method and device for close-range target and terminal equipment
By using the prior information of historical frame point cloud data in autonomous vehicles to perform initial range division, plane estimation and optimal envelope rectangle calculation of target point cloud data, the problem of low accuracy of short-range target positioning is solved and achieved Centimeter level positioning accuracy.
Patent Information
- Application Number
- CN202310462059.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-29
AI Technical Summary
In the accurate positioning of short-range targets with existing technology, conventional point cloud clustering methods are difficult to achieve high-precision point cloud segmentation, resulting in low target positioning accuracy.
By obtaining the target positioning information in the historical frame point cloud data, the initial range of the current frame point cloud data is divided, plane estimation, point cloud interception and projection are performed, and the optimal envelope rectangle is calculated to obtain the target's position and direction information.
Centimeter-level target positioning accuracy is achieved, ensuring that mobile intelligent subjects such as self-driving vehicles can accurately perform tasks.
Smart Images

Figure CN118864584A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and specifically to a method, device and terminal equipment for accurately positioning a close-range target. Background Art
[0002] The target positioning problem is one of the important problems faced by mobile intelligent entities (including mobile robots, autonomous vehicles, etc.). The accuracy of target positioning will have a decisive impact on subsequent path planning, decision-making and control. For example, if the autonomous driving trailers at the airport and the unmanned forklifts at the factory want to perform their tasks accurately, they must accurately obtain the position and direction of the target; for autonomous driving vehicles in general scenarios, accurately perceiving the targets in the environment is a prerequisite for safe driving.
[0003] At present, some solutions use point cloud clustering algorithms for accurate positioning of close-range targets. However, for multiple targets that are close to each other, conventional point cloud clustering methods are difficult to achieve high-precision point cloud segmentation, resulting in low target positioning accuracy. Summary of the invention
[0004] In view of the deficiencies in the above-mentioned prior art, the present invention provides a method, device and terminal device for accurately positioning close-range targets, which can enable mobile robots, self-driving vehicles and other mobile intelligent entities to achieve centimeter-level positioning in scenarios with high requirements for positioning accuracy, obtain the precise position and direction of the target, and thus accurately perform tasks.
[0005] To achieve the above object, the present invention provides a method for accurately locating a close-range target, comprising the following steps:
[0006] Step 1, obtaining the current frame point cloud data, and dividing the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data, to obtain the initial range point cloud data;
[0007] Step 2, performing plane estimation based on the initial range point cloud data to obtain the tail plane P1 and the top plane P2 of the target;
[0008] Step 3, based on the tail plane P1 and the top plane P2, further intercepting the initial range point cloud data to obtain target point cloud data;
[0009] Step 4, projecting the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data, and calculating the optimal envelope rectangle of the plane point cloud data;
[0010] Step 5, taking the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system as the direction information of the target and outputting them, thus completing the precise positioning of the close-range target.
[0011] In one embodiment, in step 1, the initial range of the target in the current frame point cloud data is divided according to the positioning information of the target in the historical frame point cloud data, specifically:
[0012] Projecting the positioning information of the target in at least one historical frame point cloud data to the current frame point cloud data to obtain a local point cloud range corresponding to the positioning information of the target in the historical frame point cloud data;
[0013] The local point cloud ranges are combined to obtain a union, and a margin is added along the width direction and the height direction of the target on the basis of the union, so as to obtain the initial range of the target in the current frame point cloud data.
[0014] In one embodiment, step 2 is specifically:
[0015] Performing plane estimation on the initial range point cloud data to obtain two planes;
[0016] Of the two planes, the plane whose normal vector is approximately parallel to the ground is determined as the tail plane P1 of the target, and the plane whose normal vector is approximately perpendicular to the ground is determined as the top plane P2 of the target.
[0017] In one of the embodiments, a RANSAC algorithm is used to perform plane estimation on the initial range point cloud data.
[0018] In one embodiment, in step 3, further intercepting the target point cloud data from the initial range point cloud data is specifically:
[0019] In the initial range point cloud data, a point cloud within a certain range is intercepted along the normal vector direction of the tail plane P1, and the distance from each point in the intercepted range to the tail plane P1 is less than L and lower than the top plane P2. The point cloud covered by the intercepted range is the target point cloud data.
[0020] In one embodiment, in step 4, the calculating of the optimal envelope rectangle of the planar point cloud data is specifically:
[0021] The coordinates of the bottom midpoint of the target optimal envelope rectangle in the previous frame of point cloud data and the target width are used as initial constraints, and the objective function is established by maximizing the number of points in the envelope rectangle and minimizing the area of the blank area. The optimal envelope rectangle of the plane point cloud data is obtained by iterative optimization.
[0022] In one embodiment, the objective function is:
[0023]
[0024] Among them, f(w,x,y) is the objective function, w is the width of the envelope rectangle to be optimized during the optimization process, (x,y) is the coordinate of the midpoint of the bottom edge of the envelope rectangle to be optimized during the optimization process, that is, (w,x,y) is the envelope rectangle in the optimization process, N in is the number of points inside the envelope rectangle (w, x, y), N is the number of points inside the target optimal envelope rectangle in the previous frame of point cloud data, w temp is the width of the minimum envelope circle of the internal point of the envelope rectangle (w, x, y), w0 is the width of the optimal envelope rectangle of the target in the previous frame of point cloud data;
[0025] During the iterative optimization process, w, x, and y are searched respectively in the search ranges [w0-Δw, w0+Δw], [x0-Δx, x0+Δx], and [y0-Δy, y0+Δy] to minimize the objective function, that is, to obtain the optimal envelope rectangle of the plane point cloud data, wherein (x0, y0) are the coordinates of the midpoint of the bottom edge of the target optimal envelope rectangle in the previous frame of point cloud data, and Δw, Δx, and Δy are the preset search accuracies.
[0026] In one embodiment, the precise positioning method further includes:
[0027] Step 6: Use a matching algorithm to track the midpoint of the bottom edge of the optimal envelope rectangle in the continuous multi-frame point cloud data, track the target in the continuous frame point cloud data, and match it to the tracking queue of the corresponding target.
[0028] To achieve the above object, the present invention further provides a device for accurately positioning a close-range target, which uses the above method to accurately position a close-range target. The device comprises:
[0029] A point cloud acquisition unit, used to acquire point cloud data of the current frame;
[0030] A point cloud division unit is used to divide the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data to obtain the initial range point cloud data;
[0031] A plane estimation unit, used for performing plane estimation on the initial range point cloud data to obtain a tail plane P1 and a top plane P2 of the target;
[0032] A point cloud interception unit, used for further intercepting target point cloud data from the initial range point cloud data according to the tail plane P1 and the top plane P2;
[0033] A point cloud projection unit, used for projecting the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data;
[0034] A rectangle calculation unit, used to calculate the optimal envelope rectangle of the plane point cloud data;
[0035] The target positioning unit is used to use the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system as the direction information of the target and output them.
[0036] To achieve the above object, the present invention further provides a terminal device, which is a computer, an unmanned vehicle, an unmanned aerial vehicle, an unmanned driving device or a mobile robot, and is provided with:
[0037] Memory, used to store programs;
[0038] A processor is used to execute the program stored in the memory. When the program is executed, the processor is used to execute part or all of the steps of the above method.
[0039] Compared with the prior art, the present invention has the following beneficial technical effects:
[0040] The present invention provides a method, device and terminal device for accurately positioning close-range targets. By using the target position and direction in the historical frame point cloud data as prior knowledge, the target point cloud within a certain range in the current frame point cloud data is intercepted, and the target position in the historical frame point cloud data is used as a constraint to estimate the optimal envelope rectangle of the target. The coordinates of the midpoint of the bottom edge of the optimal envelope rectangle are used as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal envelope rectangle and the positive direction of the Y axis of the intelligent subject coordinate system is used as the direction information of the target. This enables mobile robots, self-driving vehicles and other mobile intelligent subjects to achieve centimeter-level positioning, obtain the precise position and direction of the target, and thus accurately perform tasks. As for why centimeter-level positioning can be achieved, the main reasons are as follows:
[0041] (1) The positioning method of the present invention does not use a clustering algorithm to extract targets in the point cloud, but uses certain prior information and a multi-frame fusion method to ensure the accuracy of the extracted target point cloud;
[0042] (2) The estimated target bounding box is optimized to further improve the accuracy of target positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0044] Figure 1 This is a flow chart of the precise positioning method in Embodiment 1 of the present invention;
[0045] Figure 2 Schematic diagram of plane estimation in Embodiment 1 of the present invention;
[0046] Figure 3 is a schematic diagram of an optimal envelope rectangle in Example 1 of the present invention;
[0047] Figure 4 is a structural block diagram of a precise positioning device in Embodiment 2 of the present invention;
[0048] Figure 5 This is a structural block diagram of the terminal device in Example 3 of the present invention.
[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0052] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0053] Example 1
[0054] The present embodiment discloses a method for accurately positioning a close-range target. During the recognition process, the target is identified as a rectangle. The point cloud in the point cloud data is divided, intercepted and projected, and the optimal envelope rectangle in the point cloud data is obtained by optimization calculation. The coordinates of the midpoint of the bottom edge of the optimal envelope rectangle are used as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal envelope rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system is used as the direction information of the target, thereby completing the accurate positioning of the close-range target.
[0055] For example, when a mobile robot, self-driving vehicle or other mobile intelligent subject is driving automatically in an industrial park, a laser radar is mounted on the mobile intelligent subject, and the emission direction of the laser radar is oriented toward the driving direction of the mobile intelligent subject, so that the target in front of the mobile intelligent subject (such as self-driving trailers, unmanned forklifts and other mobile intelligent subjects) is located in the field of view of the laser radar. When accurately positioning the target, the target position and direction in the historical frame point cloud data are used as prior knowledge, the target point cloud within a certain range in the current frame point cloud data is intercepted, and the target position in the historical frame point cloud data is used as a constraint to estimate the optimal envelope rectangle of the target, and then the coordinates of the midpoint of the bottom edge of the optimal envelope rectangle are used as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal envelope rectangle and the positive direction of the Y axis of the intelligent subject coordinate system is used as the direction information of the target, so that mobile robots, self-driving vehicles and other mobile intelligent subjects can achieve centimeter-level positioning, obtain the precise position and direction of the target, and thus accurately perform tasks.
[0056] In this embodiment, the XOY plane of the intelligent subject coordinate system coincides with the ground plane, the positive direction of the X axis is to the right, the positive direction of the Y axis is forward, and the positive direction of the Z axis is upward.
[0057] refer to Figure 1 In this embodiment, the method for accurately locating a close-range target specifically includes the following steps:
[0058] Step 1, obtaining the current frame point cloud data, and dividing the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data, to obtain the initial range point cloud data;
[0059] Step 2: perform plane estimation based on the initial range point cloud data to obtain the tail plane P1 and the top plane P2 of the target;
[0060] Step 3, based on the tail plane P1 and the top plane P2, further intercept the initial range point cloud data to obtain the target point cloud data;
[0061] Step 4, projecting the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data, and calculating the optimal envelope rectangle of the plane point cloud data;
[0062] Step 5: The coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle are used as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system is used as the direction information of the target and output, thereby completing the precise positioning of the close-range target.
[0063] In this embodiment, the positioning information of the target in the historical frame point cloud data includes the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle of the historical frame point cloud data, the target width (i.e., the rectangle width), and the target direction angle (i.e., the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y axis of the intelligent subject coordinate system). Therefore, the process of dividing the initial range of the target in the current frame point cloud data in step 1 is specifically as follows:
[0064] Projecting the positioning information of the target in at least one historical frame point cloud data to the current frame point cloud data to obtain a local point cloud range corresponding to the positioning information of the target in the historical frame point cloud data;
[0065] The ranges of each local point cloud are taken as a union, and on the basis of the union, a margin (for example, 0.2 meters) is added along the width and height directions of the target to obtain the initial range of the target in the current frame point cloud data.
[0066] refer to Figure 2 , the specific implementation process of step 2 is:
[0067] Use the RANSAC (Random Sample Concensus) algorithm or other plane estimation algorithms to perform plane estimation on the initial range point cloud data to obtain two planes;
[0068] In two planes, if the acute angle between its normal vector and the z-axis of the intelligent subject coordinate system is less than a top (e.g. 10 degrees), the plane is determined to be the top plane P2; if the acute angle between the normal vector and the z-axis of the intelligent subject coordinate system is greater than a rear (e.g. 80 degrees), the plane is determined to be the tail plane P1.
[0069] As for using the RANSAC algorithm to estimate a plane in a point cloud, it is a conventional method in the field, so this embodiment will not be described in detail.
[0070] In this embodiment, the specific implementation process of step 3 is:
[0071] In the initial range point cloud data, according to the width and distance of the target, along the normal vector direction of the target's tail plane P1, the point cloud within a certain range is intercepted, so that the distance from each point in the intercepted range to the tail plane P1 is less than L and lower than the top plane P2. The point cloud covered by the intercepted range is the target point cloud data, where L is the length of the intercepted point cloud area, such as Figure 3 shown.
[0072] In this embodiment, the implementation process of step 4 is:
[0073] The coordinates of the bottom midpoint of the target optimal envelope rectangle in the previous frame of point cloud data and the target width are used as initial constraints. The objective function is established by maximizing the number of points in the envelope rectangle and minimizing the area of the blank area. The optimal envelope rectangle of the plane point cloud data is obtained by iterative optimization.
[0074] refer to Figure 3 The specific implementation process of iterative optimization to obtain the optimal envelope rectangle of the plane point cloud data is:
[0075] First, establish the objective function:
[0076]
[0077] Among them, f(w,x,y) is the objective function, w is the width of the envelope rectangle to be optimized during the optimization process, (x,y) is the coordinate of the midpoint of the bottom edge of the envelope rectangle to be optimized during the optimization process, that is, (w,x,y) is the envelope rectangle in the optimization process, N in is the number of points inside the envelope rectangle (w, x, y), N is the number of points inside the target optimal envelope rectangle in the previous frame of point cloud data, w temp is the width of the minimum envelope circle of the internal point of the envelope rectangle (w, x, y), w0 is the width of the optimal envelope rectangle of the target in the previous frame of point cloud data;
[0078] Secondly, search w, x, and y in the search range [w0-Δw, w0+Δw], [x0-Δx, x0+Δx], and [y0-Δy, y]0+Δy respectively, and iteratively optimize the envelope rectangle (w, x, y) until the objective function f(w, x, y) is minimized, that is, the optimal envelope rectangle of the plane point cloud data is obtained, where (x0, y0) is the coordinate of the midpoint of the bottom edge of the target optimal envelope rectangle in the previous frame of point cloud data, and Δw, Δx, and Δy are the preset search accuracies.
[0079] In this embodiment, the specific implementation process of step 5 is:
[0080] When the iterative optimization in step 4 is completed, the coordinates of the midpoint M of the bottom side of the optimal envelope rectangle are obtained, and then the angle a between the normal vector of the bottom side of the optimal envelope rectangle (pointing in the direction away from the intelligent subject) and the positive direction of the Y-axis of the intelligent subject coordinate system is calculated. The coordinates of the midpoint M are used as the position information of the target, and the angle a is output as the direction angle of the target, thus completing the precise positioning of the close-range target.
[0081] As a preferred implementation, the precise positioning method in this embodiment also includes step 6, i.e., using the KM matching algorithm (Kuhn-Munkres, Hungarian algorithm) or other matching algorithms to track the bottom midpoint of the optimal envelope rectangle in continuous multi-frame point cloud data, track the target in the continuous frame point cloud data, and match it to the tracking queue of the corresponding target.
[0082] During the driving process of mobile intelligent entities such as mobile robots and self-driving vehicles, the midpoint coordinates of the bottom edge of the target's tail and the direction angle of the target are continuously output and updated.
[0083] To sum up, in the precise positioning method of this embodiment, by taking the target position and direction in the historical frame point cloud data as prior knowledge, the target point cloud within a certain range in the current frame point cloud data is intercepted, and the target position in the historical frame point cloud data is used as a constraint to estimate the optimal envelope rectangle of the target, and then the coordinates of the midpoint of the bottom edge of the optimal envelope rectangle are used as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal envelope rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system is used as the direction information of the target, so that mobile intelligent subjects such as mobile robots and self-driving vehicles can achieve centimeter-level positioning, obtain the precise position and direction of the target, and thus accurately perform tasks.
[0084] Example 2
[0085] Based on the precise positioning method for a close-range target in Example 1, this embodiment discloses a precise positioning device for a close-range target. Figure 4 The precise positioning device includes a point cloud acquisition unit, a point cloud division unit, a plane estimation unit, a point cloud interception unit, a point cloud projection unit, a rectangle calculation unit, a target positioning unit and a target tracking unit. The precise positioning device is used to perform some or all steps of the precise positioning method in Example 1, thereby achieving precise positioning of close-range targets. Specifically:
[0086] The point cloud acquisition unit is used to acquire the point cloud data of the current frame;
[0087] The point cloud division unit is used to divide the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data, and obtain the initial range point cloud data;
[0088] The plane estimation unit is used to perform plane estimation on the initial range point cloud data to obtain the tail plane P1 and the top plane P2 of the target;
[0089] The point cloud interception unit is used to further intercept the target point cloud data in the initial range point cloud data according to the tail plane P1 and the top plane P2;
[0090] The point cloud projection unit is used to project the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data;
[0091] The rectangle calculation unit is used to calculate the optimal envelope rectangle of the plane point cloud data;
[0092] The target positioning unit is used to use the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y axis of the intelligent subject coordinate system as the direction information of the target and output them;
[0093] The target tracking unit is used to track the bottom midpoint of the optimal envelope rectangle in continuous multi-frame point cloud data using a matching algorithm, track the target in the continuous frame point cloud data, match it to the tracking queue of the corresponding target, and continuously obtain the target's position (the bottom midpoint of the target's optimal envelope rectangle) and direction (the target's direction angle).
[0094] In this embodiment, the specific working process and working principle of the point cloud acquisition unit, point cloud division unit, plane estimation unit, point cloud interception unit, point cloud projection unit, rectangle calculation unit, target positioning unit and target tracking unit are the same as the method in Example 1, so they will not be repeated in this embodiment.
[0095] Example 3
[0096] like Figure 5 The terminal device disclosed in this embodiment includes a transmitter, a receiver, a memory, and a processor. The transmitter is used to send instructions and data, the receiver is used to receive instructions and data, the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions stored in the memory to implement some or all of the steps performed by the precise positioning method in the above-mentioned embodiment 1. The specific implementation process is the same as the precise positioning method in the above-mentioned embodiment 1.
[0097] It should be noted that the above memory can be independent or integrated with the processor. When the memory is independently provided, the terminal device further includes a bus for connecting the memory and the processor.
[0098] In the specific application process, the terminal device is a computer, an unmanned vehicle, a drone, an unmanned driving device or a mobile robot, etc.
[0099] Example 4
[0100] This embodiment discloses a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, part or all of the steps executed by the precise positioning method in the above-mentioned embodiment 1 are implemented.
[0101] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A method for accurately locating a close-range target, characterized in that: The steps include: Step 1, obtaining the current frame point cloud data, and dividing the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data, to obtain the initial range point cloud data; Step 2, performing plane estimation based on the initial range point cloud data to obtain the tail plane P1 and the top plane P2 of the target; Step 3, based on the tail plane P1 and the top plane P2, further intercepting the initial range point cloud data to obtain target point cloud data; Step 4, projecting the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data, and calculating the optimal envelope rectangle of the plane point cloud data; Step 5, taking the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system as the direction information of the target and outputting them, thus completing the precise positioning of the close-range target.
2. The method for accurately locating a close-range target according to claim 1, characterized in that: In step 1, the initial range of the target in the current frame point cloud data is divided according to the positioning information of the target in the historical frame point cloud data, specifically: Projecting the positioning information of the target in at least one historical frame point cloud data to the current frame point cloud data to obtain a local point cloud range corresponding to the positioning information of the target in the historical frame point cloud data; The local point cloud ranges are combined to obtain a union, and a margin is added along the width direction and the height direction of the target on the basis of the union, so as to obtain the initial range of the target in the current frame point cloud data.
3. The method for accurately locating a close-range target according to claim 1, characterized in that: Step 2 is as follows: Performing plane estimation on the initial range point cloud data to obtain two planes; Of the two planes, the plane whose normal vector is approximately parallel to the ground is determined as the tail plane P1 of the target, and the plane whose normal vector is approximately perpendicular to the ground is determined as the top plane P2 of the target.
4. The method for accurately locating a close-range target according to claim 3, characterized in that: The RANSAC algorithm is used to perform plane estimation on the initial range point cloud data.
5. The method for accurately locating a close-range target according to any one of claims 1 to 4, characterized in that: In step 3, the target point cloud data is further intercepted from the initial range point cloud data, specifically: In the initial range point cloud data, a point cloud within a certain range is intercepted along the normal vector direction of the tail plane P1, and the distance from each point in the intercepted range to the tail plane P1 is less than L and lower than the top plane P2. The point cloud covered by the intercepted range is the target point cloud data, where L is the length of the intercepted point cloud area.
6. The method for accurately locating a close-range target according to any one of claims 1 to 4, characterized in that: In step 4, the optimal envelope rectangle of the plane point cloud data is calculated as follows: The coordinates of the bottom midpoint of the target optimal envelope rectangle in the previous frame of point cloud data and the target width are used as initial constraints, and the objective function is established by maximizing the number of points in the envelope rectangle and minimizing the area of the blank area. The optimal envelope rectangle of the plane point cloud data is obtained by iterative optimization.
7. The method for accurately locating a close-range target according to claim 6, characterized in that: The objective function is: Among them, f(w, x, y) is the objective function, w is the width of the envelope rectangle to be optimized during the optimization process, (x, y) is the coordinate of the midpoint of the bottom edge of the envelope rectangle to be optimized during the optimization process, that is, (w, x, y) is the envelope rectangle in the optimization process, N in is the number of points inside the envelope rectangle (w, x, y), N is the number of points inside the target optimal envelope rectangle in the previous frame of point cloud data, w temp is the width of the minimum envelope circle of the internal point of the envelope rectangle (w, x, y), w0 is the width of the optimal envelope rectangle of the target in the previous frame of point cloud data; During the iterative optimization process, w, x, and y are searched respectively in the search ranges [w0-Δw, w0+Δw], [x0-Δx, x0+Δx], and [y0-Δy, y0+Δy] to minimize the objective function, that is, to obtain the optimal envelope rectangle of the plane point cloud data, wherein (x0, y0) is the coordinate of the midpoint of the bottom edge of the target optimal envelope rectangle in the previous frame of point cloud data, and Δw, Δx, and Δy are the preset search accuracies.
8. The method for accurately locating a close-range target according to any one of claims 1 to 4, characterized in that: Also includes: Step 6: Use a matching algorithm to track the midpoint of the bottom edge of the optimal envelope rectangle in the continuous multi-frame point cloud data, track the target in the continuous frame point cloud data, and match it to the tracking queue of the corresponding target.
9. A precise positioning device for close-range targets, characterized in that: The method according to any one of claims 1 to 8 is used to accurately locate a close-range target, wherein the accurate positioning device comprises: A point cloud acquisition unit, used to acquire point cloud data of the current frame; A point cloud division unit is used to divide the initial range of the target in the current frame point cloud data according to the positioning information of the target in the historical frame point cloud data to obtain the initial range point cloud data; A plane estimation unit, used for performing plane estimation on the initial range point cloud data to obtain a tail plane P1 and a top plane P2 of the target; A point cloud interception unit, used for further intercepting target point cloud data from the initial range point cloud data according to the tail plane P1 and the top plane P2; A point cloud projection unit, used for projecting the target point cloud data onto the XOY plane of the intelligent subject coordinate system to obtain plane point cloud data; A rectangle calculation unit, used to calculate the optimal envelope rectangle of the plane point cloud data; The target positioning unit is used to use the coordinates of the midpoint of the bottom edge of the optimal enveloping rectangle as the position information of the target, and the angle between the normal vector of the bottom edge of the optimal enveloping rectangle and the positive direction of the Y-axis of the intelligent subject coordinate system as the direction information of the target and output them.
10. A terminal device, characterized in that: The terminal device is a computer, an unmanned vehicle, an unmanned aerial vehicle, an unmanned driving device or a mobile robot, and is provided with: Memory, used to store programs; A processor, configured to execute the program stored in the memory; when the program is executed, the processor is configured to execute part or all of the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for obtaining volumes of target objects, terminal equipment and storage medium
CN108416804A
Tray pose positioning method, device and equipment and storage medium
CN112001972A
Method and System for Determining Poses of Vehicle-Mounted Cameras for In-Road Obstacle Detection
US20140037136A1
