Lane departure reminding method and device of vehicle, vehicle and storage medium

By obtaining the image sequence and motion parameters of the vehicle, determining the actual and predicted trajectory lines, judging the vehicle deviation and generating reminder information, it solves the problem in the existing technology that it is difficult to promptly remind and correct the vehicle deviation in all scenarios, and improves driving efficiency. Safety.

CN118701094APending Publication Date: 2024-09-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410829847.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

It is difficult for existing technology to promptly remind users to correct vehicle deviation in all driving scenarios, leading to traffic accidents.

Method used

By obtaining the image sequence and motion parameters of the vehicle, the actual trajectory line and the predicted trajectory line of the vehicle are determined. Based on the difference between the two, it is judged whether the offset reminder conditions are met, and offset alarm information is generated to remind the driver to help the driver correct the vehicle offset. .

Benefits of technology

It effectively avoids traffic accidents caused by vehicle deviation, improves driving safety, and can promptly remind and correct vehicle deviation in all driving scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118701094A
    Figure CN118701094A
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a lane departure reminding method and device for a vehicle, the vehicle and a storage medium, and the method comprises the steps: obtaining an image sequence and motion parameters of the vehicle; determining the position of the vehicle in each image according to the image sequence, determining the actual trajectory of the vehicle from the previous moment to the current moment according to the position of the vehicle in each image, and determining the predicted trajectory of the vehicle according to the motion parameters and the position of the vehicle at the previous moment; when it is judged that the vehicle meets a preset deviation reminding condition according to the actual trajectory and the predicted trajectory, deviation warning information is generated according to the actual trajectory and the predicted trajectory, and reminding is conducted based on the deviation warning information. Therefore, traffic accidents caused by continuous lane deviation of a user can be effectively avoided, safety reminding can be carried out at any time, a driver can be helped to correct the deviation direction of the vehicle in time, the vehicle is prompted to return to a parallel driving track, and driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a lane departure warning method, device, vehicle and storage medium for a vehicle in the field of vehicles. Background Art

[0002] Operational errors by novice drivers or due to driver inattention are the main factors causing major traffic accidents, and a large proportion of major traffic accidents are caused by vehicles deviating from lanes.

[0003] The relevant technology determines whether the vehicle has deviated by calculating the distance between the current vehicle and the vehicle in front. However, not all driving scenarios can have a following vehicle, which makes the actual application have certain limitations. It is difficult to avoid traffic accidents caused by continuous lane deviation, and it is impossible to remind users to correct the deviation in time, which needs to be solved urgently. Summary of the invention

[0004] The present application provides a vehicle lane deviation reminder method, device, vehicle and storage medium. The method solves the problem that related technologies are difficult to avoid traffic accidents caused by users' continuous lane deviation. Safety reminders can be given at all times, and the driver can be helped to correct the vehicle's deviation direction in time, prompting the vehicle to return to a parallel driving track, thereby avoiding the occurrence of traffic accidents.

[0005] In a first aspect, a lane deviation reminder method for a vehicle is provided, the method comprising:

[0006] Obtaining image sequences and motion parameters of the vehicle;

[0007] Determining the position of the vehicle in each image according to the image sequence, determining the actual trajectory of the vehicle from the last moment to the current moment according to the vehicle position in each image, and determining the predicted trajectory of the vehicle according to the motion parameters and the vehicle position at the last moment; and

[0008] When it is determined according to the actual trajectory line and the predicted trajectory line that the vehicle meets a preset deviation warning condition, deviation warning information is generated according to the actual trajectory line and the predicted trajectory line, and a warning is given based on the deviation warning information.

[0009] Through the above technical solution, the present application can avoid traffic accidents caused by vehicles continuously deviating from lanes, and can provide safety reminders to users in a timely manner to improve driving safety.

[0010] Optionally, in some embodiments, determining the predicted trajectory of the vehicle according to the motion parameter and the vehicle position at the last moment includes:

[0011] The motion parameters and the vehicle position at the previous moment are input into a preset trajectory prediction model to determine the predicted trajectory line.

[0012] Through the above technical solution, the present application can use a preset trajectory prediction model to predict the driving trajectory according to the vehicle's motion parameters and the vehicle's position at the previous moment.

[0013] Optionally, in some embodiments, before inputting the motion parameters and the vehicle position at the previous moment into the preset trajectory prediction model to determine the predicted trajectory line, the method further includes:

[0014] Acquiring historical operation data of the vehicle;

[0015] Preprocessing the historical operation data to obtain cleaned historical operation data, and dividing the cleaned historical operation data into training set data and test set data;

[0016] The neural network model is trained using the training set data to obtain a trained neural network model, the trained neural network model is tested using the test set data to obtain a test result, and the trained neural network model is optimized based on the test result to obtain the preset trajectory prediction model.

[0017] Through the above technical solution, the embodiment of the present application can construct a preset prediction model, which has high accuracy. After the construction is completed, the motion parameters and vehicle position can be directly input to obtain the predicted trajectory line.

[0018] Optionally, in some embodiments, after determining the predicted trajectory of the vehicle according to the motion parameter and the vehicle position at the last moment, the method further includes:

[0019] Based on the actual trajectory and the predicted trajectory, determining an absolute value of a position difference of the vehicle at a current moment;

[0020] If the absolute value of the position difference is greater than a first preset threshold, it is determined that the vehicle meets the preset deviation reminder condition.

[0021] Through the above technical solution, the present application can superimpose the actual trajectory line with the predicted trajectory line, make the trajectory starting points consistent, and compare the absolute value of the horizontal difference between the trajectory end points with a predetermined threshold, and infer whether the vehicle has deviated from the preset lane path based on the comparison value result.

[0022] Optionally, in some embodiments, after the reminder is given based on the deviation warning information, the method further includes:

[0023] determining whether the driver corrects the deviation of the vehicle based on the deviation warning information;

[0024] If the driver does not correct the deviation of the vehicle based on the deviation warning information, a correction strategy is determined according to the position difference and the motion parameter, and the deviation of the vehicle is corrected using the correction strategy.

[0025] Through the above technical solution, the present application can help the driver to correct the deviation direction of the vehicle in time, prompting the vehicle to return to the parallel driving track, and avoid the occurrence of traffic accidents.

[0026] In a second aspect, a lane deviation reminder device for a vehicle is provided, the device comprising:

[0027] An acquisition module, used for acquiring image sequences and motion parameters of the vehicle;

[0028] a determination module, configured to determine a vehicle position in each image according to the image sequence, determine an actual trajectory of the vehicle from a previous moment to a current moment according to the vehicle position in each image, and determine a predicted trajectory of the vehicle according to the motion parameters and the vehicle position at a previous moment; and

[0029] The reminder module is used to determine that the vehicle meets a preset deviation reminder condition according to the actual trajectory line and the predicted trajectory line, generate deviation warning information according to the actual trajectory line and the predicted trajectory line, and give a reminder based on the deviation warning information.

[0030] Optionally, in some embodiments, the determining module includes:

[0031] An input unit is used to input the motion parameters and the vehicle position at the previous moment into a preset trajectory prediction model to determine the predicted trajectory line.

[0032] Optionally, in some embodiments, before inputting the motion parameters and the vehicle position at the previous moment into the preset trajectory prediction model to determine the predicted trajectory line, the input unit includes:

[0033] An acquisition subunit, used for acquiring historical operation data of the vehicle;

[0034] A cleaning subunit, used for preprocessing the historical operation data to obtain cleaned historical operation data, and dividing the cleaned historical operation data into training set data and test set data;

[0035] A generating subunit is used to train the neural network model using the training set data to obtain a trained neural network model, to test the trained neural network model using the test set data to obtain a test result, and to optimize the trained neural network model based on the test result to obtain the preset trajectory prediction model.

[0036] Optionally, in some embodiments, after determining the predicted trajectory of the vehicle according to the motion parameter and the vehicle position at the last moment, the determination module further includes:

[0037] A determination unit, configured to determine an absolute value of a position difference of the vehicle at a current moment based on the actual trajectory and the predicted trajectory;

[0038] The determination unit is configured to determine whether the vehicle meets the preset deviation warning condition when the absolute value of the position difference is greater than a first preset threshold.

[0039] Optionally, in some embodiments, after giving a reminder based on the deviation warning information, the reminder module further includes:

[0040] a judging unit, configured to judge whether the driver corrects the deviation of the vehicle based on the deviation warning information;

[0041] A correction unit is used to determine a correction strategy according to the position difference and the motion parameter, and correct the deviation of the vehicle by using the correction strategy when the driver does not correct the deviation of the vehicle based on the deviation warning information.

[0042] In a third aspect, a vehicle is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the lane departure reminder method for the vehicle as described in the above embodiment.

[0043] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0044] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0045] Therefore, this application calculates the motion trajectory of the vehicle in unit time by obtaining important parameters of the vehicle's kinematic model, such as speed, acceleration, steering wheel offset angle, etc., and then combines the hardware capabilities of the vehicle's own hardware, cameras, millimeter radar waves and other sensors to obtain the actual lane trajectory. The two trajectories are superimposed, the starting point of the trajectory is consistent, and the absolute value of the horizontal difference of the end point of the trajectory is compared with the predetermined threshold value. According to the comparison value result, it can be inferred whether the vehicle has deviated from the preset lane path. Therefore, this application can effectively avoid traffic accidents caused by continuous lane deviation, can always provide safety reminders, can help drivers correct the deviation direction of the vehicle in time, prompt the vehicle to return to the parallel driving track, and improve driving safety.

[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A flowchart of a vehicle lane deviation reminder method provided according to an embodiment of the present application;

[0048] Figure 2 A schematic diagram of the principle of a lane deviation reminder method for a vehicle provided according to an embodiment of the present application;

[0049] Figure 3 A block diagram of a lane departure warning device for a vehicle provided according to an embodiment of the present application;

[0050] Figure 4 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0052] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0053] Traditionally, the related technology identifies the vehicle in front and determines the distance between the vehicle in front and the vehicle. When the distance is less than a preset threshold, it is determined that the vehicle has not deviated. Otherwise, it is determined that the vehicle has deviated. However, not all driving scenes have vehicles that can be followed, so the related technology has limitations, and it is difficult to avoid traffic accidents caused by continuous lane deviation of users, and it is impossible to remind users to correct the deviation in time. The present application provides a lane deviation reminder method, in which the image sequence and motion parameters of the vehicle are obtained; the vehicle position in each image is determined according to the image sequence, and the actual trajectory of the vehicle from the previous moment to the current moment is determined according to the vehicle position in each image, and the predicted trajectory of the vehicle is determined according to the motion parameters and the vehicle position at the previous moment; when it is determined that the vehicle meets the preset deviation reminder condition according to the actual trajectory and the predicted trajectory, the deviation warning information is generated according to the actual trajectory and the predicted trajectory, and a reminder is given based on the deviation warning information. In this way, traffic accidents caused by continuous lane deviation of users can be effectively avoided, safety reminders can be given at all times, and the driver can be helped to correct the deviation direction of the vehicle in time, prompting the vehicle to return to the parallel driving track, thereby improving driving safety.

[0054] Specifically, Figure 1 A flowchart of a vehicle lane departure warning method provided in an embodiment of the present application.

[0055] like Figure 1 As shown, the lane deviation reminder method of the vehicle includes the following steps:

[0056] In step S101 , an image sequence and motion parameters of a vehicle are acquired.

[0057] The image sequence is pictures collected in time series, and the motion parameters include speed, acceleration, steering wheel angle, etc.

[0058] Specifically, the embodiments of the present application can obtain an image sequence and motion parameters of a vehicle to determine the actual position of the vehicle through the image sequence, and predict the trajectory of the vehicle through the motion parameters.

[0059] During the actual implementation process, the embodiment of the present application can install two cameras at designated positions in front and behind the vehicle, and use the installed camera images combined with a practical lane recognition algorithm to perform lane line recognition, determine the position of the vehicle, and dynamically obtain motion parameters through the vehicle software, including: the current vehicle's steering wheel offset angle, actual vehicle speed, acceleration or deceleration, etc.

[0060] It should be noted that the embodiments of the present application have requirements for hardware devices, which are as follows:

[0061] Camera installation instructions: S1 and S2 cameras must be installed in the front of the top of the vehicle or in a position with a wide field of view on the front face. The left, middle and right positions in the front row can be installed according to the vehicle product definition.

[0062] Accuracy description: S1 and S2 cameras can be installed in combination or one can be installed separately, depending on vehicle product definition or cost considerations.

[0063] Camera hardware requirements:

[0064] 1. The resolution of the camera determines the clarity and detail display capability of the image. For lane recognition, it is recommended to use a camera with at least 1080p HD resolution to ensure that detailed information such as vehicles and pedestrians can be clearly captured.

[0065] 2. Frame rate: The frame rate of a camera refers to the number of image frames displayed per second. A higher frame rate can provide smoother video images, which helps to accurately identify and track vehicles. Generally speaking, a frame rate of at least 30 frames per second is a more ideal choice.

[0066] 3. Field of view: The field of view of the camera needs to be wide enough to cover multiple lanes on the road. It is recommended to choose a camera with a wide viewing angle, usually between 90 and 120 degrees.

[0067] 4. Anti-interference ability: Lane recognition cameras need to have good anti-light and anti-interference capabilities to cope with different weather conditions and light changes. In addition, they must be able to effectively resist external interference factors such as vibration, rain, and dust.

[0068] 5. Night vision function: In order to ensure normal operation at night or in low-light environments, lane recognition cameras usually need to have night vision function. You can choose a camera with infrared fill light or other low-light enhancement technology to obtain clear images.

[0069] 6. Protection performance: Lane recognition cameras often need to be installed in outdoor environments, so they need to have good protection performance to withstand bad weather and external damage. Common protection measures include waterproof, dustproof, and lightning resistance.

[0070] In step S102, the vehicle position in each image is determined according to the image sequence, and the actual trajectory of the vehicle from the previous moment to the current moment is determined according to the vehicle position in each image, and the predicted trajectory of the vehicle is determined according to the motion parameters and the vehicle position at the previous moment.

[0071] It is understandable that if Figure 2As shown, the embodiment of the present application can perform lane line recognition through an image sequence combined with a practical algorithm for lane recognition, draw the actual trajectory line A2 through a graphic algorithm, and calculate the vehicle's expected movement trajectory per unit time based on motion parameters and the vehicle position at the previous moment combined with a kinematic model algorithm to draw a predicted trajectory line A1.

[0072] Optionally, in some embodiments, the predicted trajectory of the vehicle is determined based on the motion parameters and the vehicle position at the last moment, including: inputting the motion parameters and the vehicle position at the last moment into a preset trajectory prediction model to determine the predicted trajectory.

[0073] Furthermore, in some embodiments, before the motion parameters and the vehicle position at the previous moment are input into a preset trajectory prediction model to determine the predicted trajectory line, the process includes: obtaining historical operation data of the vehicle; preprocessing the historical operation data to obtain cleaned historical operation data, and dividing the cleaned historical operation data into training set data and test set data; training a neural network model using the training set data to obtain a trained neural network model, testing the trained neural network model using the test set data to obtain a test result, and optimizing the trained neural network model based on the test result to obtain a preset trajectory prediction model.

[0074] The neural network model may be LSTM, CNN, etc., which is not specifically limited here.

[0075] Specifically, the embodiment of the present application can pre-establish a trajectory prediction model to obtain a preset trajectory prediction model, and obtain a predicted trajectory line by combining the motion parameters and the vehicle position at the previous moment with the preset trajectory prediction model, wherein the training method of the preset trajectory prediction model is as follows:

[0076] Specifically, the embodiments of the present application can obtain historical operation data, wherein the historical operation data includes historical position data, historical speed data, historical acceleration data, and historical steering wheel angle data, and perform pre-processing operations such as cleaning, denoising, and normalization on the acquired historical operation data for subsequent modeling and analysis, and divide the cleaned historical operation data into training set data and test set data, select a suitable neural network model according to the application scenario and data characteristics, and use the training set data to train the selected neural network model to obtain a trained neural network model, and use the test set data to test the trained neural network model to obtain test results, and optimize the trained neural network model according to the test results to obtain a preset trajectory prediction model.

[0077] Optionally, in some embodiments, after determining the predicted trajectory of the vehicle based on the motion parameters and the vehicle position at the previous moment, it also includes: determining the absolute value of the position difference of the vehicle at the current moment based on the actual trajectory and the predicted trajectory; if the absolute value of the position difference is greater than a first preset threshold, it is determined that the vehicle meets the preset offset warning condition.

[0078] The first preset threshold may be pre-set by a user, obtained through a limited number of experiments, or obtained through a limited number of computer simulations, and is not specifically limited here.

[0079] It is understandable that, combined with Figure 2 As shown, A1 and A2 are the end points of the visible vehicle position within a unit time. If the absolute value of the difference between the two is within the predetermined threshold range, it is determined that the vehicle has not deviated and can continue to drive. At this time, the preset deviation reminder condition is not met; otherwise, deviation occurs and an alarm is required in time to remind the driver to correct it in time to prevent traffic accidents. At this time, the preset deviation reminder condition is met.

[0080] Specifically, combined Figure 2 As shown, after obtaining the actual trajectory line and the predicted trajectory line of the vehicle, the embodiment of the present application can superimpose the two trajectories, make the trajectory starting points consistent, calculate the absolute value of the horizontal position difference of the trajectory end point, and compare the absolute value of the horizontal position difference with the first preset threshold value, and determine whether the vehicle deviates from the preset lane path according to the comparison value result. Specifically, if the absolute value of the horizontal position difference is greater than the first preset threshold value, it is determined that the vehicle meets the preset deviation reminder condition, otherwise, it is determined that the vehicle does not meet the preset deviation reminder condition.

[0081] In step S103, when it is determined that the vehicle meets the preset deviation warning condition according to the actual trajectory line and the predicted trajectory line, deviation warning information is generated according to the actual trajectory line and the predicted trajectory line, and a warning is given based on the deviation warning information.

[0082] Among them, the warning information is used to remind the driver that the vehicle has deviated.

[0083] Specifically, when the vehicle meets the preset deviation reminder conditions, the driver needs to be reminded. The embodiment of the present application can generate deviation warning information based on the actual trajectory line and the predicted trajectory line. For example, a warning message of "the vehicle has deviated, please correct it in time" is generated, and played through the vehicle speaker, or displayed through the vehicle display screen. For example, a "beep beep" reminder sound is generated to prompt the user to correct the deviation in time. There are many reminder methods in the relevant technology, which are not specifically limited here.

[0084] Optionally, in some embodiments, after the reminder is given based on the deviation warning information, it also includes: determining whether the driver corrects the deviation of the vehicle based on the deviation warning information; if the driver does not correct the deviation of the vehicle based on the deviation warning information, determining a correction strategy based on the position difference and motion parameters, and correcting the deviation of the vehicle through the correction strategy.

[0085] The deviation correction strategy may be prepared in advance by relevant technical personnel, for example, by formulating a position difference / motion parameter-correction parameter table, and determining the deviation correction parameters according to the position difference and motion parameter.

[0086] Specifically, the embodiment of the present application can determine whether the driver has corrected the deviation after issuing an deviation warning, for example, by determining whether the absolute value of the position difference at the next moment is smaller than the absolute value of the position difference at the current moment. If the absolute value of the position difference at the next moment is greater than or equal to the absolute value of the position difference at the current moment, it is determined that the driver has not corrected the deviation based on the deviation correction warning information. Otherwise, it is determined that the driver has corrected the deviation of the vehicle based on the deviation warning information.

[0087] If the driver does not correct the deviation based on the correction warning information, it may cause dangerous driving and affect driving safety. At this time, the vehicle can be controlled to perform automatic deviation correction. Specifically, the embodiment of the present application can pre-formulate a correction strategy. For example, the correction parameters of the vehicle under any position difference and any operating parameter can be determined through experiments in advance, and a position difference / motion parameter-correction parameter table can be formulated to determine the correction value according to the position difference / motion parameter-correction value table to correct the deviation of the vehicle, so as to avoid the vehicle from continuously deviating from the driving lane, prompting the vehicle to return to the parallel driving track, and avoiding the occurrence of traffic accidents.

[0088] According to the lane deviation reminder method of the vehicle proposed in the embodiment of the present application, by acquiring the image sequence and motion parameters of the vehicle, and determining the vehicle position in each image according to the image sequence, and determining the actual trajectory of the vehicle from the previous moment to the current moment according to the vehicle position in each image, and determining the predicted trajectory of the vehicle according to the motion parameters and the vehicle position at the previous moment, and determining that the vehicle meets the preset deviation reminder conditions according to the actual trajectory and the predicted trajectory, then generating deviation warning information according to the actual trajectory and the predicted trajectory, and reminding based on the deviation warning information. In this way, users can effectively avoid traffic accidents caused by continuous lane deviation, can always provide safety reminders, can help drivers to correct the deviation direction of the vehicle in time, prompt the vehicle to return to the parallel driving track, and improve driving safety.

[0089] Next, a lane departure warning device for a vehicle according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0090] Figure 3It is a block diagram of a lane departure warning device for a vehicle according to an embodiment of the present application.

[0091] like Figure 3 As shown, the lane departure warning device 10 of the vehicle includes: an acquisition module 100 , a determination module 200 and a warning module 300 .

[0092] The acquisition module 100 is used to acquire the image sequence and motion parameters of the vehicle.

[0093] The determination module 200 is used to determine the vehicle position in each image according to the image sequence, and determine the actual trajectory of the vehicle from the previous moment to the current moment according to the vehicle position in each image, and determine the predicted trajectory of the vehicle according to the motion parameters and the vehicle position at the previous moment.

[0094] The reminder module 300 is used to generate deviation warning information according to the actual trajectory line and the predicted trajectory line when determining that the vehicle meets the preset deviation warning condition, and to give a reminder based on the deviation warning information.

[0095] Optionally, in some embodiments, the determination module 200 includes: an input unit.

[0096] The input unit is used to input the motion parameters and the vehicle position at the previous moment into a preset trajectory prediction model to determine the predicted trajectory line.

[0097] Optionally, in some embodiments, before inputting the motion parameters and the vehicle position at the previous moment into a preset trajectory prediction model to determine the predicted trajectory line, the input unit includes: an acquisition subunit, a cleaning subunit and a generation subunit.

[0098] The acquisition subunit is used to acquire the historical operation data of the vehicle.

[0099] The cleaning subunit is used to pre-process the historical operation data to obtain cleaned historical operation data, and divide the cleaned historical operation data into training set data and test set data.

[0100] A generation subunit is used to train the neural network model using the training set data to obtain a trained neural network model, test the trained neural network model using the test set data to obtain a test result, and optimize the trained neural network model based on the test result to obtain a preset trajectory prediction model.

[0101] Optionally, in some embodiments, after determining the predicted trajectory of the vehicle according to the motion parameters and the vehicle position at the last moment, the determination module 200 further includes: a determination unit and a judgment unit.

[0102] The determination unit is used to determine the absolute value of the position difference of the vehicle at the current moment based on the actual trajectory line and the predicted trajectory line.

[0103] The determination unit is used to determine whether the vehicle meets a preset deviation warning condition when the absolute value of the position difference is greater than a first preset threshold.

[0104] Optionally, in some embodiments, after the reminder is given based on the deviation alarm information, the reminder module 300 further includes: a judgment unit and a correction unit.

[0105] The judgment unit is used to judge whether the driver corrects the deviation of the vehicle based on the deviation warning information.

[0106] The correction unit is used to determine a correction strategy according to the position difference and the motion parameter, and correct the deviation of the vehicle according to the correction strategy when the driver does not correct the deviation of the vehicle based on the deviation warning information.

[0107] It should be noted that the above explanation of the vehicle lane departure warning method embodiment is also applicable to the vehicle lane departure warning device of this embodiment, and will not be repeated here.

[0108] According to the lane deviation warning device for a vehicle proposed in the embodiment of the present application, by acquiring the image sequence and motion parameters of the vehicle, and determining the vehicle position in each image according to the image sequence, and determining the actual trajectory of the vehicle from the previous moment to the current moment according to the vehicle position in each image, and determining the predicted trajectory of the vehicle according to the motion parameters and the vehicle position at the previous moment, and determining that the vehicle meets the preset deviation warning conditions according to the actual trajectory and the predicted trajectory, deviation warning information is generated according to the actual trajectory and the predicted trajectory, and a warning is given based on the deviation warning information. In this way, traffic accidents caused by continuous lane deviation can be effectively avoided for users, safety reminders can be given at all times, and the driver can be helped to correct the deviation direction of the vehicle in time, prompting the vehicle to return to the parallel driving track, thereby improving driving safety.

[0109] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0110] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0111] When the processor 402 executes the program, the vehicle lane departure reminder method provided in the above embodiment is implemented.

[0112] Furthermore, the electronic device further comprises:

[0113] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0114] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0115] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0116] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0117] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0118] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0119] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle lane deviation reminder method provided in the above embodiment.

[0120] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle lane deviation reminder method provided in the above-mentioned embodiment.

[0121] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0122] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0124] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle lane deviation reminder method, characterized in that: The following steps are involved: Obtaining image sequences and motion parameters of the vehicle; Determine the position of the vehicle in each image according to the image sequence, determine the actual trajectory of the vehicle from the last moment to the current moment according to the position of the vehicle in each image, and determine the predicted trajectory of the vehicle according to the motion parameters and the position of the vehicle at the last moment; as well as When it is determined according to the actual trajectory line and the predicted trajectory line that the vehicle meets a preset deviation warning condition, deviation warning information is generated according to the actual trajectory line and the predicted trajectory line, and a warning is given based on the deviation warning information.

2. The method according to claim 1, characterized in that Determining the predicted trajectory of the vehicle according to the motion parameter and the vehicle position at the last moment includes: The motion parameters and the vehicle position at the previous moment are input into a preset trajectory prediction model to determine the predicted trajectory line.

3. The method according to claim 2, characterized in that Before the motion parameters and the vehicle position at the last moment are input into the preset trajectory prediction model to determine the predicted trajectory line, the method includes: Acquiring historical operation data of the vehicle; Preprocessing the historical operation data to obtain cleaned historical operation data, and dividing the cleaned historical operation data into training set data and test set data; The neural network model is trained using the training set data to obtain a trained neural network model, the trained neural network model is tested using the test set data to obtain a test result, and the trained neural network model is optimized based on the test result to obtain the preset trajectory prediction model.

4. The method according to claim 1, characterized in that After determining the predicted trajectory of the vehicle according to the motion parameter and the vehicle position at the last moment, the method further includes: Based on the actual trajectory and the predicted trajectory, determining an absolute value of a position difference of the vehicle at a current moment; If the absolute value of the position difference is greater than a first preset threshold, it is determined that the vehicle meets the preset deviation reminder condition.

5. The method according to claim 1, characterized in that After the reminder is given based on the deviation warning information, the method further includes: determining whether the driver corrects the deviation of the vehicle based on the deviation warning information; If the driver does not correct the deviation of the vehicle based on the deviation warning information, a correction strategy is determined according to the position difference and the motion parameter, and the deviation of the vehicle is corrected using the correction strategy.

6. A lane deviation warning device for a vehicle, characterized in that: include: An acquisition module, used for acquiring image sequences and motion parameters of the vehicle; a determination module, configured to determine the position of the vehicle in each image according to the image sequence, determine the actual trajectory of the vehicle from the last moment to the current moment according to the position of the vehicle in each image, and determine the predicted trajectory of the vehicle according to the motion parameters and the position of the vehicle at the last moment; as well as The reminder module is used to determine that the vehicle meets a preset deviation reminder condition according to the actual trajectory line and the predicted trajectory line, generate deviation warning information according to the actual trajectory line and the predicted trajectory line, and give a reminder based on the deviation warning information.

7. The device according to claim 6, characterized in that The determining module comprises: An input unit is used to input the motion parameters and the vehicle position at the previous moment into a preset trajectory prediction model to determine the predicted trajectory line.

8. The device according to claim 7, characterized in that Before inputting the motion parameters and the vehicle position at the previous moment into the preset trajectory prediction model to determine the predicted trajectory line, the input unit includes: An acquisition subunit, used for acquiring historical operation data of the vehicle; A cleaning subunit, used for preprocessing the historical operation data to obtain cleaned historical operation data, and dividing the cleaned historical operation data into training set data and test set data; A generating subunit is used to train the neural network model using the training set data to obtain a trained neural network model, to test the trained neural network model using the test set data to obtain a test result, and to optimize the trained neural network model based on the test result to obtain the preset trajectory prediction model.

9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the lane departure warning method for a vehicle as described in any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the lane departure warning method for a vehicle as described in any one of claims 1 to 5.