Vehicle guiding early warning method and system and storage medium
By setting up binocular cameras and virtual marking functions at highway toll stations, the vehicle status is detected in real time and virtual lane edge lines are projected, which solves the problem of vehicle deviation and illegal following, and improves the safety and operating efficiency of toll stations.
Patent Information
- Application Number
- CN202410442940.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-04-12
AI Technical Summary
Vehicle deviation accidents due to lane changes and limited vision in the expressway toll station area occur frequently, especially at night and in rainy and snowy weather. It is also difficult to follow illegally and control vehicle speed in ETC lanes, which affects the safety of the toll collection system. .
By setting up binocular cameras at the toll station, establishing a virtual marking function and analysis coordinate system, detecting vehicle status in real time, calculating vehicle position, speed and distance, setting virtual lane edge lines and early warning status, using vehicle information collection subsystems, smart The vehicle guidance and warning subsystem and the background cloud integrated processing subsystem project virtual lane edge lines to warn vehicles to slow down and maintain distance between vehicles, and perform path corrections.
Effectively avoid vehicle control errors, improve the operating efficiency and safety of toll stations, and reduce the possibility of vicious toll evasion and traffic accidents.
Smart Images

Figure CN118538041A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a vehicle guidance warning method, system and storage medium. Background Art
[0002] Highway toll stations, especially toll lanes, are accident-prone areas. The main reason is that there are many vehicles interweaving in front of the island head of the highway toll station. The sudden increase in the number of lanes from the normal ramp to the toll station square area causes a large change in the vehicle's driving trajectory. In addition, the lane width between the toll island heads of the toll station is visually limited. Especially at night and in rainy and snowy weather, the road markings and related markings are not easy for drivers to feel, and it is easy to drive away from the toll lane and collide with the toll island head. In addition, some vehicles illegally follow the vehicle in front of them to escape the toll and exit the toll station in the toll lane of the highway toll station. The supervision of the ETC lane is particularly difficult. Due to the close following, it is very easy to cause a rear-end collision, which in turn affects the safety of the toll system. In addition, the speed of vehicles entering the ETC lane also needs to be controlled to avoid colliding with the ETC equipment. Summary of the invention
[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a vehicle guidance warning method, system and storage medium.
[0004] The objective of the present invention is achieved through the following technical solutions: The first aspect of the present invention provides: a vehicle guidance warning method, comprising the following steps: S1: Initialization stage, establish the actual monitoring area analysis coordinate system, select the ground monitoring area to extract the ground monitoring area background image, set the virtual marking line function of the ground monitoring area, and set the projection pixel distribution according to the virtual marking line function; S2: Vehicle status detection stage, compare and analyze the background image of the ground monitoring area, identify the vehicles entering the monitoring area as guide vehicles and number them, and calculate the vehicle analysis point of each guide vehicle; S3: Vehicle state judgment stage, the guide vehicle position, guide vehicle speed and guide vehicle spacing are calculated according to the vehicle analysis points; S4: Vehicle guidance warning stage, the virtual lane edge line state is set according to the position of the guided vehicle, and the warning display state is set according to the speed of the guided vehicle and the distance between the guided vehicles.
[0005] Preferably, the S1: initialization phase further includes the following steps: At least two cameras are symmetrically arranged on both sides of the center point of the guide channel, with the center point of the guide channel as the coordinate origin; the straight line perpendicular to and intersecting the line connecting the center lines of the two cameras is the Z axis, and the opposite direction of the driving direction of the guided vehicle is the positive direction of the Z axis; the line connecting the center lines of the two cameras is the X axis, and the left side of the driving direction of the guided vehicle is the positive direction of the X axis; the vertical downward direction of the coordinate origin is the positive direction of the Y axis; Set the minimum and maximum values of the X axis of the ground monitoring area to x min 、x max The minimum and maximum values of the Z axis in the ground monitoring area are z min , z max , the height of the coordinate origin from the ground is H, and the Y-axis coordinate of the ground monitoring area is H; The virtual marking line function includes the right edge line function of the guiding channel and the left edge line function of the guiding channel. The right edge line function of the guiding channel is , the left edge line function of the guiding channel is Where d is the width of the guide channel, F represents the elevation function of the right edge line of the guide channel, F1 represents the elevation function of the left edge line of the guide channel, x represents the independent variable of the X-axis, z represents the independent variable of the Z-axis, y represents the independent variable of the Y-axis, and H represents the height of the coordinate origin from the ground.
[0006] Preferably, the vehicle analysis points include a left vehicle analysis point, a right vehicle analysis point, a front vehicle analysis point and a rear vehicle analysis point, and the maximum and minimum values of the guiding vehicle in the X-axis and Z-axis directions are respectively recorded as x cmin , x cmax , z cmin , z cmax , corresponding to the left vehicle analysis point, the right vehicle analysis point, the front vehicle analysis point and the rear vehicle analysis point of the leading vehicle, S2: the vehicle state detection stage also includes the following steps: Calculate the coordinates of each vehicle analysis point, connect the two camera center points as the baseline, and set the length of the baseline as the baseline length b , the distance between the baseline and the imaging plane is the focal length of the camera f , analysis point of the vehicle to be tested p ( x p , y p , z p ) The distances between the imaging point in the two cameras and the nearest image edge are xr and xl respectively. The analysis point of the vehicle to be tested is p ( x p , y p , z p ) can be obtained according to the geometric relationship: Right now , y p It is the default value and no calculation is done. x p Indicates the analysis point of the vehicle to be tested p The value on the X-axis, y p Indicates the analysis point of the vehicle to be tested p The value on the Y axis, z p Indicates the analysis point of the vehicle to be tested p The value on the Z axis.
[0007] Preferably, the coordinates of the vehicle analysis points are calculated using a binocular algorithm.
[0008] Preferably, the S3: vehicle status determination stage further includes the following steps: At least the coordinates of the left vehicle analysis point and the right vehicle analysis point of the nth guided vehicle to be tested are substituted into the judgment function S=F(x, z), and the guiding vehicle position of the nth guided vehicle to be tested is judged according to the calculation result. When the left vehicle analysis point is within the left lane line and the right lane line is within the right lane line, it is marked that the position of the nth guided vehicle to be tested is normal; when the right lane line is outside the right lane line, it is marked that the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle; when the left lane line is outside the left lane line, it is marked that the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle; Setting an overspeed threshold, calculating the coordinates of at least one vehicle analysis point of the nth guided vehicle to be tested in real time, setting a calculation period, calculating the speed of the nth guided vehicle to be tested according to the coordinates of the same vehicle analysis points at different times, and marking the nth guided vehicle to be tested as speeding when the speed of the nth guided vehicle to be tested exceeds the overspeed threshold; A following vehicle threshold is set, and the coordinates of the front vehicle analysis point of the nth guided vehicle to be tested and the coordinates of the rear vehicle analysis point of the n-1th guided vehicle to be tested are detected at the same time to obtain the following vehicle distance. When the following vehicle distance is less than or equal to the following vehicle threshold, it is marked that the following vehicle distance of the nth guided vehicle to be tested is too close. Preferably, the S4: vehicle guidance warning stage further includes the following steps: Set multiple scratch thresholds. When the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle, set different right virtual lane edge line states according to different scratch thresholds; when the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle, set different left virtual lane edge line states according to different scratch thresholds; A warning device is set up. When the nth guided vehicle to be tested is marked as speeding, the warning device prompts the nth guided vehicle to be tested to slow down and pass; when the nth guided vehicle to be tested is marked as the following distance is too close, the warning device prompts the nth guided vehicle to be tested to keep the distance between vehicles; when the nth guided vehicle to be tested is marked as the following distance is too close and is marked as speeding at the same time, the warning device prompts the nth guided vehicle to be tested to slow down and pass and keep the distance between vehicles.
[0009] The second aspect of the present invention provides: a vehicle guidance warning system, characterized in that: it is used to implement any of the above-mentioned vehicle guidance warning methods, including: a vehicle information collection subsystem, a smart vehicle guidance warning subsystem and a background cloud integrated processing subsystem; The vehicle information collection subsystem includes at least two cameras for collecting vehicle information of each guided vehicle, numbering each guided vehicle and dynamically tracking it, and transmitting the vehicle information to the backend cloud integrated processing subsystem to calculate the vehicle analysis point, the guided vehicle position, the guided vehicle speed and the guided vehicle spacing; The intelligent vehicle guidance and warning subsystem is used to project a virtual lane edge line, warn and guide the vehicle to slow down, maintain a safe distance, and correct the vehicle's driving path; The background cloud integrated processing subsystem is used to control the intelligent vehicle guidance and warning subsystem to project a virtual lane edge line according to the vehicle analysis point, the guide vehicle position, the guide vehicle speed and the guide vehicle spacing, to warn the guide vehicle to slow down, maintain the distance between vehicles, and correct the guide vehicle's driving path.
[0010] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned vehicle guidance warning methods is implemented.
[0011] The beneficial effects of the present invention are: 1) It can guide the direction and speed of the vehicle according to its real-time status to avoid damage to the toll station caused by vehicle control errors.
[0012] 2) Effectively control vehicles, thereby significantly improving the operating efficiency and safety of toll stations.
[0013] 3) Effectively reduce the possibility of malicious vehicle evasion and traffic accidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A flow chart of the vehicle guidance warning method; Figure 2 This is a schematic diagram of the layout of the vehicle guidance warning system; Figure 3 Schematic diagram for vehicle guidance point calculation. DETAILED DESCRIPTION
[0015] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] See also Figure 1-Figure 3 The present invention provides a technical solution: The first aspect of the present invention provides: a vehicle guidance warning method, comprising the following steps: S1: Initialization stage, establish the actual monitoring area analysis coordinate system, select the ground monitoring area to extract the ground monitoring area background image, set the virtual marking line function of the ground monitoring area, and set the projection pixel distribution according to the virtual marking line function; S2: Vehicle status detection stage, compare and analyze the background image of the ground monitoring area, identify the vehicles entering the monitoring area as guide vehicles and number them, and calculate the vehicle analysis point of each guide vehicle; S3: Vehicle state judgment stage, the guide vehicle position, guide vehicle speed and guide vehicle spacing are calculated according to the vehicle analysis points; S4: Vehicle guidance warning stage, the virtual lane edge line state is set according to the position of the guided vehicle, and the warning display state is set according to the speed of the guided vehicle and the distance between the guided vehicles.
[0017] In this embodiment, during the initialization phase, the warning lights at the toll station island head indicate a normal traffic status.
[0018] In some embodiments, the S1: initialization phase further includes the following steps: At least two cameras are symmetrically arranged on both sides of the center point of the guide channel, with the center point of the guide channel as the coordinate origin; the straight line perpendicular to and intersecting the line connecting the center lines of the two cameras is the Z axis, and the opposite direction of the driving direction of the guided vehicle is the positive direction of the Z axis; the line connecting the center lines of the two cameras is the X axis, and the left side of the driving direction of the guided vehicle is the positive direction of the X axis; the vertical downward direction of the coordinate origin is the positive direction of the Y axis; Set the minimum and maximum values of the X axis of the ground monitoring area to x min 、x max The minimum and maximum values of the Z axis in the ground monitoring area are z min , z max , the height of the coordinate origin from the ground is H, and the Y-axis coordinate of the ground monitoring area is H; The virtual marking line function includes the right edge line function of the guiding channel and the left edge line function of the guiding channel. The right edge line function of the guiding channel is , the left edge line function of the guiding channel is Where d is the width of the guide channel, F represents the elevation function of the right edge line of the guide channel, F1 represents the elevation function of the left edge line of the guide channel, x represents the independent variable of the X-axis, z represents the independent variable of the Z-axis, y represents the independent variable of the Y-axis, and H represents the height of the coordinate origin from the ground.
[0019] like Figure 2 As shown, in this embodiment, the ground monitoring area is a certain range on the ground, and the ground is considered to be a plane. All Y values of the ground coordinates are H. The coordinates of the four vehicle analysis points C12, C13, C11, and C14 of the first guide vehicle are: C12 (x c12 ,y c12 , z c12 ): x c12 =x c1max (The maximum value of the X direction of the position information of the first vehicle in the analysis coordinate system); C13: (x c13 ,y c13 , z c13 ): x c13 =x c1min (The minimum value of the X direction of the position information of the first vehicle in the analysis coordinate system); C11: (x c11 ,y c11 , z c11 ): z c11 =z c1min (The minimum value of the first vehicle’s position information in the Z direction in the analysis coordinate system); C14: (x c14 ,y c14 , z c14 ): z c14 =z c1max (The maximum value of the first vehicle’s position information in the Z direction in the analysis coordinate system).
[0020] In some embodiments, the vehicle analysis points include a left vehicle analysis point, a right vehicle analysis point, a front vehicle analysis point, and a rear vehicle analysis point. The maximum and minimum values of the guiding vehicle in the X-axis and Z-axis directions are respectively denoted as x cmin , x cmax , z cmin , z cmax , corresponding to the left vehicle analysis point, the right vehicle analysis point, the front vehicle analysis point and the rear vehicle analysis point of the leading vehicle, S2: the vehicle state detection stage also includes the following steps: Calculate the coordinates of each vehicle analysis point, connect the two camera center points as the baseline, and set the length of the baseline as the baseline length b , the distance between the baseline and the imaging plane is the focal length of the camera f , analysis point of the vehicle to be tested p ( x p ,y p , z p ) The distances between the imaging point in the two cameras and the nearest image edge are xr and xl respectively. The analysis point of the vehicle to be tested is p ( x p , y p , z p ) can be obtained according to the geometric relationship: Right now , y p It is the default value and no calculation is done. x p Indicates the analysis point of the vehicle to be tested p The value on the X-axis, y p Indicates the analysis point of the vehicle to be tested p The value on the Y axis, z p Indicates the analysis point of the vehicle to be tested p The value on the Z axis.
[0021] In this embodiment, the vehicle to be tested is on the ground, and the Y axis is basically unchanged, so no analysis is performed. The X-axis and Z-axis changes are analyzed to determine the position of the vehicle to be tested, so there is no need to calculate the Y axis coordinate. The analysis point of the vehicle to be tested p ( x p , y p , z p ) is calculated as Figure 3 shown.
[0022] In some embodiments, the coordinates of the vehicle analysis point are calculated using a binocular algorithm.
[0023] In some embodiments, the S3: vehicle state determination stage further includes the following steps: At least the coordinates of the left vehicle analysis point and the right vehicle analysis point of the nth guided vehicle to be tested are substituted into the judgment function S=F(x, z), and the guiding vehicle position of the nth guided vehicle to be tested is judged according to the calculation result. When the left vehicle analysis point is within the left lane line and the right lane line is within the right lane line, it is marked that the position of the nth guided vehicle to be tested is normal; when the right lane line is outside the right lane line, it is marked that the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle; when the left lane line is outside the left lane line, it is marked that the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle; Setting an overspeed threshold, calculating the coordinates of at least one vehicle analysis point of the nth guided vehicle to be tested in real time, setting a calculation period, calculating the speed of the nth guided vehicle to be tested according to the coordinates of the same vehicle analysis points at different times, and marking the nth guided vehicle to be tested as speeding when the speed of the nth guided vehicle to be tested exceeds the overspeed threshold; A following vehicle threshold is set, and the coordinates of the front vehicle analysis point of the nth guided vehicle to be tested and the coordinates of the rear vehicle analysis point of the n-1th guided vehicle to be tested are detected at the same time to obtain the following vehicle distance. When the following vehicle distance is less than or equal to the following vehicle threshold, it is marked that the following vehicle distance of the nth guided vehicle to be tested is too close.
[0024] In this embodiment, the coordinates of the four vehicle analysis points of the guided vehicle to be tested detected in real time are all brought into the judgment function S=F(x, z), and the vehicle position is judged according to the calculation result. For example, the position of the first vehicle is judged as follows: F(x 13 , z 13 )>0 and F(x 12 , z 12 )<0: the vehicle is in the lane and in a normal position; F(x 13 , z 13 )<0 and F(x 12 , z 12 )<0: There is a risk of the right side of the vehicle scratching the toll island; F(x 13 , z 13 )>0 and F(x 12 , z 12 )>0: There is a risk of the left side of the vehicle scratching the toll island. The speeding threshold and the following vehicle threshold are preset vehicle speeds and following vehicle distances according to the actual working environment, and are not limited to one or several specific values.
[0025] In some embodiments, the S4: vehicle guidance warning stage further includes the following steps: Set multiple scratch thresholds. When the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle, set different right virtual lane edge line states according to different scratch thresholds; when the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle, set different left virtual lane edge line states according to different scratch thresholds; A warning device is set up. When the nth guided vehicle to be tested is marked as speeding, the warning device prompts the nth guided vehicle to be tested to slow down and pass; when the nth guided vehicle to be tested is marked as the following distance is too close, the warning device prompts the nth guided vehicle to be tested to keep the distance between vehicles; when the nth guided vehicle to be tested is marked as the following distance is too close and is marked as speeding at the same time, the warning device prompts the nth guided vehicle to be tested to slow down and pass and keep the distance between vehicles.
[0026] In this embodiment, the state of the virtual lane edge line is determined according to the vehicle position calculated by the cloud platform: the initial virtual performance state is maintained for normal traffic; when there is a risk of scratching the toll island on the right side of the vehicle, the right virtual marking line flashes yellow or red according to the degree of overtaking; when there is a risk of scratching the toll island on the left side of the vehicle, the left virtual marking line flashes yellow or red according to the degree of overtaking. The cloud platform calculates the vehicle speed and following distance data in real time, and determines the display state of the vehicle speed and following distance warning device according to the threshold determined by the implementation: the initial state is displayed if there is no speeding and the following vehicle is too close; if there is speeding, the guide warning light flashes, and the screen prompts "License plate number speeding, please slow down and pass"; if the following distance is too close, the guide warning light flashes, and the screen prompts "License plate number, please keep the distance"; if there is both speeding and a close following distance, the guide warning light flashes, and the screen prompts "License plate number, please slow down, please keep the distance". The scratch threshold is a numerical range preset according to the actual working environment for the guided vehicle to be tested to exceed the left and right lane lines, and is not limited to one or several specific numerical ranges. Different warning methods are adopted for different numerical ranges.
[0027] The second aspect of the present invention provides: a vehicle guidance warning system, characterized in that: it is used to implement any of the above-mentioned vehicle guidance warning methods, including: a vehicle information collection subsystem, a smart vehicle guidance warning subsystem and a background cloud integrated processing subsystem; The vehicle information collection subsystem includes at least two cameras for collecting vehicle information of each guided vehicle, numbering each guided vehicle and dynamically tracking it, and transmitting the vehicle information to the backend cloud integrated processing subsystem to calculate the vehicle analysis point, the guided vehicle position, the guided vehicle speed and the guided vehicle spacing; The intelligent vehicle guidance and warning subsystem is used to project a virtual lane edge line, warn and guide the vehicle to slow down, maintain a safe distance, and correct the vehicle's driving path; The background cloud integrated processing subsystem is used to control the intelligent vehicle guidance and warning subsystem to project a virtual lane edge line according to the vehicle analysis point, the guide vehicle position, the guide vehicle speed and the guide vehicle spacing, to warn the guide vehicle to slow down, maintain the distance between vehicles, and correct the guide vehicle's driving path.
[0028] In this embodiment, the vehicle guidance warning system is divided into three subsystems. Subsystem 1: vehicle information collection subsystem, subsystem 2: intelligent vehicle guidance warning subsystem, subsystem 3: background cloud integrated processing subsystem. The vehicle information collection subsystem uses dual cameras to collect the position information of different vehicles entering the collection area in real time, number the vehicles and track them dynamically. The cameras are installed on the toll ceiling directly above the lane and arranged symmetrically on both sides of the center line of the toll channel. The two cameras simultaneously obtain the real-time video data flow of the vehicle and hand it over to subsystem 3 for analysis and calculation to obtain the position of the outer contour (i.e., the front, rear, left and right four points of the vehicle): the speed of the vehicle is calculated according to the position change of the front edge point of the vehicle, and the speed data is handed over to the background analysis and processing, and feedback is given to subsystem 2 when necessary; the vehicle position is analyzed according to the left and right contour position data of the vehicle, and the data is handed over to the background processing subsystem for trajectory analysis and prediction, and feedback is given through system 2 when necessary; the front and rear point position data of the vehicle are used to compare and analyze the position data of the front and rear vehicles in subsystem 3, and the vehicles whose following distance is lower than the set threshold are warned through system 2.
[0029] The intelligent vehicle guidance and warning subsystem mainly includes virtual marking projection function, vehicle driving path correction function, and speed and vehicle following distance too close warning function. The virtual marking projection function is projected according to the marking graphic function (scatter point) of the plane coordinate system where the preset toll lane is located, mainly including virtual lane edge line projection, vehicle driving trajectory induction graphic projection, etc. The vehicle driving path correction function is mainly realized by the projection color of the roadside edge line: when the vehicle passes in the correct position, the green edge line is projected; when the vehicle deviates to one side of the edge line, the projected edge line turns yellow to remind; if the vehicle continues to deviate to one side and collides with the guide head, the projected edge line turns red and flashes to warn. The speed and vehicle following distance too close warning function is mainly realized by the warning lights and screens installed on the guide head of the toll station. When the system detects that the speed of the vehicle entering the toll lane is overspeeding, the guide head warning light flashes and the screen prompts "License plate number is overspeeding, please slow down to pass". When the system detects that the distance between the vehicle behind the vehicle entering the toll lane is too close, the guide head warning light flashes and the screen prompts "License plate number, please keep the distance".
[0030] The backend cloud integrated processing subsystem mainly integrates video data processing, various coordinate preset positions of the toll channel monitoring area, coordinate conversion, induced proximity warning algorithm and monitoring area base map, etc. The vehicle information collection subsystem, the smart vehicle guidance warning subsystem and the backend cloud integrated processing subsystem can be connected by wired or wireless connection, and the reliability of the system can be guaranteed to be within an acceptable range according to the actual working environment.
[0031] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned vehicle guidance warning methods is implemented.
[0032] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A vehicle guidance warning method, characterized in that: The following steps are involved: S1: Initialization stage, establish the actual monitoring area analysis coordinate system, select the ground monitoring area to extract the ground monitoring area background image, set the virtual marking line function of the ground monitoring area, and set the projection pixel distribution according to the virtual marking line function; S2: Vehicle status detection stage, compare and analyze the background image of the ground monitoring area, identify the vehicles entering the monitoring area as guide vehicles and number them, and calculate the vehicle analysis point of each guide vehicle; S3: Vehicle state judgment stage, the guide vehicle position, guide vehicle speed and guide vehicle spacing are calculated according to the vehicle analysis points; S4: Vehicle guidance warning stage, the virtual lane edge line state is set according to the position of the guided vehicle, and the warning display state is set according to the speed of the guided vehicle and the distance between the guided vehicles.
2. The vehicle guidance warning method according to claim 1, characterized in that: The S1: initialization phase also includes the following steps: At least two cameras are symmetrically arranged on both sides of the center point of the guide channel, with the center point of the guide channel as the coordinate origin; the straight line perpendicular to and intersecting the line connecting the center lines of the two cameras is the Z axis, and the opposite direction of the driving direction of the guided vehicle is the positive direction of the Z axis; the line connecting the center lines of the two cameras is the X axis, and the left side of the driving direction of the guided vehicle is the positive direction of the X axis; the vertical downward direction of the coordinate origin is the positive direction of the Y axis; Set the minimum and maximum values of the X axis of the ground monitoring area to x min 、x max The minimum and maximum values of the Z axis in the ground monitoring area are z min , z max , the height of the coordinate origin from the ground is H, and the Y-axis coordinate of the ground monitoring area is H; The virtual marking line function includes the right edge line function of the guiding channel and the left edge line function of the guiding channel. The right edge line function of the guiding channel is , the left edge line function of the guiding channel is Where d is the width of the guide channel, F represents the elevation function of the right edge line of the guide channel, F1 represents the elevation function of the left edge line of the guide channel, x represents the independent variable of the X-axis, z represents the independent variable of the Z-axis, y represents the independent variable of the Y-axis, and H represents the height of the coordinate origin from the ground.
3. The vehicle guidance warning method according to claim 1, characterized in that: The vehicle analysis points include the left vehicle analysis point, the right vehicle analysis point, the front vehicle analysis point and the rear vehicle analysis point. The maximum and minimum values of the guiding vehicle in the X-axis and Z-axis directions are respectively denoted as x cmin , x cmax , z cmin , z cmax , corresponding to the left vehicle analysis point, the right vehicle analysis point, the front vehicle analysis point and the rear vehicle analysis point of the leading vehicle, S2: the vehicle state detection stage also includes the following steps: Calculate the coordinates of each vehicle analysis point, connect the two camera center points as the baseline, and set the length of the baseline as the baseline length b , the distance between the baseline and the imaging plane is the focal length of the camera f , analysis point of the vehicle to be tested p ( x p , y p , z p ) The distances between the imaging point in the two cameras and the nearest image edge are xr and xl respectively. The analysis point of the vehicle to be tested is p ( x p , y p , z p ) can be obtained according to the geometric relationship: Right now , y p It is the default value and no calculation is done. x p Indicates the analysis point of the vehicle to be tested p The value on the X-axis, y p Indicates the analysis point of the vehicle to be tested p The value on the Y axis, z p Indicates the analysis point of the vehicle to be tested p The value on the Z axis.
4. The vehicle guidance warning method according to claim 3, characterized in that: The described method uses a binocular algorithm to calculate the coordinates of the vehicle analysis points.
5. The vehicle guidance warning method according to claim 3, characterized in that: The S3: vehicle state determination stage further includes the following steps: At least the coordinates of the left vehicle analysis point and the right vehicle analysis point of the nth guided vehicle to be tested are substituted into the judgment function S=F(x, z), and the guiding vehicle position of the nth guided vehicle to be tested is judged according to the calculation result. When the left vehicle analysis point is within the left lane line and the right lane line is within the right lane line, it is marked that the position of the nth guided vehicle to be tested is normal; when the right lane line is outside the right lane line, it is marked that the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle; when the left lane line is outside the left lane line, it is marked that the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle; Setting an overspeed threshold, calculating the coordinates of at least one vehicle analysis point of the nth guided vehicle to be tested in real time, setting a calculation period, calculating the speed of the nth guided vehicle to be tested according to the coordinates of the same vehicle analysis points at different times, and marking the nth guided vehicle to be tested as speeding when the speed of the nth guided vehicle to be tested exceeds the overspeed threshold; A following vehicle threshold is set, and the coordinates of the front vehicle analysis point of the nth guided vehicle to be tested and the coordinates of the rear vehicle analysis point of the n-1th guided vehicle to be tested are detected at the same time to obtain the following vehicle distance. When the following vehicle distance is less than or equal to the following vehicle threshold, it is marked that the following vehicle distance of the nth guided vehicle to be tested is too close.
6. The vehicle guidance warning method according to claim 5, characterized in that: The S4: vehicle guidance warning stage also includes the following steps: Set multiple scratch thresholds. When the right side of the nth guided vehicle to be tested has a risk of scratching the right obstacle, set different right virtual lane edge line states according to different scratch thresholds; when the left side of the nth guided vehicle to be tested has a risk of scratching the left obstacle, set different left virtual lane edge line states according to different scratch thresholds; A warning device is set up. When the nth guided vehicle to be tested is marked as speeding, the warning device prompts the nth guided vehicle to be tested to slow down and pass; when the nth guided vehicle to be tested is marked as the following distance is too close, the warning device prompts the nth guided vehicle to be tested to keep the distance between vehicles; when the nth guided vehicle to be tested is marked as the following distance is too close and is marked as speeding at the same time, the warning device prompts the nth guided vehicle to be tested to slow down and pass and keep the distance between vehicles.
7. A vehicle guidance warning system, characterized in that: Used to implement the vehicle guidance warning method as described in any one of claims 1 to 6, comprising: a vehicle information collection subsystem, an intelligent vehicle guidance warning subsystem and a background cloud integration processing subsystem; The vehicle information collection subsystem includes at least two cameras for collecting vehicle information of each guided vehicle, numbering each guided vehicle and dynamically tracking it, and transmitting the vehicle information to the backend cloud integrated processing subsystem to calculate the vehicle analysis point, the guided vehicle position, the guided vehicle speed and the guided vehicle spacing; The intelligent vehicle guidance and warning subsystem is used to project a virtual lane edge line, warn and guide the vehicle to slow down, maintain a safe distance, and correct the vehicle's driving path; The background cloud integrated processing subsystem is used to control the intelligent vehicle guidance warning subsystem to project a virtual lane edge line according to the vehicle analysis point, the guide vehicle position, the guide vehicle speed and the guide vehicle spacing, to warn the guide vehicle to slow down, maintain the distance between vehicles, and correct the guide vehicle's driving path.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the vehicle guidance warning method as described in any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Multi-point positioning parking data detection system and method
CN108877285A
Unmanned vehicle multi-target decision control method and device, and computer readable storage medium
CN109849910A
Lane deviation prediction method for vehicle, device, equipment and storage medium
CN110009904A
Method, system and equipment for automatic car to pass through toll station, and storage medium
CN110132259A
Method and device for drawing guide line of lane and head-up display system
CN111152721A
Cited By
Vehicle control method and device, storage medium and electronic equipment
CN121626160A
