Navigation method, device, electronic device and storage medium
The image semantic segmentation model is used to obtain road passable areas and display guidance information, which solves the problem of mismatch between navigation information and real-life images in traditional real-scene navigation, and improves the accuracy of navigation data and user experience.
Patent Information
- Application Number
- CN202011043744.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-09-28
AI Technical Summary
In traditional real-scene navigation, due to inaccurate positioning, the navigation guidance information does not match the real-scene image, affecting the accuracy of navigation data and user experience.
The image semantic segmentation model is used to obtain the passable area of the road in the real-life road image, determine and display the guidance information used to indicate the direction of travel, and improve the accuracy of navigation data and user experience by superimposing the guidance information in the real-life road image.
It effectively solves the problem of mismatch between navigation information and real-life images caused by inaccurate positioning of the navigation system, and improves the accuracy of navigation data and the user's navigation experience.
Smart Images

Figure CN114279451B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a navigation method, device, electronic device and storage medium. Background Art
[0002] Although traditional navigation maps have a good guiding effect, users need to compare the navigation map with the real world to choose the correct driving direction. If there is ambiguity between the navigation map and the real world, it may cause users to deviate from the correct route, causing trouble for users. The development of augmented reality and computer vision technology has promoted the development of real-life navigation (AR navigation); real-life navigation uses cameras to capture the real scene of the road ahead in real time, and renders the intersection guidance information on the map in real time, presenting users with a more realistic navigation picture; however, due to inaccurate positioning or map data in real-life navigation, the navigation guidance information will be presented in an inaccurate position on the map. Summary of the invention
[0003] Embodiments of the present disclosure provide a navigation method, device, electronic device, and computer-readable storage medium.
[0004] In a first aspect, an embodiment of the present disclosure provides a navigation method, including:
[0005] Acquire a real-scene image of the road ahead of the navigated object;
[0006] Using an image semantic segmentation model, obtaining a drivable road area in the road real scene image;
[0007] Determining guidance information for indicating a travel direction according to the road passable area;
[0008] The guidance information is superimposed and displayed on the road real scene image.
[0009] Furthermore, obtaining a real-scene image of the road ahead of the navigated object includes:
[0010] Obtaining the location of the navigated object;
[0011] When the distance from the positioning position to the intersection reaches a set distance threshold, the road real scene image is acquired.
[0012] Furthermore, the image semantic segmentation model is used to obtain the road passable area in the road real scene image, including:
[0013] The image semantic segmentation model is used to obtain the road passable areas in different directions in the road real scene image.
[0014] Furthermore, the guiding information is superimposed and displayed on the road real scene image, including:
[0015] Determine a target passable area from the passable areas of the road in the sub-direction according to the navigation action at the intersection;
[0016] The guidance information is rendered at least in the target passage area of the road real scene image.
[0017] Furthermore, the image semantic segmentation model is used to obtain the road passable area in the road real scene image, including:
[0018] Using the image semantic segmentation model, segmenting the road real scene image into image blocks;
[0019] Determining a target image block from the image blocks, wherein the target image block constitutes a passable area of the road;
[0020] According to the passable area of the road, determining guidance information for indicating the passing direction includes:
[0021] Extracting backbone points from the target image block;
[0022] Curve fitting is performed on the backbone points to obtain guide lines on the road real scene image.
[0023] Furthermore, the method further comprises:
[0024] After the navigated object passes through the road passable area, the step of acquiring a real scene image of the road in front of the navigated object is continued.
[0025] In a second aspect, an embodiment of the present disclosure provides a navigation method, including:
[0026] Acquire a real-scene image of the road at the target location;
[0027] Using an image semantic segmentation model, obtaining a drivable road area in the road real scene image;
[0028] Determining guidance information for indicating a travel direction according to the road passable area;
[0029] After the guidance information is superimposed on the road real scene image, it is stored as real scene navigation data at the target position.
[0030] Furthermore, the method further comprises:
[0031] Get the location of the navigated object;
[0032] When the positioning position matches the target position, the real-view navigation data is output.
[0033] In a third aspect, an embodiment of the present invention provides a navigation device, including:
[0034] A first acquisition module is configured to acquire a real-scene image of the road ahead of the navigated object;
[0035] A second acquisition module is configured to acquire a road passable area in the road real scene image using an image semantic segmentation model;
[0036] A first determination module is configured to determine guidance information for indicating a travel direction according to the road passable area;
[0037] The display module is configured to display the guidance information by superimposing it on the road real scene image.
[0038] In a fourth aspect, an embodiment of the present invention provides a navigation device, including:
[0039] A third acquisition module is configured to acquire a real road scene image at a target location;
[0040] A fourth acquisition module is configured to acquire a road passable area in the road real scene image by using an image semantic segmentation model;
[0041] A second determination module is configured to determine guidance information for indicating a travel direction according to the road passable area;
[0042] The storage module is configured to store the guidance information as real-scene navigation data at the target location after superimposing the guidance information on the real-scene image of the road.
[0043] The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions.
[0044] In one possible design, the structure of the above-mentioned device includes a memory and a processor, the memory is used to store one or more computer instructions that support the above-mentioned device to execute the above-mentioned corresponding method, and the processor is configured to execute the computer instructions stored in the memory. The above-mentioned device may also include a communication interface for the above-mentioned device to communicate with other devices or communication networks.
[0045] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method described in any one of the above aspects.
[0046] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by any of the above-mentioned devices, which includes computer instructions involved in executing the method described in any of the above-mentioned aspects.
[0047] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0048] The disclosed embodiment processes the real-scene image of the road through an image semantic segmentation model to obtain the passable road area, and then uses the passable road area to determine the guidance information, and then displays the guidance information in the passable road area in the real-scene image of the road, so that during the navigation process, the guidance information can be displayed on the real-scene image of the road in combination with the navigation action. The disclosed embodiment identifies the passable road area from the real-scene image of the road through an image semantic segmentation model, and then overlays and displays the guidance information in the passable road area of the real-scene image of the road, thereby solving the problem of mismatch between the guidance information displayed on the real-scene image and the real-scene image due to the inaccurate positioning of the navigation system in traditional real-scene navigation, thereby improving the accuracy of navigation data and improving the navigation experience of users.
[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0051] Figure 1 A flowchart showing a navigation method according to an embodiment of the present disclosure is shown;
[0052] Figure 2 A flowchart showing a navigation method according to another embodiment of the present disclosure is shown;
[0053] Figure 3 A schematic diagram of a vehicle navigation process implementation according to an embodiment of the present disclosure is shown;
[0054] Figure 4 A schematic diagram of a navigation interface effect displayed according to an embodiment of the present disclosure is shown;
[0055] Figure 5 A structural block diagram of a navigation device according to an embodiment of the present disclosure is shown;
[0056] Figure 6 A structural block diagram of a navigation device according to another embodiment of the present disclosure is shown;
[0057] Figure 7It is a structural schematic diagram of an electronic device suitable for implementing a navigation method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0058] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0059] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0060] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0061] The details of the embodiments of the present disclosure are described in detail below through specific examples.
[0062] Figure 1 FIG. 1 is a flowchart of a navigation method according to an embodiment of the present disclosure. Figure 1 As shown, the navigation method includes the following steps:
[0063] In step S101, a real scene image of the road in front of the navigated object is obtained;
[0064] In step S102, the image semantic segmentation model is used to obtain the road passable area in the road real scene image;
[0065] In step S103, according to the passable area of the road, guidance information for indicating the passing direction is determined;
[0066] In step S104, the guidance information is superimposed and displayed on the road real scene image.
[0067] In this embodiment, the real-scene image of the road can be a real-scene image collected in real time by an image acquisition device set on the navigation device during the navigation process. The above-mentioned navigation method in the disclosed embodiment can be applied at least to the following scenarios, that is, the real-scene image of the road is processed in real time during the navigation process to obtain the route and direction of the navigated object, and the corresponding guidance information is obtained by processing the real-scene image of the road collected in real time.
[0068] In the scenario of obtaining guidance information through real-time processing, the navigated object may be a person, a vehicle, a robot, etc. The positioning position of the navigated object may be obtained in real time through navigation devices on user terminals (such as mobile phones, smart watches, navigators, etc.), vehicle navigation devices, robot navigation devices, etc.; the navigation position may be obtained through GNSS positioning.
[0069] The image semantic segmentation model may be a pre-trained machine learning model that is capable of classifying each pixel or image block of an image so as to classify the pixel points or image blocks into road-passable areas and non-road-passable areas.
[0070] The traversable area of the road may be a traversable area of the road. For example, for vehicles, the traversable area of the road is a drivable area of the road, and for pedestrians, the traversable area of the road is a sidewalk area of the road, etc.
[0071] Guidance information may include guidance signs for indicating the direction of travel in a road passable area. Guidance information may be used to indicate the direction of travel of a vehicle in a road passable area. For pedestrians, guidance information may be used to indicate the walking direction in a road passable area. Guidance information can indicate the route and direction of travel of the navigated object. In some embodiments, guidance information may use a predetermined shape or color to indicate the road passable area that the navigated object can currently pass. Guidance information may be in a linear shape, block shape, dot shape, etc. As long as it is a sign that can indicate the direction of travel in a road passable area, it can be used as guidance information.
[0072] After the guidance information is determined, the guidance information can be displayed in the passable area of the road in the real-scene image of the road, so that when the real-scene image of the road is output on the navigation interface to indicate the direction of the navigated object, the route and direction of the navigated object can be clearly indicated in the real-scene image of the road.
[0073] The disclosed embodiment processes the real-scene image of the road through an image semantic segmentation model to obtain the passable road area, and then uses the passable road area to determine the guidance information, and then displays the guidance information in the passable road area in the real-scene image of the road, so that during the navigation process, the guidance information can be displayed on the real-scene image of the road in combination with the navigation action. The disclosed embodiment identifies the passable road area from the real-scene image of the road through an image semantic segmentation model, and then overlays and displays the guidance information in the passable road area of the real-scene image of the road, thereby solving the problem of mismatch between the guidance information displayed on the real-scene image and the real-scene image due to the inaccurate positioning of the navigation system in traditional real-scene navigation, thereby improving the accuracy of navigation data and improving the navigation experience of users.
[0074] In an optional implementation of this embodiment, step S101, i.e., the step of acquiring a real scene image of the road in front of the navigated object, further includes the following steps:
[0075] Get the location of the navigated object;
[0076] When the distance from the positioning position to the intersection reaches a set distance threshold, the road real scene image is acquired.
[0077] In this optional implementation, in the scenario where the real-scene image of the road is processed in real time during the navigation process to obtain the guidance information, the real-scene image of the road is obtained in real time through the current positioning position of the navigated object, and the guidance information is superimposed on the real-scene image of the road. When the distance from the acquired current positioning position to the fork in the road is less than or equal to the preset distance threshold, the real-scene image of the road at the positioning position of the navigated object is obtained. In some embodiments, the real-scene image of the road can be continuously obtained from the distance from the fork in the road to the fork in the road entering one of the corresponding roads through the fork in the road, and the guidance information is obtained in real time according to the above method of the embodiment of the present disclosure, and the guidance information is superimposed and displayed in the road passable area of the real-scene image of the road. When the navigated object arrives at the fork in the road, it faces the choice of the road. Therefore, after detecting that the current positioning position of the navigated object is close to the fork in the road, the navigation method proposed in the embodiment of the present disclosure can be used to obtain the real-scene image of the road in front of the navigated object and the passable area of the road, and then determine the guidance information. The real-life image of the road can be acquired in real time by an image acquisition device set on the navigation device carried by the navigated object. The image acquisition device is usually set in front of the navigation device. When the navigated object approaches a fork in the road, the image acquisition device can be controlled to acquire the image in front of the road. In this way, the real-life image of the road acquired in real time can be processed to obtain guidance information, and there will be no situation where the real-life image of the road does not match the guidance information due to inaccurate positioning. For example, the real-life image of the road is the currently acquired image of the road ahead, and the guidance information is the guidance information at an inaccurate position due to inaccurate positioning, rather than the guidance information at the current real position.
[0078] In an optional implementation of this embodiment, step S102, i.e., the step of obtaining the road passable area in the road real scene image by using the image semantic segmentation model, further includes the following steps:
[0079] The image semantic segmentation model is used to obtain the road passable areas in different directions in the road real scene image.
[0080] In this optional implementation, the sub-directions in the real-scene image of the road may be the directions in which different roads corresponding to the fork in the road extend. The image semantic segmentation model may be used to identify the road passable areas in multiple sub-directions from the real-scene image of the road at the fork in the road. After the image semantic segmentation model is used to identify the road passable areas in multiple sub-directions of the fork in the road, each road passable area may correspond to a road in one direction, and backbone points may be extracted from the road passable areas, and then guidance information may be determined based on the backbone points, the guidance information including the guidance sign and the position of the guidance sign in the real-scene image of the road. The guidance information may be used to render the guidance sign in the real-scene image of the road and output it on the navigation interface to indicate which road the navigated object is traveling from. It can be understood that, for roads that are not forks in the road, the above-mentioned navigation method of the embodiment of the present disclosure can also be used to identify the passable area of the road when necessary, and the guidance information can be superimposed on the passable area of the road on the real-life image of the road for display. For example, on a road with multiple lanes, if it is necessary to drive from an exit to other roads or enter other roads from an entrance, the above-mentioned method proposed in the embodiment of the present disclosure can be used to display the guidance information to guide the vehicle to merge.
[0081] In an optional implementation of this embodiment, step S104, i.e., the step of superimposing and displaying the guidance information on the road real scene image, further includes the following steps:
[0082] Determine a target passable area from the passable areas of the road in the sub-direction according to the navigation action at the intersection;
[0083] The guidance information is rendered at least in the target passage area of the road real scene image.
[0084] In this optional implementation, in the scenario of obtaining guidance information on the real-life image of the road in real-time processing, after encountering a fork in the road, the real-life image of the road at the fork in the road is obtained according to the navigation method in the embodiment of the present disclosure, and the road passable area in the real-life image of the road is identified through the image semantic segmentation model. Since the navigated object will face multiple choices of roads in different directions at the fork in the road, the navigation action at the current positioning position determined from the navigation road planning data can be used to select the target passable area to the destination from the road passable areas in different directions, and the guidance information is rendered in the target passable area on the real-life image of the road to guide the forward route and forward direction of the navigated object. The navigation action can be obtained through the navigation route planning data, and can include but is not limited to information such as turns and intersection signs.
[0085] In an optional implementation of this embodiment, step S102, i.e., the step of obtaining the road passable area in the road real scene image by using the image semantic segmentation model, further includes the following steps:
[0086] Using the image semantic segmentation model, segmenting the road real scene image into image blocks;
[0087] Determining a target image block from the image blocks, wherein the target image block constitutes a passable area of the road;
[0088] The step S103, i.e., the step of determining the guidance information for indicating the passing direction according to the passable area of the road, further comprises the following steps:
[0089] Extracting backbone points from the target image block;
[0090] Curve fitting is performed on the backbone points to obtain guide lines on the road real scene image.
[0091] In this optional implementation, an image semantic segmentation model can be used to segment the real-scene image of the road into multiple image blocks, and identify the target image blocks belonging to the passable area of the road from the multiple image blocks. In some embodiments, the image semantic segmentation model can adopt a semantic segmentation model based on deep learning, which determines the target image block by classifying multiple image blocks in the real-scene image of the road. After determining the target image block in the passable area of the road, backbone points can be extracted from the target image block in the real-scene image of the road, and then the backbone points are curve-fitted to form a linear guidance information, that is, a guide line. In this way, the forward direction can be more clearly displayed in the navigation data, thereby improving the user's navigation experience.
[0092] In an optional implementation of this embodiment, the method further includes the following steps:
[0093] After the navigated object passes through the road passable area, the step of acquiring a real scene image of the road in front of the navigated object is continued.
[0094] In this optional implementation, after the navigated object passes through the fork in the road and enters one of the selected forked roads, the step of obtaining a real-scene image of the road in front of the navigated object can still be executed, and then the passable area of the road can be identified based on the obtained real-scene image of the road, and the guidance information on the passable area of the road can be determined, and the guidance information can be superimposed on the real-scene image of the road for display.
[0095] Figure 2 FIG. 1 is a flowchart of a navigation method according to another embodiment of the present disclosure. Figure 2 As shown, the navigation method includes the following steps:
[0096] In step S201, a real-scene image of a road at a target location is obtained;
[0097] In step S202, the image semantic segmentation model is used to obtain the road passable area in the road real scene image;
[0098] In step S203, according to the passable area of the road, guidance information for indicating the passing direction is determined;
[0099] In step S204, the guidance information is superimposed on the road real scene image and stored as real scene navigation data at the target location.
[0100] In this embodiment, the road real-scene image can be a real-scene image pre-collected by an image acquisition device, or a real-scene image collected in real time by an image acquisition device set on the navigation device during the navigation process. The above-mentioned navigation method in the embodiment of the present disclosure can be applied at least to the following scenarios, namely, the navigation data preprocessing scenario, in which the road real-scene image at the navigation position is pre-processed to obtain the corresponding real-scene navigation data, so as to be directly provided to the navigation device for use during the navigation process.
[0101] In the navigation data preprocessing scenario, the navigation position can be any position that needs to be processed, such as the position when entering an intersection and the position when exiting an intersection, etc., which can be determined according to actual application conditions and is not specifically limited here. In the navigation data preprocessing scenario, the navigation method can be executed on a server.
[0102] The image semantic segmentation model may be a pre-trained machine learning model that is capable of classifying each pixel or image block of an image so as to classify the pixel points or image blocks into road-passable areas and non-road-passable areas.
[0103] The traversable area of the road may be a traversable area of the road. For example, for vehicles, the traversable area of the road is a drivable area of the road, and for pedestrians, the traversable area of the road is a sidewalk area of the road, etc.
[0104] Guidance information may include guidance signs for indicating the direction of travel in a road passable area. Guidance information may be used to indicate the direction of travel of a vehicle in a road passable area. For pedestrians, guidance information may be used to indicate the walking direction in a road passable area. Guidance information can indicate the route and direction of travel of the navigated object. In some embodiments, guidance information may use different shapes or colors to indicate the road passable area that the navigated object can currently pass. Guidance information may be in a linear shape, block shape, dot shape, etc. As long as it is a sign that can indicate the direction of travel in a road passable area, it can be used as guidance information.
[0105] After the guidance information is determined, the guidance information can be superimposed on the passable road area in the real-scene image of the road and stored, so that during the real-time navigation process, while the corresponding real-scene image of the road is output according to the current positioning position of the navigated object, the guidance information can be superimposed and displayed on the real-scene image of the road. Through the guidance information, the route and direction of the navigated object can be clearly indicated in the real-scene image of the road.
[0106] The disclosed embodiment processes the real-scene image of the road through an image semantic segmentation model to obtain the passable area of the road, and then uses the passable area of the road to determine the guidance information, and then superimposes the guidance information on the passable area of the road in the real-scene image and stores it as real-scene navigation data, so that in the real-time navigation process, the guidance information can be displayed on the real-scene image of the road in combination with the navigation action. The disclosed embodiment identifies the passable area of the road from the real-scene image of the road through an image semantic segmentation model, and then superimposes the guidance information on the passable area of the road in the real-scene image of the road, which solves the problem of inaccurate positioning of the navigation system in traditional real-scene navigation, resulting in the guidance information displayed on the real-scene image not matching the real-scene image, improves the accuracy of the navigation data, and improves the navigation experience of the user.
[0107] In an optional implementation of this embodiment, the method further includes the following steps:
[0108] Get the location of the navigated object;
[0109] When the positioning position matches the target position, the real-view navigation data is output.
[0110] In this optional implementation, the above-mentioned navigation method proposed in the embodiment of the present disclosure can be used to process the real-scene image of the road at the preset target position on the server in advance to obtain the real-scene navigation data corresponding to the preset target position, and the real-scene navigation data includes guidance information superimposed on the real-scene image of the road for the preset area. In the real-time navigation process, when the positioning position of the navigated object matches the target position, the corresponding real-scene navigation data can be directly output on the navigation interface according to the current navigation action, so that the navigated object can intuitively know the route and direction to go.
[0111] Figure 3 FIG. 2 shows a schematic diagram of a vehicle navigation process implementation according to an embodiment of the present disclosure. Figure 3 As shown, the vehicle navigation device obtains the current position in real time, and outputs navigation data on the navigation interface according to the current positioning position. During the navigation process, when the current positioning position obtained by the vehicle navigation device is in a preset intersection area, the real-scene image of the road in front of the road can be obtained by using the front camera of the vehicle, and the image semantic segmentation model is used to identify multiple roads with multiple forks in the real-scene image of the road, so as to determine the passable area of the road. The image semantic segmentation model divides the real-scene image of the road into multiple image blocks, and identifies for each image block whether the image block is a target image block located in the passable area of the road. After the passable area of the road is identified, the backbone points are extracted for the target image blocks in the passable area of the road, and the backbone points are curve fitted to generate a guide line in the passable area of the road on the real-scene image of the road. When the intersection area is a two-fork intersection, at most two guide lines can be fitted, and there is a guide line on each road extending from the intersection. In the real-time navigation process, a guide line on the current forward route can be rendered on the real-scene image of the road according to the navigation action.
[0112] Figure 4 FIG. 1 shows a schematic diagram of a navigation interface effect displayed according to an embodiment of the present disclosure. Figure 4 As shown, the road on the left is the road that the vehicle is about to drive out of. On this road, the target image blocks are segmented from the passable area of the road through the deep learning-based image semantic segmentation model. These target image blocks are displayed as gray-white wide lines on the figure. By extracting backbone points from these target image blocks and then fitting the backbone points, guide lines for guiding the route and direction of the navigated device can be obtained. In actual applications, the guide lines can be rendered in green. The gray-white wide lines on the right road are composed of image blocks segmented from another road. Since this road is not the vehicle's route, no guide lines are rendered on this road during the actual navigation process.
[0113] The following are embodiments of the apparatus of the present disclosure, which can be used to execute embodiments of the method of the present disclosure.
[0114] Figure 5 The following is a structural block diagram of a navigation device according to an embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. The navigation device includes:
[0115] The first acquisition module 501 is configured to acquire a real-scene image of the road ahead of the navigated object;
[0116] The second acquisition module 502 is configured to acquire the road passable area in the road real scene image by using the image semantic segmentation model;
[0117] A first determining module 503 is configured to determine guidance information indicating a travel direction according to the road passable area;
[0118] The display module 504 is configured to display the guidance information by superimposing it on the road real scene image.
[0119] In this embodiment, the real-scene image of the road can be a real-scene image collected in real time by an image acquisition device set on the navigation device during the navigation process. The above-mentioned navigation method in the disclosed embodiment can be applied at least to the following scenarios, that is, the real-scene image of the road is processed in real time during the navigation process to obtain the route and direction of the navigated object, and the corresponding guidance information is obtained by processing the real-scene image of the road collected in real time.
[0120] In the scenario of obtaining guidance information through real-time processing, the navigated object may be a person, a vehicle, a robot, etc. The positioning position of the navigated object may be obtained in real time through navigation devices on user terminals (such as mobile phones, smart watches, navigators, etc.), vehicle navigation devices, robot navigation devices, etc.; the navigation position may be obtained through GNSS positioning.
[0121] The image semantic segmentation model may be a pre-trained machine learning model that is capable of classifying each pixel or image block of an image so as to classify the pixel points or image blocks into road-passable areas and non-road-passable areas.
[0122] The traversable area of the road may be a traversable area of the road. For example, for vehicles, the traversable area of the road is a drivable area of the road, and for pedestrians, the traversable area of the road is a sidewalk area of the road, etc.
[0123] Guidance information may include guidance signs for indicating the direction of travel in a road passable area. Guidance information may be used to indicate the direction of travel of a vehicle in a road passable area. For pedestrians, guidance information may be used to indicate the walking direction in a road passable area. Guidance information can indicate the route and direction of travel of the navigated object. In some embodiments, guidance information may use a predetermined shape or color to indicate the road passable area that the navigated object can currently pass. Guidance information may be in a linear shape, block shape, dot shape, etc. As long as it is a sign that can indicate the direction of travel in a road passable area, it can be used as guidance information.
[0124] After the guidance information is determined, the guidance information can be displayed in the passable area of the road in the real-scene image of the road, so that when the real-scene image of the road is output on the navigation interface to indicate the direction of the navigated object, the route and direction of the navigated object can be clearly indicated in the real-scene image of the road.
[0125] The disclosed embodiment processes the real-scene image of the road through an image semantic segmentation model to obtain the passable road area, and then uses the passable road area to determine the guidance information, and then displays the guidance information in the passable road area in the real-scene image of the road, so that during the navigation process, the guidance information can be displayed on the real-scene image of the road in combination with the navigation action. The disclosed embodiment identifies the passable road area from the real-scene image of the road through an image semantic segmentation model, and then superimposes and displays the guidance information in the passable road area of the real-scene image of the road, which solves the problem of mismatch between the guidance information displayed on the real-scene image and the real-scene image due to the inaccurate positioning of the navigation system in traditional real-scene navigation, improves the accuracy of navigation data, and improves the navigation experience of users.
[0126] In an optional implementation of this embodiment, the first acquisition module 501 includes:
[0127] A first acquisition submodule is configured to acquire the location of the navigated object;
[0128] The second acquisition submodule is configured to acquire the road real scene image when the distance from the positioning position to the intersection reaches a set distance threshold.
[0129] In this optional implementation, in the scenario where the real-scene image of the road is processed in real time during the navigation process to obtain the guidance information, the real-scene image of the road is obtained in real time through the current positioning position of the navigated object, and the guidance information is superimposed on the real-scene image of the road. When the distance from the acquired current positioning position to the fork in the road is less than or equal to the preset distance threshold, the real-scene image of the road at the positioning position of the navigated object is obtained. In some embodiments, the real-scene image of the road can be continuously obtained from the distance from the fork in the road to the fork in the road entering one of the corresponding roads through the fork in the road, and the guidance information is obtained in real time according to the above method of the embodiment of the present disclosure, and the guidance information is superimposed and displayed in the road passable area of the real-scene image of the road. When the navigated object arrives at the fork in the road, it faces the choice of the road. Therefore, after detecting that the current positioning position of the navigated object is close to the fork in the road, the navigation method proposed in the embodiment of the present disclosure can be used to obtain the real-scene image of the road in front of the navigated object and the passable area of the road, and then determine the guidance information. The real-life image of the road can be acquired in real time by an image acquisition device set on the navigation device carried by the navigated object. The image acquisition device is usually set in front of the navigation device. When the navigated object approaches a fork in the road, the image acquisition device can be controlled to acquire the image in front of the road. In this way, the real-life image of the road acquired in real time can be processed to obtain guidance information, and there will be no situation where the real-life image of the road does not match the guidance information due to inaccurate positioning. For example, the real-life image of the road is the currently acquired image of the road ahead, and the guidance information is the guidance information at an inaccurate position due to inaccurate positioning, rather than the guidance information at the current real position.
[0130] In an optional implementation of this embodiment, the second acquisition module 502 includes:
[0131] The third acquisition submodule is configured to use the image semantic segmentation model to acquire the road passable areas in different directions in the road real scene image.
[0132] In this optional implementation, the sub-directions in the real-scene image of the road may be the directions in which different roads corresponding to the fork in the road extend. The image semantic segmentation model may be used to identify the road passable areas in multiple sub-directions from the real-scene image of the road at the fork in the road. After the image semantic segmentation model is used to identify the road passable areas in multiple sub-directions of the fork in the road, each road passable area may correspond to a road in one direction, and backbone points may be extracted from the road passable areas, and then guidance information may be determined based on the backbone points, the guidance information including the guidance sign and the position of the guidance sign in the real-scene image of the road. The guidance information may be used to render the guidance sign in the real-scene image of the road and output it on the navigation interface to indicate which road the navigated object is traveling from. It can be understood that, for roads that are not forks in the road, the above-mentioned navigation method of the embodiment of the present disclosure can also be used to identify the passable area of the road when necessary, and the guidance information can be superimposed on the passable area of the road on the real-life image of the road for display. For example, on a road with multiple lanes, if it is necessary to drive from an exit to other roads or enter other roads from an entrance, the above-mentioned method proposed in the embodiment of the present disclosure can be used to display the guidance information to guide the vehicle to merge.
[0133] In an optional implementation of this embodiment, the display module 504 includes:
[0134] A first determination submodule is configured to determine a target passable area from the passable road areas of the sub-directions according to the navigation action at the intersection;
[0135] The first rendering submodule is configured to render the guidance information at least in the target passage area of the road real scene image.
[0136] In this optional implementation, in the scenario of obtaining guidance information on the real-life image of the road in real-time processing, after encountering a fork in the road, the real-life image of the road at the fork in the road is obtained according to the navigation method in the embodiment of the present disclosure, and the road passable area in the real-life image of the road is identified through the image semantic segmentation model. Since the navigated object will face multiple choices of roads in different directions at the fork in the road, the navigation action at the current positioning position determined from the navigation road planning data can be used to select the target passable area to the destination from the road passable areas in different directions, and the guidance information is rendered in the target passable area on the real-life image of the road to guide the forward route and forward direction of the navigated object. The navigation action can be obtained through the navigation route planning data, and can include but is not limited to information such as turns and intersection signs.
[0137] In an optional implementation of this embodiment, the second acquisition module 502 includes:
[0138] A segmentation submodule is configured to segment the road real scene image into image blocks using the image semantic segmentation model;
[0139] A second determination submodule is configured to determine a target image block from the image block, wherein the target image block constitutes the road passable area;
[0140] The first determining module 503 includes:
[0141] An extraction submodule, configured to extract backbone points from the target image block;
[0142] The curve fitting submodule is configured to perform curve fitting on the backbone points to obtain guide lines on the road real scene image.
[0143] In this optional implementation, an image semantic segmentation model can be used to segment the real-scene image of the road into multiple image blocks, and identify the target image blocks belonging to the passable area of the road from the multiple image blocks. In some embodiments, the image semantic segmentation model can adopt a deep learning semantic segmentation model, which determines the target image block by classifying multiple image blocks in the real-scene image of the road. After determining the target image block in the passable area of the road, backbone points can be extracted from the target image block in the real-scene image of the road, and then the backbone points are curve-fitted to form a linear guidance information, that is, a guide line. In this way, the forward direction can be more clearly displayed in the navigation data, thereby improving the user's navigation experience.
[0144] In an optional implementation of this embodiment, the device includes:
[0145] The execution submodule is configured to continue to execute the step of acquiring a real scene image of the road in front of the navigated object after the navigated object passes through the road passable area.
[0146] In this optional implementation, after the navigated object passes through the fork in the road and enters one of the selected forked roads, the step of obtaining a real-scene image of the road in front of the navigated object can still be executed, and then the passable area of the road can be identified based on the obtained real-scene image of the road, and the guidance information on the passable area of the road can be determined, and the guidance information can be superimposed on the real-scene image of the road for display.
[0147] Figure 6 The following is a structural block diagram of a navigation device according to another embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. The navigation device includes:
[0148] The third acquisition module 601 is configured to acquire a real road scene image at a target location;
[0149] The fourth acquisition module 602 is configured to acquire the road passable area in the road real scene image by using the image semantic segmentation model;
[0150] The second determination module 603 is configured to determine guidance information for indicating a travel direction according to the road passable area;
[0151] The storage module 604 is configured to store the guidance information as real-scene navigation data at the target location after superimposing the guidance information on the real-scene image of the road.
[0152] In this embodiment, the road real-scene image can be a real-scene image pre-collected by an image acquisition device, or a real-scene image collected in real time by an image acquisition device set on the navigation device during the navigation process. The above-mentioned navigation device in the embodiment of the present disclosure can be applied to at least the following scenarios, namely, the navigation data preprocessing scenario, in which the road real-scene image at the navigation position is pre-processed to obtain corresponding real-scene navigation data, so as to be directly provided to the navigation device for use during the navigation process.
[0153] In the navigation data preprocessing scenario, the navigation position can be any position that needs to be processed, such as the position when entering an intersection and the position when exiting an intersection, etc., which can be determined according to actual application conditions and is not specifically limited here. In the navigation data preprocessing scenario, the navigation device can be executed on a server.
[0154] The image semantic segmentation model may be a pre-trained machine learning model that is capable of classifying each pixel or image block of an image so as to classify the pixel points or image blocks into road-passable areas and non-road-passable areas.
[0155] The traversable area of the road may be a traversable area of the road. For example, for vehicles, the traversable area of the road is a drivable area of the road, and for pedestrians, the traversable area of the road is a sidewalk area of the road, etc.
[0156] Guidance information may include guidance signs for indicating the direction of travel in a road passable area. Guidance information may be used to indicate the direction of travel of a vehicle in a road passable area. For pedestrians, guidance information may be used to indicate the walking direction in a road passable area. Guidance information can indicate the route and direction of travel of the navigated object. In some embodiments, guidance information may use different shapes or colors to indicate the road passable area that the navigated object can currently pass. Guidance information may be in a linear shape, block shape, dot shape, etc. As long as it is a sign that can indicate the direction of travel in a road passable area, it can be used as guidance information.
[0157] After the guidance information is determined, the guidance information can be superimposed on the passable road area in the real-scene image of the road and stored, so that during the real-time navigation process, while the corresponding real-scene image of the road is output according to the current positioning position of the navigated object, the guidance information can be superimposed and displayed on the real-scene image of the road. Through the guidance information, the route and direction of the navigated object can be clearly indicated in the real-scene image of the road.
[0158] The disclosed embodiment processes the real-scene image of the road through an image semantic segmentation model to obtain the passable area of the road, and then uses the passable area of the road to determine the guidance information, and then superimposes the guidance information on the passable area of the road in the real-scene image and stores it as real-scene navigation data, so that in the real-time navigation process, the guidance information can be displayed on the real-scene image of the road in combination with the navigation action. The disclosed embodiment identifies the passable area of the road from the real-scene image of the road through an image semantic segmentation model, and then superimposes the guidance information on the passable area of the road in the real-scene image of the road, which solves the problem of mismatch between the guidance information displayed on the real-scene image and the real-scene image due to the inaccurate positioning of the navigation system in traditional real-scene navigation, improves the accuracy of the navigation data, and improves the navigation experience of the user.
[0159] In an optional implementation of this embodiment, the device further includes:
[0160] A fourth acquisition module is configured to acquire the location of the navigated object;
[0161] The output module is configured to output the real-scene navigation data when the positioning position matches the target position.
[0162] In this optional implementation, the navigation device proposed in the embodiment of the present disclosure can be used to process the real-scene image of the road at the preset target position on the server in advance to obtain the real-scene navigation data corresponding to the preset target position, and the real-scene navigation data includes guidance information superimposed on the real-scene image of the road for the preset area. During the real-time navigation process, when the positioning position of the navigated object matches the target position, the corresponding real-scene navigation data can be directly output on the navigation interface according to the current navigation action, so that the navigated object can intuitively know the route and direction to go.
[0163] Figure 7 It is a structural schematic diagram of an electronic device suitable for implementing a navigation method according to an embodiment of the present disclosure.
[0164] like Figure 7As shown, the electronic device 700 includes a processing unit 701, which can be implemented as a processing unit such as a CPU, a GPU, an FPGA, and an NPU. The processing unit 701 can perform various processes in the embodiments of any of the above methods of the present disclosure according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0165] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0166] In particular, according to an embodiment of the present disclosure, any method in the above referenced embodiment of the present disclosure may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes a program code for executing any method in the embodiment of the present disclosure. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and / or installed from a removable medium 711.
[0167] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the road map or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0168] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0169] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0170] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A navigation method, wherein: include: Acquire a real-scene image of the road ahead of the navigated object; Using an image semantic segmentation model, segmenting the road real scene image into image blocks; Determining a target image block from the image blocks, wherein the target image block constitutes a road passable area; Extracting backbone points from the passable area of the road, and determining guidance information for indicating the passing direction according to the backbone points; The guidance information is superimposed and displayed on the road real scene image.
2. The method according to claim 1, wherein: Obtain the real-life image of the road ahead of the navigated object, including: Obtaining the location of the navigated object; When the distance from the positioning position to the intersection reaches a set distance threshold, a real-scene image of the road in front of the navigated object is acquired.
3. The method according to claim 2, wherein: The image semantic segmentation model is used to obtain the road passable area in the road real scene image, including: The image semantic segmentation model is used to obtain the road passable areas in different directions in the road real scene image.
4. The method according to claim 3, wherein: The guiding information is superimposed and displayed on the road real scene image, including: Determine a target passable area from the passable areas of the road in the sub-direction according to the navigation action at the intersection; The guidance information is rendered at least in the target passage area of the road real scene image.
5. The method according to any one of claims 1 to 4, wherein: Determining guidance information indicating a travel direction according to the road passable area includes: Extracting backbone points from the target image block; Curve fitting is performed on the backbone points to obtain guide lines on the road real scene image.
6. The method according to any one of claims 1 to 4, further comprising: After the navigated object passes through the road passable area, the step of acquiring a real scene image of the road in front of the navigated object is continued.
7. A navigation method, wherein: include: Acquire a real-scene image of the road at the target location; Using an image semantic segmentation model, segmenting the road real scene image into image blocks; Determining a target image block from the image blocks, wherein the target image block constitutes a road passable area; Extracting backbone points from the passable area of the road, and determining guidance information for indicating the passing direction according to the backbone points; After the guidance information is superimposed on the road real scene image, it is stored as real scene navigation data at the target position.
8. The method according to claim 7, wherein: Get the location of the navigated object; When the positioning position matches the target position, the real-view navigation data is output.
9. A navigation device, wherein: include: A first acquisition module is configured to acquire a real-scene image of the road ahead of the navigated object; The second acquisition module is configured to segment the road real scene image into image blocks using an image semantic segmentation model, and determine a target image block from the image blocks, wherein the target image block constitutes a passable area of the road; A first determination module is configured to extract backbone points from the passable area of the road, and determine guidance information for indicating a passing direction according to the backbone points; The display module is configured to display the guidance information by superimposing it on the road real scene image.
10. A navigation device, wherein: include: A third acquisition module is configured to acquire a real road scene image at a target location; A fourth acquisition module is configured to segment the road real scene image into image blocks using an image semantic segmentation model, and determine a target image block from the image blocks, wherein the target image block constitutes a drivable area of the road; A second determination module is configured to extract backbone points from the passable area of the road, and determine guidance information for indicating a passing direction according to the backbone points; The storage module is configured to store the guidance information as real-scene navigation data at the target location after superimposing it on the real-scene image of the road.
11. An electronic device, wherein: comprising a memory and a processor; wherein, The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 8.
12. A computer-readable storage medium having computer instructions stored thereon, wherein: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Vehicle navigation system for road scene and driving guide fusion display
CN105526946A
Image identification automobile live-action navigation device and method
CN106092114A
Passable area detection method and device, storage medium and electronic equipment
CN108256413A
AR navigation method, vehicle-mounted terminal, and computer readable storage medium
CN109297505A
Method and device for determining automobile auxiliary control information
CN109683613A
