This application claims priority to Chinese Patent Application No. 202010327968.0, titled “METHOD, APPARATUS, DEVICE AND STORAGE MEDIUM FOR DETERMINING LANE WHERE VEHICLE LOCATED,” filed on Apr. 23, 2020, the content of which is incorporated herein by reference in its entirety.
The present disclosure relates to the field of image processing technology, and more particularly, to an automatic driving technology. Specifically, embodiments of the present disclosure provide a method, apparatus, device, and storage medium for determining a lane where a vehicle is located.
In order to improve the accuracy of navigation, it is generally necessary to determine the lane where the vehicle is located, and provide technical support for lane-level navigation according to the lane where the vehicle is located.
An existing method for determining the lane where a vehicle is located mainly includes the following two types:
1) the lane where the vehicle is located is determined in combination with high-precision positioning and high-precision maps.
2) a sensor module is laid in the road to sense the lane where the vehicle is located.
Embodiments of the present application provide a method, apparatus, device, and storage medium for determining a lane where a vehicle is located to reduce the cost of determining the lane where the vehicle is located.
An embodiment of the present disclosure provides a method for determining a lane where a vehicle is located, the method including:
determining image lane information of a position of the vehicle based on a lane line image;
acquiring actual lane information of the position where the vehicle is located from existing lane information according to the positioning information of the vehicle; and
determining an actual lane where the vehicle is located based on the image lane information and the actual lane information.
The embodiments of the present disclosure determine the actual lane where the vehicle is located based on the image lane information and the actual lane information. Since the image lane information can be determined from the lane line image, and the actual lane information can be acquired from the existing lane information, the embodiment of the present disclosure does not require the laying of the sensor and the determination of the high-precision map in the unapplied range.
Further, the determining image lane information of a position where the vehicle is located based on a lane line image includes:
recognizing the lane line image; and
determining the image lane information based on the lane line information obtained through recognition.
Based on the technical feature, the embodiment of the present disclosure determines the image lane information according to the lane line information obtained through recognition. Since lane line information has an inherent association with lane information, compared with detecting the lane information directly from the lane line image, the embodiment of the present disclosure can realize further mining of the lane information through the lane line information.
Further, the determining the image lane information based on the lane line information obtained through recognition includes:
determining, based on the obtained lane line information, a lane type of an image lane formed by lane lines; and
using the determined lane type as the image lane information.
Based on this technical feature, the embodiment of the present disclosure determines a lane type and uses the determined lane type as image lane information. With the lane type, the lane can be more accurately recognized than other information of the lane, and the amount of occupied data is small.
Further, the determining, based on the obtained lane line information, a lane type of an image lane formed by lane lines includes:
determining at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane based on the lane line information; and
determining a lane type of the image lane based on at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane.
Based on this technical feature, the embodiment of the present disclosure determines an actual lane where the vehicle is located by at least one of a traveling direction of an image lane, a traveling vehicle type, and a traveling position.
Further, the acquiring actual lane information of the position where the vehicle is located from existing lane information according to positioning information of the vehicle includes:
determining a road position where the vehicle is located according to a positioning longitude and latitude in the positioning information;
determining a traveling direction of the vehicle according to a heading angle in the positioning information; and
acquiring actual lane information of the position where the vehicle is located from existing lane information according to the road position where the vehicle is located and the traveling direction of the vehicle.
Based on this technical feature, the embodiment of the present disclosure obtains actual lane information of the position where the vehicle is located from the existing lane information according to the road position where the vehicle is located and the traveling direction of the vehicle.
Further, the determining an actual lane where the vehicle is located based on the image lane information and the actual lane information includes:
matching the image lane information with the actual lane information;
establishing an association relationship between an image lane associated with the lane line image and an actual lane associated with the existing lane information according to a matching result;
determining an actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located.
Based on the technical feature, the embodiment of the present disclosure establishes an association relationship between the image lane and the actual lane according to a matching result of the image lane information and the actual lane information. Based on the association relationship, the actual lane where the vehicle is located is determined, so that the determination of the actual lane where the vehicle is located is realized.
Further, the method further comprises:
determining an image position of the vehicle based on a positional relationship between the image acquisition device of the lane line image and the vehicle and a calibration result of the image acquisition device; and
determining an image lane where the vehicle is located based on an image position of the vehicle and an image area of the image lane.
Based on this technical feature, the embodiment of the present disclosure determines the image position of the vehicle; and determines the image lane where the vehicle is located based on the image position of the vehicle and the image area of the image lane, thereby determining the image lane where the vehicle is located.
Further, after the determining the actual lane where the vehicle is located based on the image lane information and the actual lane information, the method further comprises:
correcting the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located.
Based on this technical feature, the embodiment of the present disclosure corrects the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located.
Further, the correcting the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located includes:
determining a relative position relationship between the actual lane where the vehicle is located and the image acquisition device based on a calibration result of the image acquisition device of the lane map;
determining a new position of the actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device; and
correcting the original position of the actual lane where the vehicle is located in the existing lane information by using the determined new position.
Based on this technical feature, the embodiment of the present disclosure determines the relative position relationship between the actual lane where the vehicle is located and the image acquisition device. Based on the determined relative position relationship and the actual position of the image acquisition device, a new position of the actual lane where the vehicle is located is determined, so that correction of lane position information in the existing lane information is realized.
Further, before the determining a new position of the actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device, the method further includes:
if the image acquisition device is an in-vehicle image acquisition device, determining an actual position of the image acquisition device based on the position information of the vehicle.
Based on this technical feature, the embodiment of the present disclosure determines the actual position of the image acquisition device according to the position information of the vehicle if the image acquisition device is an in-vehicle image acquisition device, thereby determining the actual position of the image acquisition device for an application scene of the in-vehicle image acquisition device.
Further, the correcting actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located includes:
clustering the image lane information of the actual lane where the vehicle is located if the number of information pieces of the image lane information of the actual lane where the vehicle is located is greater than a set number threshold;
determining target lane information from the image lane information of the actual lane where the vehicle is located based on the clustering result; and
correcting actual lane information of an actual lane where the vehicle is located in the existing lane information by using the target lane information.
Based on this technical feature, the embodiments of the present disclosure cluster the image lane information of the actual lane where the vehicle is located. According to the clustering result, the target lane information is determined.
An embodiment of the present disclosure further provides an apparatus for determining a lane where a vehicle is located, the apparatus including:
an information determining module configured to determine image lane information of a position of the vehicle based on the lane line image;
an information acquisition module, configured to acquire actual lane information of the position where the vehicle is located from existing lane information according to the positioning information of the vehicle;
a lane determining module, configured to determine an actual lane where the vehicle is located based on the image lane information and the actual lane information.
Further, the information determining module includes:
an image recognition unit configured to recognize the lane line image;
an information determining unit configured to determine the image lane information based on the lane line information obtained through recognition.
Further, the information determining unit includes:
a lane type determining subunit configured to determine a lane type of an image lane formed by lane lines based on the obtained lane line information; and
a lane information determining subunit configured to use the determined lane type as the image lane information.
Further, the lane type determination subunit is specifically configured to:
determine at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane based on the lane line information; and
determine a lane type of the image lane based on at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane.
Further, the information acquisition module includes:
a road position determining unit configured to determine a road position where the vehicle is located based on a positioning longitude and latitude in the positioning information;
a traveling direction determining unit configured to determine a traveling direction of the vehicle according to a heading angle in the positioning information; and
a lane information acquiring unit configured to acquire actual lane information of the position where the vehicle is located from existing lane information according to the road position where the vehicle is located and the traveling direction of the vehicle.
Further, the lane determination module includes:
an information matching unit configured to match the image lane information and the actual lane information;
a relationship establishing unit configured to establish an association relationship between an image lane associated with the lane line image and an actual lane associated with the existing lane information according to a matching result; and
a lane determining unit configured to determine the actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located.
Further, the apparatus further comprises:
a position determining module configured to determine an image position of the vehicle according to a position relationship between the image acquisition device of the lane line image and the vehicle and a calibration result of the image acquisition device before determining the actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located; and
a lane determining module, configured to determine the image lane where the vehicle is located based on an image position of the vehicle and an image area of the image lane.
Further, the apparatus further comprises:
an information correction module, configured to, after determining the actual lane where the vehicle is located according to the image lane information and the actual lane information, correct the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located.
Further, the information correction module includes:
a position relationship determination unit configured to determine a relative position relationship between the actual lane where the vehicle is located and the image acquisition device based on the calibration result of the image acquisition device of the lane line image;
a new position determining unit configured to determine a new position of an actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device; and
a position correction unit configured to correct the original position of the actual lane where the vehicle is located in the existing lane information by using the determined new position.
Further, the apparatus further includes:
a position determining module configured to determine an actual position of the image acquisition device based on the position information of the vehicle if the image acquisition device is an in-vehicle image acquisition device before determining a new position of the actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device.
Further, the information correction module includes:
a clustering unit configured to cluster the image lane information of the actual lane where the vehicle is located if a number of information pieces of the image lane information of the actual lane where the vehicle is located is greater than a set number threshold;
an information determining unit configured to determine target lane information from image lane information of an actual lane where the vehicle is located according to a clustering result; and
an information correction unit configured to correct actual lane information of an actual lane where the vehicle is located in the existing lane information by using the target lane information.
An embodiment of the present disclosure further provides an electronic device including:
at least one processor; and
a memory in communication with the at least one processor;
where the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any of embodiments of the disclosure.
An embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method described in any one of the embodiments of the present disclosure.
The drawings are intended to provide a better understanding of the present disclosure and are not to be construed as limiting the disclosure, where:
Example embodiments of the present disclosure are described below in connection with the accompanying drawings, in which various details of the embodiments of the present disclosure are included to facilitate understanding, and are to be considered as examples only. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
S110 includes determining image lane information of the position where the vehicle is located based on the lane line image.
The lane line image refers to an image of the lane line at the position where the vehicle is located acquired by the image acquisition device.
Since the lane line image generally includes only a part of lane lines at the position of the vehicle, the lane where the vehicle is located can not be directly determined from the lane line image.
The image acquisition device may be any device capable of acquiring an image, and in particular, the image acquisition device is a camera.
Alternatively, the image acquisition device may be disposed at a position on a roadside fixture or on a vehicle.
Typically, the image acquisition device may be mounted on the head or tail of the vehicle so that the acquired lane line image includes more lane lines.
The image lane information refers to lane information of a lane at a position where the vehicle is located, determined from a lane line image.
Specifically, the lane information may be any information of a lane, such as a width of the lane, a number of lanes, a distribution of lanes, an in-lane guide arrow, a color of a lane line associated with the lane, a lane line of the lane being dotted line or solid line, or the like.
Specifically, the determining image lane information of the position where the vehicle is located based on the lane line image includes:
performing lane detection according to the lane line image; and
determining lane information based on the detected lane.
The lane detection logic may be any target detection logic in the existing technology, which is not limited in embodiments.
S120 includes acquiring actual lane information of a position where the vehicle is located from existing lane information according to the positioning information of the vehicle.
Here, the existing lane information refers to lane information that already exists.
The information includes a lane sign for identifying the actual lane where the vehicle is located so that the user or downstream logic knows the lane where the vehicle is located.
Typically, in the case where currently the general map is widely popularized, the existing lane information can be acquired from the general map.
Alternatively, if the high-precision map is widely popularized in the future, the existing lane information may be acquired from the high-precision map in order to acquire more accurate lane information.
The embodiment of the disclosure does not limit the source of the existing lane information.
Since the existing lane information is the lane information that already exists, the cost of obtaining the actual lane information from the existing lane information is low.
The actual lane information refers to lane information of a lane at a position where the vehicle is located, obtained from existing lane information.
Specifically, the positioning information of the vehicle may include only the positioning longitude and latitude, or may include the positioning longitude and latitude and also the heading angle.
If the positioning information includes only the positioning longitude and latitude, the acquiring actual lane information of a position where the vehicle is located from existing lane information according to the positioning information of the vehicle, includes:
matching a position of the vehicle with an index position in existing lane information; and
using lane information associated with a index location matching the position of the vehicle as actual lane information of the position where the vehicle is located.
In order to improve the accuracy of the actual lane information, if the positioning information includes the positioning longitude and latitude, and also includes the heading angle, the acquiring the actual lane information of the position where the vehicle is located from the existing lane information according to the positioning information of the vehicle includes:
determining a road position where the vehicle is located according to a positioning longitude and latitude in the positioning information;
determining a traveling direction of the vehicle according to a heading angle in the positioning information; and
acquiring actual lane information of the position where the vehicle is located from existing lane information according to the road position where the vehicle is located and the traveling direction of the vehicle.
Based on this technical feature, the implementation of the present disclosure can acquire the actual lane information of the vehicle in the driving direction of the vehicle from the existing lane information, to improve the accuracy of the actual lane information.
S130 includes determining an actual lane where the vehicle is located based on the image lane information and the actual lane information.
The actual lane refers to a lane in existing lane information.
Specifically, the determining an actual lane where the vehicle is located based on the image lane information and the actual lane information includes:
matching the image lane information with the actual lane information;
establishing an association relationship between an image lane associated with the lane line image and an actual lane associated with the existing lane information according to a matching result; and
determining an actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located.
Herein, the image lane refers to a lane in a lane line image.
For implementing the determination of the image lane where the vehicle is located, before the determining an actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located, the method further comprises:
determining an image position of the vehicle based on a positional relationship between the image acquisition device of the lane line image and the vehicle and a calibration result of the image acquisition device; and
determining an image lane where the vehicle is located based on an image position of the vehicle and an image area of the image lane.
The image position of the vehicle refers to the position of the vehicle in the lane line image.
Specifically, the positional relationship between the image acquisition device of the lane line image and the vehicle may be predetermined, or may be determined based on the positions of the image acquisition device of the lane line image and the vehicle.
The image area of the image lane can be recognized from the lane line image.
The application scenarios of the embodiments of the present disclosure may be described as follows.
A typical application scenario is that referring to
An alternative application scenario is that referring to
The embodiments of the present disclosure determine the actual lane where the vehicle is located based on the image lane information and the actual lane information. Since the image lane information can be determined from the lane line image, and the actual lane information can be acquired from the existing lane information, the embodiment of the present disclosure does not need the laying of the sensor and the determination of the high-precision map in an unapplied range. Therefore, the embodiments of the present disclosure can reduce the cost of determining the lane where the vehicle is located, thereby improving the application range.
S210 includes recognizing a lane line image, and determining image lane information based on the lane line information obtained through the recognition.
Alternatively, the method for recognizing the lane line image may be any image recognition method.
Specifically, the lane line information includes at least one of: a lane line width, a lane line color, a lane line being a dotted line or a solid line, and an in-lane guide arrow.
Specifically, the determining image lane information based on the obtained lane line information includes:
determining at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane based on the lane line information; and
using at least one of the traveling direction, the traveling vehicle type, and the traveling position of the image lane as the image lane information.
Typically, the determining the image lane information based on the obtained lane information includes:
determining, based on the obtained lane line information, a lane type of the image lane formed by the lane lines; and
using the determined lane type as the image lane information.
Based on this technical feature, the embodiment of the present disclosure determines a lane type and uses the determined lane type as image lane information. The lane type can more accurately recognize the lane than other information of the lane, and occupy smaller amount of data. Therefore, compared with determining the actual lane where the vehicle is located by using other information of the lane, the embodiment of the present disclosure can improve the accuracy of determining the lane and reduce the amount of calculated data.
To improve accuracy of an actual lane where the vehicle is located, the determining, based on the lane line information, a lane type of the image lane formed by the lane line includes:
determining at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane based on the lane line information;
determining a lane type of the image lane based on at least one of the traveling direction, the traveling vehicle type, and the traveling position of the image lane.
Specifically, the lane type includes at least one of a left-most lane, a right-most lane, a bus lane, and a target traveling direction lane.
Determining a lane type of the image lane according to a traveling position includes:
if the traveling position is the left most lane of the road, determining that the lane type is the left lane; and
if the traveling position is the rightmost side of the road, determining that the lane type is the right lane.
Determining a lane type of the image lane according to a traveling direction includes:
if the driving direction is a left driving direction, determining that the lane type is a left turning lane;
if the traveling direction is a right direction, determining that the lane type is a right turn lane; and
if the traveling direction is straight, determining that the lane type is straight lane.
Determining a lane type of the image lane based on a traveling vehicle type includes:
if the type of the traveling vehicle is bus-specific, determining that the type of the lane is a bus lane.
S220 includes acquiring actual lane information of a position where the vehicle is located from existing lane information based on the position of the vehicle.
S230 includes determining an actual lane where the vehicle is located based on the image lane information and the actual lane information.
The embodiment of the present disclosure determines the image lane information according to the obtained lane line information. Because lane line information has an inherent association with lane information, compared with detecting the lane information directly from the lane line image, the embodiment of the present disclosure can realize further mining of the lane information through the lane line information, thereby realizing accurate determination of the lane where the vehicle is located based on the mined lane information.
S310 includes determining image lane information of a position of the vehicle based on a lane line image.
S320 includes acquiring actual lane information of a position where the vehicle is located from existing lane information according to the positioning information of the vehicle.
S330 includes determining an actual lane where the vehicle is located based on the image lane information and the actual lane information.
S340 includes correcting, by using the image lane information of the actual lane where the vehicle is located, the actual lane information of the actual lane where the vehicle is located in the existing lane information.
Specifically correcting existing lane information using lane information recognized from the lane line image, including:
correcting the existing lane information with information other than the lane position recognized from the lane line image.
In order to correct the lane position in the existing lane information, the correcting the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located includes:
determining a relative position relationship between an actual lane where the vehicle is located and the image acquisition device based on a calibration result of the image acquisition device of the lane image;
determining a new position of the actual lane where the vehicle is located based on the determined relative position relationship and an actual position of the image acquisition device; and
correcting the original position of the actual lane where the vehicle is located in the existing lane information by using the determined new position.
Before determining a new position of an actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device, to achieve determination of the actual position of the image acquisition device, the method further includes:
if the image acquisition device is an in-vehicle image acquisition device, determining an actual position of the image acquisition device based on the position information of the vehicle.
To improve the correction accuracy of the existing lane information, the correcting the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located includes:
clustering the image lane information of the actual lane where the vehicle is located if a number of information pieces of the image lane information of the actual lane where the vehicle is located is greater than a set number threshold;
determining target lane information from the image lane information of the actual lane where the vehicle is located based on a clustering result; and
correcting actual lane information of an actual lane where the vehicle is located in the existing lane information by using the target lane information.
The set number threshold value is greater than 2, and the value of the specifically set number threshold value may be determined according to actual requirements.
Specifically, the determining the target lane information from the image lane information of the actual lane where the vehicle is located based on a clustering result includes:
performing statistics on the image lane information of the clusters obtained by clustering;
using the cluster with the largest amount of the image lane information as the target cluster; and
determining target lane information based on the image lane information in the target cluster.
Optionally, determining target lane information based on the image lane information in the target cluster includes:
calculating an average value of target lane information in the target cluster;
using the calculated average value as target lane information; or,
using the image lane information located at the center of the target cluster as the target lane information.
collecting a road lane line based on a rear-view camera;
recognizing a lane line image to obtain attribute information of the lane line;
determining a lane type according to the attribute information of the lane line;
associating a lane in a lane line image with a lane in a location of a vehicle in a normal map according to the lane type, where the lane in the location of the vehicle in the normal map can be acquired according to a positioning longitude and latitude of the vehicle and a traveling direction; and
determining the lane where the vehicle is located according to the association relationship.
Specifically, the associating a lane in a lane line image with a lane in a location of a vehicle in a normal map according to a lane type, includes:
according to at least one of a left lane, a right lane, a bus lane, and a target travel direction lane, associating a lane in a lane line image with a lane of a road position where a vehicle is located in a normal map.
If the association fails, the following steps are performed:
determining a relative position relationship between a lane in a lane line image and a camera according to a calibration result of the camera;
determining a lane position according to the relative position relationship and a position of the camera, the position of the camera being determined according to position information of a vehicle;
storing a determined lane position and other information of the lane, the other information being information other than the lane position; and
clustering at least two lane positions of the stored target position in response to the information correction request for the lane of the target position, and according to the clustering result, correcting the position and other information for the lane of the target position.
The solution can achieve the following effects:
multiple kinds of lane information are fused, and lane positioning is performed in combination with navigation information, which is low in cost and can be applied in most driving scenarios;
the existing lane information can be corrected by using the lane recognition result; and
the camera self-calibration result and the fusion positioning result are used, such that high-precision lane information can be obtained.
The information determining module 701 is configured to determine image lane information of a position where the vehicle is located based on the lane line image.
The information acquiring module 702, configured to acquire actual lane information of the position where the vehicle is located from existing lane information according to the positioning information of the vehicle.
The lane determining module 703, configured to determine an actual lane where the vehicle is located based on the image lane information and the actual lane information.
The embodiments of the present disclosure determine the actual lane where the vehicle is located based on the image lane information and the actual lane information. Since the image lane information can be determined from the lane line image, and the actual lane information can be acquired from the existing lane information, the embodiment of the present disclosure does not require the laying of the sensor and the determination of the high-precision map in the unapplied range. Therefore, the embodiments of the present disclosure can reduce the cost of determining the lane where the vehicle is located, thereby improving the application range.
Further, the information determining module includes:
an image recognition unit configured for recognizing the lane line image; and
an information determining unit configured to determine the image lane information based on the lane line information obtained through the recognition.
Further, the information determining unit includes:
a lane type determining subunit configured to determine a lane type of an image lane formed by lane lines based on the obtained lane line information; and
a lane information determining subunit configured to use the determined lane type as the image lane information.
Further, the lane type determination subunit is specifically configured to:
determine at least one of a traveling direction, a traveling vehicle type, and a traveling position of the image lane based on the lane line information;
determine a lane type of the image lane based on at least one of the traveling direction, the traveling vehicle type, and the traveling position of the image lane.
Further, the information acquisition module includes:
a road position determining unit configured to determine a road position where the vehicle is located based on a positioning longitude and latitude in the positioning information;
a traveling direction determining unit configured to determine a traveling direction of the vehicle according to a heading angle in the positioning information;
a lane information acquiring unit configured to acquire actual lane information of a position where the vehicle is located from existing lane information according to the road position where the vehicle is located and the traveling direction of the vehicle.
Further, the lane determination module includes:
an information matching unit configured to match the image lane information and the actual lane information;
a relationship establishing unit configured to establish an association relationship between an image lane associated with the lane line image and an actual lane associated with the existing lane information according to a matching result; and
a lane determining unit configured to determine an actual lane where the vehicle is located based on the association relationship and the image lane where the vehicle is located.
Further, the apparatus further comprises:
a position determining module configured to determine an image position of the vehicle according to a position relationship between the image acquisition device of the lane line image and the vehicle and a calibration result of the image acquisition device, before determining an actual lane where the vehicle is located according to the association relationship and the image lane where the vehicle is located; and
a lane determining module, configured to determine an image lane where the vehicle is located based on an image position of the vehicle and an image area of the image lane.
Further, the apparatus further comprises:
an information correction module, configured to, after determining the actual lane where the vehicle is located according to the image lane information and the actual lane information, correct the actual lane information of the actual lane where the vehicle is located in the existing lane information by using the image lane information of the actual lane where the vehicle is located.
Further, the information correction module includes:
a position relationship determination unit configured to determine a relative position relationship between an actual lane where the vehicle is located and the image acquisition device based on a calibration result of the image acquisition device of the lane line image;
a new position determining unit configured to determine a new position of an actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device; and
a position correction unit configured to correct the original position of the actual lane of the vehicle in the existing lane information by using the determined new position.
Further, the apparatus further comprises:
a position determining module configured to determine an actual position of the image acquisition device according to the position information of the vehicle if the image acquisition device is an in-vehicle image acquisition device before determining a new position of the actual lane where the vehicle is located based on the determined relative position relationship and the actual position of the image acquisition device.
Further, the information correction module includes:
a clustering unit configured to cluster the image lane information of the actual lane where the vehicle is located if a number of information pieces of the image lane information of the actual lane where the vehicle is located is greater than a set number threshold;
an information determining unit configured to determine target lane information from image lane information of an actual lane where the vehicle is located according to a clustering result; and
an information correction unit configured to correct actual lane information of an actual lane where the vehicle is located in the existing lane information by using the target lane information.
According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
As shown in
As shown in
The memory 802 is a non-transitory computer readable storage medium provided in this application. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the method for determining a lane where a vehicle is located as provided in the present disclosure. The non-transitory computer-readable storage medium of the present disclosure stores computer instructions for causing a computer to perform the method for determining a lane where a vehicle is located as provided in the present disclosure.
The memory 802, as a non-transitory computer-readable storage medium, may be used to store a non-transitory software program, a non-transitory computer-executable program, and a module, such as a program instruction/module (for example, the information determining module 701, the information obtaining module 702, and the lane determining module 703 shown in
The memory 802 may include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function. The storage data area may store data or the like created according to the use of the electronic device for determining the lane where the vehicle is located. In addition, memory 802 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 802 may optionally include remotely disposed memory relative to processor 801, which may be connected via a network to the electronic device for determining the lane where the vehicle is located. Examples of such networks include, but are not limited to, the Internet, enterprise intranets, block chain networks, local area networks, mobile communication networks, and combinations thereof.
The electronic device performing the method for determining the vehicle lane may further include an input device 803 and an output device 804. The processor 801, the memory 802, the input device 803, and the output device 804 may be connected via a bus or otherwise, as illustrated in
The input device 803 may receive input number or character information, and generate key signal input related to user settings and functional control of the electronic device for determining the lane where the vehicle is located, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer bar, one or more mouse buttons, a trackball, a joystick, or the like. The output device 804 may include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
Various embodiments of the systems and technologies described herein may be implemented in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and/or interpreted on a programmable system that includes at least one programmable processor. The programmable processor may be a dedicated or general-purpose programmable processor, and may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
These computing programs (also referred to as programs, software, software applications, or codes) include machine instructions of the programmable processor and may use high-level processes and/or object-oriented programming languages, and/or assembly/machine languages to implement these computing programs. As used herein, the terms “machine readable medium” and “computer readable medium” refer to any computer program product, device, and/or apparatus (for example, magnetic disk, optical disk, memory, programmable logic apparatus (PLD)) used to provide machine instructions and/or data to the programmable processor, including machine readable medium that receives machine instructions as machine readable signals. The term “machine readable signal” refers to any signal used to provide machine instructions and/or data to the programmable processor.
To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to a computer. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and any form (including acoustic input, voice input, or tactile input) may be used to receive input from the user.
The systems and techniques described herein may be implemented in a computing system including a backend component (e.g., as a data server), or a computing system including a middleware component (e.g., an application server), or a computing system including a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein), or a computing system including any combination of such backend component, middleware component, or front-end component. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), the Internet, and block chain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship between the client and the server is generated by a computer program running on the corresponding computer and having a client-server relationship with each other.
It should be understood that the various forms of processes shown above may be used to reorder, add, or delete steps. For example, the steps described in the present disclosure may be performed in parallel, sequentially, or in different orders. As long as the desired results of the technical solution disclosed in the present disclosure can be achieved, no limitation is made herein.
The above specific embodiments do not constitute limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions may be made according to design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202010327968.0 | Apr 2020 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5790403 | Nakayama | Aug 1998 | A |
5999877 | Takahashi | Dec 1999 | A |
7295925 | Breed | Nov 2007 | B2 |
7532981 | Kataoka | May 2009 | B2 |
8144926 | Mori | Mar 2012 | B2 |
8164543 | Seder | Apr 2012 | B2 |
8209123 | Miyazaki | Jun 2012 | B2 |
8265869 | Katou | Sep 2012 | B2 |
8325800 | Holcomb | Dec 2012 | B2 |
8384532 | Szczerba | Feb 2013 | B2 |
8704653 | Seder | Apr 2014 | B2 |
8982188 | Ota | Mar 2015 | B2 |
9494438 | Ichinokawa | Nov 2016 | B1 |
9643600 | Takahashi | May 2017 | B2 |
9796422 | Takahashi | Oct 2017 | B2 |
9969384 | Takahashi | May 2018 | B2 |
10248124 | Bellaiche | Apr 2019 | B2 |
10293690 | Ejiri | May 2019 | B2 |
10384679 | Fujita | Aug 2019 | B2 |
10493987 | Ohsugi | Dec 2019 | B2 |
10558222 | Fridman | Feb 2020 | B2 |
10562532 | Hashimoto | Feb 2020 | B2 |
10984551 | Shikimachi | Apr 2021 | B2 |
11021149 | Kumano | Jun 2021 | B2 |
11094198 | Fu | Aug 2021 | B2 |
11193782 | Daikoku | Dec 2021 | B2 |
11398051 | Lee | Jul 2022 | B2 |
20050171688 | Fujita et al. | Aug 2005 | A1 |
20060233424 | Miyajima | Oct 2006 | A1 |
20090222202 | Kato | Sep 2009 | A1 |
20160216521 | Yachida | Jul 2016 | A1 |
20170010108 | Shashua | Jan 2017 | A1 |
20180181817 | Yan et al. | Jun 2018 | A1 |
20180267172 | Oh et al. | Sep 2018 | A1 |
20190111930 | Katsura | Apr 2019 | A1 |
20190271550 | Breed et al. | Sep 2019 | A1 |
20190347820 | Golinsky | Nov 2019 | A1 |
20190383630 | Lee | Dec 2019 | A1 |
20200133274 | Kim | Apr 2020 | A1 |
20200247431 | Ferencz | Aug 2020 | A1 |
20200307576 | Takegawa | Oct 2020 | A1 |
20210009135 | Taniguchi | Jan 2021 | A1 |
20210207977 | Lee | Jul 2021 | A1 |
20210270634 | Fujita | Sep 2021 | A1 |
20210309231 | Fujita | Oct 2021 | A1 |
20210327276 | Asai | Oct 2021 | A1 |
Number | Date | Country |
---|---|---|
110556012 | Dec 2019 | CN |
3 534 114 | Sep 2019 | EP |
2005-214883 | Aug 2005 | JP |
2007-004669 | Jan 2007 | JP |
20190029192 | Mar 2019 | KR |
Entry |
---|
European Patent Application 20213101.7 Partial European Search Report and Opinion dated Jun. 14, 2021, 13 pages. |
European Patent Application 20213101.7 extended European Search Report and Opinion dated Dec. 3, 2021, 13 pages. |
Number | Date | Country | |
---|---|---|---|
20210334552 A1 | Oct 2021 | US |