Method, device and storage medium for recognizing landmark arrows

The machine learning detection model identifies vehicles and lane lines and determines lane numbers, which solves the problem of difficulty in identifying blocked or changing landmark arrows using traditional methods, and improves recognition accuracy and driver adaptability.

CN111414826BActive Publication Date: 2024-09-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010175410.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-13
Publication Date
2024-09-06
Estimated Expiration
2040-09-06

AI Technical Summary

Technical Problem

The traditional landmark arrow recognition method is difficult to accurately identify the position of the landmark arrow that is blocked or changes due to changes in road conditions, causing the driver to be unable to adapt to the changes in the landmark arrow.

Method used

Using the preset detection model of machine learning, the first preset detection model is input through the road image to obtain the detection results of vehicles and landmark arrows, and the second preset detection model is input to obtain the lane line detection results, combined with the relative scene distribution of landmark arrows, vehicles The detection results and lane line detection results determine the lane number, thereby enabling the target vehicle to drive accurately.

Benefits of technology

It improves the detection and recognition accuracy of blocked landmark arrows, helps drivers adapt to landmark arrows that change due to changes in road conditions, and ensures driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111414826B
    Figure CN111414826B
Patent Text Reader

Abstract

The embodiments of the present application disclose a landmark arrow recognition method, device and storage medium, which realizes high recognition of landmark arrow types based on a preset detection model of machine learning, and determines lane numbers with the aid of lane line and vehicle detection results, thereby improving the detection and recognition accuracy of obstructed landmark arrows, and providing effective support for drivers to adapt to landmark arrows that change due to changes in road conditions. The aforementioned recognition method includes: obtaining a road image corresponding to a target vehicle; inputting the road image into a first preset detection model to obtain vehicle detection results and landmark arrow detection and recognition results, inputting the road image into a second preset detection model to obtain lane line detection results; determining the spatial distribution of the landmark arrow relative to the scene based on the landmark arrow detection and recognition results; determining the lane number based on the spatial distribution of the landmark arrow relative to the scene, the vehicle detection results and the lane line detection results, so that the target vehicle drives according to the landmark arrow corresponding to the lane number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and specifically to a method, device and storage medium for recognizing a landmark arrow. Background Art

[0002] Landmark arrows are an important traffic element that can indicate the direction of a vehicle's travel and are an important part of road data. Traditionally, map road data is derived from navigation data, which is used to update road data based on traffic volume and driving trajectory to indicate vehicle travel. With the development of computer vision, image processing technology can be applied in the field of transportation to update road data by processing images or videos taken during driving.

[0003] The traditional landmark arrow recognition scheme mainly involves shape matching methods. The general process is to use inverse projection mapping to obtain a top view of each frame of the image, and then use the K-means clustering method to perform image segmentation in the hexagonal pyramid model (Hue, Saturation, Value, HSV) space to separate the connected areas that meet the brightness and color conditions, and perform geometric size screening on these connected areas. Then, the candidate areas are edge extracted, and the local multi-scale gradient directional histogram (Histogram of Oriented Gradients, HOG) feature is extracted for each edge point. Finally, the feature is used to perform point-to-point matching between the template and the candidate area, and the matching results are then subjected to geometric structure matching to identify the category of the area.

[0004] Since the landmark arrows will change with the changes in the road, the current recognition method is designed to solve the detection problem of ground arrows in the case of occlusion and deformation to a certain extent, but it does not identify which lane the current landmark arrow is in, making it impossible for the driver to adapt to the changed landmark arrows. Summary of the invention

[0005] The embodiments of the present application provide a landmark arrow recognition method, device and storage medium. A preset detection model based on machine learning achieves a high degree of recognition of the type of landmark arrows, and determines the lane number with the aid of lane line and vehicle detection results, so that the target vehicle can travel according to the landmark arrow corresponding to the lane number, thereby improving the detection and recognition accuracy of obstructed landmark arrows, and providing effective support for drivers to adapt to landmark arrows that change due to changes in road conditions.

[0006] In view of this, the present application provides the following solutions:

[0007] In a first aspect, an embodiment of the present application provides a method for recognizing a landmark arrow, which may include:

[0008] Acquire a road image corresponding to the target vehicle;

[0009] Inputting the road image into a first preset detection model to obtain a vehicle detection result and a landmark arrow detection and recognition result, and inputting the road image into a second preset detection model to obtain a lane line detection result;

[0010] Determining the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow;

[0011] A lane number is determined according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result, and the lane line detection result, and the lane number is displayed so that the target vehicle travels according to the landmark arrow corresponding to the lane number.

[0012] In a second aspect, an embodiment of the present application provides an identification device, which may include:

[0013] An acquisition unit, used to acquire a road image corresponding to a target vehicle;

[0014] an obtaining unit, configured to input the road image into a first preset detection model to obtain a vehicle detection result and a detection and recognition result of a landmark arrow, and input the road image into a second preset detection model to obtain a lane line detection result;

[0015] a determination unit, which determines the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow;

[0016] The determination unit is used to determine the lane number according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result, so that the target vehicle travels according to the landmark arrow corresponding to the lane number.

[0017] Optionally, in combination with the second aspect, in a first possible implementation manner, the determining unit may include:

[0018] The first determination module is used to process the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result through an interpolation determination algorithm to determine the lane number.

[0019] Optionally, in combination with the foregoing second aspect and the first possible implementation manner of the second aspect, in a second possible implementation manner, the determining unit may include:

[0020] A second determination module determines a rectangular detection frame corresponding to the landmark arrow based on the detection and recognition result of the landmark arrow;

[0021] The second determination module is used to determine the intersection coordinates of the diagonal intersection points of the rectangular detection frame;

[0022] The second determination module is used to determine the relative position of the rectangular detection box according to the intersection coordinates, or to determine the target area where the intersection coordinates are located in a preset divided area, wherein the relative position of the rectangular detection box is used to indicate the relative position distribution of the landmark arrow, and the target area is used to indicate the distance of the field of view from the target vehicle to the area where the landmark arrow is located.

[0023] Optionally, in combination with the second possible implementation of the second aspect, in a third possible implementation, the recognition device further includes: a correction unit,

[0024] The determining unit is further configured to determine at least one row of landmark arrows based on the relative position of the rectangular detection frame and the lane number after determining the lane number according to the spatial distribution of the landmark arrows relative to the scene, the vehicle detection result, and the lane line detection result, wherein each row of landmark arrows is a landmark arrow in the same road image and has the same row coordinates;

[0025] The determining unit is used to determine an image frame distance according to GPS information in the road image, wherein the image frame distance is a distance between an image frame of the first road image and an image frame of the second road image, and the image frame of the first road image is adjacent to the image frame of the second road image;

[0026] The determining unit is used to determine the image sequence grouping situation based on the change relationship between the image frame distance and the target area corresponding to the landmark arrows in the same row, and the image sequence grouping situation is used to distinguish the landmark arrows with the same row coordinates;

[0027] The correction unit corrects the detection and recognition result of the landmark arrow based on the at least one row of landmark arrows and the grouping of the image sequence, and displays the landmark arrow corresponding to the corrected detection and recognition result of the landmark arrow.

[0028] Optionally, in combination with the second aspect and the first to third possible implementations of the first aspect, in a fourth possible implementation, the acquiring unit includes:

[0029] An acquisition module, used to acquire road data corresponding to the target vehicle, wherein the road data includes GPS information and driving speed information of the target vehicle;

[0030] The obtaining module is used to perform equal-interval downsampling on the road data according to the GPS information and the driving speed information to obtain the road image.

[0031] Optionally, in combination with the second to fourth possible implementations of the second aspect above, in a fifth possible implementation, the relative position distribution of the rectangular detection frame includes a row relationship and a column relationship, the row relationship is used to indicate the relative relationship of the landmark arrows from left to right, and the column relationship is used to indicate landmark arrows with the same row coordinates.

[0032] In a third aspect, an embodiment of the present application provides a computer device, the computer device comprising:

[0033] Includes: input / output (I / O) interface, processor and memory,

[0034] The memory stores program instructions;

[0035] The processor is used to execute program instructions stored in the memory to implement the method as described in the first aspect or any possible implementation manner of the first aspect.

[0036] A fourth aspect of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute a method such as the first aspect or any possible implementation method of the first aspect.

[0037] A fifth aspect of the embodiments of the present application provides a computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute any of the methods described above.

[0038] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0039] In the embodiment of the present application, the road image is input into the first preset detection model and the second preset detection model respectively, and the vehicle detection result and the detection and recognition result of the landmark arrow and the lane line detection result are obtained respectively. The spatial distribution of the landmark arrow relative to the scene is further determined based on the detection and recognition result of the landmark arrow, so as to determine the lane number based on the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result, and display the lane number so that the target vehicle can travel according to the landmark arrow corresponding to the lane number. In the embodiment, the detection and recognition result of the landmark arrow is determined by the preset detection model to achieve a high degree of recognition of the type of the landmark arrow, and the lane number is determined with the aid of the detection results of the lane line and the vehicle, and the lane number is displayed so that the target vehicle can travel according to the landmark arrow corresponding to the lane number, which improves the detection and recognition accuracy of the obstructed landmark arrow and provides effective support for the driver to adapt to the landmark arrow that changes due to changes in road conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application.

[0041] Figure 1 is a schematic diagram of an embodiment of a method for recognizing a landmark arrow provided in an embodiment of the present application;

[0042] Figure 2 is a schematic diagram of the SSD network structure provided in an embodiment of the present application;

[0043] Figure 3 is a schematic diagram showing the types of landmark arrows and lane numbers provided in an embodiment of the present application;

[0044] Figure 4 is a flow chart of identifying a landmark arrow provided by an embodiment of the present application;

[0045] Figure 5 is a schematic diagram of another embodiment of the method for recognizing a landmark arrow provided in an embodiment of the present application;

[0046] Figure 6 is a schematic diagram of the same set of landmark arrows provided in an embodiment of the present application;

[0047] Figure 7 is another flow chart of identifying a landmark arrow provided by an embodiment of the present application;

[0048] Figure 8 is a schematic diagram of an embodiment of an identification device provided in an embodiment of the present application;

[0049] Fig. 9 is a schematic diagram of another embodiment of the identification device provided in the embodiments of the present application;

[0050] Fig.10 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The embodiments of the present application provide a landmark arrow recognition method, device and storage medium, which utilize a preset detection model of machine learning to achieve a high degree of recognition of the type of landmark arrows, and determine the lane number with the aid of lane line and vehicle detection results, so that the target vehicle can travel according to the landmark arrow corresponding to the lane number, thereby improving the detection and recognition accuracy of obstructed landmark arrows, and providing effective support for drivers to adapt to landmark arrows that change due to changes in road conditions.

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application 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 interchangeable where appropriate, so that the implementation of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations 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.

[0054] For ease of understanding, this application embodiment provides a method for identifying a landmark arrow. Figure 1 , which is a schematic diagram of an embodiment of a method for recognizing a landmark arrow provided in an embodiment of the present application.

[0055] like Figure 1 As shown, the method for recognizing a landmark arrow provided in the embodiment of the present application may include:

[0056] 101. Obtain a road image corresponding to the target vehicle.

[0057] In this embodiment, the road image is an image collected by the terminal device during the driving process of the target vehicle.

[0058] It should be noted that the terminal device can be a device with image recognition function mounted on the target vehicle, for example: a vehicle-mounted device, a lane recognition device, etc. mounted on the target vehicle, and the target vehicle is equipped with a camera device for collecting road images or videos, so that the terminal device can obtain the road image of the target vehicle during driving based on the road image or video collected by the camera device. In addition, in addition to the vehicle-mounted device and the lane recognition device, the aforementioned terminal device should also include other devices with image recognition function, which will not be specifically limited in the embodiments of the present application.

[0059] Optionally, in some other embodiments, the road image can also be acquired in the following manner, namely: acquiring road data corresponding to the target vehicle, the road data including global positioning system (GPS) information and the driving speed information of the target vehicle; and downsampling the road data at equal intervals according to the GPS information and the driving speed information to obtain the road image.

[0060] That is to say, it is understood that the road data may include road images or road videos, etc. When the camera device collects road data, due to the correlation between video frames, in many cases, the continuous frames corresponding to the road data may represent the same set of landmark arrows or the absence of landmark arrows, etc., and the road data in these cases will cause unnecessary time consumption when entering the recognition process after collection. Therefore, after the terminal device obtains the road data from the camera device, it can obtain the road image by performing equal-interval downsampling on the road data according to the GPS information and driving speed information included in the road data, thereby reducing the candidate recognition objects in the recognition process and improving the operation speed of the entire system.

[0061] 102. Input the road image into a first preset detection model to obtain vehicle detection results and landmark arrow detection and recognition results, and input the road image into a second preset detection model to obtain lane line detection results.

[0062] In this embodiment, the vehicle detection results may include but are not limited to the vehicle's location information, the landmark arrow detection and recognition results may include but are not limited to types such as going straight, turning left, turning right + going straight or making a U-turn, and the lane line detection results may include but are not limited to white solid lines, white dotted lines, yellow solid lines or yellow dotted lines, etc. Specifically, in the embodiments of the present application, no limitation is given to the vehicle detection results, the landmark arrow detection and recognition results, and the lane line detection results.

[0063] Since the shape of the lane line changes with the change of road conditions, the recognition process of the lane line can be regarded as a segmentation problem. Since machine learning (ML) is a multi-disciplinary cross-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines, it specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all fields of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning. Therefore, the terminal device can input the road image into the pre-set segmentation model in the machine learning, that is, the second preset detection model, so that the road image can be segmented to obtain the lane line detection result in the road image. It can be understood that the second preset detection model can be a MobileUNET network model. In the MobileUNET network model, it is assumed that the size of the input road image is 640x320 and the initial learning rate is 1e -4 , and use the Adam algorithm to iteratively train the MobileUNET network model, so that the lane line detection results can be obtained.

[0064] In addition, since the landmark arrow may be blocked by the vehicle, making it impossible for the driver in the target vehicle to determine the exact direction of the current landmark arrow, the landmark arrow can be identified in conjunction with the vehicle. The vehicle and landmark arrow recognition process in this embodiment can use a unified network structure, that is, the terminal device can input the road image into the same first preset detection model in machine learning, so that the road image can be detected and recognized, thereby obtaining the vehicle detection result and the landmark arrow detection and recognition result in the road image. It can be understood that the aforementioned first preset detection model can be an SSD network model, which can be referred to. Figure 2 For example, considering the accuracy of the recognition process, the input size of the road image can be selected as 512x512, from Figure 2 As can be seen from the figure, the stride of the convolutional layer 6 (Conv6) in the multi-target detection (SSD) network structure can be set to 2, and the initial learning rate can be set to 2e -4 The learning rate can be changed in multistep, the momentum is set to 0.9, and the model is iteratively trained using the stochastic gradient descent method with momentum, so that the vehicle detection results and the landmark arrow detection and recognition results can be obtained.

[0065] 103. Determine the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition results of the landmark arrow.

[0066] In this embodiment, after obtaining the detection and recognition results of the landmark arrows, it is also necessary to post-process the detection and recognition results of the landmark arrows, such as: non-maximum suppression processing, filtering low-confidence detection result processing, filtering reverse landmark arrow processing, etc., so as to filter out landmark arrows with low confidence, reverse, etc., so that the terminal device can use the post-processed landmark arrow detection and recognition results to determine the spatial distribution of the corresponding landmark arrows relative to the scene, such as: relative position distribution or regional position distribution, etc.

[0067] Optionally, in other embodiments, determining the spatial distribution of a landmark arrow relative to a scene based on the detection and recognition results of the landmark arrow may include: determining a rectangular detection frame corresponding to the landmark arrow based on the detection and recognition results of the landmark arrow; determining the intersection coordinates of the intersection of the diagonals of the rectangular detection frame; determining the relative position of the rectangular detection frame based on the intersection coordinates, the relative position of the rectangular detection frame being used to indicate the relative position distribution of the landmark arrow; or, determining a target area where the intersection coordinates are located in a preset divided area, the target area being used to indicate the degree of field of view distance from the target vehicle to the area where the landmark arrow is located.

[0068] In this embodiment, since the camera device often uses a rectangular detection frame to mark the position of the landmark arrow when shooting road images, each rectangular detection frame will correspond to a landmark arrow. Therefore, the position of the rectangular detection frame can be used to determine the spatial distribution of the landmark arrow relative to the scene.

[0069] Specifically, since the intersection coordinates of the diagonal intersection can be used to describe the position of the rectangular detection frame, after obtaining the detection and recognition result of the landmark arrow through the first preset detection model, since the detection and recognition result of the landmark arrow not only includes the type of the aforementioned landmark arrow, but also includes the corresponding rectangular detection frame, the terminal device can first determine the rectangular detection frame corresponding to the landmark arrow according to the detection and recognition result of the landmark arrow, and then determine the intersection coordinates of the diagonal intersection of the rectangular detection frame, and through the relative position judgment method of the geometric image, the relative position of the rectangular detection frame can be determined based on the intersection coordinates. For example: to determine the distance between the intersection coordinates of two rectangular detection frames, it is possible to determine whether the two intersection coordinates intersect. If the two intersection coordinates do not intersect or are tangent, they can be directly sorted according to the two intersection coordinates to obtain the relative position between the rectangular detection frames, so as to use the relative position between the rectangular detection frames to represent the relative position distribution of the landmark arrows.

[0070] In addition, since the field of view distance can determine the regional position of the landmark arrow, and the change pattern from far to near conforms to the changes of the same type of landmark arrows seen during driving, after obtaining the intersection coordinates of the diagonal intersection of the rectangular detection frame, it is also possible to determine which of the preset divided areas the area where the intersection coordinates are located is located, that is, determine the target area of ​​the intersection coordinates, and use the target area to indicate the distance of the field of view from the target vehicle to the area where the landmark arrow is located.

[0071] Specifically, before determining the target area, the road image is divided into three areas: far area, middle area, and near area according to the actual visual distance in advance, so that when the intersection coordinates are obtained, the distance between the intersection coordinates and the three areas can be determined. If the distance is less than or equal to the value set in a preset area, it can be determined that this area is the target area where the intersection coordinates are located in the preset divided area. Since the landmark arrows on the ground are easily blocked by vehicles, it is helpful to describe the position of the landmark arrows in the field of view by judging the field of view distance, so as to clearly depict the driving sight distance and help distinguish different landmark arrows.

[0072] Optionally, in other embodiments, the relative position of the aforementioned rectangular detection box may also include row relationship and column relationship, where the row relationship is used to indicate the relative relationship of the landmark arrows from left to right, and the column relationship is used to indicate landmark arrows with the same row coordinates, that is, the judgment of the column relationship is used to distinguish whether the landmark arrows are in the same row in the physical world.

[0073] 104. Determine a lane number according to the spatial distribution of the relative positions of the landmark arrows, the vehicle detection result, and the lane line detection result, and display the lane number so that the target vehicle drives according to the landmark arrow corresponding to the lane number.

[0074] In this embodiment, since the landmark arrow is a traffic sign on the ground, there is not only the situation of vehicle obstruction, but also the situation of multiple landmark arrows in the same lane, such as: go straight + turn right, turn left + U-turn, etc. This requires comprehensive use of vehicle detection results, lane line detection results and the spatial distribution of the landmark arrow relative to the scene to determine the absolute position of the landmark arrow with respect to the rectangular detection frame, that is, the lane number where the landmark arrow is located, and display the lane number on the graphical user interface (GUI) to prompt the target vehicle to drive according to the landmark arrow corresponding to the lane number.

[0075] Optionally, in other embodiments, the spatial distribution of the relative scene of the landmark arrow, the vehicle detection results, and the lane line detection results can be processed through an interpolation judgment algorithm to obtain the lane number. Specifically, the geometric spatial relationship between the lane line, the vehicle, and the rectangular detection frame corresponding to the landmark arrow can distinguish the relative relationship between the vehicle and the landmark arrow, including whether they are in the same lane, whether it is an empty lane, etc., and then the spatial distribution of the relative scene of the vehicle detection result, the lane line detection result, and the landmark arrow can be interpolated and judged to obtain a more accurate lane number of the landmark arrow. It should be noted that the lane number refers to the lane number where the landmark arrow is located. After obtaining the lane number, the terminal device can instruct the driver corresponding to the target vehicle to drive according to the landmark arrow corresponding to the lane number.

[0076] See also Figure 3 , is a schematic diagram showing the types of landmark arrows and lane numbers provided in the embodiments of the present application. Figure 3 It can be seen that the visualization effect diagram is displayed in "Lane: ID", and the type of the landmark arrow corresponds to the lane number. For example, when there are 5 landmark arrows in the same group of landmark arrows, the type of the landmark arrow corresponding to the lane with lane number 1 is a conventional lane for left turn + U-turn, and the type of the landmark arrows corresponding to the lanes with lane numbers 2 and 3 are conventional lanes for going straight, etc. In actual applications, when there are multiple landmark arrows in the same group of landmark arrows, such as 4, 6, etc., the display schematic diagram can also be displayed as the type of the landmark arrow corresponding to the lane with lane number 1 is a conventional lane for left turn + U-turn, the type of the landmark arrow corresponding to the lane with lane number 2 is a conventional lane for left turn, the type of the landmark arrow corresponding to the lanes with lane numbers 3 and 4 is a conventional lane for going straight, etc., which will not be limited in the specific embodiments of the present application.

[0077] Also, see Figure 4 , is a flowchart of identifying a landmark arrow provided by an embodiment of the present application. Figure 4 It can be seen that the required road data can be a road image or video. By downsampling the road data at equal intervals, the main image that enters the landmark arrow detection, recognition and sorting algorithm can be obtained after downsampling, that is, the road image obtained as described above. The landmark arrow detection, recognition and combined sorting method mainly includes the detection of landmark arrows, vehicles and lane lines, the recognition, classification and post-processing of landmark arrows, and the landmark arrow sorting algorithm, so as to obtain the detection and recognition results of landmark arrows in the road image and the lane number.

[0078] For ease of understanding, Figure 1 Based on the described embodiments, the present application provides another method for identifying a landmark arrow. Figure 5 , which is a schematic diagram of another embodiment of the landmark arrow recognition method provided in an embodiment of the present application.

[0079] like Figure 5 As shown, the method for recognizing a landmark arrow provided in the embodiment of the present application may also include:

[0080] 501. Obtain a road image corresponding to a target vehicle.

[0081] 502. Input the road image into a first preset detection model to obtain a vehicle detection result and a landmark arrow detection and recognition result, and input the road image into a second preset detection model to obtain a lane line detection result.

[0082] 503. Determine the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow. The spatial distribution of the landmark arrow relative to the scene includes the relative position distribution of the landmark arrow and the target area of ​​the landmark arrow. The target area is used to indicate the distance of the field of view from the target vehicle to the area where the landmark arrow is located.

[0083] 504. Determine a lane number according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result, and the lane line detection result, so that the target vehicle travels according to the landmark arrow corresponding to the lane number.

[0084] In this embodiment, steps 501 to 504 can refer to Figure 1 The contents described in steps 101 to 104 can be understood for the sake of simplicity, and the details will not be repeated here.

[0085] 505. Determine at least one row of landmark arrows based on the relative position of the rectangular detection frame and the lane number, where each row of landmark arrows is a landmark arrow in the same road image and has the same row coordinates.

[0086] In this embodiment, it is considered that ground traffic elements such as ground arrows and lane lines are easily blocked or worn, resulting in inaccurate detection and recognition results, and there will be at least one row of landmark arrows from the initial moment when the driver of the target vehicle sees the landmark arrows at a certain intersection to when passing through the intersection. In the case of obstruction, one or two rows of landmark arrows are generally captured in a road image, so the landmark arrows in different road images can be distinguished based on each row of landmark arrows. Therefore, after determining the lane number, the terminal device also needs to determine at least one row of landmark arrows based on the relative position of the rectangular frame and the lane number, so as to determine the landmark arrows in the same row in the same road image.

[0087] 506. Determine an image frame distance according to GPS information in the road image, where the image frame distance is a distance between an image frame of the first road image and an image frame of the second road image, and the image frame of the first road image is adjacent to the image frame of the second road image.

[0088] Since one or two rows of landmark arrows are generally captured in one road image when there are obstructions, the image frame distance between two adjacent road images can be determined based on the GPS information in the two road images. This image frame distance can be used to determine the image sequence grouping of the landmark arrows.

[0089] 507. Determine the image sequence grouping status based on the change relationship between the image frame distance and the target area corresponding to the landmark arrows in the same row, so as to distinguish the landmark arrows with the same row coordinates.

[0090] In this embodiment, the target area of ​​the landmark arrows in the same row can be used to indicate the position of the landmark arrows captured by the same road image in the field of view, and the corresponding change relationship indicates the change in the field of view distance of the landmark arrows in the same row, such as: from far domain to near domain, etc. Therefore, after obtaining the image frame distance of adjacent road images, the terminal device can determine the image sequence grouping of the landmark arrows based on the image frame distance and the change relationship of the target area of ​​the landmark arrows in the same row, that is, determine whether the landmark arrows captured in the two adjacent road images are landmark arrows of the same group category.

[0091] For example, see Figure 6 , which is a schematic diagram of the same set of landmark arrows provided in the embodiment of the present application. The recognition result obtained by using the traditional recognition technology in the left image is a right turn, while Figure 6 It can be seen that when the landmark arrows are blocked by obstructions (such as vehicles), the relationship between the image frame distance and the change in the regional position distribution can be used to determine that the category of the landmark arrows is left turn + right turn, and it can be determined that the landmark arrows in the left image and the right image are actually the same group of landmark arrows. Figure 6 The lane number corresponding to the landmark arrow is also displayed.

[0092] 508. Correct the detection and recognition result of the landmark arrow based on at least one row of landmark arrows and the grouping of the image sequence, and display the landmark arrow corresponding to the corrected detection and recognition result of the landmark arrow.

[0093] In this embodiment, at least one row of landmark arrows and the grouping of the image sequence are used to correct the recognition results of the landmark arrows, which greatly improves the detection and recognition effect of the landmark arrows. In addition, the landmark arrows corresponding to the detection and recognition results of the corrected landmark arrows can be displayed, thereby improving the driver's adaptability to changing landmark arrows.

[0094] Also, see Figure 7 , is another flow chart of identifying a landmark arrow provided by an embodiment of the present application. Figure 7 It can be seen that after obtaining the vehicle detection results, the landmark arrow detection and recognition results, and the lane line detection results, it is necessary to first determine the relative position distribution and regional position distribution of the landmark arrow detection and recognition results, so as to determine the lane number by interpolation based on the vehicle detection results and the lane line detection results. In this way, the landmark arrow detection results can be corrected based on the landmark arrow grouping strategy (specifically, refer to steps 505 to 507 for understanding), so as to obtain the corrected landmark arrow detection and recognition results and lane number, and then update the corrected landmark arrow detection and recognition results and lane number to the road database stored in the background.

[0095] In an embodiment of the present application, a preset detection model is used to determine the detection and recognition results of landmark arrows to achieve a high degree of recognition of the type of landmark arrows, and the lane number is determined with the assistance of the detection results of lane lines and vehicles, so that the target vehicle can travel according to the landmark arrow corresponding to the lane number, thereby improving the detection and recognition accuracy of obstructed landmark arrows and providing effective support for drivers to adapt to landmark arrows that change due to changes in road conditions.

[0096] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the method. It can be understood that in order to realize the above functions, the hardware structure and / or software module corresponding to the execution of each function are included. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0097] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0098] The following is a detailed description of the identification device 80 in the embodiment of the present application. Figure 8 , Figure 8This is a schematic diagram of an embodiment of an identification device 80 provided in an embodiment of the present application. The identification device 80 may include:

[0099] An acquisition unit 801 is used to acquire a road image corresponding to a target vehicle;

[0100] The obtaining unit 802 is used to input the road image into a first preset detection model to obtain a vehicle detection result and a detection and recognition result of a landmark arrow, and input the road image into a second preset detection model to obtain a lane line detection result;

[0101] A determination unit 803 determines the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow;

[0102] The determination unit 803 is used to determine the lane number according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result, and display the lane number so that the target vehicle travels according to the landmark arrow corresponding to the lane number.

[0103] Optionally, in the above Figure 8 On the basis of the corresponding embodiment, in another embodiment of the identification device 80 provided in the embodiment of the present application, the determination unit 803 includes:

[0104] The first determination module is used to process the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result through an interpolation determination algorithm to determine the lane number.

[0105] Optionally, in the above Figure 8 On the basis of the corresponding embodiment, in another embodiment of the identification device 80 provided in the embodiment of the present application, the determination unit 803 includes:

[0106] A second determination module determines a rectangular detection frame corresponding to the landmark arrow based on the detection and recognition result of the landmark arrow;

[0107] The second determination module is used to determine the intersection coordinates of the diagonal intersection points of the rectangular detection frame;

[0108] The second determination module is used to determine the relative position of the rectangular detection box according to the intersection coordinates, or to determine the target area where the intersection coordinates are located in a preset divided area, wherein the relative position of the rectangular detection box is used to indicate the relative position distribution of the landmark arrow, and the target area is used to indicate the distance of the field of view from the target vehicle to the area where the landmark arrow is located.

[0109] Optionally, in the above Figure 8 For the corresponding examples, please refer to Fig. 9 , is another schematic diagram of the recognition device 80 provided in an embodiment of the present application, wherein the recognition device 80 further includes: a correction unit 804,

[0110] The determining unit 803 is further configured to determine at least one row of landmark arrows based on the relative position of the rectangular detection frame and the lane number after determining the lane number according to the spatial distribution of the landmark arrows relative to the scene, the vehicle detection result, and the lane line detection result, wherein each row of landmark arrows is a landmark arrow in the same road image and has the same row coordinates;

[0111] The determining unit 803 is used to determine an image frame distance according to the GPS information in the road image, wherein the image frame distance is a distance between an image frame of the first road image and an image frame of the second road image, and the image frame of the first road image is adjacent to the image frame of the second road image;

[0112] The determining unit 803 is used to determine the image sequence grouping situation based on the change relationship between the image frame distance and the target area corresponding to the landmark arrows in the same row, and the image sequence grouping situation is used to distinguish the landmark arrows with the same row coordinates;

[0113] The correcting unit 804 corrects the detection and recognition result of the landmark arrow based on the at least one row of landmark arrows and the grouping of the image sequence, and displays the landmark arrow corresponding to the corrected detection and recognition result of the landmark arrow.

[0114] Optionally, in the above Figure 8 , Fig. 9 Based on the optional embodiments, in another embodiment of the identification device 80 provided in the embodiment of the present application, the acquisition unit 801 includes:

[0115] An acquisition module is used to acquire road data corresponding to the target vehicle, wherein the road data includes GPS information and driving speed information of the target vehicle;

[0116] The obtaining module is used to perform equal-interval downsampling on the road data according to the GPS information and the driving speed information to obtain the road image.

[0117] Optionally, in the above Figure 8 , Fig. 9 And on the basis of the optional embodiments, in another embodiment of the identification device 80 provided in the embodiments of the present application, the relative position of the rectangular detection frame includes a row relationship and a column relationship, the row relationship is used to indicate the relative relationship of the landmark arrows from left to right, and the column relationship is used to indicate the landmark arrows with the same row coordinates.

[0118] The above describes the identification device 80 in the embodiment of the present application from the perspective of modular functional entities, and the following describes the computer device in the embodiment of the present application from the perspective of hardware processing. Fig.10 It is a structural diagram of a computer device provided in an embodiment of the present application. The computer device may include the identification device 80 described above, etc. The computer device may have relatively large differences due to different configurations or performances. The computer device may include at least one processor 1001, a communication line 1007, a memory 1003 and at least one communication interface 1004.

[0119] Processor 1001 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (server IC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0120] The communication link 1007 may include a pathway to transmit information between the above-mentioned components.

[0121] The communication interface 1004 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0122] The memory 1003 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, and the memory may exist independently and be connected to the processor via the communication line 1007. The memory may also be integrated with the processor.

[0123] The memory 1003 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1001. The processor 1001 is used to execute the computer-executable instructions stored in the memory 1003, thereby realizing the landmark arrow recognition method provided in the above embodiment of the present application.

[0124] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0125] In a specific implementation, as an embodiment, the computer device may include multiple processors, such as Fig.10 1001, processor 1002, and graphics processor 1008. Each of these processors may be a single-CPU processor, or a multi-CPU processor and a graphics processing unit (GPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0126] In a specific implementation, as an embodiment, the computer device may further include an output device 1005 and an input device 1006. The output device 1005 communicates with the processor 1001 and may display information in a variety of ways. The input device 1006 communicates with the processor 1001 and may receive user input in a variety of ways. For example, the input device 1006 may be a mouse, a touch screen device, or a sensor device.

[0127] The computer device mentioned above can be a general device or a special device. In a specific implementation, the computer device can be a desktop computer, a portable computer, a NAS server, a wireless terminal device, an embedded device or a Fig.10 The embodiment of the present application does not limit the type of the computer device.

[0128] In the embodiment of the present application, the processor 1001 included in the computer device also has the following functions:

[0129] Acquire a road image corresponding to the target vehicle;

[0130] Inputting the road image into a first preset detection model to obtain vehicle detection results and landmark arrow detection results, and inputting the road image into a second preset detection model to obtain lane line detection results;

[0131] Determining the position of the landmark arrow based on the detection result of the landmark arrow;

[0132] A lane number is determined according to the position of the landmark arrow, the vehicle detection result, and the lane line detection result, and the lane number is displayed so that the target vehicle travels according to the landmark arrow corresponding to the lane number.

[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0134] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0135] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0136] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

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

Claims

1. A method for recognizing a landmark arrow, characterized in that: include: Acquire a road image corresponding to the target vehicle; Inputting the road image into a first preset detection model to obtain a vehicle detection result and a landmark arrow detection and recognition result, and inputting the road image into a second preset detection model to obtain a lane line detection result; Determining the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow, specifically including: determining a rectangular detection frame corresponding to the landmark arrow based on the detection and recognition result of the landmark arrow; determining the intersection coordinates of the intersection of the diagonals of the rectangular detection frame; determining the relative position of the rectangular detection frame according to the intersection coordinates, or determining the target area where the intersection coordinates are located in a preset divided area, wherein the relative position of the rectangular detection frame is used to indicate the relative position distribution of the landmark arrow, and the target area is used to indicate the distance of the field of view from the target vehicle to the area where the landmark arrow is located; The lane number is determined according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result, specifically including: processing the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result through an interpolation judgment algorithm to determine the lane number; and displaying the lane number so that the target vehicle drives according to the landmark arrow corresponding to the lane number.

2. The method according to claim 1, characterized in that After determining the lane number according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result, and the lane line detection result, the method further includes: Determine at least one row of landmark arrows based on the relative position of the rectangular detection frame and the lane number, wherein each row of landmark arrows is an arrow in the same road image and has the same row coordinates; determining an image frame distance according to global positioning system (GPS) information in the road image, the image frame distance being a distance between an image frame of a first road image and an image frame of a second road image, the image frame of the first road image being adjacent to the image frame of the second road image; Determine the image sequence grouping situation based on the change relationship between the image frame distance and the target area corresponding to the landmark arrows in the same row, wherein the image sequence grouping situation is used to distinguish the landmark arrows with the same row coordinates; The detection and recognition result of the landmark arrow is corrected based on the at least one row of landmark arrows and the grouping of the image sequence, and the landmark arrow corresponding to the corrected detection and recognition result of the landmark arrow is displayed.

3. The method according to any one of claims 1-2, characterized in that: The step of acquiring a road image corresponding to the target vehicle includes: Acquire road data corresponding to the target vehicle, the road data including GPS information and driving speed information of the target vehicle; The road data is downsampled at equal intervals according to the GPS information and the driving speed information to obtain the road image.

4. The method according to any one of claims 1-2, characterized in that: The relative position distribution of the rectangular detection frame includes a row relationship and a column relationship, wherein the row relationship is used to indicate the relative relationship of the landmark arrows from left to right, and the column relationship is used to indicate the landmark arrows with the same row coordinates.

5. An identification device, characterized in that: include: An acquisition unit, used to acquire a road image corresponding to a target vehicle; an obtaining unit, configured to input the road image into a first preset detection model to obtain a vehicle detection result and a detection and recognition result of a landmark arrow, and input the road image into a second preset detection model to obtain a lane line detection result; a determination unit, which determines the spatial distribution of the landmark arrow relative to the scene based on the detection and recognition result of the landmark arrow; The determination unit is used to determine the lane number according to the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result, so that the target vehicle travels according to the landmark arrow corresponding to the lane number; Wherein, the determining unit includes: A second determination module, configured to determine a rectangular detection frame corresponding to the landmark arrow based on the detection and recognition result of the landmark arrow; The second determination module is used to determine the intersection coordinates of the diagonal intersection points of the rectangular detection frame; The second determination module is used to determine the relative position of the rectangular detection frame according to the intersection coordinates, or determine the target area where the intersection coordinates are located in the preset divided area, wherein the relative position of the rectangular detection frame is used to indicate the relative position distribution of the landmark arrow, and the target area is used to indicate the visual field distance from the target vehicle to the area where the landmark arrow is located; The first determination module is used to process the spatial distribution of the landmark arrow relative to the scene, the vehicle detection result and the lane line detection result through an interpolation determination algorithm to determine the lane number.

6. The device according to claim 5, characterized in that The device further comprises: a correction unit; The determining unit is further configured to determine at least one row of landmark arrows based on the relative position of the rectangular detection frame and the lane number after determining the lane number according to the spatial distribution of the landmark arrows relative to the scene, the vehicle detection result, and the lane line detection result, wherein each row of landmark arrows is an arrow in the same road image and has the same row coordinates; The determining unit is used to determine an image frame distance according to global positioning system (GPS) information in the road image, wherein the image frame distance is a distance between an image frame of a first road image and an image frame of a second road image, and the image frame of the first road image is adjacent to the image frame of the second road image; The determining unit is used to determine the image sequence grouping situation based on the change relationship between the image frame distance and the target area corresponding to the landmark arrows in the same row, and the image sequence grouping situation is used to distinguish the landmark arrows with the same row coordinates; The correction unit corrects the detection and recognition result of the landmark arrow based on the at least one row of landmark arrows and the grouping of the image sequence, and displays the landmark arrow corresponding to the corrected detection and recognition result of the landmark arrow.

7. The device according to any one of claims 5-6, characterized in that: The acquisition unit comprises: An acquisition module is used to acquire road data corresponding to the target vehicle, wherein the road data includes GPS information and driving speed information of the target vehicle; The obtaining module is used to perform equal-interval downsampling on the road data according to the GPS information and the driving speed information to obtain the road image.

8. The device according to any one of claims 5-6, characterized in that: The relative position distribution of the rectangular detection frame includes a row relationship and a column relationship, wherein the row relationship is used to indicate the relative relationship of the landmark arrows from left to right, and the column relationship is used to indicate the landmark arrows with the same row coordinates.

9. A computer device, characterized in that: The computer device comprises: an input / output (I / O) interface, a processor and a memory, The memory stores program instructions; The processor is used to execute program instructions stored in the memory to perform the method according to any one of claims 1 to 4.

10. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a computer device, the computer device is caused to execute the method according to any one of claims 1 to 4.

11. A computer program product comprising instructions, characterized in that When the method is executed on a computer or a processor, the computer or the processor is caused to execute the method according to any one of claims 1 to 4.