Vehicle anti-collision warning method and device

By collecting road scene images in front of the vehicle and identifying obstacles only in the target area, and selecting anti-collision actions based on the positional relationship between obstacles and sub-areas, this solves the problem of cumbersome calculations in existing vehicle anti-collision warning methods and improves early warning. efficiency and accuracy.

CN114291077BActive Publication Date: 2024-10-15HAINING ESWIN IC DESIGN CO LTD +1
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111591105.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2024-10-15
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

The calculations of existing vehicle collision avoidance warning methods are cumbersome, resulting in low efficiency and inability to effectively reduce the probability of road traffic accidents.

Method used

The road scene images are collected in front of the vehicle, obstacles are identified only in the images within the target area, and corresponding anti-collision actions are selected based on the positional relationship between obstacles and sub-areas to reduce computational complexity and time costs.

Benefits of technology

It improves the efficiency of vehicle anti-collision warning, can quickly identify obstacles that bring collision risks to vehicles, reduces computational complexity and time costs, and improves warning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114291077B_ABST
    Figure CN114291077B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle anti-collision warning method and device, which relate to the field of vehicle control technology, and the main purpose is to improve the efficiency of vehicle anti-collision warning; the main technical scheme includes: collecting a road condition scene image in front of a vehicle; performing obstacle recognition on a target image located in a target area in the road condition scene image, wherein the target area is an area in the road condition scene image where an obstacle image of an obstacle that brings a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas; when it is recognized that an obstacle image exists in the target image, a target sub-area is selected based on the positional relationship between the obstacle image and each of the sub-areas; and the vehicle is controlled to perform an anti-collision action corresponding to the target sub-area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle anti-collision warning method and device. Background Art

[0002] Although cars have facilitated people's production and life to a certain extent, they have also brought people a major safety problem, namely road traffic accidents. In order to reduce the probability of road traffic accidents, vehicles are usually equipped with forward collision warning systems (FCWS) to provide collision warnings for vehicles.

[0003] At present, the methods of vehicle anti-collision warning generally include the following two methods: one is to use a monocular camera to collect the road scene image in front of the vehicle and identify the category of obstacles in the road scene image. Then, the anti-collision warning time between the obstacle and the vehicle is further estimated based on the recognition result, and finally the anti-collision warning operation is performed based on the anti-collision warning time. The other is to use a binocular camera to collect two road scene images in front of the vehicle, calculate the parallax between the two road scene images, determine the distance between the obstacle and the vehicle, and perform the anti-collision warning operation based on the distance.

[0004] It can be seen that the above two vehicle collision avoidance warning methods both involve a large number of tedious calculation processes, and the calculation time cost is relatively large, resulting in low efficiency of vehicle collision avoidance warning. Summary of the invention

[0005] In view of this, the present invention proposes a vehicle anti-collision warning method and device, the main purpose of which is to improve the efficiency of vehicle anti-collision warning.

[0006] In order to achieve the above object, the present invention mainly provides the following technical solutions:

[0007] In a first aspect, the present invention provides a vehicle collision avoidance warning method, the method comprising:

[0008] Collecting images of road conditions in front of the vehicle;

[0009] Performing obstacle recognition on a target image located in a target area in the road scene image, wherein the target area is an area in the road scene image where an obstacle image of an obstacle that poses a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas;

[0010] When an obstacle image is identified in the target image, a target sub-region is selected based on a positional relationship between the obstacle image and each of the sub-regions;

[0011] The vehicle is controlled to perform a collision avoidance action corresponding to the target sub-area.

[0012] In a second aspect, the present invention provides a vehicle anti-collision warning device, the device comprising:

[0013] A collection unit, used for collecting images of road conditions in front of the vehicle;

[0014] an identification unit, configured to perform obstacle identification on a target image located in a target area in the road scene image, wherein the target area is an area in the road scene image where an image of an obstacle that poses a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas;

[0015] A selection unit, configured to select a target sub-region based on a positional relationship between the obstacle image and each of the sub-regions when an obstacle image is identified in the target image;

[0016] A control unit is used to control the vehicle to perform an anti-collision action corresponding to the target sub-area.

[0017] In a third aspect, the present invention provides a computer-readable storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the vehicle collision avoidance warning method described in the first aspect.

[0018] In a fourth aspect, the present invention provides a storage management device, the storage management device comprising:

[0019] Memory, used to store programs;

[0020] A processor is coupled to the memory and is used to run the program to execute the vehicle collision avoidance warning method described in the first aspect.

[0021] By means of the above technical scheme, the vehicle anti-collision warning method and device provided by the present invention collects the road scene image in front of the vehicle when the vehicle is driving. Then, obstacle recognition is performed on the target image located in the target area in the road scene image. When it is identified that there is an obstacle image in the target image, the target sub-area is selected based on the positional relationship between the obstacle image and each sub-area in the target area, and the vehicle is controlled to perform the anti-collision action corresponding to the target sub-area. It can be seen that in the scheme provided by the embodiment of the present invention, when obstacle recognition is performed on the road scene image, it is not the entire road scene image that is recognized, but only the target image located in the target area in the road scene image is recognized, and the image in the non-target area in the road scene image is not recognized. Obstacle recognition. Since the target image is only a part of the image in the road scene image, obstacle recognition on the target image can not only ensure that obstacles that bring collision risks to the vehicle are identified, but also reduce the computational complexity and time cost of obstacle recognition. In addition, when an obstacle image is identified in the target image, it is only necessary to select the target sub-area based on the positional relationship between the obstacle image and each sub-area, and control the vehicle to perform the anti-collision action corresponding to the target sub-area. There is no need to calculate other complex parameters such as collision time. This further reduces the calculation complexity and time cost of the vehicle anti-collision warning and improves the efficiency of the vehicle anti-collision warning.

[0022] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 A flow chart of a vehicle anti-collision warning method provided by an embodiment of the present invention is shown;

[0025] Figure 2 A schematic diagram showing a relationship between a road scene image and a target area provided by an embodiment of the present invention;

[0026] Figure 3 A flow chart of a vehicle anti-collision warning method provided by another embodiment of the present invention is shown;

[0027] Figure 4 A schematic diagram showing the length determination principle of an electronic ruler provided by an embodiment of the present invention is shown;

[0028] Figure 5 A schematic diagram of an electronic ruler provided by an embodiment of the present invention is shown;

[0029] Figure 6 A schematic diagram of a vehicle anti-collision warning device provided by an embodiment of the present invention is shown;

[0030] Figure 7 A schematic diagram of a vehicle anti-collision warning device provided by another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0031] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0032] With the rapid development of the automobile industry, cars have gradually become one of the main means of transportation for people to travel. Although cars have facilitated people's production and life to a certain extent, they have also brought people a major safety problem, namely road traffic accidents. The existence of road traffic accidents seriously threatens the safety of people's lives and property.

[0033] In order to reduce the probability of road traffic accidents, vehicles are usually equipped with a forward collision warning system (FCWS). The forward collision warning system is an advanced safety assistance system that uses the road scene image in front of the vehicle to calculate the distance between the vehicle and the vehicle in front during driving to determine the potential risk of collision and immediately issue a warning. The forward collision warning system has a significant effect on reducing the risk of vehicle collision when the driver is distracted and fails to pay attention to the situation ahead, is tired and sleepy, or uses a mobile phone.

[0034] At present, the methods of vehicle anti-collision warning generally include the following two types: one is to use a monocular camera to collect the road scene image in front of the vehicle, and identify the category of obstacles in the road scene image, for example, identify whether the obstacle is a person or a car. Then, the anti-collision warning time between the obstacle and the vehicle is further estimated based on the recognition result, and finally the anti-collision warning operation is performed according to the anti-collision warning time. The other is to use a binocular camera to collect two road scene images in front of the vehicle, and determine the distance between the obstacle and the vehicle by calculating the parallax between the two road scene images, and perform the anti-collision warning operation according to the distance. It can be seen that the above two vehicle anti-collision warning methods both involve a large number of cumbersome calculation processes, and the calculation time cost is large, resulting in low efficiency of vehicle anti-collision warning.

[0035] In order to reduce the calculation complexity and time cost of vehicle anti-collision warning and improve the efficiency of vehicle anti-collision warning, the present invention provides a vehicle anti-collision warning method and device. The vehicle anti-collision warning method and device provided by the embodiment of the present invention are specifically described below.

[0036] like Figure 1 As shown, an embodiment of the present invention provides a vehicle collision avoidance warning method, which mainly includes:

[0037] 101. Collect the road scene image in front of the vehicle.

[0038] The road scene image in front of the vehicle can reflect the road condition in front of the vehicle during its driving process. When obstacles such as people and vehicles appear in front of the vehicle, the images of these obstacles will exist in the road scene image.

[0039] The road scene image can be acquired by an image acquisition device installed at the front end of the vehicle. The specific type of the image acquisition device is not specifically limited in this embodiment. Optionally, the image acquisition device is a monocular camera safely installed at the front end of the vehicle. In order to perform vehicle collision warning processing in a timely manner, when the vehicle starts, the image acquisition device will start to acquire road scene images at a set frequency.

[0040] 102. Perform obstacle recognition on a target image located in a target area in the road scene image.

[0041] In order to reduce the computational complexity and time cost of vehicle collision avoidance warning and improve the efficiency of vehicle collision avoidance warning, when performing obstacle recognition on the road scene image, only the target image in the target area of ​​the road scene image is recognized, while the image in the non-target area of ​​the road scene image is not recognized. Since the target image is only a part of the road scene image, obstacle recognition on the target image can not only ensure that obstacles that pose a collision risk to the vehicle are recognized, but also reduce the computational complexity and time cost of obstacle recognition.

[0042] The target area is the area in the road scene image where the obstacle image of the obstacle that poses a collision risk to the vehicle is located. The target area is divided into multiple sub-areas. The obstacle images in different sub-areas correspond to different collision risks to the vehicle caused by the obstacles. The sub-areas are arranged in the target area in order of their distance from the front end of the vehicle from near to far. For example, Figure 2 As shown, Figure 2 In order to collect the road scene image A, the dotted box D is the target area, and the image portion selected by the dotted box D is the target image A1, which is the image for obstacle recognition. The target area D includes 4 sub-areas, namely, sub-area D1, sub-area D2, sub-area D3 and sub-area D4.

[0043] The following specifically describes a method for identifying obstacles in a target image located in a target area in a road scene image. The method includes the following steps 1 to 3:

[0044] Step 1: Get the pixel coordinate range corresponding to the target area.

[0045] In practical applications, there are two methods for obtaining the pixel coordinate range corresponding to the target area:

[0046] The first method is to retrieve a pixel coordinate range stored in a preset storage location, and obtain the retrieved pixel coordinate range as a pixel coordinate range corresponding to the target area.

[0047] The pixel coordinate range stored in the preset storage location is a pre-calibrated pixel coordinate range. The setting method of the pixel coordinate range stored in the preset storage location can be: determine a target coordinate range, which is the coordinate range of obstacles that bring collision risks to the vehicle in real road conditions, and the target coordinate range is in the real world coordinate system. Establish a correspondence between the real world coordinate system and the pixel coordinate system in the road scene image, and based on the correspondence, convert the target coordinate range into a pixel coordinate range, and store the pixel coordinate range in the preset storage location.

[0048] Whenever it is necessary to perform vehicle collision avoidance warning processing on the collected road scene image, the pixel coordinate range stored in the preset storage location can be directly called for use.

[0049] The second method is to identify the electronic ruler image in the road scene image, obtain the pixel coordinate range corresponding to the electronic ruler image, and obtain the pixel coordinate range corresponding to the electronic ruler image as the pixel coordinate range corresponding to the target area.

[0050] The electronic ruler image defines the area where the obstacle image of the obstacle that poses a collision risk to the vehicle is located in the road scene image. When the road scene image is captured, the image of the electronic ruler is included thereon. In other words, the electronic ruler is displayed on the image acquisition device, and when the image acquisition device captures the road scene image, it is captured as a part of the road scene image.

[0051] When a road condition scene image is collected, it is necessary to identify the electronic ruler image in the road condition scene image to obtain the pixel coordinate range corresponding to the electronic ruler image. The recognition process of the pixel coordinate range can be: using the road condition scene image coordinates as the input of the electronic ruler recognition model, using the electronic ruler recognition model to recognize the electronic ruler in the road condition scene image, and extracting the pixel coordinate range corresponding to the electronic ruler image from the recognition result output by the electronic ruler recognition model.

[0052] After the pixel coordinate range corresponding to the electronic ruler image is obtained, the pixel coordinate range corresponding to the electronic ruler image is acquired as the pixel coordinate range corresponding to the target area.

[0053] Step 2: extracting an image within a pixel coordinate range in the road scene image as a target image.

[0054] In order to reduce the computational complexity and time cost of vehicle collision avoidance warning and improve the efficiency of vehicle collision avoidance warning, the image within the pixel coordinate range of the road scene image is extracted as the target image.

[0055] Step three: identify obstacles in the target image.

[0056] The method for performing obstacle recognition on a target image is as follows: the target image is used as the input of an obstacle recognition model, and the obstacle recognition model performs obstacle recognition on the target image. Based on the recognition result output by the obstacle recognition model after recognition, it is determined whether the target image includes an obstacle. When an obstacle exists, obstacle information is extracted. The obstacle information may include obstacle categories and pixel coordinates of the obstacle image in the road scene image.

[0057] The target image is a partial image in the road scene image. Therefore, obstacle recognition on the target image can not only identify obstacles that pose a collision risk to the vehicle, but also reduce the computational complexity and time cost of obstacle recognition.

[0058] 103. When it is identified that an obstacle image exists in the target image, a target sub-region is selected based on a positional relationship between the obstacle image and each sub-region.

[0059] The target area is the area in the road scene image where the obstacle image of the obstacle that brings the risk of collision to the vehicle is located. The target area is divided into multiple sub-areas, and the obstacles corresponding to the obstacle images in different sub-areas bring different collision risks to the vehicle. The sub-areas are arranged in the target area in order from near to far according to their respective distances from the front end of the vehicle. Since the obstacles corresponding to the obstacle images in different sub-areas bring different collision risks to the vehicle, when the obstacle images are identified in the target image, the target sub-area needs to be selected based on the positional relationship between the obstacle images and the respective areas, so as to control the vehicle to perform the corresponding collision avoidance action with the target sub-area.

[0060] The obstacle corresponding to the obstacle image in the target sub-region is the obstacle that brings the greatest collision risk to the vehicle among all obstacles in the current road scene. The following is a description of the specific process of selecting the target sub-region based on the positional relationship between the obstacle image and each sub-region. The process includes the following steps 1 to 2:

[0061] Step 1: Based on the pixel coordinates of the obstacle image and the pixel coordinate ranges corresponding to each sub-region, the sub-region where the obstacle exists is determined.

[0062] Each obstacle image has its own corresponding pixel coordinates, and each sub-region has its own corresponding pixel coordinate range. For any sub-region, if its corresponding pixel coordinate range includes the pixel coordinates of any obstacle, it is determined to be a sub-region where an obstacle exists.

[0063] Step 2: Select the target sub-region from the sub-region where the obstacle image exists.

[0064] The obstacle corresponding to the obstacle image in the target sub-region is the obstacle that brings the greatest collision risk to the vehicle among all obstacles in the current road scene. Therefore, it is necessary to select the target sub-region from the sub-region where the obstacle image exists.

[0065] There are two principles for selecting target sub-regions from sub-regions with obstacle images:

[0066] The first method is to select a sub-region as the target sub-region when there is only one sub-region with an obstacle image. If there is only one sub-region with an obstacle image, it means that the obstacle corresponding to the obstacle image in the sub-region is the obstacle with the greatest collision risk to the vehicle among all obstacles in the current road condition scene, so the sub-region can be directly selected as the target sub-region.

[0067] The second type is that when there are multiple sub-regions of the obstacle image, the sub-region closest to the front end of the vehicle is selected as the target sub-region.

[0068] Each sub-region is arranged in the target region in order of distance from the front end of the vehicle. The closer the sub-region is to the front end of the vehicle, the greater the collision risk of the obstacle corresponding to the obstacle image in the sub-region. Therefore, when there are multiple sub-regions with obstacle images, the sub-region closest to the front end of the vehicle is selected as the target sub-region.

[0069] 104. Control the vehicle to perform an anti-collision action corresponding to the target sub-area.

[0070] The target area is the area in the road scene image where the obstacle image of the obstacle that brings a collision risk to the vehicle is located. The target area is divided into multiple sub-areas, and the obstacles corresponding to the obstacle images in different sub-areas bring different collision risks to the vehicle. The sub-areas are arranged in sequence in the target area according to the distance between each of them and the front end of the vehicle from near to far. The obstacles corresponding to the obstacle images in each sub-area bring different collision risks to the vehicle, and the closer the sub-area is to the front end of the vehicle, the greater the collision risk brought to the vehicle by the obstacle corresponding to the obstacle image located therein. Therefore, different anti-collision actions need to be preset for different sub-areas. For example, different sub-areas correspond to different preset vehicle speeds, and the closer the sub-area is to the front end of the vehicle, the smaller the corresponding preset vehicle speed.

[0071] The following is an explanation of the method of controlling the vehicle to perform the collision avoidance action corresponding to the target sub-area, including the following two methods:

[0072] First, when it is detected that the current speed of the vehicle is greater than the preset speed corresponding to the target sub-area, the current speed is adjusted to the preset speed, and / or an anti-collision warning corresponding to the target sub-area is executed.

[0073] When it is detected that the current speed of the vehicle is greater than the preset speed corresponding to the target sub-area, it indicates that there is a risk of collision between the vehicle and the obstacle. In order to reduce the risk of collision, the following three methods can be used: First, adjust the current speed of the vehicle to the preset speed. For example, Figure 2As shown, the preset speeds corresponding to the sub-areas D1, D2, D3, and D4 are 100km / h, 60km / h, 30km / h, and 10km / h, respectively. The target sub-area is D4, and the current speed of the vehicle is adjusted to the preset speed of 10km / h.

[0074] The second is to execute the anti-collision warning corresponding to the target sub-area, for example, playing a broadcast to remind the driver of the risk of collision, so that the driver can adjust the speed or driving route according to the broadcast in time. The third is to adjust the current speed of the vehicle to the preset speed while executing the anti-collision warning corresponding to the target sub-area.

[0075] It should be noted that the preset speed corresponding to each sub-area is related to the current speed of the vehicle, that is, the preset speed selection is related to the current speed. For example, the preset speed for a current speed of 100km / h is 80km / h, and the preset speed for a current speed of 60km / h is 40km / h.

[0076] The second method is to maintain the current speed of the vehicle when it is detected that the current speed of the vehicle is not greater than the preset speed corresponding to the target sub-area.

[0077] When it is detected that the current speed of the vehicle is not greater than the preset speed corresponding to the target sub-area, it means that the risk of collision between the vehicle and the obstacle is low, so the current speed of the vehicle can be maintained.

[0078] The vehicle anti-collision warning method provided by the embodiment of the present invention collects the road scene image in front of the vehicle when the vehicle is traveling. Then, obstacle recognition is performed on the target image located in the target area in the road scene image. When it is identified that there is an obstacle image in the target image, the target sub-area is selected based on the positional relationship between the obstacle image and each sub-area in the target area, and the vehicle is controlled to perform the anti-collision action corresponding to the target sub-area. It can be seen that in the scheme provided by the embodiment of the present invention, when obstacle recognition is performed on the road scene image, it is not the entire road scene image that is recognized, but only the target image located in the target area in the road scene image is recognized, and the image in the non-target area in the road scene image is not recognized. Obstacle recognition. Since the target image is only a partial image in the road scene image, obstacle recognition on the target image can not only ensure that obstacles that bring collision risks to the vehicle are identified, but also reduce the computational complexity and time cost of obstacle recognition. In addition, when an obstacle image is identified in the target image, it is only necessary to select the target sub-area based on the positional relationship between the obstacle image and each sub-area, and control the vehicle to perform the anti-collision action corresponding to the target sub-area. There is no need to calculate other complex parameters such as collision time. This further reduces the calculation complexity and time cost of the vehicle anti-collision warning and improves the efficiency of the vehicle anti-collision warning.

[0079] Further, according to Figure 1 Another embodiment of the present invention further provides a vehicle collision avoidance warning method, such as Figure 3 As shown, the method mainly includes:

[0080] 201. According to the width of the vehicle and the viewing angle of the image acquisition device, the scale size of the electronic scale and the ratio parameters between the sub-areas are set.

[0081] The scale dimensions of an electronic ruler include scale length and scale width.

[0082] The length of the ruler is determined based on the viewing angle of the image acquisition device. The image acquisition device is installed at the front end of the vehicle and captures road scene images at a preset viewing angle. The viewing angle is used to determine the length of the electronic ruler. For example, Figure 4 As shown, C is an image acquisition device installed on the roof of the front end of the vehicle, angle d is the viewing angle of the image acquisition device, and the height of the vehicle is h. According to the formula f=tan d×h, the ruler length f of the electronic ruler is calculated. It should be noted that when there is a business requirement, the ruler length can also be set to any value less than f.

[0083] The scale width is based on the width of the vehicle. Figure 5 As shown, the scale width e of the first sub-area D1 of the electronic scale is the vehicle width.

[0084] It should be noted that in order to increase business flexibility, the setting of the electronic ruler can be handed over to the vehicle user. For example, the driver can flexibly set the viewing angle based on his driving experience. Similarly, the vehicle width can also be flexibly determined by the driver based on the actual width of his vehicle. For example, if the actual width of the vehicle is 2 meters and the driver is not proficient in driving skills, the vehicle width can be set to 3 meters.

[0085] After setting the scale size of the electronic ruler, the ratio parameter between each sub-area can be set. The ratio parameter can be determined based on business needs and is not specifically limited in this embodiment. Exemplarily, the setting principle can be: the higher the accuracy of the vehicle anti-collision warning control requirement, the more sub-areas are set. The farther away from the front end of the vehicle, the higher the driver's control over the vehicle driving, because the farther the sub-area is, the smaller its width can be.

[0086] The following is an explanation of the method for setting the ratio parameters between the sub-regions. For example, Figure 5As shown, the length of the electronic ruler is f, and the longitudinal lengths of the ruler corresponding to each sub-area D1, D2, D3, and D4 are a1, a2, a3, and a4, respectively. The 1 / 2 of the horizontal width of the ruler corresponding to each sub-area D1, D2, D3, and D4 is m1, m2, m3, and m4, respectively (here to illustrate the proportional relationship, m1, m2, m3, and m4 are 1 / 2 of the horizontal width of the ruler of each sub-area, respectively). According to the proportionality of the line segments between parallel lines, there is the following relationship:

[0087] a1 / m1=(a1+a2) / m2=(a1+a2+a3) / m3=(a1+a2+a3+a4) / m4;

[0088] m1:m2:m3:m4=a1:(a1+a2):(a1+a2+a3):(a1+a2+a3+a4);

[0089] For example: when a1:a2:a3:a4=1:2:3:4, the corresponding m1:m2:m3:m4=1:3:6:10.

[0090] 202. Setting the electronic ruler based on the ruler size and the scale parameter, wherein the sub-areas are arranged in sequence in the electronic ruler according to the order of their respective distances from the front end of the vehicle from near to far.

[0091] like Figure 5 As shown, the distances between each sub-area D1, D2, D3, and D4 and the front end of the vehicle are in the order of D4, D3, D2, and D1 from near to far, that is, the distance between D4 and the front end of the vehicle is the shortest, and the distance between D1 and the front end of the vehicle is the farthest.

[0092] 203. Display an electronic ruler, wherein when the electronic ruler is displayed, a sub-area closest to the front end of the vehicle has a preset safety distance from the front end of the vehicle.

[0093] The purpose of displaying the electronic ruler includes the following two purposes: First, in order to include the electronic ruler image in the road scene image, the electronic ruler needs to be displayed so as to perform vehicle collision warning based on the electronic ruler image in the road scene image. Second, in order to enable the driver to observe obstacles with his eyes during driving, the driver can observe the distance between the obstacle and the vehicle and provide a reference.

[0094] In addition, it should be noted that in order to provide a buffer distance for the vehicle anti-collision warning, the sub-area closest to the front end of the vehicle included in the electronic ruler display has a preset safety distance from the front end of the vehicle. Figure 5As shown, there is a preset safety distance between the line segment D41 of the sub-area D4 and the front end of the vehicle, and the safety distance can be manually set based on the driving experience of the driver.

[0095] 204. Collect road scene images including electronic scale images.

[0096] 205. Identify the electronic ruler image in the road scene image to obtain a pixel coordinate range corresponding to the electronic ruler image.

[0097] 206. Acquire the pixel coordinate range corresponding to the electronic ruler image as the pixel coordinate range corresponding to the target area.

[0098] 207. Extract an image within the pixel coordinate range in the road scene image as the target image.

[0099] 208. Perform obstacle recognition on the target image.

[0100] 209. When it is identified that an obstacle image exists in the target image, a target sub-region is selected based on a positional relationship between the obstacle image and each of the sub-regions.

[0101] 210. Control the vehicle to perform an anti-collision action corresponding to the target sub-area.

[0102] Further, according to the above method embodiment, another embodiment of the present invention also provides a vehicle anti-collision warning device, such as Figure 6 As shown, the device comprises:

[0103] A collection unit 31 is used to collect a road scene image in front of the vehicle;

[0104] The recognition unit 32 is used to perform obstacle recognition on a target image located in a target area in the road scene image, wherein the target area is an area in the road scene image where an obstacle image of an obstacle that poses a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas;

[0105] A selection unit 33, configured to select a target sub-region based on a positional relationship between the obstacle image and each of the sub-regions when an obstacle image is identified in the target image;

[0106] The control unit 34 is used to control the vehicle to perform an anti-collision action corresponding to the target sub-area.

[0107] The vehicle anti-collision warning device provided by the embodiment of the present invention collects the road scene image in front of the vehicle when the vehicle is traveling. Then, obstacle recognition is performed on the target image located in the target area in the road scene image. When it is identified that there is an obstacle image in the target image, the target sub-area is selected based on the positional relationship between the obstacle image and each sub-area in the target area, and the vehicle is controlled to perform the anti-collision action corresponding to the target sub-area. It can be seen that in the scheme provided by the embodiment of the present invention, when obstacle recognition is performed on the road scene image, it is not the entire road scene image that is recognized, but only the target image located in the target area in the road scene image is recognized, and the image in the non-target area in the road scene image is not recognized. Obstacle recognition. Since the target image is only a part of the image in the road scene image, obstacle recognition on the target image can not only ensure that obstacles that bring collision risks to the vehicle are identified, but also reduce the computational complexity and time cost of obstacle recognition. In addition, when an obstacle image is identified in the target image, it is only necessary to select the target sub-area based on the positional relationship between the obstacle image and each sub-area, and control the vehicle to perform the anti-collision action corresponding to the target sub-area. There is no need to calculate other complex parameters such as collision time. This further reduces the calculation complexity and time cost of the vehicle anti-collision warning and improves the efficiency of the vehicle anti-collision warning.

[0108] Optional, such as Figure 7 As shown, the identification unit 32 includes:

[0109] An acquisition module 321 is used to acquire a pixel coordinate range corresponding to the target area;

[0110] An extraction module 322, configured to extract an image within the pixel coordinate range from the road scene image as the target image;

[0111] The recognition module 323 is used to perform obstacle recognition on the target image.

[0112] Optional, such as Figure 7 As shown, the acquisition module 321 is specifically used to identify the electronic ruler image in the road condition scene image, obtain the pixel coordinate range corresponding to the electronic ruler image, and the electronic ruler image limits the area where the obstacle image of the obstacle that brings collision risk to the vehicle is located in the road condition scene image; the pixel coordinate range corresponding to the electronic ruler image is obtained as the pixel coordinate range corresponding to the target area.

[0113] Optional, such as Figure 7 As shown, the device also includes:

[0114] The setting unit 35 is used to set the scale size of the electronic ruler and the proportional parameters between the sub-areas according to the width of the vehicle and the viewing angle of the image acquisition device; the electronic ruler is set based on the scale size and the proportional parameters, wherein the sub-areas are arranged in sequence in the electronic ruler according to the order of their respective distances from the front end of the vehicle from near to far.

[0115] Optional, such as Figure 7 As shown, the acquisition unit 31 includes:

[0116] A display module 311, configured to display the electronic ruler, wherein when the electronic ruler is displayed, a sub-area closest to the front end of the vehicle has a preset safety distance from the front end of the vehicle;

[0117] The acquisition module 312 is used to acquire the road scene image including the electronic ruler image.

[0118] Optional, such as Figure 7 As shown, the selection unit 33 includes:

[0119] A determination module 331, configured to determine a sub-region where an obstacle image exists based on the pixel coordinates of the obstacle image and the pixel coordinate ranges corresponding to each of the sub-regions;

[0120] The selection module 332 is used to select the target sub-region from the sub-regions where the obstacle images exist.

[0121] Optional, such as Figure 7 As shown, the selection module 332 is specifically used to select the sub-region as the target sub-region when there is one sub-region with an obstacle image; when there are multiple sub-regions with an obstacle image, select the sub-region closest to the front end of the vehicle as the target sub-region, wherein the sub-regions are arranged in sequence within the target region in order of their respective distances from the front end of the vehicle from near to far.

[0122] Optional, such as Figure 7 As shown, the control unit 34 is specifically used to adjust the current vehicle speed to the preset speed when it is detected that the current vehicle speed of the vehicle is greater than the preset speed corresponding to the target sub-area, and / or execute an anti-collision warning corresponding to the target sub-area.

[0123] In the vehicle anti-collision warning device provided by the embodiment of the present invention, the detailed description of the method used in the operation process of each functional module can be found in Figure 1-Figure 5 The corresponding method of the method embodiment is explained in detail and will not be repeated here.

[0124] Further, according to the above embodiment, another embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute Figure 1 and Figure 3 The vehicle anti-collision warning method.

[0125] Further, according to the above embodiment, another embodiment of the present invention further provides a storage management device, the storage management device comprising:

[0126] Memory, used to store programs;

[0127] A processor, coupled to the memory, configured to run the program to perform Figure 1 and Figure 3 The vehicle anti-collision warning method.

[0128] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0129] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.

[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0131] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0132] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0133] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0134] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0135] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0136] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the operating method, device, and framework of the deep neural network model according to an embodiment of the present invention. The present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0137] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

Claims

1. A vehicle collision avoidance warning method, characterized in that: The method comprises: Collecting a road scene image in front of the vehicle, wherein the road scene image is used to reflect the obstacle situation in front of the vehicle during the vehicle's driving; Performing obstacle recognition on a target image located in a target area in the road scene image, wherein the target area is an area in the road scene image where an obstacle image of an obstacle that poses a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas, and obstacles corresponding to obstacle images in different sub-areas pose different collision risks to the vehicle; When an obstacle image is identified in the target image, a target sub-region is selected based on a positional relationship between the obstacle image and each of the sub-regions, and the obstacle corresponding to the obstacle image in the target sub-region is the obstacle with the greatest collision risk to the vehicle among all obstacles in the current road condition scene; Controlling the vehicle to perform a collision avoidance action corresponding to the target sub-area; Selecting a target sub-region based on the positional relationship between the obstacle image and each of the sub-regions includes: determining a sub-region where the obstacle image exists based on the pixel coordinates of the obstacle image and the pixel coordinate ranges corresponding to each of the sub-regions; and selecting the target sub-region from the sub-region where the obstacle image exists; Selecting the target sub-region from the sub-region where the obstacle image exists, comprising: when there is one sub-region where the obstacle image exists, selecting the sub-region as the target sub-region; when there are multiple sub-regions where the obstacle image exists, selecting the sub-region closest to the front end of the vehicle as the target sub-region, wherein the sub-regions are arranged in sequence in the target region according to the distance between each of them and the front end of the vehicle from near to far; Controlling the vehicle to perform an anti-collision action corresponding to the target sub-area, including: when it is detected that the current speed of the vehicle is greater than the preset speed corresponding to the target sub-area, adjusting the current speed to the preset speed, and / or performing an anti-collision warning corresponding to the target sub-area, the preset speed corresponding to each sub-area is related to the current speed of the vehicle.

2. The method according to claim 1, characterized in that: Performing obstacle recognition on a target image located in a target area in the road scene image includes: Obtaining the pixel coordinate range corresponding to the target area; Extracting an image in the road scene image that is within the pixel coordinate range as the target image; Obstacle recognition is performed on the target image.

3. The method according to claim 2, characterized in that Obtaining the pixel coordinate range corresponding to the target area includes: Identify the electronic ruler image in the road scene image to obtain a pixel coordinate range corresponding to the electronic ruler image, wherein the electronic ruler image defines an area in the road scene image where an obstacle image of an obstacle that poses a collision risk to the vehicle is located; The pixel coordinate range corresponding to the electronic ruler image is acquired as the pixel coordinate range corresponding to the target area.

4. The method according to claim 3, characterized in that The method further comprises: According to the width of the vehicle and the viewing angle of the image acquisition device, the scale size of the electronic scale and the ratio parameters between the sub-areas are set; The electronic scale is set based on the scale size and the scale parameter, wherein the sub-areas are arranged in sequence in the electronic scale according to the order of distances between the sub-areas and the front end of the vehicle from near to far.

5. The method according to claim 4, characterized in that Collect the road scene images in front of the vehicle, including: Displaying the electronic ruler, wherein when the electronic ruler is displayed, a sub-area of ​​the electronic ruler that is closest to the front end of the vehicle has a preset safety distance from the front end of the vehicle; A road scene image including the electronic ruler image is collected.

6. A vehicle anti-collision warning device, characterized in that: The device comprises: A collection unit, used to collect a road scene image in front of the vehicle, wherein the road scene image is used to reflect the obstacle situation in front of the vehicle during the vehicle's driving process; an identification unit, configured to perform obstacle identification on a target image located in a target area in the road scene image, wherein the target area is an area in the road scene image where an image of an obstacle that poses a collision risk to the vehicle is located, and the target area is divided into a plurality of sub-areas, and obstacles corresponding to obstacle images in different sub-areas pose different collision risks to the vehicle; a selection unit, configured to select a target sub-region based on a positional relationship between the obstacle image and each of the sub-regions when an obstacle image is identified in the target image, wherein the obstacle corresponding to the obstacle image in the target sub-region is the obstacle with the greatest collision risk to the vehicle among all obstacles in the current road condition scene; a control unit, configured to control the vehicle to perform an anti-collision action corresponding to the target sub-area; The selection unit comprises: A determination module, configured to determine the sub-region where the obstacle image exists based on the pixel coordinates of the obstacle image and the pixel coordinate ranges corresponding to each of the sub-regions; A selection module, used for selecting the target sub-region from the sub-regions where obstacle images exist; The selection module is specifically used for selecting the sub-region as the target sub-region when there is one sub-region with an obstacle image; and selecting the sub-region closest to the front end of the vehicle as the target sub-region when there are multiple sub-regions with an obstacle image, wherein the sub-regions are arranged in sequence in the target region according to the distance between each of them and the front end of the vehicle from near to far; The control unit is specifically used to adjust the current speed of the vehicle to the preset speed when it is detected that the current speed of the vehicle is greater than the preset speed corresponding to the target sub-area, and / or to execute an anti-collision warning corresponding to the target sub-area, and the preset speed corresponding to each sub-area is related to the current speed of the vehicle.

7. A computer-readable storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the vehicle collision avoidance warning method described in any one of claims 1 to 5.

8. A storage management device, characterized in that: The storage management device comprises: Memory, used to store programs; A processor, coupled to the memory, is used to run the program to execute the vehicle collision avoidance warning method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Camera device for vehicle

    CN106394406A

  • Apparatus and method for prevention of collision at crossroads

    CN107972665A

  • Vehicle alarming method and system and vehicle

    CN108275145A

  • Road driving danger early warning method, device and equipment

    CN111369831A

  • Vehicle control method, device and system, computer equipment and storage medium

    CN113071498A