Rail transit obstacle recognition method and device

By gridding and clustering the rail transit area, combined with the perspective principle, the problems of slow processing speed and poor adaptability in rail transit obstacle recognition are solved, and more efficient obstacle recognition and edge determination are achieved.

CN118657964APending Publication Date: 2024-09-17CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410670455.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the existing technology, rail transit obstacle recognition processing speed is slow, it is difficult to adapt to the point cloud characteristics of radar imaging, and it is difficult to determine effective point cloud edges.

Method used

By gridding the target track area, determining the square occupied by the point cloud, and identifying obstacles based on clustering and perspective principles, the complexity of information processing and display is simplified, and the recognition speed and adaptability are improved.

Benefits of technology

It improves the speed of obstacle recognition, reduces the amount of calculation, can better adapt to the point cloud characteristics of radar imaging, and effectively determines the edge of the obstacle point cloud.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657964A
    Figure CN118657964A
Patent Text Reader

Abstract

The invention provides a rail transit obstacle recognition method and device, and relates to the technical field of rail transit. The method comprises the following steps: carrying out gridding processing on a target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; overlapping areas exist among the plurality of three-dimensional grids; based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position and the position relationship between each point in the three-dimensional point cloud data and each three-dimensional grid, determining a point cloud occupied grid; clustering is carried out based on the point cloud occupation squares to obtain obstacle occupation squares; and processing the grids occupied by the obstacle based on a perspective principle to obtain a two-dimensional area where the obstacle is located. According to the rail transit obstacle recognition method and device provided by the invention, the obstacle can be effectively recognized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transit technology, and in particular to a rail transit obstacle identification method and device. Background Art

[0002] In the field of urban rail transit, active obstacle identification usually uses point clouds formed by lidar or other radars, and subsequent processing relies on the collected point clouds to determine the size and location of the obstacle.

[0003] The obstacle perception algorithm based on clustering algorithm is simple and easy to understand. It uses the distance between points as the clustering standard. The processing results are very logical, and each cluster of point clouds with a close distance is an obstacle, and the conclusion is clear. However, its calculation speed is greatly affected by the total amount of data. When processing a large amount of data, it decreases rapidly. It is difficult to adapt to the point cloud characteristics of radar imaging and it is difficult to determine the effective point cloud edge. Summary of the invention

[0004] The present application provides a rail transit obstacle recognition method and device to solve the defects of the prior art in rail transit obstacle recognition processing speed being slow, being difficult to adapt to the point cloud characteristics of radar imaging, and being difficult to determine the effective point cloud edge.

[0005] In a first aspect, the present application provides a rail transit obstacle identification method, comprising:

[0006] Gridding the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0007] Determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0008] Clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0009] The grids occupied by the obstacle are processed based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0010] In one embodiment, the gridding of the target track area to obtain a plurality of three-dimensional grids includes:

[0011] Dividing the target track area into grids according to a preset size to obtain a plurality of initial three-dimensional grids;

[0012] The multiple initial three-dimensional grids are stretched along the track direction to obtain the multiple three-dimensional grids.

[0013] In one embodiment, the step of determining the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid, includes:

[0014] Based on the distance between each point in the three-dimensional point cloud data and the point cloud acquisition position, the three-dimensional point cloud data is divided into a first target point and a second target point; the distance between the first target point and the point cloud acquisition position is less than or equal to a preset distance; the distance between the second target point and the point cloud acquisition position is greater than the preset distance;

[0015] Determine a first occupied square based on the positional relationship between the first target point and each three-dimensional square; and determine a second occupied square based on the positional relationship between the second target point and each three-dimensional square;

[0016] The point cloud occupied grid is determined based on the first occupied grid and the second occupied grid.

[0017] In one embodiment, determining the first occupied square based on the positional relationship between the first target point and each three-dimensional square includes:

[0018] Determine a first three-dimensional grid where the first target point is located;

[0019] The first three-dimensional square is used as the first occupied square.

[0020] In one embodiment, determining the second occupied square based on the positional relationship between the second target point and each three-dimensional square includes:

[0021] Determine a second three-dimensional grid where the second target point is located;

[0022] The second three-dimensional square and squares adjacent to the second three-dimensional square are used as the second occupied squares.

[0023] In one embodiment, the processing of the grid occupied by the obstacle based on the perspective principle to obtain the two-dimensional area where the obstacle is located includes:

[0024] Based on the perspective principle, the square grid occupied by the obstacle is projected onto a two-dimensional plane to obtain a projected obstacle;

[0025] Determining a bounding box of the projected obstacle;

[0026] The inner area of ​​the bounding box is determined as the two-dimensional area where the obstacle is located.

[0027] In a second aspect, the present application also provides a rail transit obstacle identification device, comprising:

[0028] A first processing module is used to perform grid processing on the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0029] A determination module, for determining the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0030] A clustering module, used for clustering the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0031] The second processing module is used to process the grids occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0032] In a third aspect, the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0033] In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.

[0034] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the method described in the first aspect when executed by a processor.

[0035] The rail transit obstacle identification method and device provided by the present application determines the grid occupied by the point cloud through the distance between the point cloud data and the point cloud collection position, and the positional relationship between the point cloud data and the grid divided by the target track area, and then obtains the grid occupied by the obstacle through clustering, which simplifies the complexity of information processing and display, and can effectively identify obstacles. Specifically, this method determines obstacles through the positional relationship between the point cloud data and the grid divided by the target track area, rather than directly clustering the point cloud data, which can increase the speed of obstacle identification and reduce the amount of calculation; by taking into account the distance between the point cloud data and the point cloud collection position to determine the obstacle, it can better adapt to the point cloud characteristics of radar imaging; based on the perspective principle, the grid occupied by the obstacle is displayed in two dimensions, which can effectively determine the edge of the obstacle point cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 It is a flow chart of the rail transit obstacle identification method provided by the present application;

[0038] Figure 2 It is a structural schematic diagram of a rail transit obstacle identification device provided by the present application;

[0039] Figure 3 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0040] The traditional clustering algorithm method for extracting point cloud obstacles has the following defects:

[0041] (1) The computing speed is greatly affected by the total amount of data. When processing a large amount of data, the speed drops rapidly.

[0042] Traditional clustering algorithms need to make judgments based on the distance between different points. When the number of points within the observation range is large, obstacle recognition requires a very high program processing speed because each frame of the point cloud must be processed, resulting in a very rapid increase in the amount of calculation and a decrease in the processing speed.

[0043] (2) It is difficult to adapt to the point cloud characteristics of radar imaging

[0044] The characteristic of radar imaging is that more points are obtained for objects that are perpendicular to the main emission direction of the radar as a whole, while fewer points are obtained for objects that are parallel to the main emission direction of the radar.

[0045] In the case of a long distance, the density of point clouds in various directions varies greatly. If it is necessary to distinguish them at different angles, the amount of calculation will increase greatly. Traditional clustering algorithms only consider the distance threshold between points, which is difficult to adapt to the point cloud characteristics of radar imaging.

[0046] (3) It is difficult to determine the effective point cloud edge

[0047] Only points that appear in the clear area ahead are obstacle points. There may be many situations ahead, such as turns, ups and downs, and the clear area ahead is often not a particularly regular shape. It is difficult for traditional clustering algorithms to describe the effective range of this area, and the complex resolution process will also increase the amount of processing calculations.

[0048] Based on this, the present application proposes a rail transit obstacle identification method.

[0049] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] Figure 1 Schematic diagram of the flow of the rail transit obstacle identification method provided in the embodiment of the present application. Figure 1 The embodiment of the present application provides a rail transit obstacle identification method, the execution subject of which may be an electronic device, for example, a controller, and the method may include:

[0051] Step 110, gridding the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0052] Step 120, based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid, determine the grid occupied by the point cloud;

[0053] Step 130, clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0054] Step 140: Process the grids occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0055] In step 110, after determining the target track area to be observed, the controller can perform gridding on the target track area and divide the target track area into multiple three-dimensional grids. This process can be regarded as a differential processing of the front clearance area. When the track area of ​​the front turn is divided into grids, there may be gaps between adjacent grids. When a point enters the gap, it will be misjudged as not an obstacle. Therefore, the multiple three-dimensional grids divided in this application need to cover the target track area, and there may be overlapping areas between the multiple three-dimensional grids.

[0056] In step 120, the controller can obtain the three-dimensional point cloud data of the target track area, and determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid. In order to adapt to the point cloud characteristics of radar imaging, this application incorporates the distance between each point in the point cloud data and the point cloud acquisition position into the obstacle occupied grid determination process, and determines the grid occupied by the point cloud through the distance between each point in the three-dimensional point cloud data and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid.

[0057] In step 130, the controller may cluster the point cloud occupancy grid to obtain the obstacle occupancy grid. For example, the controller may first segment the point cloud occupancy grid, remove the ground portion, and then cluster the segmented point cloud occupancy grid to obtain the obstacle occupancy grid.

[0058] In step 140, in order to meet the need of obstacle display, the controller can project the grid occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0059] The rail transit obstacle identification method provided in the embodiment of the present application determines the grid occupied by the point cloud through the distance between the point cloud data and the point cloud collection position, and the positional relationship between the point cloud data and the grid divided by the target track area, and then obtains the grid occupied by the obstacle through clustering, which simplifies the complexity of information processing and display, and can effectively identify obstacles. Specifically, this method determines obstacles through the positional relationship between the point cloud data and the grid divided by the target track area, rather than directly clustering the point cloud data, which can increase the speed of obstacle identification and reduce the amount of calculation; by taking into account the distance between the point cloud data and the point cloud collection position to determine the obstacle, it can better adapt to the point cloud characteristics of radar imaging; based on the perspective principle, the grid occupied by the obstacle is displayed in two dimensions, which can effectively determine the edge of the obstacle point cloud.

[0060] In one embodiment, the target track area is gridded to obtain a plurality of three-dimensional grids, including:

[0061] Divide the target track area into grids according to a preset size to obtain a plurality of initial three-dimensional grids;

[0062] A plurality of initial three-dimensional grids are stretched along the track direction to obtain a plurality of three-dimensional grids.

[0063] Due to the turning characteristics of urban rail transit, the turning line ahead presents a smooth curve. When the target track area is gridded according to the preset size, it can be stretched in the direction of track travel to obtain multiple three-dimensional grids. That is, the grid division of the front clearance area can adopt a redundant increment method to ensure that the front clearance area can be completely divided by the grid.

[0064] In this grid division method, a point may belong to a certain grid and an adjacent grid at the same time. This does not affect the effectiveness of obstacle judgment and will not cause missed judgments. This is because when a point belongs to multiple grids, these grids must be adjacent, and after aggregating these grids, they are still the same obstacle.

[0065] The rail transit obstacle identification method provided in the embodiment of the present application can obtain multiple three-dimensional grids by gridding the target track area and stretching it along the track direction, and then the grids occupied by obstacles can be obtained by aggregating the grids occupied by point clouds. Since the whole process is to first determine the entry into the grid in the point cloud and then aggregate it, the maximum number of aggregated totals is the number of grids, which is usually much smaller than the number of points in the point cloud. Therefore, when the number of point clouds is extremely high, the increase in the amount of calculation is minimal; at the same time, since the grid itself has a size, the distance between the grids can be treated as adjacent, which is more convenient in calculation, thereby improving the speed of obstacle identification and reducing the amount of calculation.

[0066] In one embodiment, based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid, determining the grid occupied by the point cloud includes:

[0067] Based on the distance between each point in the three-dimensional point cloud data and the point cloud acquisition position, the three-dimensional point cloud data is divided into a first target point and a second target point; the distance between the first target point and the point cloud acquisition position is less than or equal to a preset distance; the distance between the second target point and the point cloud acquisition position is greater than the preset distance;

[0068] Determine a first occupied square based on a positional relationship between the first target point and each three-dimensional square; and determine a second occupied square based on a positional relationship between the second target point and each three-dimensional square;

[0069] Based on the first occupied square and the second occupied square, the point cloud occupied square is determined.

[0070] Considering that point clouds are often collected by radar, and the detection characteristic of radar is that objects perpendicular to the observation emission line generate more points, the point cloud can be divided according to distance.

[0071] The controller can classify points in the three-dimensional point cloud data whose distance from the point cloud acquisition position is less than or equal to a preset distance as first target points, and classify points in the three-dimensional point cloud data whose distance from the point cloud acquisition position is greater than a preset distance as second target points. Then, the first occupied square is determined based on the positional relationship between the first target point and each three-dimensional square; and the second occupied square is determined based on the positional relationship between the second target point and each three-dimensional square. The controller can merge the first occupied square with the second occupied square to obtain the point cloud occupied square.

[0072] The rail transit obstacle identification method provided in the embodiment of the present application determines the grid occupied by the point cloud through the distance between the point cloud data and the point cloud collection position, and then obtains the grid occupied by the obstacle through clustering, thereby realizing different settings at different angles and directions on this basis, but hardly increasing the amount of calculation, avoiding the complex processing when directly clustering from the point cloud, and can better adapt to the point cloud characteristics of radar imaging and effectively identify obstacles.

[0073] In one embodiment, determining the first occupied square based on the positional relationship between the first target point and each three-dimensional square includes:

[0074] Determine a first three-dimensional grid where a first target point is located;

[0075] The first three-dimensional square is regarded as the first occupied square.

[0076] The first target point is less than or equal to the preset distance from the point cloud acquisition position, and can be regarded as a closer point. The controller can directly use the first three-dimensional square where the closer point is located as the first occupied square.

[0077] The rail transit obstacle identification method provided in the embodiment of the present application determines the first occupied grid by the distance between the first target point and the point cloud acquisition position, and then obtains the obstacle occupied grid by clustering, which can better adapt to the point cloud characteristics of radar imaging and effectively identify obstacles.

[0078] In one embodiment, determining the second occupied square based on the positional relationship between the second target point and each three-dimensional square includes:

[0079] Determine a second three-dimensional grid where a second target point is located;

[0080] The second three-dimensional square and the squares adjacent to the second three-dimensional square are regarded as second occupied squares.

[0081] The distance between the second target point and the point cloud acquisition position is greater than the preset distance, and can be regarded as a farther point. The controller can use the second three-dimensional square where the farther point is located and the squares adjacent to the second three-dimensional square as the second occupied squares.

[0082] The rail transit obstacle identification method provided in the embodiment of the present application determines the second occupied grid by the distance between the second target point and the point cloud acquisition position, and then obtains the obstacle occupied grid by clustering, which can better adapt to the point cloud characteristics of radar imaging and effectively identify obstacles.

[0083] In one embodiment, the grids occupied by obstacles are processed based on the perspective principle to obtain the two-dimensional area where the obstacles are located, including:

[0084] Based on the perspective principle, the square grid occupied by the obstacle is projected onto a two-dimensional plane to obtain the projected obstacle;

[0085] Determine the bounding box of the projected obstacle;

[0086] The inner area of ​​the bounding box is determined as the two-dimensional area where the obstacle is located.

[0087] The obstacle can be described according to the perspective principle, and only the face of the grid closest to the observation point is needed. The controller can project the grid occupied by the obstacle onto a two-dimensional plane based on the perspective principle to obtain the projected obstacle, and determine the four outermost coordinates of the projected obstacle projected onto the grid surface as a whole. At this time, the four coordinates can form a bounding box with depth information, and the internal area of ​​the bounding box is determined as the two-dimensional area where the obstacle is located. The obstacle must be included in the perspective range of the two-dimensional area.

[0088] The rail transit obstacle identification method provided in the embodiment of the present application performs a two-dimensional display of the grids occupied by obstacles based on the perspective principle, and can effectively determine the edge of the obstacle point cloud.

[0089] Based on the description of the above embodiments, the working principle of the rail transit obstacle identification method provided by the present application can be described as follows: according to different positioning, the front clearance area corresponding to different positioning is gridded and divided into multiple squares. When the point of the point cloud is located outside all the squares, it is considered not to be an obstacle; when a point of the point cloud is judged to fall into a certain square, the square is considered to be occupied; when all the point clouds are judged, the occupied squares are judged and aggregated according to the adjacent relationship of up, down, left, right, front and back, and finally multiple unrelated obstacles are obtained.

[0090] The overall process of this method takes into account the industry characteristics of rail transit, reduces the computational complexity, and thus improves the processing speed. The direction can be set according to the working principle of the radar of the acquisition equipment. Overall, it conforms to the general characteristics of the clustering algorithm and has good interpretability.

[0091] The key technical points of this application are:

[0092] 1. Adding grids based on the characteristics of urban rail transit to closely meet business requirements

[0093] Since the track width and train safety envelope of urban rail transit are relatively small in the up, down, left and right directions, the grid grid does not need to be divided very finely, and is mainly extended along the track. The grid edges at different observation positions are determined by the forward track position. Since the length of a single line of urban rail transit is limited, the total amount is small.

[0094] 2. Redundant occupancy processing, no reduction in safety, simplified control

[0095] By having points occupy adjacent squares at the same time and then aggregate them into one, the difficulty of square setting and logical processing is simplified.

[0096] 3. Directional processing according to point cloud acquisition method to simplify control

[0097] Taking into account the characteristics of the acquisition device that the point cloud is obtained by more near points than far points, different processing is performed with smaller control and computing costs.

[0098] 4. Use the overall perspective of the grid to describe obstacles

[0099] The description method is simple and clear, which is convenient for subsequent processing, such as quickly providing obstacle forms and image recognition.

[0100] The technical solution of the present application is described in detail below with a specific example.

[0101] The operating parameters required for this technology include: the maximum number of points in the point cloud, the positioning position, the range of the clearance area corresponding to the positioning, and the grid size

[0102] The specific steps can be described as follows:

[0103] 1. Assume that the acquisition device can collect a maximum of 500,000 points per frame

[0104] 2. Assume the process of two positions, one of which is the line with normal curvature and the other is the forward turnout.

[0105] 3. Assuming that the location is at a regular curvature, there are two situations: no obstacles and obstacles.

[0106] 4. Assume that there is no obstacle at the turnout ahead.

[0107] 5. Assuming there is an obstacle, the obstacle is close to the collection location and occupies 50,000 points

[0108] 6. Assume that the maximum distance to be observed in the front clearance area is 300m

[0109] 7. Assume the grid size is 0.5m

[0110] 8. Assuming that the continuous processing process is not considered and only the above situation is considered, continuous processing can be regarded as continuous single information processing. Here are some typical situations of single information

[0111] 9. When the normal curvature is ahead, the corresponding limit of every 0.5m of the track and a total distance of 300m of the track is converted to the observation coordinate system according to the positioning, the clearance area is divided, and the grid is stretched in the direction of the track so that there will be no area that cannot be covered by the grid under the normal curvature of the track.

[0112] 10. When moving to other positions, segment according to the above steps based on the new positioning. Assume that there are 50,000 obstacles occupying points distributed in 2560 adjacent grids, and then cluster them according to 2560 grids.

[0113] Initially, 50,000 points need to be processed and placed in the grid. This process is relatively simple and has low time complexity. In addition, due to the stretching setting, it can be ensured that each point returned by the obstacle in the clearance area can be in one grid. The subsequent clustering calculation requires search and matching, which is more complicated. However, since 2560 is much smaller than 50,000, it has a great advantage regardless of the time complexity of the calculation.

[0114] 11. When the front is the turnout area, according to the positioning, the lateral speed limit is closer every 0.5m of the turnout forward track, with a total track distance of 300m, and every 0.5m of the turnout side track, with a total track distance of 100m. The corresponding limits are converted to the observation coordinate system to divide the clearance area.

[0115] 12. Repeat process 8-11 to complete continuous grid cluster detection.

[0116] The rail transit obstacle identification device provided in the present application is described below. The rail transit obstacle identification device described below and the rail transit obstacle identification method described above can be referred to in correspondence with each other.

[0117] Figure 2 Schematic diagram of the structure of the rail transit obstacle identification device provided in the embodiment of the present application. Figure 2 The rail transit obstacle identification device provided in the embodiment of the present application may include:

[0118] The first processing module 210 is used to perform grid processing on the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0119] A determination module 220, configured to determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0120] A clustering module 230, configured to perform clustering based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0121] The second processing module 240 is used to process the grids occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0122] The rail transit obstacle identification device provided in the embodiment of the present application determines the grid occupied by the point cloud through the distance between the point cloud data and the point cloud collection position, and the positional relationship between the point cloud data and the grid divided by the target track area, and then obtains the grid occupied by the obstacle through clustering, which simplifies the complexity of information processing and display, and can effectively identify obstacles. Specifically, this method determines obstacles through the positional relationship between the point cloud data and the grid divided by the target track area, rather than directly clustering the point cloud data, which can increase the speed of obstacle identification and reduce the amount of calculation; by taking the distance between the point cloud data and the point cloud collection position into account to determine the obstacle, it can better adapt to the point cloud characteristics of radar imaging; based on the perspective principle, the grid occupied by the obstacle is displayed in two dimensions, which can effectively determine the edge of the obstacle point cloud.

[0123] Specifically, the above-mentioned rail transit obstacle identification device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the controller, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0124] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the rail transit obstacle identification method, for example, including:

[0125] Gridding the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0126] Determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0127] Clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0128] The grids occupied by the obstacle are processed based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0129] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0130] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the rail transit obstacle identification method provided by the above methods, for example, including:

[0131] Gridding the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0132] Determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0133] Clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0134] The grids occupied by the obstacle are processed based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0135] In another aspect, the present application further provides a computer program product, the computer program product comprising a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the steps of the rail transit obstacle identification method provided by the above methods, for example, including:

[0136] Gridding the target track area to obtain a plurality of three-dimensional grids; the plurality of three-dimensional grids cover the target track area; and there are overlapping areas between the plurality of three-dimensional grids;

[0137] Determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid;

[0138] Clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles;

[0139] The grids occupied by the obstacle are processed based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0142] It should also be noted that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.

[0143] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0144] "Determine B based on A" in the embodiments of the present application means that the factor A should be considered when determining B. It is not limited to "B can be determined based on A alone", but should also include: "Determine B based on A and C", "Determine B based on A, C and E", "Determine C based on A, and further determine B based on C", etc. In addition, it can also include taking A as a condition for determining B, for example, "When A meets the first condition, use the first method to determine B"; for another example, "When A meets the second condition, determine B", etc.; for another example, "When A meets the third condition, determine B based on the first parameter", etc. Of course, it can also be a condition that takes A as a factor for determining B, for example, "When A meets the first condition, use the first method to determine C, and further determine B based on C", etc.

[0145] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A rail transit obstacle identification method, characterized in that: include: Gridding the target track area to obtain multiple three-dimensional grids; The plurality of three-dimensional grids cover the target track area; There are overlapping areas between the multiple three-dimensional grids; Determine the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid; Clustering is performed based on the grids occupied by the point cloud to obtain grids occupied by obstacles; The grids occupied by the obstacle are processed based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

2. The rail transit obstacle identification method according to claim 1, characterized in that: The target track area is gridded to obtain a plurality of three-dimensional grids, including: Dividing the target track area into grids according to a preset size to obtain a plurality of initial three-dimensional grids; The multiple initial three-dimensional grids are stretched along the track direction to obtain the multiple three-dimensional grids.

3. The rail transit obstacle identification method according to claim 1, characterized in that: The step of determining the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid, comprises: Based on the distance between each point in the three-dimensional point cloud data and the point cloud acquisition position, the three-dimensional point cloud data is divided into a first target point and a second target point; the distance between the first target point and the point cloud acquisition position is less than or equal to a preset distance; the distance between the second target point and the point cloud acquisition position is greater than the preset distance; Determine a first occupied square based on the positional relationship between the first target point and each three-dimensional square; and determine a second occupied square based on the positional relationship between the second target point and each three-dimensional square; The point cloud occupied grid is determined based on the first occupied grid and the second occupied grid.

4. The rail transit obstacle identification method according to claim 3, characterized in that: The determining the first occupied square based on the positional relationship between the first target point and each three-dimensional square includes: Determine a first three-dimensional grid where the first target point is located; The first three-dimensional square is used as the first occupied square.

5. The rail transit obstacle identification method according to claim 3, characterized in that: The determining the second occupied square based on the positional relationship between the second target point and each three-dimensional square includes: Determine a second three-dimensional grid where the second target point is located; The second three-dimensional square and squares adjacent to the second three-dimensional square are used as the second occupied squares.

6. The rail transit obstacle identification method according to claim 1, characterized in that: The step of processing the grids occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located includes: Based on the perspective principle, the square grid occupied by the obstacle is projected onto a two-dimensional plane to obtain a projected obstacle; Determining a bounding box of the projected obstacle; The inner area of ​​the bounding box is determined as the two-dimensional area where the obstacle is located.

7. A rail transit obstacle identification device, characterized in that: include: The first processing module is used to perform grid processing on the target track area to obtain a plurality of three-dimensional grids; The plurality of three-dimensional grids cover the target track area; There are overlapping areas between the multiple three-dimensional grids; A determination module, for determining the grid occupied by the point cloud based on the distance between each point in the three-dimensional point cloud data of the target track area and the point cloud acquisition position, and the positional relationship between each point in the three-dimensional point cloud data and each three-dimensional grid; A clustering module, used for clustering the grids occupied by the point cloud to obtain grids occupied by obstacles; The second processing module is used to process the grids occupied by the obstacle based on the perspective principle to obtain a two-dimensional area where the obstacle is located.

8. An electronic device comprising 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 rail transit obstacle identification method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the rail transit obstacle identification method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the rail transit obstacle identification method according to any one of claims 1 to 6 is implemented.