Method and device for identifying lane cone bucket by vehicle, electronic equipment and storage medium
Through the combination of the vehicle's autonomous driving perception system and high-precision maps, cones on the road can be identified one by one, which solves the problem of being unable to identify continuous cones in the existing technology, improves the safety and reliability of autonomous driving, and avoids equipment costs. Increase.
Patent Information
- Application Number
- CN202410710187.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-24
AI Technical Summary
Existing vehicle automatic driving systems cannot effectively identify cones on the road, resulting in potential safety hazards in the vehicle's automatic driving route, and adding sensors to improve recognition strength will increase equipment and computing costs.
Obstacle information is collected through the automatic driving perception system of the target vehicle, and the cone group is constructed based on the preset high-precision map. The cone group is then fused and identified one by one to determine the target cone information to improve the accuracy and efficiency of cone identification.
It achieves accurate identification of continuous cones, improves the safety and reliability of autonomous vehicle driving, reduces the number of identifications, and avoids the need to increase equipment costs.
Smart Images

Figure CN118692052A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method, device, electronic device and storage medium for a vehicle to recognize a lane cone. Background Art
[0002] Vehicle autonomous driving can collect road information and obstacle information on the road through on-board sensors, and then perform autonomous driving based on the road information and obstacle information through the on-board autonomous driving function, without the need for manual operation by the vehicle driver. In the existing vehicle autonomous driving process, the vehicle's autonomous driving system cannot effectively identify and detect cones on the road. Cones are small in size and reflect weak signals, and cones are usually placed continuously at the edge of the vehicle road or at intersections. The vehicle sensors of autonomous driving vehicles are easily disturbed by the lane environment, resulting in further inability to accurately identify each cone, resulting in great safety hazards in the vehicle's automatic driving route. In the existing technology, this is often achieved by increasing vehicle sensors and increasing the recognition intensity of cones, but this will increase the vehicle's equipment cost and computing cost. Summary of the invention
[0003] The present invention provides a lane cone recognition method, device, electronic device and storage medium, so as to improve the recognition accuracy of continuous cones through cone recognition fusion, and improve the safety and reliability of vehicle automatic driving.
[0004] According to one aspect of the present invention, a method for identifying a lane cone by a vehicle is provided, comprising:
[0005] Obtaining obstacle information of lane obstacles by collecting information through the automatic driving perception system of the target vehicle; wherein the obstacle information includes obstacle coordinates, obstacle categories, and obstacle corner point information;
[0006] Constructing a cone group by using a preset high-precision map and the obstacle information, and determining at least one target cone group;
[0007] The target cone groups are fused and identified one by one to determine the target cone information corresponding to the target vehicle.
[0008] According to another aspect of the present invention, a vehicle-to-lane cone recognition device is provided, comprising:
[0009] A perception module, used to collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle; wherein the obstacle information includes obstacle coordinates, obstacle category and obstacle corner point information;
[0010] An information processing module, used to construct a cone group through a preset high-precision map and the obstacle information, and determine at least one target cone group;
[0011] The recognition module is used to fuse and recognize the target cone barrel groups one by one to determine the target cone barrel information corresponding to the target vehicle.
[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for recognizing lane cones by a vehicle as described in any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for identifying a vehicle with respect to a lane cone as described in any embodiment of the present invention when executed.
[0017] The technical solution of the embodiment of the present invention collects information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle, determines the identified cone barrels through the obstacle information, and then processes the cone barrels, thereby realizing accurate identification of the cone barrels and improving the safety of automatic driving; constructs a cone barrel group through a preset high-precision map and the obstacle information, determines at least one target cone barrel group, identifies the lane of the vehicle through the high-precision map, and identifies the lane according to the information corresponding to the cone barrel, and then constructs a cone barrel group of effective cone barrels, effectively reducing the number of identifications and improving the efficiency and accuracy of identification; fuses and identifies the target cone barrel groups one by one to determine the target cone barrel information corresponding to the target vehicle, and by fusing and identifying the target cone barrel groups one by one, it is possible to accurately identify continuous cone barrels in the road, improve the success rate of continuous cone barrel identification, solve the technical problem that continuous cone barrels cannot be identified in the prior art, and improve the safety and reliability of vehicle automatic driving.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 these drawings without creative work.
[0020] Figure 1 A flowchart of a method for identifying a vehicle with a lane cone is provided for an embodiment of the present invention;
[0021] Figure 2 A flowchart of another method for identifying a vehicle with a lane cone provided by an embodiment of the present invention;
[0022] Figure 3 A flowchart of another method for identifying a vehicle with a lane cone provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a vehicle-to-lane cone recognition device provided in an embodiment of the present invention;
[0024] Figure 5 A schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Figure 1A flowchart of a method for identifying a vehicle with a lane cone is provided for an embodiment of the present invention. This embodiment is applicable to the case where an autonomous driving vehicle detects a lane cone during driving. The method can be performed by a vehicle-to-lane cone identification device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0028] S110. Collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle.
[0029] Among them, the target vehicle can be a vehicle with autonomous driving capabilities.
[0030] Among them, the autonomous driving perception system can be a system in the target vehicle that collects and processes information around the target vehicle. The autonomous driving perception system is usually composed of a variety of different types of sensors, each of which can collect different environmental information. Different types of sensors can work together to perceive the environment around the vehicle and realize the collection of information around the vehicle. Optionally, the sensor types of the autonomous driving perception system may include monocular, binocular or multi-camera, long-range radar and short-range radar, lidar, ultrasonic sensor.
[0031] The lane obstacle may be an obstacle detected in the road where the target vehicle is traveling. Optionally, there are various types of lane obstacles, such as obstacles left over from traffic accidents, artificial equipment, pedestrians and non-motor vehicles, temporary or permanent roadblocks, vehicles and public facilities.
[0032] Among them, obstacle information can be information obtained after the autonomous driving perception system detects and processes lane obstacles; obstacle information includes obstacle coordinates, obstacle categories and obstacle corner information; obstacle coordinates can be the coordinate information of lane obstacles in the vehicle coordinate system constructed by the autonomous driving vehicle, obstacle categories can be category information obtained by identifying the autonomous driving perception system, obstacle corner information can be points on the edge of the lane obstacle, and obstacle corner information can be used to describe the shape of the obstacle, and can reflect the edge point or contour point of the obstacle, and is used to determine the edge and contour of the obstacle. Optionally, in the autonomous driving scenario, corner information can help to continuously monitor lane obstacles, and tracking the corner points of lane obstacles can help to more stably predict their movement trajectory.
[0033] Specifically, after the target vehicle enters autonomous driving, it will continuously perceive and collect information about the target vehicle's surrounding environment through the autonomous driving perception system in the target vehicle, and process the collected data to determine the obstacle information of the lane obstacles in the road where the target vehicle is located.
[0034] S120, constructing a cone group using a preset high-precision map and the obstacle information, and determining at least one target cone group.
[0035] Among them, a high-precision map can be a highly accurate and detailed map data set. A high-precision map can accurately distinguish different lanes and road signs on the road, and determine the detailed information of each lane on the road. For example, the lane width, lane line position and type, and lane curvature.
[0036] Optionally, a preset high-precision map may be pre-set in the target vehicle, and the map information may be updated in real time through networking of the target vehicle.
[0037] The target cone barrel group may be a group of cone barrels with similar distances and the same arrangement direction. The target cone barrel group may include a transverse cone barrel group and a longitudinal cone barrel group. The transverse cone barrel group may be a group of cone barrels with similar distances and arranged in a transverse direction; the longitudinal cone barrel group may be a group of cone barrels with similar distances and arranged in a longitudinal direction.
[0038] Specifically, after obtaining the obstacle information, the cones around the target vehicle are determined according to the obstacle information, and a cone group is constructed through a preset high-precision map and the identified cones. The cones around the target vehicle are grouped to obtain at least one target cone map.
[0039] S130, fusing and identifying the target cone groups one by one to determine the target cone information corresponding to the target vehicle.
[0040] Among them, the target cone information can be the location and distribution information of the cones around the target vehicle.
[0041] Specifically, after obtaining at least one target cone barrel group, all the cone barrels included in the target cone barrel group are fused and identified one by one for each target cone barrel group to determine the target cone barrel information of the target vehicle.
[0042] The technical solution of the embodiment of the present invention collects information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle, determines the identified cone barrels through the obstacle information, and then processes the cone barrels, thereby realizing accurate identification of the cone barrels and improving the safety of automatic driving; constructs a cone barrel group through a preset high-precision map and the obstacle information, determines at least one target cone barrel group, identifies the lane of the vehicle through the high-precision map, and identifies the lane according to the information corresponding to the cone barrel, and then constructs a cone barrel group of effective cone barrels, effectively reducing the number of identifications and improving the efficiency and accuracy of identification; fuses and identifies the target cone barrel groups one by one to determine the target cone barrel information corresponding to the target vehicle, and by fusing and identifying the target cone barrel groups one by one, it is possible to accurately identify continuous cone barrels in the road, improve the safety and reliability of vehicle automatic driving, solve the technical problem that continuous cone barrels cannot be identified in the prior art, and improve the safety and reliability of vehicle automatic driving.
[0043] Figure 2 This is a flowchart of another method for identifying a vehicle to a lane cone provided by an embodiment of the present invention. The relationship between this embodiment and the above embodiment is to illustrate a specific method for constructing a cone group using a preset high-precision map and obstacle information. Figure 2 As shown, the method includes:
[0044] S210: Collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle.
[0045] S220. Construct a target cone cluster according to the high-precision map and the obstacle information.
[0046] Among them, the target cone cluster can be a cluster composed of multiple cones around the target vehicle; the target cone cluster includes multiple cones in the longitudinal and transverse directions around the lane where the target vehicle is located.
[0047] Specifically, after obtaining the obstacle information, the cones around the target vehicle are determined according to the obstacle information, and a target cone cluster is constructed through a preset high-precision map and the identified cones.
[0048] Optionally, in another optional embodiment of the present invention, the step of constructing a target cone cluster according to the high-precision map and the obstacle information includes:
[0049] When the obstacle type of the lane obstacle is a cone type, the target cone cluster is determined by merging the high-precision map and the obstacle coordinates of the lane obstacle.
[0050] Among them, the cone barrel type can be a cone barrel style obstacle, and the cone barrel type can include different types of cone barrels, such as traffic cones, warning cones, roadblock cones, road marking cones and ice cream cones. The cone barrels are usually brightly colored and have reflective light strips to serve as a warning.
[0051] Specifically, after the target vehicle obtains the obstacle information of the vehicle obstacle, the obstacle category of the lane obstacle of the target vehicle is identified. When the obstacle category of the lane obstacle is a cone type, whether the obstacle coordinates of the vehicle obstacle can be merged is identified through a high-precision map. After determining that the vehicle obstacle can be merged, the obstacle category that can be merged is merged into a cone category to obtain a target cone cluster.
[0052] Optionally, in another optional embodiment of the present invention, the high-precision map and the obstacle coordinates of the lane obstacle are combined to determine the target cone cluster, including:
[0053] Performing position recognition according to the high-precision map and the obstacle coordinates to determine the obstacle lane corresponding to the lane obstacle;
[0054] Calculating the distance of each lane obstacle in turn according to the obstacle coordinates to determine the obstacle distance corresponding to each lane obstacle;
[0055] The obstacle lane and the obstacle distance of the lane obstacle are merged to determine the target cone cluster.
[0056] The obstacle vehicle may be a road lane where the lane obstacle is located in the high-precision map. Optionally, after obtaining the obstacle coordinates of the lane obstacle, the obstacle lane corresponding to the lane obstacle in the high-precision map is determined by judging the obstacle coordinates according to the vehicle coordinate system corresponding to the target vehicle and the high-precision map.
[0057] The obstacle distance may be the distance between each lane obstacle. Optionally, the obstacle distance corresponding to each lane obstacle is obtained by calculating the obstacle coordinates of the lane obstacle in the vehicle coordinate system and the obstacle coordinates of other lane obstacles in the vehicle coordinate system.
[0058] Optionally, after identifying that the obstacle category of the lane obstacle is a cone type, obtain the obstacle lane to which the cone type lane obstacle belongs, select the cone type lane obstacles whose obstacle lanes are the same lane for merging, eliminate the cone type lane obstacles of different obstacle lanes, select a cone type lane obstacle as the center of a target cone cluster, obtain the distance between the lane obstacle corresponding to the center of the target cone cluster and the lane obstacles of other cone types, if the distance between a cone type lane obstacle and the lane obstacle corresponding to the center of the target cone cluster is greater than a preset merging distance threshold, then the lane obstacle of this cone type is not merged, if the distance between a cone type lane obstacle and the lane obstacle corresponding to the center of the target cone cluster is less than the preset merging distance threshold, then the lane obstacle of this cone type is merged into the target cone cluster.
[0059] S230. Determine at least one of the target cone bucket groups based on the target cone bucket cluster and the obstacle coordinates.
[0060] Specifically, the target vehicle determines a target cone cluster corresponding to a lane obstacle of the cone type, groups the lane obstacles in the target cone cluster by obstacle coordinates, and determines at least one target cone group.
[0061] Optionally, in another optional embodiment of the present invention, determining at least one target cone bucket group based on the target cone bucket cluster and the obstacle coordinates includes:
[0062] The lane obstacles in the target cone cluster are divided according to the obstacle coordinates by a preset cone group division rule to determine at least one target cone group; wherein the target cone group includes a transverse cone group and a longitudinal cone group.
[0063] The cone bucket group division rule may be a pre-set rule for grouping vehicle obstacles. In an embodiment of the present invention, the target cone bucket group includes a transverse cone bucket group and a longitudinal cone bucket group, and the cone bucket division rule may set different division rules for the longitudinal cone bucket group and the transverse cone bucket group.
[0064] Preferably, the division rule for the longitudinal cone group may be to select the obstacle coordinates corresponding to a lane obstacle of one cone type as the center coordinate, and make a judgment based on the obstacle coordinates and center coordinates of lane obstacles of other cone types. If the absolute value of the horizontal coordinate change is not greater than 0.5m, and the absolute value of the vertical coordinate change is not greater than 10m, they can be merged into the same longitudinal cone group. When the number of lane obstacles in the longitudinal cone group is greater than 2, make a judgment based on the obstacle coordinates of lane obstacles of other cone types and the obstacle coordinates of each lane obstacle in the longitudinal cone group. If there is a lane obstacle of other cone types whose horizontal coordinate change absolute value is not greater than 0.5m and the vertical coordinate change absolute value is not greater than 10m with the obstacle coordinates of any lane obstacle in the longitudinal cone group, then this lane obstacle will be merged into this longitudinal cone group.
[0065] The division rule for the transverse cone group can be to select the obstacle coordinates corresponding to a lane obstacle of one cone type as the center coordinate, and make a judgment based on the obstacle coordinates and center coordinates of lane obstacles of other cone types. If the absolute value of the longitudinal coordinate change is not greater than 0.5m, and the absolute value of the transverse coordinate change is not greater than 1.5m, they can be merged into the same transverse cone group. When the number of lane obstacles in the transverse cone group is greater than 2, make a judgment based on the obstacle coordinates of lane obstacles of other cone types and the obstacle coordinates of each lane obstacle in the transverse cone group. If there is a lane obstacle of other cone types whose absolute value of the longitudinal coordinate change with the obstacle coordinates of any lane obstacle in the transverse cone group is not greater than 0.5m, and the absolute value of the transverse coordinate change is not greater than 1.5m, then this lane obstacle will be merged into this transverse cone group.
[0066] Optionally, when dividing the lane obstacles in the target cone cluster, when a target cone group judges the lane obstacles, each lane obstacle is judged only once with one target cone group, and the lane obstacles that have been divided into the target cone group are no longer judged with other target cone groups.
[0067] Optionally, when dividing the lane obstacles in the target cone cluster, the division is performed according to the rules corresponding to the longitudinal cone group and the transverse cone group. After detecting that the first two lane obstacles meet the rules corresponding to the longitudinal cone group or the transverse cone group, the first two lane obstacles are divided into the longitudinal cone group or the transverse cone group. If the first two lane obstacles are the longitudinal cone group, the rules corresponding to the transverse cone group are no longer used to judge the other lane obstacles, and only the rules corresponding to the longitudinal cone group are used to judge the other lane obstacles; if the first two lane obstacles are the transverse cone group, the rules corresponding to the longitudinal cone group are no longer used to judge the other lane obstacles, and only the rules corresponding to the transverse cone group are used to judge the other lane obstacles.
[0068] Optionally, when dividing the lane obstacles in the target cone cluster, if it is detected that a lateral cone group cannot detect any rules that satisfy the corresponding rule of the lateral cone group, or a longitudinal cone group cannot detect any rules that satisfy the corresponding rule of the longitudinal cone group, then stop dividing the lane obstacles into this lateral cone group or longitudinal cone group.
[0069] Specifically, lane obstacles are divided in the target cone cluster according to obstacle coordinates corresponding to the lane obstacles through a preset cone group division rule, and at least one target cone group is determined.
[0070] S240, fusing and identifying the target cone groups one by one to determine the target cone information corresponding to the target vehicle.
[0071] The technical solution of the embodiment of the present invention collects information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle; constructs a target cone cluster according to the high-precision map and the obstacle information, and can effectively identify the lane obstacles by constructing the target cone cluster, and screens the lane obstacles according to the distance and coordinates of the obstacles, and aggregates the lane obstacles that meet the requirements into a target cone cluster, thereby reducing the number of cones to be identified and improving the recognition efficiency of the cones; determines at least one target cone group based on the target cone cluster and the obstacle coordinates, and classifies the cones in the target cone cluster according to the obstacle coordinates, which can prevent the cones from being merged too large during the merging process, resulting in an excessively large obstacle area, and further improves the accuracy and precision of the recognition; fuses and identifies the target cone groups one by one, and determines the target cone information corresponding to the target vehicle, thereby solving the technical problem that continuous cones cannot be identified in the prior art, and improving the safety and reliability of the vehicle's automatic driving.
[0072] Figure 3 This is a flowchart of another method for identifying a vehicle on a lane cone provided by an embodiment of the present invention. The relationship between this embodiment and the above embodiment is to illustrate a specific method for fusing indicators of a target cone group. Figure 3 As shown, the method includes:
[0073] S310: Collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle.
[0074] S320: construct a cone group using a preset high-precision map and the obstacle information, and determine at least one target cone group.
[0075] S330, fusing the obstacle corner point information of the lane obstacles in each of the target cone bucket groups one by one, and determining the target obstacle convex hull polygon corresponding to each of the target cone bucket groups.
[0076] The target obstacle convex hull polygon may be an irregular polygon obtained by connecting and fusing the obstacle corner point information. It should be noted that the obstacle corner point information may be the edge point of the lane obstacle, and an irregular polygon composed of vehicle obstacles is obtained by connecting the edge points of all vehicle obstacles in a target cone bucket group, and the irregular polygon is determined as the target obstacle convex hull polygon corresponding to the target cone bucket group.
[0077] Specifically, each target cone group is processed separately, the obstacle corner point information of all lane obstacles in each target cone group is obtained, the edge points of all lane obstacles are determined based on the obstacle corner point information, these edge points are connected in sequence to obtain irregular polygons, all lane obstacles are included in the irregular polygons, and the irregular polygons are determined as the target obstacle convex hull polygons corresponding to each target cone group.
[0078] S340 , performing minimum bounding box calculations on the target obstacle convex hull polygons one by one to determine the target minimum bounding box corresponding to the target obstacle convex hull polygon and vertex coordinate information corresponding to the target minimum bounding box.
[0079] The target minimum bounding box may be a regular polygon containing all vehicle obstacles in the target cone group.
[0080] Optionally, the minimum bounding box of the target obstacle convex hull polygon is calculated by using the preset OpenCV (Open Source Computer Vision Library), and the minimum bounding box is calculated by using the minAreaRect function of OpenCV to determine the target minimum bounding box corresponding to the target obstacle convex hull polygon, and the vertex coordinate information corresponding to the target minimum bounding box is output by the minAreaRect function. The target minimum bounding box output by the minAreaRect function is a rectangle.
[0081] Specifically, for each target obstacle convex hull polygon, the minimum bounding box of the target obstacle convex hull polygon is calculated one by one through OpenCV to determine the target minimum bounding box corresponding to the target obstacle convex hull polygon and the vertex coordinate information corresponding to the target minimum bounding box.
[0082] S350, determining the target cone information corresponding to the target vehicle according to all the target minimum enclosing boxes and the vertex coordinate information of each of the target minimum enclosing boxes.
[0083] Specifically, the target cone information corresponding to the target vehicle is determined by calculating the regular shape corresponding to the target minimum bounding box and the vertex coordinate information of each target minimum bounding box.
[0084] Optionally, in another optional embodiment of the present invention, determining the target cone information corresponding to the target vehicle according to all the target minimum bounding boxes and the vertex coordinate information of each target minimum bounding box includes:
[0085] Calculate the center point, direction and coordinate range of each target minimum enclosing frame one by one according to the vertex coordinate information of each target minimum enclosing frame, and determine the center point information, direction information and range information corresponding to each target minimum enclosing frame;
[0086] The target cone information is determined based on all of the direction information, the center point information and the range information.
[0087] Among them, the center point can be the center of the target minimum enclosing frame; the direction can be the relative direction between the target minimum enclosing frame and the driving direction of the target vehicle. It should be noted that the coordinate system where the vehicle obstacle is located is the vehicle coordinate system, and the relative direction of the target minimum enclosing frame and the target vehicle is determined by comparing the vertex coordinate information of the target minimum enclosing frame with the target vehicle in the vehicle coordinate system. For example, the vertex coordinate information of the target minimum enclosing frame and the coordinate information corresponding to the target vehicle are used for coordinate calculation. If the calculation result of the ordinate of the target minimum enclosing frame is positive, the direction of the target minimum enclosing frame is forward; if the calculation results of the ordinate of the target minimum enclosing frame are all negative values, the direction of the target minimum enclosing frame is backward; if the calculation result of the abscissa of the target minimum enclosing frame is positive, the direction of the target minimum enclosing frame is left; if the calculation result of the abscissa of the target minimum enclosing frame is negative, the direction of the target minimum enclosing frame is right.
[0088] The coordinate range may be a range included in the vertex coordinate information of the target minimum bounding box.
[0089] Specifically, the calculation is performed for each target minimum enclosing frame, and the specific calculation method is as follows: the center point of the target minimum enclosing frame is calculated through the vertex coordinate information of the target minimum enclosing frame, the center point coordinates of the center point of the target minimum enclosing frame in the vehicle coordinate system are determined, and the center point coordinates corresponding to the center point of the target minimum enclosing frame are determined as the center point information, and then the direction is calculated based on the vertex coordinate information of the target minimum enclosing frame and the target vehicle to determine the relative direction of the target minimum enclosing frame and the target vehicle, and this range information is used as the direction information of the target minimum enclosing frame, and the range calculation is performed based on the vertex coordinate information of the target minimum enclosing frame to determine the range information corresponding to the target minimum enclosing frame. The center point information, direction information and range information of each target minimum enclosing frame are obtained by calculation, and the center point information, direction information and range information of all target minimum enclosing frames are sorted and collected to obtain the target cone barrel information.
[0090] Optionally, after obtaining the target cone information, the target cone information is sent to the autonomous driving route planning system of the target vehicle so that the autonomous driving route planning system performs route planning for the target vehicle.
[0091] The technical solution of the embodiment of the present invention is to collect information through the automatic driving perception system of the target vehicle to obtain the obstacle information of the lane obstacle; to construct a cone bucket group through the preset high-precision map and the obstacle information, and to determine at least one target cone bucket group; to fuse the obstacle corner point information of the lane obstacle in each target cone bucket group one by one, to determine the target obstacle convex hull polygon corresponding to each target cone bucket group, to identify the edge of the cone bucket through the obstacle corner point information, and then to connect the edge to obtain the target obstacle convex hull polygon, to effectively determine the range of multiple continuous cone buckets, and to improve the recognition accuracy of continuous cone buckets; to calculate the minimum bounding box of the target obstacle convex hull polygon one by one, to determine the target minimum bounding box corresponding to the target obstacle convex hull polygon and the vertex coordinate information corresponding to the target minimum bounding box; to determine the target cone bucket information corresponding to the target vehicle according to the vertex coordinate information of all the target minimum bounding boxes and each target minimum bounding box, and to further improve the recognition accuracy of the target vehicle to the continuous cone bucket by calculating the target minimum bounding box of the target obstacle convex hull polygon. The technical problem that the continuous cone bucket cannot be recognized in the prior art is solved, and the safety and reliability of vehicle automatic driving are improved.
[0092] Figure 4 A schematic diagram of the structure of a vehicle-to-lane cone recognition device provided by an embodiment of the present invention. Figure 4 As shown, the device includes: a perception module 410, an information processing module 420 and an identification module 430, wherein;
[0093] The perception module 410 is used to collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle; wherein the obstacle information includes obstacle coordinates, obstacle category and obstacle corner point information;
[0094] An information processing module 420 is used to construct a cone group through a preset high-precision map and the obstacle information, and determine at least one target cone group;
[0095] The identification module 430 is used to perform fusion identification on the target cone groups one by one to determine the target cone information corresponding to the target vehicle.
[0096] The technical solution of the embodiment of the present invention collects information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle, determines the identified cone barrels through the obstacle information, and then processes the cone barrels, thereby realizing accurate identification of the cone barrels and improving the safety of automatic driving; constructs a cone barrel group through a preset high-precision map and the obstacle information, determines at least one target cone barrel group, identifies the lane of the vehicle through the high-precision map, and identifies the lane according to the information corresponding to the cone barrel, and then constructs a cone barrel group of effective cone barrels, effectively reducing the number of identifications and improving the efficiency and accuracy of identification; fuses and identifies the target cone barrel groups one by one to determine the target cone barrel information corresponding to the target vehicle, and by fusing and identifying the target cone barrel groups one by one, it is possible to accurately identify continuous cone barrels in the road, improve the safety and reliability of vehicle automatic driving, solve the technical problem that continuous cone barrels cannot be identified in the prior art, and improve the safety and reliability of vehicle automatic driving.
[0097] Optionally, the information processing module is specifically used to:
[0098] Constructing a target cone cluster according to the high-precision map and the obstacle information;
[0099] At least one of the target cone bucket groups is determined based on the target cone bucket cluster and the obstacle coordinates.
[0100] Optionally, the information processing module is further used to:
[0101] When the obstacle type of the lane obstacle is a cone type, the target cone cluster is determined by merging the high-precision map and the obstacle coordinates of the lane obstacle.
[0102] Optionally, the information processing module is further used to:
[0103] Performing position recognition according to the high-precision map and the obstacle coordinates to determine the obstacle lane corresponding to the lane obstacle;
[0104] Calculating the distance of each lane obstacle in turn according to the obstacle coordinates to determine the obstacle distance corresponding to each lane obstacle;
[0105] The obstacle lane and the obstacle distance of the lane obstacle are merged to determine the target cone cluster.
[0106] Optionally, the information processing module is further used to:
[0107] The lane obstacles in the target cone cluster are divided according to the obstacle coordinates by a preset cone group division rule to determine at least one target cone group; wherein the target cone group includes a transverse cone group and a longitudinal cone group.
[0108] Optionally, the identification module is specifically used for:
[0109] The obstacle corner point information of the lane obstacles in each target cone bucket group is merged one by one to determine the target obstacle convex hull polygon corresponding to each target cone bucket group;
[0110] Calculating the minimum bounding box for each of the target obstacle convex hull polygons one by one, and determining the target minimum bounding box corresponding to the target obstacle convex hull polygon and the vertex coordinate information corresponding to the target minimum bounding box;
[0111] The target cone information corresponding to the target vehicle is determined according to all the target minimum enclosing boxes and the vertex coordinate information of each of the target minimum enclosing boxes.
[0112] Optionally, the identification module is further used for:
[0113] Calculate the center point, orientation and coordinate range of each target minimum enclosing frame one by one according to the vertex coordinate information of each target minimum enclosing frame, and determine the center point information, orientation information and range information corresponding to each target minimum enclosing frame;
[0114] The target cone information is determined based on all of the direction information, the center point information and the range information.
[0115] The device for recognizing a vehicle against a lane cone provided in an embodiment of the present invention can execute the method for recognizing a vehicle against a lane cone provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0116] Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their modes are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0117] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0118] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer grid such as the Internet and / or various telecommunication grids.
[0119] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for identifying a vehicle with a lane cone.
[0120] In some embodiments, the method for identifying a vehicle with a lane cone may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for identifying a vehicle with a lane cone described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for identifying a vehicle with a lane cone in any other appropriate manner (e.g., by means of firmware).
[0121] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0122] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the modes / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0123] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0124] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0125] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a grid browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication grid). Examples of communication grids include: a local area network (LAN), a wide area network (WAN), a blockchain grid, and the Internet.
[0126] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication grid. The client and server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0127] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0128] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method steps for identifying a vehicle with respect to a lane cone provided in any embodiment of the present invention are implemented. The method includes:
[0129] Obtaining obstacle information of lane obstacles by collecting information through the automatic driving perception system of the target vehicle; wherein the obstacle information includes obstacle coordinates, obstacle categories, and obstacle corner point information;
[0130] Constructing a cone group by using a preset high-precision map and the obstacle information, and determining at least one target cone group;
[0131] The target cone groups are fused and identified one by one to determine the target cone information corresponding to the target vehicle.
[0132] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0133] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0134] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0135] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of grid, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0136] It should be understood by those skilled in the art that the above modules or steps of the present invention can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a grid composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0137] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0138] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for identifying a vehicle with a lane cone, characterized in that: include: Obtaining obstacle information of lane obstacles by collecting information through the automatic driving perception system of the target vehicle; wherein the obstacle information includes obstacle coordinates, obstacle categories, and obstacle corner point information; Constructing a cone group by using a preset high-precision map and the obstacle information, and determining at least one target cone group; The target cone groups are fused and identified one by one to determine the target cone information corresponding to the target vehicle.
2. The method according to claim 1, characterized in that: The step of constructing a cone bucket group by using a preset high-precision map and the obstacle information and determining at least one target cone bucket group includes: Constructing a target cone cluster according to the high-precision map and the obstacle information; At least one of the target cone bucket groups is determined based on the target cone bucket cluster and the obstacle coordinates.
3. The method according to claim 2, characterized in that The step of constructing a target cone cluster according to the high-precision map and the obstacle information includes: When the obstacle type of the lane obstacle is a cone type, the target cone cluster is determined by merging the high-precision map and the obstacle coordinates of the lane obstacle.
4. The method according to claim 3, characterized in that The high-precision map and the obstacle coordinates of the lane obstacle are combined to determine the target cone cluster, including: Performing position recognition according to the high-precision map and the obstacle coordinates to determine the obstacle lane corresponding to the lane obstacle; Calculating the distance of each lane obstacle in turn according to the obstacle coordinates to determine the obstacle distance corresponding to each lane obstacle; The obstacle lane and the obstacle distance of the lane obstacle are merged to determine the target cone cluster.
5. The method according to claim 4, characterized in that The step of determining at least one target cone bucket group based on the target cone bucket cluster and the obstacle coordinates includes: The lane obstacles in the target cone cluster are divided according to the obstacle coordinates by a preset cone group division rule to determine at least one target cone group; wherein the target cone group includes a transverse cone group and a longitudinal cone group.
6. The method according to claim 1, characterized in that The step of fusing and identifying the target cone groups one by one to determine the target cone information corresponding to the target vehicle includes: The obstacle corner point information of the lane obstacles in each target cone bucket group is merged one by one to determine the target obstacle convex hull polygon corresponding to each target cone bucket group; Calculating the minimum bounding box for each of the target obstacle convex hull polygons one by one, and determining the target minimum bounding box corresponding to the target obstacle convex hull polygon and the vertex coordinate information corresponding to the target minimum bounding box; The target cone information corresponding to the target vehicle is determined according to all the target minimum enclosing boxes and the vertex coordinate information of each of the target minimum enclosing boxes.
7. The method according to claim 6, characterized in that The step of determining the target cone information corresponding to the target vehicle according to all the target minimum bounding boxes and the vertex coordinate information of each target minimum bounding box includes: Calculate the center point, orientation and coordinate range of each target minimum enclosing frame one by one according to the vertex coordinate information of each target minimum enclosing frame, and determine the center point information, orientation information and range information corresponding to each target minimum enclosing frame; The target cone information is determined based on all of the direction information, the center point information and the range information.
8. A vehicle-to-lane cone recognition device, characterized in that: include: A perception module, used to collect information through the automatic driving perception system of the target vehicle to obtain obstacle information of the lane obstacle; wherein the obstacle information includes obstacle coordinates, obstacle category and obstacle corner point information; An information processing module, used to construct a cone group through a preset high-precision map and the obstacle information, and determine at least one target cone group; The recognition module is used to fuse and recognize the target cone barrel groups one by one to determine the target cone barrel information corresponding to the target vehicle.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for recognizing lane cones by a vehicle according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for recognizing lane cones by a vehicle according to any one of claims 1 to 7 when executed.
Citation Information
Cited By
Vehicle surrounding environment display method, computer program product and electronic equipment
CN120645826A
Lane traffic cone recognition method and apparatus for vehicle, electronic device and storage medium
WO2025251501A1
