Apparatus and method for generating lane polylines using neural network models

A neural network model using multi-scale image features and BEV transformations with specific loss functions addresses the challenge of accurate lane detection for autonomous vehicles, enhancing safety through precise lane polyline generation and control.

JP2024533231AActive Publication Date: 2024-09-1242DOT INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024514458
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-06-24
Filing Date
2022-09-07
Publication Date
2024-09-12
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

Existing technologies face challenges in accurately detecting and generating lane polylines for autonomous vehicles, which is crucial for safe driving, as they rely heavily on sensors like image, radar, and lidar, but these methods may not be sufficient for precise lane detection.

Method used

A neural network model is trained using multi-scale image features and bird's eye view (BEV) transformations, with seed probability and order losses to enhance the accuracy of lane polyline generation, allowing for direct vehicle control without additional processing.

Benefits of technology

The method achieves high-accuracy lane polyline generation from BEV features through end-to-end learning, enabling precise vehicle control based on generated lane data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533231000001
    Figure 2024533231000001
Patent Text Reader

Abstract

The present disclosure relates to a method and apparatus for generating lane polylines using a neural network model. According to an embodiment of the present disclosure, a method generates bird's-eye view features based on a basic image acquired from at least one sensor mounted on a vehicle, and uses the bird's-eye view features as input data for a neural network model and lane polylines of a predetermined road as output data, thereby training the neural network model. In the present disclosure, the lane polylines acquired from the above-mentioned neural network model can be used for vehicle control without undergoing a separate processing process.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus and method for generating lane polylines using a neural network model. [Background technology]

[0002] The fusion of information and communication technology and the automotive industry is rapidly making vehicles smarter. As vehicles become smarter, they are evolving from simple mechanical devices to smart cars, and autonomous driving in particular is attracting attention as a core technology for smart cars. Autonomous driving is a technology that allows a vehicle to reach its destination by itself without the driver having to operate the steering wheel, accelerator pedal, brakes, etc.

[0003] In recent years, technological advances have led to the development and rapid commercialization of lane departure warning systems, safe driving assistance systems such as lane keeping systems, and automatic vehicle control systems. In particular, lane detection is one of the core technologies for solving the main issues in autonomous vehicles, and much research is being conducted on this topic, attracting international attention.

[0004] Since detection of driving lanes has a significant impact on safe driving, various sensors are used to accurately detect driving lanes in order to estimate and determine the position of lanes. For example, various sensors such as image sensors, RADAR sensors, and LIDAR sensors are used alone or in a fusion form to realize an autonomous vehicle control system for detecting lanes and recognizing objects in front of the vehicle.

[0005] The above-mentioned background art is technical information possessed by the inventor for the purpose of deriving the present invention or acquired in the process of deriving the present invention, and is not necessarily publicly known art that was disclosed to the general public prior to the filing of the present application. Summary of the Invention [Problem to be solved by the invention]

[0006] The present invention provides an apparatus and method for generating lane polylines using a neural network model. The problem to be solved by the present invention is not limited to the problem described above, and other problems and advantages of the present invention not described will be understood from the following description and will be more clearly understood by the embodiments of the present invention. It will also be understood that the problems and advantages to be solved by the present invention can be realized by the means and combinations thereof shown in the claims. [Means for solving the problem]

[0007] As a technical means for solving the above-mentioned technical problem, a first aspect of the present disclosure can provide a method for generating a lane polyline using a neural network model, the method including: acquiring a basic image of a predetermined road acquired from at least one sensor mounted on a vehicle; extracting multi-scale image features using the basic image; performing view transformation of the extracted multi-scale image features to generate bird's-eye view features (BEV features); and training the neural network model by using the bird's-eye view features as input data for a neural network model and using the lane polyline of the predetermined road as output data.

[0008] The method may further include a step of setting a seed probability loss, the step of applying a first formula to foreground pixels corresponding to the foreground among a plurality of pixels, and applying a second formula to background pixels corresponding to the background, thereby setting the seed probability loss composed of the first formula and the second formula.

[0009] Furthermore, the method may further include a step of calculating, for a plurality of clusters corresponding to a plurality of lanes included in the specified road, a probability that each of the foreground pixels corresponds to a specified cluster among the plurality of clusters, and a step of setting the first formula based on pixel values ​​of the foreground pixels and the calculated probability.

[0010] Furthermore, the method may further include setting the second formula based on pixel values ​​of the background pixels.

[0011] Further, a method can be provided in which the step of setting the first formula includes the step of setting the first formula by further applying a scaling factor to correct for an imbalance between the pixel values ​​of the foreground pixels and the pixel values ​​of the background pixels.

[0012] Furthermore, a method can be provided in which the step of training the neural network model includes the steps of extracting foreground pixels corresponding to the foreground from a plurality of pixels included in the bird's-eye view features, setting an order loss using an order of each of the foreground pixels for lanes included in the specified road, and training the neural network model using the order loss.

[0013] Further, the method may be provided, wherein the step of setting an order loss includes the steps of identifying a cluster in which each of the foreground pixels falls, determining an order value of the foreground pixels for a lane corresponding to the identified cluster, and setting an order loss using the order value of each of the foreground pixels.

[0014] Further, a method can be provided in which the step of determining the order value includes determining order values ​​for the foreground pixels such that foreground pixels closer to a starting point of a lane have a value closer to a first value, and foreground pixels closer to an ending point of a lane have a value closer to a second value.

[0015] Furthermore, the method can provide a method further including the steps of inputting the bird's-eye view features as input data for the neural network model trained by the method according to the first aspect, and generating lane polylines of the specified road as output data of the neural network model.

[0016] Furthermore, the method may further include the step of generating a control signal for controlling a vehicle traveling on the predetermined road based on a lane polyline of the predetermined road.

[0017] A second aspect of the present disclosure can provide an apparatus for generating lane polylines using a neural network model, the apparatus including: a memory having at least one program stored therein; and a processor for driving a neural network by executing the at least one program, wherein the processor acquires a basic image of a specified road from a camera mounted on a vehicle, extracts a plurality of image features using the basic image, performs view transformation of the extracted plurality of image features, generates bird's-eye view features, uses the bird's-eye view features as input data for a neural network model, and uses lane polylines of the specified road as output data, thereby training the neural network model.

[0018] A third aspect of the present disclosure can provide a method for generating a lane polyline using a neural network model, the method including: generating a bird's-eye view feature (BEV feature) based on a basic image of a predetermined road acquired from at least one sensor mounted on a vehicle; and training the neural network model by using the bird's-eye view feature as input data for a neural network model and using the lane polyline of the predetermined road as output data, wherein the training of the neural network model includes setting a seed probability loss based on whether each of a plurality of pixels included in the bird's-eye view feature belongs to a foreground category or a background category; and training the neural network model using the seed probability loss.

[0019] Also, the method may include a step of setting the seed probability loss, comprising: applying a first formula to foreground pixels corresponding to the foreground among the plurality of pixels, and applying a second formula to background pixels corresponding to the background, thereby setting the seed probability loss composed of the first formula and the second formula.

[0020] Furthermore, the method may further include a step of calculating, for a plurality of clusters corresponding to a plurality of lanes included in the specified road, a probability that each of the foreground pixels corresponds to a specified cluster among the plurality of clusters, and a step of setting the first formula based on pixel values ​​of the foreground pixels and the calculated probability.

[0021] Furthermore, the method may further include setting the second formula based on pixel values ​​of the background pixels.

[0022] Further, a method can be provided in which the step of setting the first formula includes the step of setting the first formula by further applying a scaling factor to correct for an imbalance between the pixel values ​​of the foreground pixels and the pixel values ​​of the background pixels.

[0023] Furthermore, a method can be provided in which the step of training the neural network model includes the steps of extracting foreground pixels corresponding to the foreground from a plurality of pixels included in the bird's-eye view features, setting an order loss using an order of each of the foreground pixels for lanes included in the specified road, and training the neural network model using the order loss.

[0024] Further, the method may be provided, wherein the step of setting an order loss includes the steps of identifying a cluster in which each of the foreground pixels falls, determining an order value of the foreground pixels for a lane corresponding to the identified cluster, and setting an order loss using the order value of each of the foreground pixels.

[0025] Further, a method can be provided in which the step of determining the order value includes determining order values ​​for the foreground pixels such that foreground pixels closer to a starting point of a lane have a value closer to a first value, and foreground pixels closer to an ending point of a lane have a value closer to a second value.

[0026] Furthermore, the method can provide a method further including the steps of inputting the bird's-eye view features as input data for the neural network model trained by the method described in the third aspect, and generating lane polylines of the specified road as output data of the neural network model.

[0027] Furthermore, the method may further include the step of generating a control signal for controlling a vehicle traveling on the predetermined road based on a lane polyline of the predetermined road.

[0028] A fourth aspect of the present disclosure can provide an apparatus for generating lane polylines using a neural network model, the apparatus including: a memory having at least one program stored therein; and a processor for driving a neural network by executing the at least one program, wherein the processor generates bird's-eye view features based on a basic image of a predetermined road acquired from at least one sensor mounted on a vehicle, uses the bird's-eye view features as input data for a neural network model, and uses lane polylines of the predetermined road as output data to train the neural network model, and the processor sets a seed probability loss based on whether each of a plurality of pixels included in the bird's-eye view features belongs to a foreground or background category, and trains the neural network model using the seed probability loss.

[0029] A fifth aspect of the present disclosure may provide a computer-readable recording medium having recorded thereon a program for causing a computer to execute the method according to the first or third aspect.

[0030] In addition, other methods and systems for implementing the present invention, and computer-readable recording media having computer programs for executing the methods can also be provided.

[0031] Further aspects, features, and advantages will become apparent from the accompanying drawings, the claims, and the following detailed description of the invention. Effect of the Invention

[0032] According to the above-mentioned problem-solving means of the present disclosure, in the present disclosure, lane polylines of a specified road can be obtained with high accuracy from bird's-eye view features by end-to-end learning of a neural network model.

[0033] Furthermore, in the present disclosure, lane polylines obtained from a neural network model can be used to control a vehicle without undergoing a separate processing step. [Brief description of the drawings]

[0034] [Figure 1] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Diagram 2] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Diagram 3] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Figure 4] 1 is an exemplary diagram illustrating a method of performing image encoding and view transformation according to an embodiment. [Diagram 5] 1 is an exemplary diagram illustrating a method for generating bird's-eye view features according to an embodiment; [Figure 6] 1 is an exemplary diagram illustrating an operation method of a neural network model according to an embodiment; [Figure 7A] FIG. 13 is an exemplary diagram illustrating a seed probability loss according to an embodiment. [Figure 7B] FIG. 13 is an exemplary diagram illustrating a seed probability loss according to an embodiment. [Figure 8A] FIG. 13 is an exemplary diagram for explaining an embedded offset loss. [Figure 8B] FIG. 13 is an exemplary diagram for explaining an embedded offset loss. [Figure 8C] FIG. 13 is an exemplary diagram for explaining an embedded offset loss. [Figure 9] FIG. 13 is an example diagram illustrating a sequence loss according to an embodiment; [Figure 10]1 is a flowchart illustrating a method for generating lane polylines using a neural network model according to one embodiment. [Figure 11] FIG. 2 is a block diagram of a lane polyline generator according to one embodiment. BEST MODE FOR CARRYING OUT THEINVENTION

[0035] The present disclosure relates to a method and apparatus for generating lane polylines using a neural network model. In one embodiment of the present disclosure, a method generates bird's-eye view features based on a basic image acquired from at least one sensor mounted on a vehicle, and uses the bird's-eye view features as input data for a neural network model and lane polylines of a specific road as output data, thereby training the neural network model. In the present disclosure, the lane polylines acquired from the above-mentioned neural network model can be used for vehicle control without undergoing a separate processing process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0036] The advantages and features of the present invention, as well as the methods for achieving them, will become apparent from the embodiments described in detail with the accompanying drawings. However, the present invention is not limited to the embodiments presented below, and can be realized in various different forms, and should be understood to include all modifications, equivalents, and alternatives within the spirit and technical scope of the present invention. The embodiments presented below are provided to complete the disclosure of the present invention and to allow those skilled in the art to fully understand the scope of the invention. In describing the present invention, if a detailed description of related publicly known technology is deemed to obscure the gist of the present invention, the detailed description will be omitted.

[0037] The terms used in this application are merely used to describe certain embodiments and are not intended to limit the present invention. A singular expression includes a plural expression unless the context clearly indicates otherwise. In this application, the terms "include" and "have" are used to specify the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, and are not to be understood as precluding the presence or additional possibility of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0038] Some embodiments of the present disclosure may be illustrated in terms of functional block configurations and various processing steps. Some or all of such functional blocks may be implemented in any number of hardware and / or software configurations for performing specific functions. For example, the functional blocks of the present disclosure may be implemented by one or more microprocessors or by circuit configurations for a given function. Also, for example, the functional blocks of the present disclosure may be implemented in various programming or scripting languages. The functional blocks may be implemented by algorithms executed by one or more processors. Furthermore, the present disclosure may employ conventional techniques for electronic configuration, signal processing, and / or data processing, etc. Terms such as "mechanism," "element," "means," and "configuration" may be used broadly and are not limited to mechanical and physical configurations.

[0039] It should be noted that the connecting lines or connecting members between components shown in the drawings are merely exemplary of functional and / or physical connections or circuit connections, and that in an actual device, connections between components may be represented by various alternative or additional functional connections, physical connections or circuit connections.

[0040] Hereinafter, the term "vehicle" may refer to any type of transportation means having a locomotive and used to move people or goods, such as a car, a bus, a motorcycle, a scooter, or a truck.

[0041] The present disclosure will now be described in detail with reference to the accompanying drawings.

[0042] 1 to 3 are diagrams for explaining an autonomous driving method according to an embodiment.

[0043] Referring to FIG. 1, an autonomous driving device according to an embodiment of the present invention may be mounted on a vehicle to realize an autonomous driving vehicle 10. The autonomous driving device mounted on the autonomous driving vehicle 10 may include various sensors for collecting surrounding situation information. As an example, the autonomous driving device may detect the movement of a leading vehicle 20 traveling ahead using an image sensor and / or an event sensor mounted on the front of the autonomous driving vehicle 10. The autonomous driving device may further include sensors for detecting other vehicles 30 traveling on adjacent roads as well as in front of the autonomous driving vehicle 10, pedestrians around the autonomous driving vehicle 10, and the like.

[0044] At least one of the sensors for collecting situational information around the autonomous vehicle can have a predetermined field of view (FoV) as shown in Fig. 1. As an example, when a sensor mounted on the front of the autonomous vehicle 10 has a field of view (FoV) as shown in Fig. 1, information detected at the center of the sensor can have a relatively high importance. This is because most of the information corresponding to the movement of the leading vehicle 20 is included in the information detected at the center of the sensor.

[0045] The autonomous driving device can process information collected by sensors of the autonomous driving vehicle 10 in real time to control the movement of the autonomous driving vehicle 10. In addition, the autonomous driving device can store at least a part of the information collected by the sensors in a memory device.

[0046] 2, the autonomous driving device 40 may include a sensor unit 41, a processor 46, a memory system 47, a vehicle control module 48, etc. The sensor unit 41 includes a plurality of sensors 42-45, which may include an image sensor, an event sensor, an illuminance sensor, a GPS device, an acceleration sensor, etc.

[0047] The data collected by the sensors 42 to 45 may be transmitted to the processor 46. The processor 46 may store the data collected by the sensors 42 to 45 in a memory system 47. The processor 46 may also control a body control module 48 based on the data collected by the sensors 42 to 45 to determine the movement of the vehicle. The memory system 47 may include at least two or more memory devices and a system controller for controlling the memory devices. Each of the memory devices may be provided as a single semiconductor chip.

[0048] In addition to the system controller of memory system 47, each of the memory devices included in memory system 47 may include a memory controller, and the memory controller may include an artificial intelligence (AI) calculation circuit such as a neural network. The memory controller can generate calculation data by applying a predetermined weight to data received from sensors 42 to 45 or processor 46, and store the calculation data in a memory chip.

[0049] Fig. 3 is a diagram showing an example of image data acquired by a sensor of an autonomous vehicle equipped with an autonomous driving device. Referring to Fig. 3, image data 50 may be data acquired by a sensor attached to the front of the autonomous vehicle. Thus, the image data 50 may include a front part 51 of the autonomous vehicle, a preceding vehicle 52 on the same road as the autonomous vehicle, vehicles 53 traveling around the autonomous vehicle, a background 54, lanes 55 and 56, etc.

[0050] 3, data of the area in which the front part 51 and background 54 of the autonomous vehicle are displayed may be data that is unlikely to affect the operation of the autonomous vehicle. In other words, the front part 51 and background 54 of the autonomous vehicle may be considered to be data having a relatively low importance.

[0051] In contrast, the distance to the preceding vehicle 52, lane-changing movements of the moving vehicle 53, and the like can be very important factors in the safe operation of the autonomous vehicle. Therefore, in the video data 50, data of an area including the preceding vehicle 52 and the moving vehicle 53 can have a relatively high degree of importance in the operation of the autonomous vehicle.

[0052] The memory device included in the autonomous driving device can store the image data 50 received from the sensor by assigning different weights to each area. As an example, the memory device can assign a high weight to data of an area including a leading vehicle 52 and a moving vehicle 53, and assign a low weight to data of an area in which a front part 51 of the autonomous driving vehicle and a background 54 are displayed.

[0053] Furthermore, the autonomous driving device can detect lanes 55, 56 included in the road on which the vehicle is currently traveling. For example, the autonomous driving device can detect lane pixels that are highly likely to correspond to lanes from the image data 50 through image processing, and determine the lane layout situation ahead by fitting the detected lane pixels with a specific lane model.

[0054] In one embodiment, the autonomous driving device can detect lane pixels from the video data 50 using a neural network model. The neural network model is a model trained to detect lane pixels corresponding to lanes from the video data 50. The video data 50 may be input to the neural network model. The neural network model can also output probability information indicating the probability that each video pixel included in the video data 50 corresponds to the lanes 55 and 56. The autonomous driving device can determine the lane pixels based on the probability information for each pixel. For example, the autonomous driving device can determine, as lane pixels, video pixels in which a probability value determined by the neural network model is greater than a threshold value from among the video pixels of the video data 50.

[0055] FIG. 4 is an example diagram illustrating a method of performing image encoding and view transformation according to an embodiment.

[0056] Referring to FIG. 4, the lane polyline generator may include an image encoder 410 and a view transformer 420.

[0057] The image encoder 410 can use the base image 411 as input data. The base image 411 may be an image of a road on which the vehicle is traveling, acquired from at least one sensor mounted on the vehicle. For example, the at least one sensor mounted on the vehicle can be realized by the sensor unit 41 described in FIG. 2.

[0058] The image encoder 410 can apply the base image 411 to a feature pyramid network to extract multi-scale image features 421 .

[0059] The feature pyramid network may be composed of a bottom-up process 412 and a top-down process 413. The bottom-up process 412 may be a forwarding process that uses a convolution neural network (CNN) to reduce the resolution of the base image 411 by half to generate multiple first feature maps. For example, the bottom-up process 412 uses ResNet50 to generate first feature maps with sizes 1 / 8, 1 / 16, 1 / 32, and 1 / 64 of the base image 411.

[0060] The top-down process 413 may be a process of generating a plurality of second feature maps by up-sampling the final first feature map 414 generated in the bottom-up process 412 by a factor of two. Also, the top-down process 413 may be a process of extracting multi-scale image features 421 by combining a plurality of second feature maps and a plurality of first feature maps.

[0061] The view transformer 420 can perform view transformation on the multi-scale image features 421 extracted by the image encoder 410 to generate bird's-eye view features (BEV features) 422. A method for generating the bird's-eye view features 422 will be described later with reference to FIG.

[0062] FIG. 5 is an exemplary diagram illustrating a method for generating bird's-eye view features according to an embodiment.

[0063] 5, there is shown a view converter 500 included in the lane polyline generator. The view converter 500 receives an input of an image feature 510 and can generate a bird's-eye view feature 520 through a predetermined process.

[0064] Specifically, the view converter 500 can generate bird's-eye view features 520 by collapsing the image feature 510 in the height dimension in a first step 531, stretching the multi-scale image features including the image feature 510 in the depth dimension in a second step 532, and resampling using the camera parameters in a third step 533.

[0065] Meanwhile, the lane polyline generating device can apply a homography transformation Hc to the bird's-eye view feature 520fBEVc to remap it to a canonical coordinate. Specifically, the lane polyline generating device can apply a homography transformation to the bird's-eye view feature 520fBEVc by Equation 1. In Equation 1, I is a base image, F(·) is an image encoder function, T(·) is a view transformer, K is a parameter related to a camera that captures a specific road (e.g., focal length, camera principal point, etc.), R is a rotation transformation between the vehicle coordinate system and the camera coordinate system, and t is a translation transformation between the vehicle coordinate system and the camera coordinate system. In addition, z=0 means that the transformed bird's-eye view feature fBEV, which is a result value according to Equation 1, is a value on the XY plane.

number

[0066] The lane polyline generating device can train a neural network model by using the converted bird's-eye view feature fBEV as input data for the neural network model and the lane polylines of a specific road as output data. The method of training the neural network model will be described later with reference to FIG. 6.

[0067] FIG. 6 is an exemplary diagram illustrating an operation method of a neural network model according to an embodiment.

[0068] 6, there is shown a neural network model 600. The lane polyline generator can train the neural network model 600 by using the converted bird's-eye view features 610 as input data for the neural network model 600 and using the lane polyline 640 of a given road as output data.

[0069] A transformed bird's-eye view feature 610 may be input as input data to the neural network model 600. The transformed bird's-eye view feature 610 may be a result value calculated by the above-mentioned Equation 1. At least one layer 620 and a loss function 630 set in advance are applied to the transformed bird's-eye view feature 610, so that a lane polyline 640 can be output as output data of the neural network model 600.

[0070] In one embodiment, the neural network model 600 may be trained so that the value of the loss function L(·) according to the following formula 2 is minimized. In formula 2, I represents a base image, M(·) represents the neural network model 600, K represents parameters related to the camera that captures the specified road (e.g., focal length, camera principal point, etc.), R represents the camera coordinate system, and t represents the vehicle coordinate system. XBEV represents a ground truth value of the lane polyline of the specified road. X^BEV represents a value predicted by the neural network model 600 of the lane polyline of the specified road.

number

[0071] In the present disclosure, the lane polylines of a given road can be obtained by end-to-end training of the neural network model 600 without using a homography function. In the present disclosure, at least one loss function used for training the neural network model 600 can be set for this purpose. Specific details regarding the loss function will be described later.

[0072] However, in one embodiment, the neural network model 600 described above in FIG. 6 can also perform the image encoding and view transformation described above in FIGS.

[0073] The lane polyline generating device can train the neural network model 600 by using the basic image as input data for the neural network model 600 and the lane polylines of a predetermined road as output data.

[0074] Specifically, the lane polyline generating device can input a basic image as input data to the neural network model 600. Also, the lane polyline generating device can drive the neural network model 600 to generate bird's-eye view features from the basic image, and obtain lane polylines as output data based on the generated bird's-eye view features. More specifically, the lane polyline generating device can drive the neural network model 600 to extract multi-scale image features using the basic image, perform view transformation of the extracted multi-scale image features, and generate bird's-eye view features. Also, the lane polyline generating device can obtain lane polylines of a predetermined road as output data based on the generated bird's-eye view features.

[0075] 7A and 7B are diagrams illustrating an example of a seed probability loss according to an embodiment.

[0076] 7A and 7B, there is shown a pixel coordinate system 700. The lane polyline generator can generate the pixel coordinate system 700 by transforming the spatial coordinate system of the bird's eye view features into the embedded coordinate system.

[0077] Referring to FIG. 7A, a pixel coordinate system 700 includes point representations 710 that represent pixels and line representations 720 that represent lanes.

[0078] The lane polyline generating device can set a seed probability loss as at least one loss function (or loss) applied to the neural network model. The seed probability has a different value depending on whether each of the multiple pixels on the pixel coordinate system 700 belongs to a foreground category or a background category. Here, the foreground refers to objects such as vehicles and lanes, and the background refers to the background. When a specific pixel on the pixel coordinate system 700 is determined to be the background, the lane polyline generating device can determine the seed probability of the pixel to be 0. In addition, the higher the probability that a specific pixel on the pixel coordinate system 700 belongs to the foreground, the closer the lane polyline generating device can determine the seed probability of the pixel to have a value closer to 1.

[0079] The multiple pixels on the pixel coordinate system 700 are divided into foreground pixels indicating the foreground and background pixels indicating the background, and referring to FIG. 7B, among the multiple pixels on the pixel coordinate system 700, a first pixel group 730 corresponds to foreground pixels and a second pixel group 740 corresponds to background pixels.

[0080] In one embodiment, the lane polyline generating device may set a seed probability loss composed of the first and second formulas by applying a first formula to foreground pixels corresponding to the foreground among a plurality of pixels, and applying a second formula to background pixels corresponding to the background.

[0081] The lane polyline generating device can calculate the probability that each of the foreground pixels corresponds to a specific cluster among a plurality of clusters corresponding to each of a plurality of lanes included in a specific road. The lane polyline generating device can set a first formula based on the pixel value of the foreground pixel and the calculated probability. Meanwhile, a method of calculating the probability of corresponding to a cluster will be described later with reference to Figs. 8A to 8C.

[0082] In addition, the lane polyline generator may further apply a scaling factor to set the first equation in order to correct the imbalance between the pixel values ​​of the foreground pixels and the pixel values ​​of the background pixels.

[0083] Furthermore, the lane polyline generator can set a second formula based on the pixel values ​​of the background pixels.

[0084] The seed probability loss including the above-mentioned first and second formulas can be expressed by the following formula 3. In one embodiment, the neural network model may be trained to minimize the value of the seed probability loss Lseed(·) according to the following formula 3.

[0085] In Equation 3, the first term on the right side may be the above-mentioned Equation 1, and the second term may be the above-mentioned Equation 2. In Equation 3, N is the number of pixels included in the pixel coordinate system 700, δ is a scaling factor, qi is the seed prediction value of the i-th pixel, Sk is the foreground, bg is the background, and φk(ei) is the probability that the i-th embedding coordinate ei on the pixel coordinate system 700 corresponds to the k-th cluster.

number

[0086] 8A to 8C are illustrative diagrams for explaining embedded offset loss.

[0087] 8A to 8C, there is shown a pixel coordinate system 800. Referring to Fig. 8A, a first line representation 811 and a second line representation 812 included in the pixel coordinate system 800 indicate different lanes.

[0088] The lane polyline generating device can set an embedding offset loss as at least one loss function (or loss) applied to the neural network model. The embedding offset indicates the probability that the i-th embedding coordinate ei on the pixel coordinate system 800 corresponds to the k-th cluster. Here, the cluster may be set for each of a plurality of lanes included in a given road. The lane polyline generating device can determine the corresponding probability value φk(ei) to be closer to 1 as the i-th pixel on the pixel coordinate system 800 is located closer to the center of the k-th cluster.

[0089] Referring to Fig. 8B, the shading of each pixel visualizes the probability of the pixel belonging to a certain cluster, and the darker the shading, the higher the probability of the pixel belonging to the certain cluster. In Fig. 8A, the first pixel 821 located near the first line 811 and the second pixel 825 located near the second line 812 have a very high probability of belonging to a certain cluster, so the shading is dark in Fig. 8B. Meanwhile, the lane polyline generating device can calculate the probability of the pixel belonging to a certain cluster only for the foreground pixels, and can omit the calculation for the background pixels.

[0090] 8C, pixels are grouped by cluster. The bird's-eye view features described above have spatial coordinates, but the lane polyline generator can drive a neural network model to convert the bird's-eye view features having spatial coordinates into two-dimensional embedding coordinates.

[0091] The lane polyline generator can set the first pixel 821 on the embedding coordinates as the centroid of the first cluster 831 and the second pixel 825 as the centroid of the second cluster 835.

[0092] In one embodiment, the lane polyline generating device can extract foreground pixels corresponding to the foreground from among a plurality of pixels included in the bird's-eye view feature. Also, the lane polyline generating device can calculate a probability that each of the foreground pixels corresponds to a predetermined cluster among a plurality of clusters on the embedding coordinates corresponding to each of a plurality of lanes included in a predetermined road. Furthermore, the lane polyline generating device can set an embedding offset loss using the calculated probability. Furthermore, the lane polyline generating device can train a neural network model using the embedding offset loss.

[0093] Furthermore, the lane polyline generating device can set the center of gravity of each of the plurality of clusters on the embedding coordinates and a fixed margin for forming the cluster. The lane polyline generating device can calculate the probability that each of the foreground pixels corresponds to a predetermined cluster among the plurality of clusters by using the center of gravity and the fixed margin.

[0094] In addition, the lane polyline generating device can set a clustering threshold probability value to calculate the probability that each of the foreground pixels corresponds to a predetermined cluster among the multiple clusters on the embedding coordinates. The lane polyline generating device can calculate the probability that each of the foreground pixels corresponds to a predetermined cluster among the multiple clusters by using the center of gravity, the fixed margin, and the clustering threshold probability value.

[0095] The neural network model may be trained to minimize the value of the embedding offset loss Lembed(·) according to the following Equation 4: In Equation 4, K is the number of clusters, and Lh(·) is a support vector machine related loss (e.g., Lovasz hinge loss).

number

[0096] In addition, φk(ei), which is the probability that each foreground pixel corresponds to a specific cluster among multiple clusters on the embedding coordinates, can be calculated by the following formula 5. According to formula 5, φk(ei) follows a Gaussian distribution.

number

[0097] Moreover, σ in Equation 5 can be calculated by the following Equation 6. In Equation 6, R represents a fixed margin for forming a cluster in the embedding space 800, and Pr- represents a clustering threshold probability value.

number

[0098] FIG. 9 is an example diagram illustrating sequence loss according to an embodiment.

[0099] The lane polyline generating device can set an ordinal loss as at least one loss function (or loss) applied to the neural network model. Here, the ordinal loss means an order regarding the start and end of the lane corresponding to the polyline. The lane polyline generating device can determine an ordinal value closer to 0 when a given pixel in the pixel coordinate system is closer to the starting point of the lane, and determine an ordinal value closer to 1 when the given pixel is closer to the ending point of the lane.

[0100] Referring to Figure 9, the order in which pixels in the pixel coordinate system are located between the start and end points of a lane is shown. Order value 1 and order value 2 in Figure 9 indicate the result values ​​of different lanes (or clusters). In Figure 9, darker shading indicates that a given pixel is closer to the end point of a lane.

[0101] In one embodiment, the lane polyline generating device may extract foreground pixels corresponding to the foreground from among a plurality of pixels included in the bird's-eye view feature, and may set an order loss using the order of each of the foreground pixels for lanes included in a given road, and may train a neural network model using the order loss.

[0102] Further, in order to set the order loss, the lane polyline generator can identify a cluster in which each of the foreground pixels is included, and determine an order value of the foreground pixels for the lane corresponding to the identified cluster. The lane polyline generator can set the order loss by using the order value of each of the foreground pixels.

[0103] In addition, in order to determine the order values, the lane polyline generation device can determine the order values ​​of the foreground pixels such that the foreground pixels closer to the start point of the lane have a value closer to a first value, and the foreground pixels closer to the end point of the lane have a value closer to a second value.

[0104] The lane polyline generator can set the sequence loss using the smooth L1 algorithm, but the algorithm used is not limited to this.

[0105] The neural network model may be trained to minimize the order loss Lоrd(·) according to the following Equation 7. In Equation 7, dn denotes the order value of the n-th pixel and has a value between 0 and 1. d̂n denotes the ground truth value.

number

[0106] On the other hand, the smooth L1 algorithm can be expressed by Equation 8.

number

[0107] The lane polyline generator can train the neural network model so that at least one of the embedding offset loss, the seed probability loss, and the ordering loss is minimized.

[0108] In one embodiment, the lane polyline generating device can train the neural network model so that the final loss according to the following formula 9 is minimized. In formula 9, α, β, and γ may be set differently depending on the importance of each term.

number

[0109] FIG. 10 is a flow chart illustrating a method for generating lane polylines using a neural network model according to one embodiment.

[0110] Referring to FIG. 10, in step 1010, the lane polyline generator may obtain a base image of a given road acquired from at least one sensor mounted on a vehicle.

[0111] In step 1020, the lane polyline generator can extract multi-scale image features using the base image.

[0112] In step 1030, the lane polyline generator can perform view transformation of the extracted multi-scale image features to generate bird's-eye view features.

[0113] In step 1040, the lane polyline generator can train a neural network model using the bird's eye view features as input data to the neural network model and the lane polylines of a given road as output data.

[0114] In one embodiment, the lane polyline generation device extracts foreground pixels corresponding to the foreground from among a plurality of pixels included in the bird's-eye view features, calculates the probability that each of the foreground pixels corresponds to a predetermined cluster among a plurality of clusters corresponding to each of a plurality of lanes included in a predetermined road, sets an embedded offset loss using the calculated probability, and trains a neural network model using the embedded offset loss.

[0115] In addition, the lane polyline generating device can set a center of gravity of each of the plurality of clusters and a fixed margin for forming the clusters in order to calculate the probability. The lane polyline generating device can calculate the probability that each of the foreground pixels corresponds to a specific cluster among the plurality of clusters by using the center of gravity and the fixed margin.

[0116] In addition, the lane polyline generator can set a clustering threshold probability value to calculate the probability. The lane polyline generator can calculate the probability that each foreground pixel corresponds to a specific cluster among a plurality of clusters by using the centroid point, the fixed margin, and the clustering threshold probability value.

[0117] In one embodiment, the lane polyline generator sets a seed probability loss based on whether each of the multiple pixels included in the bird's-eye view feature falls into the foreground or background category, and uses the seed probability loss to train a neural network model.

[0118] In addition, in order to set the seed probability loss, the lane polyline generating device applies a first formula to foreground pixels corresponding to the foreground among the multiple pixels, and applies a second formula to background pixels corresponding to the background, thereby setting a seed probability loss composed of the first formula and the second formula.

[0119] Furthermore, the lane polyline generating device can calculate the probability that each of the foreground pixels corresponds to a specific cluster among the multiple clusters for a plurality of clusters corresponding to each of a plurality of lanes included in a specific road. The lane polyline generating device can set a first formula based on the pixel values ​​of the foreground pixels and the calculated probability.

[0120] The lane polyline generator can also set the second formula based on the pixel values ​​of the background pixels.

[0121] Furthermore, the lane polyline generator may further apply a scaling factor to set the first equation to correct for imbalances between the pixel values ​​of the foreground pixels and the pixel values ​​of the background pixels.

[0122] In one embodiment, the lane polyline generation device extracts foreground pixels corresponding to the foreground from among a plurality of pixels included in the bird's-eye view features, sets an order loss using the order of each of the foreground pixels for the lanes included in a specified road, and uses the order loss to train a neural network model.

[0123] The lane polyline generator may also identify a cluster in which each of the foreground pixels is included, and determine ordinal values ​​of the foreground pixels for the lane corresponding to the identified cluster. The lane polyline generator may set an ordinal loss that uses the ordinal values ​​of each of the foreground pixels.

[0124] In addition, the lane polyline generator can determine the order values ​​of the foreground pixels such that the foreground pixels closer to the start point of the lane have a value closer to the first value, and the foreground pixels closer to the end point of the lane have a value closer to the second value.

[0125] In one embodiment, the lane polyline generator may train a neural network model to minimize at least one of an embedding offset loss, a seed probability loss, and a sequence loss.

[0126] FIG. 11 is a block diagram of a lane polyline generating device according to one embodiment.

[0127] 11, a lane polyline generating device 1100 may include a communication unit 1110, a processor 1120, and a DB 1130. In the lane polyline generating device 1100 of FIG. 11, only components related to the embodiment are shown. Therefore, a person having ordinary skill in the art would understand that the lane polyline generating device 1100 may further include other general-purpose components in addition to the components shown in FIG.

[0128] The communication unit 1110 may include one or more components that enable wired / wireless communication with an external server or device. For example, the communication unit 1110 may include at least one of a short-range communication unit (not shown), a mobile communication unit (not shown), and a broadcast receiving unit (not shown).

[0129] The DB 1130 is hardware that stores various data processed within the lane polyline generating device 1100, and can store programs for processing and controlling the processor 1120.

[0130] DB1130 may include dynamic random access memory (DRAM), random access memory (RAM) such as static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM, Blu-ray or other optical disk storage, hard disk drive (HDD), solid state drive (SSD), or flash memory.

[0131] The processor 1120 controls the overall operation of the lane polyline generating device 1100. For example, the processor 1120 may generally control an input unit (not shown), a display (not shown), a communication unit 1110, a DB 1130, etc. by executing a program stored in a DB 1130. The processor 1120 may generally control the operation of the lane polyline generating device 1100 by executing a program stored in a DB 1130.

[0132] The processor 1120 can control at least a part of the operation of the lane polyline generating device 1100 described above in Figures 1 to 10. The lane polyline generating device 1100 and the autonomous mobile device 40 may be the same device, and at least a part of the operation performed by each device may be the same.

[0133] The processor 1120 may be implemented using at least one of ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, and other electrical units for performing functions.

[0134] In one embodiment, the lane polyline generating device 1100 may be a mobile electronic device. For example, the lane polyline generating device 1100 can be realized in a smartphone, a tablet PC, a PC, a smart TV, a PDA (personal digital assistant), a laptop, a media player, a navigation system, a device with a camera, and other mobile electronic devices. The lane polyline generating device 1100 can also be realized in a wearable device such as a watch, glasses, a headband, or a ring that has a communication function and a data processing function.

[0135] In another embodiment, the lane polyline generator 1100 may be an electronic device that is incorporated into a vehicle. For example, the lane polyline generator 1100 may be an electronic device that is inserted into a vehicle by tuning after the manufacturing process.

[0136] In yet another embodiment, the lane polyline generating device 1100 may be a server located outside the vehicle. The server may be realized by a computer device or multiple computer devices that communicate over a network to provide instructions, codes, files, contents, services, etc. The server may receive data required to generate lane polylines from a device mounted on the vehicle and determine a travel route for the vehicle based on the received data.

[0137] In yet other embodiments, the processes performed by the lane polyline generator 1100 may be executed at least in part by a mobile electronic device, an electronic device integrated into a vehicle, and a server located outside the vehicle.

[0138] The embodiments according to the present invention may be realized in the form of a computer program executable by various components on a computer, and such a computer program may be recorded on a computer readable medium, including magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions, such as ROMs, RAMs, flash memories, and the like.

[0139] On the other hand, the computer program may be one specially designed and constructed for the present invention, or it may be one that is well known and available to those skilled in the art of computer software. Examples of computer programs include not only machine code, such as that produced by a compiler, but also high-level language code that is executed by a computer using an interpreter or the like.

[0140] According to one embodiment, the methods according to various embodiments of the present disclosure can be provided in a computer program product. The computer program product can be traded between sellers and buyers as a commodity. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)) or can be distributed in the form of an application store (e.g., the Play Store). TM ) or directly between two user devices. In the case of online distribution, at least a part of the computer program product may be at least temporarily stored or temporarily generated on a machine-readable storage medium, such as a memory of a manufacturer's server, an application store's server, or an intermediary server.

[0141] Unless there is an explicit order description or a contrary description regarding the steps constituting the method according to the present invention, the steps can be performed in any suitable order. The present invention is not necessarily limited to the order of the steps described above. The use of all examples or exemplary terms (such as, for example, etc.) in the present invention is merely for the purpose of explaining the present invention in detail, and the scope of the present invention is not limited by the examples or exemplary terms unless limited by the claims. In addition, those skilled in the art will understand that various modifications, combinations and changes can be made within the scope of the claims or their equivalents according to design conditions and factors.

[0142] Therefore, the concept of the present invention should not be limited to the above-described embodiments, and all scopes equivalent to or modified equivalently to the scope of the attached claims, as well as the scope of the present invention, fall within the scope of the concept of the present invention.

Claims

1. 1. A method for generating lane polylines using a neural network model, comprising: acquiring a baseline image of a given road acquired from at least one sensor mounted on a vehicle; extracting multi-scale image features using the base images; performing view transformation of the extracted multi-scale image features to generate bird's-eye view features; and training the neural network model by using the bird's eye view features as input data for the neural network model and using the lane polylines of the given road as output data.

2. The step of training the neural network model includes: extracting foreground pixels corresponding to a foreground from among a plurality of pixels included in the bird's-eye view feature; calculating a probability that each of the foreground pixels corresponds to a predetermined cluster among a plurality of clusters corresponding to a plurality of lanes included in the predetermined road; setting an embedding offset loss using the calculated probability; and training the neural network model with the embedded offset loss.

3. The step of calculating the probability includes: setting centroids of the plurality of clusters and fixed margins for forming the clusters; and calculating a probability that each of the foreground pixels falls into a given cluster among the plurality of clusters using the centroid points and the fixed margin.

4. The step of calculating the probability includes: setting a clustering threshold probability value; and calculating a probability that each of the foreground pixels falls into a given cluster among the plurality of clusters using the centroid points, the fixed margin, and the clustering threshold probability value.

5. The method comprises: inputting the bird's-eye view features as input data for the neural network model trained by the method according to claim 1; The method of claim 1 , further comprising the step of: generating lane polylines for the given road as output data of the neural network model.

6. The method comprises: The method of claim 5 , further comprising the step of generating a control signal for controlling a vehicle traveling on the given road based on a lane polyline of the given road.

7. An apparatus for generating lane polylines using a neural network model, a memory having at least one program stored therein; a processor for executing said at least one program to drive the neural network; The processor, Acquire a basic image of a specified road from a camera mounted on a vehicle, Extracting a plurality of image features using the base image; performing a view transformation of the extracted image features to generate bird's-eye view features; The apparatus trains a neural network model by using the bird's-eye view features as input data for the neural network model and using the lane polylines of the given road as output data.

8. A computer-readable recording medium having recorded thereon a program for executing the method according to claim 1 on a computer.

9. 1. A method for generating lane polylines using a neural network model, comprising: acquiring a baseline image of a given road acquired from at least one sensor mounted on a vehicle; inputting the base image as input data for a neural network model; driving the neural network model to generate bird's-eye view features from the base image; and obtaining lane polylines as output data based on the generated bird's-eye view features.

Citation Information

Patent Citations

  • Object identification device, system for moving object, object identification method, learning method of object identification model and learning device for object identification model

    JP2019211900A