A method, device, storage medium and electronic device for extracting a specific area

By judging the overlap between the vehicle driving trajectory and the road marking line coverage area, specific areas in the high-precision map can be accurately extracted, which solves the problem of extraction inaccuracy in the existing technology.

CN111881817BActive Publication Date: 2024-09-24BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010730826.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-27
Publication Date
2024-09-24
Estimated Expiration
2040-07-27

AI Technical Summary

Technical Problem

When the existing technology automatically extracts a specific area in a high-precision map, the specific area extracted is inaccurate due to inaccurate intersection points of vehicle driving trajectories.

Method used

By collecting the overlapping portion of the vehicle driving trajectory and the coverage area of ​​the road marking line, it is determined whether the road marking line is in the same specific area, and the range of the specific area is determined based on the overlapping portion, and the specific area is extracted.

Benefits of technology

It improves the extraction accuracy of specific areas and avoids the problem of inaccuracy in extraction caused by inaccurate intersection points of vehicle driving trajectories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111881817B
    Figure CN111881817B
Patent Text Reader

Abstract

This specification discloses a method, device, storage medium and electronic device for extracting a specific area. According to the area covered by each road sign line and the trajectory of vehicle driving, their overlapping parts are determined. According to the overlapping parts, the road sign lines in the same specific area can be determined. Since the specific area in the map can often be demarcated by the road sign lines in the specific area, the specific area can be accurately determined and extracted according to the coverage area of ​​each road sign line in the same specific area. Moreover, in the embodiments of this specification, the specific area is not extracted according to the intersection of different vehicle driving trajectories. Therefore, the problem of poor accuracy in extracting the specific area due to the fact that different vehicle driving trajectories often have intersections in non-specific areas can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, storage medium and electronic device for extracting a specific area. Background Art

[0002] At present, for the high-precision map industry, in order to reduce the production cost of high-precision maps and improve mapping efficiency, the technology of automatically generating high-precision maps has become a demand.

[0003] For the technology of automatically generating high-precision maps, automatically extracting specific areas in the map is one of the necessary conditions for generating high-precision maps. These specific areas can be intersection areas, building areas, etc.

[0004] In the prior art, the method of automatically extracting a specific area is mainly to determine and extract the specific area based on the intersection points of different vehicle driving trajectories.

[0005] However, in actual application scenarios, different vehicle driving trajectories may also have intersections in non-specific areas, so the above-mentioned prior art may cause inaccurate extraction of specific areas. Summary of the invention

[0006] The embodiments of this specification provide a method, device, storage medium and electronic device for extracting a specific area, which can partially solve the problems existing in the above-mentioned prior art.

[0007] The embodiments of this specification adopt the following technical solutions:

[0008] This specification provides a method for extracting a feature area, comprising:

[0009] Collect vehicle driving trajectories;

[0010] Extracting at least one road marking line from an image collected for a road;

[0011] For each extracted road sign line, determining a coverage area of ​​the road sign line;

[0012] Obtaining an overlapping portion of the vehicle driving trajectory and a coverage area of ​​the road marking line;

[0013] Determining, from the extracted road marking lines, road marking lines in the same specific area according to the overlapped portion between the vehicle driving trajectory and the coverage area of ​​each road marking line;

[0014] According to the coverage areas of the road marking lines in the same specific area, the range of the specific area is determined and extracted.

[0015] Optionally, extracting at least one road marking line from an image collected for a road specifically includes:

[0016] According to the image collected from the road, a pre-trained recognition model is used to extract at least one road marking line from the image.

[0017] Optionally, determining the coverage area of ​​the road marking line specifically includes:

[0018] Taking the road marking line as the marking line to be merged, determining the coordinates of the marking line to be merged and the coordinates of other road marking lines;

[0019] According to the coordinates of the to-be-merged marking line and the coordinates of other road marking lines, determining whether there is a designated road marking line among the other road marking lines, wherein the designated road marking line is a road marking line that needs to be merged with the to-be-merged marking line;

[0020] If yes, then merge the designated road marking line with the marking line to be merged, and determine the coverage area of ​​the merged road marking line;

[0021] Otherwise, determine the coverage area of ​​the marker line to be merged.

[0022] Optionally, determining whether a designated road marking line exists among the other road marking lines specifically includes:

[0023] Expanding the coverage of the to-be-merged marking lines by a specified range;

[0024] Other road marking lines that at least partially overlap with the expanded coverage of the marking line to be merged are used as designated marking lines.

[0025] Optionally, determining road marking lines in the same specific area specifically includes:

[0026] For any two different road marking lines, if the distance between the vehicle driving trajectory and the overlapping part of the coverage area of ​​the two different road marking lines is less than a first preset threshold, the two different road marking lines are determined to be road marking lines in the same specific area.

[0027] Optionally, determining the road marking lines in the same specific area from the extracted road marking lines according to the overlapping part of the vehicle driving trajectory and the coverage area of ​​each road marking line specifically includes:

[0028] For each road marking line, taking the overlapping portion of the vehicle driving trajectory and the coverage area of ​​the road marking line as a sub-trajectory corresponding to the road marking line;

[0029] According to the vehicle driving trajectory, determining the sequence of the sub-trajectories corresponding to each road marking line in the vehicle driving trajectory;

[0030] For any two different road marking lines, if the sub-trajectories corresponding to the two different road marking lines are adjacent in sequence in the vehicle driving trajectory, the two different road marking lines are determined to be road marking lines in the same specific area.

[0031] Optionally, before determining that the two different road marking lines are road marking lines located in the same specific area, the method further includes:

[0032] In the vehicle driving trajectory, determining a trajectory located between the overlapping area of ​​the vehicle trajectory and the coverage areas of the two different road marking lines as an intermediate trajectory;

[0033] It is determined that the curvature of the intermediate trajectory falls within a preset curvature range.

[0034] Optionally, determining the range of the specific area according to the coverage areas of the road marking lines in the same specific area specifically includes:

[0035] Determine the circumscribed polygon of the coverage area of ​​each road marking line in the same specific area;

[0036] The coverage area of ​​the circumscribed polygon is determined as the range of the specific area.

[0037] Optionally, the road marking line includes: a pedestrian crossing line and / or a stop line;

[0038] The specific area includes: an intersection area.

[0039] This specification provides a device for extracting a specific area, comprising:

[0040] A collection module, used to collect vehicle driving trajectories;

[0041] A road marking line extraction module, used to extract at least one road marking line from an image collected for a road;

[0042] A coverage area determination module, used for determining the coverage area of ​​each road sign line extracted;

[0043] An acquisition module, used for acquiring an overlapping portion of the vehicle driving trajectory and a coverage area of ​​the road marking line;

[0044] A road sign line determination module, configured to determine the road sign lines in the same specific area from the extracted road sign lines according to the overlapped portion of the vehicle driving trajectory and the coverage area of ​​each road sign line;

[0045] The area extraction module is used to determine and extract the scope of the specific area according to the coverage area of ​​each road sign line in the same specific area.

[0046] This specification provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for extracting a feature area is implemented.

[0047] The present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for extracting feature regions when executing the program.

[0048] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0049] In the embodiment of this specification, the overlapping part of the road marking lines is determined based on the area covered by each road marking line and the vehicle's driving trajectory. The road marking lines in the same specific area can be determined based on the overlapping part. Since the specific area in the map can often be demarcated by the road marking lines in the specific area, the specific area can be accurately determined and extracted based on the coverage area of ​​the road marking lines in the same specific area. Moreover, in the embodiment of this specification, the specific area is not extracted based on the intersection of different vehicle driving trajectories. Therefore, the problem of poor accuracy in extracting specific areas due to the fact that different vehicle driving trajectories often have intersections in non-specific areas can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0051] Figure 1 A schematic diagram of a process for extracting a specific area provided in an embodiment of this specification;

[0052] Figure 2 A schematic diagram of the coverage area of ​​the road marking line itself provided in the embodiment of this specification;

[0053] Figure 3a to Figure 3c A schematic diagram of determining the coverage area of ​​road marking lines provided in an embodiment of this specification;

[0054] Figure 4 A schematic diagram of the area covered by the enlarged road marking line provided for this illustrative example;

[0055] Figure 5A schematic diagram for determining road marking lines in the same specific area provided for this description example;

[0056] Figure 6 A schematic diagram identifying a specific area provided for this illustrative example;

[0057] Figure 7 A schematic diagram of the structure of a device for extracting a specific area provided in an embodiment of this specification;

[0058] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0059] The method for extracting a specific area provided in this specification aims to determine the overlapping parts of the driving trajectories of different vehicles and the coverage areas of each road marking line, judge whether each road marking line is in the same specific area based on the overlapping parts, and then determine the scope of the specific area based on the coverage area of ​​each road marking line and extract it.

[0060] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0061] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0062] Figure 1 The schematic diagram of the process of extracting a specific area provided in the embodiment of this specification includes:

[0063] S100: Collecting vehicle driving trajectory.

[0064] In the embodiments of this specification, any vehicle including a map collection vehicle can be used to collect the vehicle's own driving trajectory as the vehicle's driving trajectory. Among them, the vehicle's trajectory points at different times can be collected according to the set cycle (specifically, the coordinates of the vehicle at different times can be collected as trajectory points), and the vehicle's driving trajectory can be determined based on the vehicle's trajectory points at different times. The collection time of each trajectory point can also be recorded at the same time as the timestamp corresponding to the different trajectory points in the vehicle's driving trajectory.

[0065] Specifically, in the process of collecting vehicle driving trajectories, the vehicle driving trajectories of one or more vehicles may be collected.

[0066] S102: Extract at least one road marking line from an image collected for the road.

[0067] In the embodiment of the present specification, before extracting the road marking line, an image of the road may be collected, and then a pre-trained recognition model may be used to extract at least one road marking line from the collected image. In the embodiment of the present specification, the road marking line may include a crosswalk and / or a stop line.

[0068] Specifically, when collecting images of roads, laser radar can be used to scan the roads, and a laser reflectivity base map can be generated according to the laser reflection intensity as the collected images of the roads. Of course, cameras or other image acquisition devices can also be used to collect images of roads, and this specification does not limit this.

[0069] Furthermore, when pre-training the recognition model, a supervised training method may be used to train the recognition model. Specifically, a pre-collected road image may be used as a training sample, and road signs in the image may be annotated. The recognition model may be trained based on the image used as the training sample and the annotation corresponding to the sample.

[0070] S104: For each extracted road sign line, determine the coverage area of ​​the road sign line.

[0071] In the embodiment of the present specification, after each road sign line is extracted in step S102, the coordinates of each road sign line extracted can be determined first, and the coverage area of ​​each road sign line itself can be determined according to the coordinates. When determining the coverage area of ​​a road sign line itself, the minimum circumscribed polygon of the road sign line can be determined according to the coordinates of the road sign line, and the circumscribed polygon is used as the coverage area of ​​each road sign line. Figure 2 shown.

[0072] exist Figure 2 In the figure, the road sign line is a crosswalk line. Through the above step S102, the crosswalk line can be extracted and the coordinates of each point in the crosswalk line can be determined. Then, the minimum circumscribed rectangle of the crosswalk line is determined according to the maximum and minimum horizontal coordinates and the maximum and minimum vertical coordinates. The minimum circumscribed rectangle is the coverage area of ​​the crosswalk line itself. Of course, the four vertices of the crosswalk line can also be determined according to the maximum and minimum horizontal coordinates and the maximum and minimum vertical coordinates, and the rectangle determined by the four vertices is used as the coverage area of ​​the crosswalk line itself. Among them, the area shown by the dotted line is the coverage area of ​​the crosswalk line itself.

[0073] Specifically, in actual application scenarios, road marking lines may be worn or blocked, so in step S102, the same road marking line may be identified as multiple different road marking lines. Therefore, before determining the coverage area of ​​each road marking line, it can be determined whether the multiple different road marking lines identified should originally be the same road marking line. If so, these different road marking lines are merged, and then the coverage area of ​​the merged road marking line is determined.

[0074] Furthermore, the above method for determining the coverage area of ​​road marking lines may include: for any road marking line, taking the road marking line as the marking line to be merged, determining the coordinates of the marking line to be merged and the coordinates of other road marking lines. According to the coordinates of the marking line to be merged and the coordinates of other road marking lines, judging whether there is a designated road marking line among the other road marking lines, wherein the designated road marking line is the road marking line that needs to be merged with the marking line to be merged. If so, merging the designated road marking line with the marking line to be merged, and determining the coverage area of ​​the merged road marking line; otherwise, determining the coverage area of ​​the marking line to be merged.

[0075] Among them, the method for determining whether there is a designated road marking line among other road marking lines (i.e., the method for determining whether there are other road marking lines that need to be merged with the marking line to be merged) may include: expanding the coverage of the marking line to be merged by a designated range, and taking other road marking lines that at least partially overlap with the expanded coverage of the marking line to be merged as designated marking lines. That is, if the coverage of the marking line to be merged is expanded by a designated range, other road marking lines that overlap with the expanded range are the designated marking lines that need to be merged with the marking line to be merged. In other words, the designated marking line and the marking line to be merged were originally the same road marking line. Figure 3a to Figure 3c shown.

[0076] exist Figure 3a In the above step S102, three road marking lines are extracted, namely marking lines 1 to 3. The above method can be used to first determine the coverage area of ​​each of the three road marking lines, namely areas A to C. The figure shown by the thin dotted line is the worn or blocked part of the crosswalk, and the area shown by the thick dotted line is the area covered by the marking line.

[0077] exist Figure 3b In the example, for marker line 1, the original coverage area of ​​marker line 1 is expanded, that is, area A. Since the expanded area A overlaps with area B but not with area C, it can be determined that marker line 2 is the designated marker line and needs to be merged with marker line 1. Marker line 3 is not a designated marker line and is not merged with marker line 1.

[0078] exist Figure 3cIn the process, the marking line 1 and the marking line 2 are treated as the same road marking line, and the maximum and minimum horizontal coordinates and the maximum and minimum vertical coordinates of the same road marking line are determined, and the coverage area of ​​the road marking line after the marking line 1 and the marking line 2 are combined is determined accordingly, that is, the area A'.

[0079] In addition, the above method for expanding the coverage area of ​​a road sign line may include: for any road sign line, extending the short side and the long side of the minimum circumscribed polygon of the coverage area of ​​the road sign line to both sides by a specified distance, and then determining the expanded coverage area of ​​the road sign line according to the maximum and minimum horizontal coordinates and the maximum and minimum vertical coordinates after the extension, such as Figure 4 shown.

[0080] exist Figure 4 In the case of a road marking line, the road marking line is a pedestrian crossing line, using the above Figure 2 The method for determining the minimum circumscribed rectangle of the crosswalk line is to determine the minimum circumscribed rectangle of the crosswalk line 1, that is, area B. The longest side of the circumscribed rectangle is a, and the shortest side is b. Extend side a to points a' and a", and extend side b to points b' and b". Based on points a', a", b' and b", the coverage area of ​​the enlarged crosswalk 1 is determined, that is, area C.

[0081] It should be noted that the specified distance is set according to actual needs.

[0082] It should also be noted that the execution order of the above steps S100 and S102 to S104 is not specific.

[0083] S106: Obtain the overlapping portion of the vehicle driving trajectory and the coverage area of ​​the road marking line.

[0084] In the embodiment of the present specification, after the coverage areas of the merged road marking lines are determined in the above step S104, the part of a vehicle driving trajectory that falls into the coverage area of ​​the road marking line can be regarded as the overlapping part of the vehicle driving trajectory and the coverage part of the road marking line.

[0085] S108: Determine the road marking lines in the same specific area from the extracted road marking lines according to the overlapping portion between the vehicle driving trajectory and the coverage area of ​​each road marking line.

[0086] In the embodiment of the present specification, when a vehicle passes through a specific area during driving, it will successively pass through different road marking lines in the specific area, and the distance between different road marking lines in the specific area will not be too far. Therefore, the overlapping part of the vehicle driving trajectory and the coverage area of ​​different road marking lines can be obtained through the above step S106, and according to the distance between the overlapping part of the vehicle driving trajectory and the coverage area of ​​different road marking lines and the order of passing, it can be judged whether different road marking lines are in the same specific area.

[0087] Specifically, the method for judging whether different road marking lines are in the same specific area according to the distance between the overlapping parts of the coverage areas of different road marking lines may include: for arbitrarily selecting two different road marking lines, if the distance between the vehicle driving trajectory and the overlapping parts of the coverage areas of the two different road marking lines is less than a first preset threshold, then determining that the two different road marking lines are road marking lines in the same specific area.

[0088] Furthermore, the method for determining the distance between the overlapping parts of the coverage areas of the above two different road marking lines may include: the two different overlapping parts are partial tracks in the vehicle's driving track, therefore, the midpoints of the two different partial tracks may be selected, and then the length of the line segment connecting the two midpoints may be used as the distance between the two different overlapping parts. Of course, the closest point or the farthest point or any two points of the two different partial tracks may also be selected, and the length of the line segment connecting the two closest points or the farthest points or any two points may be used as the distance between the two different overlapping parts. Figure 5 shown.

[0089] exist Figure 5 In the figure, the road marking line is a pedestrian crossing line, and the specific area is an intersection area. Assume that the vehicle driving trajectory is L1, the coverage area of ​​marking line 1 is D, and the coverage area of ​​marking line 2 is E. Among them, the trajectory L1 passes through D and E, and the overlapping parts are l1 and l1' respectively. Take the midpoints of l1 and l1', and the line segment connecting the two midpoints is d. The length of line segment d is the distance between the overlapping parts l1 and l1'. If line segment d is less than the threshold, it can be determined that marking line 1 and marking line 2 are in the same intersection area.

[0090] In addition, based on the order in which the vehicle's driving trajectory passes through the coverage areas of different road marking lines, a method for determining whether different road marking lines are in the same specific area may include: for any road marking line, taking the overlapping portion of the vehicle's driving trajectory and the coverage area of ​​the road marking line as the sub-trajectory corresponding to the road marking line. Based on the same vehicle driving trajectory, determine the order of the sub-trajectories corresponding to each road marking line in the vehicle's driving trajectory. For any two different road marking lines, if the sub-trajectories corresponding to the two different road marking lines are adjacent in order in the same vehicle driving trajectory, then the two different road marking lines are determined to be road marking lines in the same specific area. Figure 5 shown.

[0091] exist Figure 5 In the figure, the coverage area of ​​marking line 3 is F, the coverage area of ​​marking line 4 is G, and the vehicle driving trajectory is L2. Among them, trajectory L2 passes through areas E, F, and G, and the overlapping parts are l2, l2', and l2". For marking line 1 and marking line 3, determine whether the time sequence of l2 and l2' is adjacent. If so, it can be determined that marking line 1 and marking line 3 are in the same intersection area. Similarly, for marking line 3 and marking line 4, determine whether the time sequence of l2' and l2" is adjacent. If not, it means that marking line 3 and marking line 4 are not in the same intersection area.

[0092] In the embodiments of the present specification, it is also possible to determine whether different road marking lines are in the same specific area based on the distance of the overlapping parts of the areas covered by different road marking lines and the order in which the vehicle's driving trajectory passes through the areas covered by different road marking lines.

[0093] Specifically, for any two different road marking lines, if the distance between the overlapping parts of the areas covered by the two different road marking lines is less than a first preset threshold, and the sub-trajectories corresponding to the two different road marking lines are adjacent in sequence in the vehicle driving trajectory, then the two different road marking lines are determined to be road marking lines in the same specific area.

[0094] In the embodiments of the present specification, in addition to the above-mentioned distance of the overlapping parts of the coverage areas of different road marking lines and the order in which the vehicle driving trajectory passes through the coverage areas of different road marking lines, it is also possible to further judge whether two different road marking lines are road marking lines in the same specific area based on the curvature of the vehicle driving trajectory. Specifically, whether it is the above-mentioned distance of the overlapping parts of the coverage areas of different road marking lines or the order in which the vehicle driving trajectory passes through the coverage areas of different road marking lines, before determining that the two different road marking lines are road marking lines in the same specific area, it is also possible to determine in the vehicle driving trajectory a trajectory located between the overlapping area of ​​the same vehicle trajectory and the coverage areas of the two different road marking lines as an intermediate trajectory. If it is determined that the curvature of the intermediate trajectory falls within the preset curvature range, then the two different road marking lines are determined to be road marking lines in the same specific area. Otherwise, the vehicle driving trajectory is determined to be an illegal trajectory and can be ignored, that is, it is no longer determined whether the two different road marking lines are in the same specific area based on the vehicle driving trajectory. Figure 5 shown.

[0095] exist Figure 5 In the figure, between track l1 and track l1' is track l1", determine whether the curvature of l1" is within the preset curvature range. If so, and the distance between l1 and l1' is less than the first preset threshold, and / or, the order in which L1 passes through l1 and l1' is adjacent, then it can be determined that marking line 1 and marking line 2 are in the same intersection area. If not, directly discard this track L1. Similarly, the same method can be used for marking line 1 and marking line 3, marking line 3 and marking line 4, which will not be repeated here.

[0096] S110: Determine and extract the range of the specific area according to the coverage areas of the road marking lines in the same specific area.

[0097] In the embodiment of this specification, a circumscribed polygon is determined based on the coverage area of ​​each road sign line in the same specific area, and the coverage area of ​​the circumscribed polygon is determined as the range of the specific area. Figure 6 shown.

[0098] exist Figure 6In the figure, the road marking line is a pedestrian crossing line, and the specific area is an intersection area. The marking lines determined in the above step S108 at the same intersection are marking line 1, marking line 2, marking line 3, and marking line 4, and their corresponding areas are area A, area B, area C, and area D. These four areas are taken as a whole, and the circumscribed polygon is determined according to the maximum and minimum horizontal coordinates and the maximum and minimum vertical coordinates, and the coverage area of ​​the circumscribed polygon is determined as the intersection area. Among them, the area shown by the thin dotted line is the coverage area of ​​the marking line, and the area shown by the thick dotted line is the intersection area.

[0099] Specifically, the circumscribed polygon determined in step S110 may be a circumscribed rectangle.

[0100] Through the above Figure 1 As can be seen from the method shown, in the embodiment of this specification, the overlapping part of the road marking lines and the vehicle driving track is determined according to the area covered by each road marking line, and the road marking lines in the same specific area can be determined according to the overlapping part. Since the specific area in the map can often be demarcated by the road marking lines in the specific area, the specific area can be accurately determined and extracted according to the coverage area of ​​the road marking lines in the same specific area. Moreover, in the embodiment of this specification, the specific area is not extracted according to the intersection of different vehicle driving tracks, so the problem of poor accuracy in extracting the specific area due to the fact that different vehicle driving tracks often have intersections in non-specific areas can be avoided.

[0101] The above is a method for extracting a specific area provided in an embodiment of this specification. Based on the same idea, this specification also provides corresponding devices, storage media and electronic devices.

[0102] Figure 7 A schematic diagram of a structure of a device for extracting a specific area provided in an embodiment of this specification, the device comprising:

[0103] Collection module 401, used to collect vehicle driving trajectories;

[0104] A road marking line extraction module 402 is used to extract at least one road marking line from an image collected for a road;

[0105] A coverage area determination module 403 is used to determine the coverage area of ​​each road sign line extracted;

[0106] An acquisition module 404 is used to acquire an overlapping portion of the vehicle driving trajectory and a coverage area of ​​the road marking line;

[0107] A road sign determination module 405 is used to determine the road sign lines in the same specific area from the extracted road sign lines according to the overlapped part between the vehicle driving trajectory and the coverage area of ​​each road sign line;

[0108] The area extraction module 406 is used to determine and extract the range of the specific area according to the coverage area of ​​each road marking line in the same specific area.

[0109] Optionally, the road sign line extraction module 402 is specifically configured to extract at least one road sign line from an image captured from a road using a pre-trained recognition model.

[0110] Optionally, the coverage area determination module 403 is specifically used to take the road marking line as the marking line to be merged, determine the coordinates of the marking line to be merged and the coordinates of other road marking lines; based on the coordinates of the marking line to be merged and the coordinates of other road marking lines, determine whether there is a designated road marking line among the other road marking lines, wherein the designated road marking line is the road marking line that needs to be merged with the marking line to be merged; if so, merge the designated road marking line with the marking line to be merged, and determine the coverage area of ​​the merged road marking line; otherwise, determine the coverage area of ​​the marking line to be merged.

[0111] Optionally, the coverage area determination module 403 is specifically configured to expand the coverage range of the to-be-merged marking line by a designated range; and use other road marking lines that at least partially overlap with the expanded coverage range of the to-be-merged marking line as designated marking lines.

[0112] Optionally, the road marking line determination module 405 is specifically used to, for any two different road marking lines, determine that the two different road marking lines are road marking lines in the same specific area if the distance between the vehicle driving trajectory and the overlapping part of the coverage area of ​​the two different road marking lines is less than a first preset threshold.

[0113] Optionally, the road marking line determination module 405 is specifically used to determine, according to the vehicle driving trajectory, the sequence of sub-trajectories corresponding to each road marking line in the vehicle driving trajectory; for any two different road marking lines, if the sub-trajectories corresponding to the two different road marking lines are adjacent in sequence in the vehicle driving trajectory, then the two different road marking lines are determined to be road marking lines in the same specific area.

[0114] Optionally, the road marking line determination module 405 is also used to, before determining that the two different road marking lines are road marking lines located in the same specific area, determine, in the vehicle driving trajectory, a trajectory located between an overlapping area between the vehicle trajectory and a coverage area of ​​the two different road marking lines as an intermediate trajectory; and determine that the curvature of the intermediate trajectory falls within a preset curvature range.

[0115] Optionally, the area extraction module 406 is specifically used to determine the circumscribed polygon of the coverage area of ​​each road sign line in the same specific area; and determine the coverage area of ​​the circumscribed polygon as the range of the specific area.

[0116] Optionally, the road marking line includes: a crosswalk line and / or a stop line; and the specific area includes: an intersection area.

[0117] This specification also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, it can be used to perform the above Figure 1 Provides a method for extracting a specific area.

[0118] based on Figure 1 The motion trajectory prediction method shown in the present specification also provides Figure 8 The structural diagram of the unmanned equipment is shown in FIG. Figure 8 At the hardware level, the unmanned equipment includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 The method for extracting a specific area.

[0119] Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the executor of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0120] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0121] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0122] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0123] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0124] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0125] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0128] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0129] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0130] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0131] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0132] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0133] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0134] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0135] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A method for extracting a specific area, It is characterized in that include: Collect vehicle driving trajectories; Extracting at least one road marking line from an image collected for a road; For each extracted road sign line, determining a coverage area of ​​the road sign line; Obtaining an overlapping portion of the vehicle driving trajectory and a coverage area of ​​the road marking line; Determining, from the extracted road marking lines, road marking lines in the same specific area according to the overlapped portion between the vehicle driving trajectory and the coverage area of ​​each road marking line; Determine and extract the range of the specific area according to the coverage area of ​​each road marking line in the same specific area; Wherein, according to the overlapped part of the vehicle driving trajectory and the coverage area of ​​each road marking line, determining the road marking lines in the same specific area from the extracted road marking lines specifically includes: For each road marking line, taking the overlapping portion of the vehicle driving trajectory and the coverage area of ​​the road marking line as a sub-trajectory corresponding to the road marking line; According to the vehicle driving trajectory, determining the sequence of the sub-trajectories corresponding to each road marking line in the vehicle driving trajectory; For any two different road marking lines, if the sub-trajectories corresponding to the two different road marking lines are adjacent in sequence in the vehicle driving trajectory, the two different road marking lines are determined to be road marking lines in the same specific area; wherein the road marking lines include: a crosswalk line and / or a stop line; The specific area includes: an intersection area.

2. The method according to claim 1, It is characterized in that Extracting at least one road marking line from an image collected for a road specifically includes: According to the image collected from the road, a pre-trained recognition model is used to extract at least one road marking line from the image.

3. The method according to claim 1, It is characterized in that Determine the coverage area of ​​the road marking line, including: Taking the road marking line as the marking line to be merged, determining the coordinates of the marking line to be merged and the coordinates of other road marking lines; According to the coordinates of the to-be-merged marking line and the coordinates of other road marking lines, determining whether there is a designated road marking line among the other road marking lines, wherein the designated road marking line is a road marking line that needs to be merged with the to-be-merged marking line; If yes, then merge the designated road marking line with the marking line to be merged, and determine the coverage area of ​​the merged road marking line; Otherwise, determine the coverage area of ​​the marker line to be merged.

4. The method according to claim 3, It is characterized in that Determining whether there is a designated road marking line among the other road marking lines specifically includes: Expanding the coverage of the to-be-merged marking lines by a specified range; Other road marking lines that at least partially overlap with the expanded coverage of the marking line to be merged are used as designated marking lines.

5. The method according to claim 1, It is characterized in that Determine the road markings in the same specific area, including: For any two different road marking lines, if the distance between the vehicle driving trajectory and the overlapping part of the coverage area of ​​the two different road marking lines is less than a first preset threshold, the two different road marking lines are determined to be road marking lines in the same specific area.

6. The method according to claim 5, It is characterized in that Before determining that the two different road marking lines are road marking lines located in the same specific area, the method further includes: In the vehicle driving trajectory, determining a trajectory located between the overlapping area of ​​the vehicle trajectory and the coverage areas of the two different road marking lines as an intermediate trajectory; It is determined that the curvature of the intermediate trajectory falls within a preset curvature range.

7. The method according to claim 1, It is characterized in that Determining the scope of the specific area according to the coverage areas of the road marking lines in the same specific area specifically includes: Determine the circumscribed polygon of the coverage area of ​​each road marking line in the same specific area; The coverage area of ​​the circumscribed polygon is determined as the range of the specific area.

8. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method described in any one of claims 1 to 7 is implemented.