WO2023020004A1 - Vehicle distance detection method and system, and device and medium - Google Patents
Vehicle distance detection method and system, and device and medium Download PDFInfo
- Publication number
- WO2023020004A1 WO2023020004A1 PCT/CN2022/089625 CN2022089625W WO2023020004A1 WO 2023020004 A1 WO2023020004 A1 WO 2023020004A1 CN 2022089625 W CN2022089625 W CN 2022089625W WO 2023020004 A1 WO2023020004 A1 WO 2023020004A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vehicle
- distance
- vehicles
- detection method
- pixels
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 36
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 33
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000013135 deep learning Methods 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000014509 gene expression Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000013527 convolutional neural network Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 3
- 238000000926 separation method Methods 0.000 description 12
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000007717 exclusion Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Definitions
- the invention belongs to the field of automobile safety, and relates to a vehicle distance detection method, system, equipment and medium.
- the number of motor vehicles in my country has reached 360 million, of which the number of cars is 270 million, which has led to a series of problems such as road congestion. Due to the large number of vehicles, it is inevitable to be on the same road with other vehicles during the normal driving of the vehicle. When an emergency occurs, if the distance is too close, accidents will easily occur. Accurately estimating the distance between oneself and the vehicle in front can help the driver judge whether to slow down to maintain a safe distance. A sufficient safe distance can give the driver sufficient time to act in an emergency and effectively avoid accidents.
- the purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art, and provide a vehicle distance detection method, system, equipment and medium, which can accurately estimate the distance between the self-vehicle and the vehicle in front, and provide assistance for safe driving.
- the present invention adopts the following technical solutions to achieve:
- a vehicle distance detection method comprising the following processes:
- S2 use the deep learning algorithm YOLOv4 to detect vehicles on the acquired images, and divide all vehicles into three categories: cars, passenger cars and trucks according to the size of the cross-section of the vehicle;
- the specific process of using the deep learning algorithm YOLOv4 for vehicle detection is: collecting a data set containing three types of targets to be detected: car, passenger car, and truck, labeling the data in the data set in detail, and using this data set to train the YOLOv4 algorithm; first The convolutional neural network is used for feature extraction, and then the gradient descent algorithm is used to train the model. Finally, the NMS algorithm is used to eliminate the overlapping bounding boxes of the same target, and a detection model that can accurately detect the above three types of targets is obtained.
- the specific process of S3 is: collecting the corresponding data between the distance and the number of pixels for three types of cars, passenger cars and trucks for multiple times, and fitting the expression between the distance and the number of pixels.
- the specific process of S4 is: according to the principle of minimum difference between the abscissa of the center point of the predicted frame and the abscissa of the center point of the overall image, select the vehicle existing in the current lane and exclude the vehicles in other adjacent lanes.
- the specific process of S5 is: for the vehicle in the current lane, use the deep learning algorithm to generate the target frame to obtain the current target pixel points, and select the corresponding expression of the car, bus or truck according to the specific target category information to calculate the current distance.
- an early warning message is sent to the driver.
- the relationship between the vehicle speed and the safety distance is determined, and if the distance is less than the minimum safety distance under the current vehicle speed, an early warning message is sent to the driver.
- a vehicle distance detection system comprising the following processes:
- the image acquisition module is used to acquire the image directly in front of the driving vehicle during the driving process
- the vehicle classification module is used to detect vehicles using the deep learning algorithm YOLOv4 on the acquired images, and classify all vehicles into three categories: car, passenger car and truck according to the size of the cross-section of the vehicle;
- the module for determining the relationship between the distance and the number of pixels is used to determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks;
- the target screening module is used to select the vehicle directly ahead in the current lane of the driving vehicle;
- the distance calculation module is used for judging the category and number of pixels of the vehicle directly in front of the driving vehicle, and obtaining the distance between the vehicle and the driving vehicle through the relationship between the category and distance determined.
- a computer device including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the vehicle distance as described in any one of the above is realized.
- the steps of the detection method including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the vehicle distance as described in any one of the above is realized. The steps of the detection method.
- a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the vehicle distance detection method described in any one of the above items are realized.
- the present invention has the following beneficial effects:
- the present invention classifies vehicles through the deep learning algorithm YOLOv4, and performs distance and pixel point fitting for different types of vehicles to obtain the relationship between the distance and pixel points of different types of vehicles, thereby classifying the vehicle directly in front of the driving vehicle, and then Bring in the relationship between the corresponding distance and the number of pixels to obtain the precise distance between the driving vehicle and the vehicle directly in front, and provide assistance for safe driving.
- the current speed can be used to determine whether the current distance is safe, and it can adapt to different vehicle speeds, making the distance warning more intelligent.
- Fig. 1 is the image obtained during the traveling of the present invention
- Fig. 2 is the vehicle detection result in the photographed image of the present invention
- Fig. 3 is the vehicle exclusion result of other lanes of the present invention.
- the vehicle distance detection method of the present invention fixes the angle of the camera, places it in the middle of the front end of the vehicle, and places the on-board computer at the rear end of the vehicle.
- the camera collects images in the direction of the vehicle, and the on-board computer processes the collected images to determine whether there is a vehicle in front of the vehicle according to a specific algorithm.
- the vehicle distance is calculated according to a specific algorithm.
- Step 1 image capture: When the vehicle is running, the camera captures the image in front of the vehicle on the road for algorithm processing, and the obtained image to be processed is shown in Figure 1. Since the position of the camera is fixed, and the vehicles that will affect the driving safety of the current vehicle must be in the same lane, the target vehicle whose distance should be measured should be in a specific area of the image.
- Step 2 image processing: use the deep learning algorithm YOLOv4 to detect the vehicle on the image captured by the camera.
- the patent of the present invention roughly divides the vehicles into three categories according to the size of the cross-sectional area: small cars, passenger cars, and trucks.
- the YOLOv4 algorithm training the three types of cars, passenger cars, and trucks are trained separately, so that these three types of targets can be distinguished during detection.
- Step 3 target determination, there are often multiple vehicles in one image, including not only the vehicle in front of the current lane, but also the image in front of the adjacent lane. Because there is no interference between vehicles in adjacent lanes and this vehicle, the distance does not need to be measured. Because the camera is installed at the front of the vehicle, the current lane is generally in the center of the image. According to the principle of minimum difference between the abscissa of the center point of the prediction frame and the abscissa of the center point of the overall image, the vehicles existing in the current lane are selected and the vehicles in other adjacent lanes are excluded.
- the upper left corner of the image is taken as the origin, the horizontal axis is the X axis, and the vertical axis is the Y axis.
- the horizontal length of the image is 473 pixels, and the vertical height is 355 pixels. Therefore, the abscissa of the image center point is 236.
- the abscissa of the center point of the leftmost vehicle prediction frame is 122
- the abscissa of the center point of the middle vehicle prediction frame is 160
- the abscissa of the center point of the rightmost vehicle prediction frame is 247.
- the target existing in the current lane is the rightmost vehicle.
- the vehicle in front is still the vehicle that causes the greatest potential safety hazard, so the detection target is still determined according to the above process.
- the results after excluding the objects of other lanes are shown in Fig. 3.
- Step 4 data processing: take pictures in advance according to the specific installation position of the camera and calculate the number of pixels of the target at a certain distance. For example, when the separation distance is 1000 cm, the pixel points of the vehicle target frame in front are 8000, and when the separation distance is 2000 cm, the pixel points of the target frame of the vehicle ahead are 5000. Using the above scheme, the corresponding data between the interval distance and the pixel points is collected multiple times, and the expression between the two is fitted. The above data processing method is carried out separately for the three types of cars, passenger cars, and trucks, and the relationship expressions between the pixels of the prediction frame and the distance corresponding to the three types of vehicles can be obtained.
- Step 5 distance calculation: For any target in the current lane, use the deep learning algorithm to generate the target frame to obtain the number of pixels of the current target. In addition, according to the specific target category information, select an expression of car, bus, and truck to calculate the current distance. In this way, The separation distance can be calculated according to any number of target pixels. For example, for the target information in Figure 1, the result in Figure 2 can be obtained by using the deep learning algorithm to generate the target frame, and the prediction result in Figure 3 can be obtained according to the target determination method in step three.
- the detection result is bus
- the YOLOv4 algorithm can output the coordinate information of the prediction frame, calculate the number of pixels contained in the prediction frame, use the obtained pixel point information to select the pixel point and distance relationship expression corresponding to the bus, and calculate the current The distance to the target vehicle.
- Step six information early warning: according to the specific characteristics of the current vehicle, the relationship between the vehicle speed and the safety distance is determined in advance.
- the algorithm proposed by this patent is used to help the driver determine the accurate distance between vehicles ahead. If the calculated distance is less than the minimum safe distance at the current speed, an early warning message will be issued to remind the driver to slow down and increase the distance to avoid braking in emergency situations. Insufficient moving distance leads to accidents.
- Step 1 image capture: When the vehicle is running, the camera captures the image in front of the vehicle on the road for algorithm processing, and the obtained image to be processed is shown in Figure 1.
- Step 2 image processing: Collect a data set containing three types of targets to be detected: car, passenger car, and truck in advance, and label the data in the data set in detail. Use this data set to train the YOLOv4 algorithm required for this patent on a professional computer. First, use the convolutional neural network for feature extraction, then use the gradient descent algorithm to train the model, and finally use the NMS algorithm to eliminate overlapping bounding boxes of the same target, and obtain accurate results. A detection model that detects the above three types of targets. Further transplant the trained model to the on-board computer for real-time target detection. The result of processing Figure 1 is shown in Figure 2.
- Step 3 target determination: There are often multiple vehicles in an image, including not only the vehicle in front of the current lane, but also the image in front of the adjacent lane. Because there is no interference between vehicles in adjacent lanes and this vehicle, the distance does not need to be measured. Because the camera is installed at the front of the vehicle, the current lane is generally in the center of the image. When driving on a curve, when an emergency accident occurs and the vehicle needs to be braked, the vehicle directly ahead is still the vehicle that causes the greatest safety hazard, so the detection target directly ahead is still considered.
- the vehicles existing in the current lane are selected and the vehicles in other adjacent lanes are excluded.
- the upper left corner of the image is taken as the origin, the horizontal axis is the X axis, and the vertical axis is the Y axis.
- the abscissa of the center point of the leftmost vehicle prediction frame is 122
- the abscissa of the center point of the middle vehicle prediction frame is 160
- the abscissa of the center point of the rightmost vehicle prediction frame is 247.
- Step 4 data processing: take pictures in advance according to the specific installation position of the camera and calculate the number of pixels of the target at a certain distance.
- the pixels of the target frame of the vehicle in front are 8000.
- the pixels of the target frame of the vehicle in front are 5000.
- the pixels of the target frame of the vehicle in front are 3000.
- the pixels of the target frame of the vehicle in front are 1500.
- the pixel points of the vehicle target frame in front are 600.
- the pixels of the target frame of the vehicle in front are 250.
- the pixel points of the target frame of the vehicle in front are 100.
- Step 5 distance calculation: Based on the detection results determined in step 3, assuming that the number of pixels in the target frame of the bus is 4000, then using the formula obtained in step 4, the separation distance can be calculated as 2191.92 cm.
- Step 6 information early warning: if the safe vehicle speed is 20km/h in the above calculation conditions, and the self-driving speed is 50km/h, it can be judged that the separation distance is insufficient and accidents are likely to occur in an emergency state, and the driver will be given an information early warning. Remind the driver to increase the driving distance.
- the vehicle distance detection system of the present invention includes the following processes:
- the image acquisition module is used to acquire the image directly in front of the driving vehicle during the driving process.
- the vehicle classification module is used to detect vehicles using the deep learning algorithm YOLOv4 on the acquired images, and classify all vehicles into three categories: car, passenger car and truck according to the size of the cross-section of the vehicle.
- the module for determining the relationship between the distance and the number of pixels is used to determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks.
- the target screening module is used to select the vehicle directly ahead in the current lane of the driving vehicle.
- the distance calculation module is used for judging the category and number of pixels of the vehicle directly in front of the driving vehicle, and obtaining the distance between the vehicle and the driving vehicle through the relationship between the category and distance determined.
- the computer device includes a memory, a processor, and a computer program stored in the memory and operable on the processor.
- the processor executes the computer program, the vehicle distance detection method as described above is realized. A step of.
- the computer-readable storage medium of the present invention stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned vehicle distance detection method are realized.
Abstract
Disclosed in the present invention are a vehicle distance detection method and system, and a device and a medium. The method comprises: S1, acquiring an image directly ahead of a driven vehicle during the travelling process of the driven vehicle; S2, performing vehicle detection on the acquired image by using a deep learning algorithm YOLOv4, and according to the size of a cross section of a vehicle, classifying all vehicles into three categories, i.e., small vehicles, passenger vehicles and trucks; S3, determining the relationships, respectively corresponding to the three categories, i.e., the small vehicles, the passenger vehicles and the trucks, between a distance and the number of pixel points; S4, selecting a vehicle directly ahead in the current lane of the driven vehicle; and S5, for the vehicle directly ahead of the driven vehicle, determining the category and the number of pixel points of the vehicle, and obtaining the distance between the vehicle and the driven vehicle by means of the relationship between the determined category and a distance. By means of the present application, the distance between the current vehicle and a vehicle ahead can be precisely estimated, thereby providing assistance for safe driving.
Description
本发明属于汽车安全领域,涉及一种车辆距离探测方法、系统、设备及介质。The invention belongs to the field of automobile safety, and relates to a vehicle distance detection method, system, equipment and medium.
根据最新数据,我国机动车保有量已经达到了3.6亿量,其中汽车保有量2.7亿量,由此导致了道路拥堵等一系列问题。由于车辆保有量大,在车辆的正常行驶中不可避免与其他车辆处于同一道路内,当紧急情况发生时若间隔距离太近容易发生事故。准确的估计自身与前方车辆的距离可以帮助驾驶员判断是否需要减速以保持安全距离,足够的安全距离能够在突发状况中给司机充分的动作时间,有效避免意外事故的发生。According to the latest data, the number of motor vehicles in my country has reached 360 million, of which the number of cars is 270 million, which has led to a series of problems such as road congestion. Due to the large number of vehicles, it is inevitable to be on the same road with other vehicles during the normal driving of the vehicle. When an emergency occurs, if the distance is too close, accidents will easily occur. Accurately estimating the distance between oneself and the vehicle in front can help the driver judge whether to slow down to maintain a safe distance. A sufficient safe distance can give the driver sufficient time to act in an emergency and effectively avoid accidents.
本发明的目的在于克服上述现有技术的缺点,提供一种车辆距离探测方法、系统、设备及介质,可以精确估计自身车辆与前方车辆的距离,为安全驾驶提供辅助。The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art, and provide a vehicle distance detection method, system, equipment and medium, which can accurately estimate the distance between the self-vehicle and the vehicle in front, and provide assistance for safe driving.
为达到上述目的,本发明采用以下技术方案予以实现:In order to achieve the above object, the present invention adopts the following technical solutions to achieve:
一种车辆距离探测方法,包括以下过程:A vehicle distance detection method, comprising the following processes:
S1,在驾驶车辆行驶过程中,获取驾驶车辆正前方图像;S1, during the process of driving the vehicle, acquire the image directly in front of the driving vehicle;
S2,对获取的图像利用深度学习算法YOLOv4进行车辆检测,根据车辆横截面的大小将所有车辆分为小车、客车和货车三类;S2, use the deep learning algorithm YOLOv4 to detect vehicles on the acquired images, and divide all vehicles into three categories: cars, passenger cars and trucks according to the size of the cross-section of the vehicle;
S3,确定小车、客车和货车三类分别对应的距离与像素点数的关系;S3, determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks;
S4,选取驾驶车辆当前车道中正前方的车辆;S4, selecting the vehicle directly ahead in the current lane of the driving vehicle;
S5,对驾驶车辆正前方的车辆,判断该车辆的类别和像素点数,通过判断的类别与距离的关系,得到该车辆与驾驶车辆的距离。S5, for the vehicle directly in front of the driving vehicle, judge the category and number of pixels of the vehicle, and obtain the distance between the vehicle and the driving vehicle through the relationship between the determined category and the distance.
优选的,利用深度学习算法YOLOv4进行车辆检测的具体过程为:采集包含小车、客车、货车三类待检测目标的数据集,对数据集中的数据进行详细标注,利用此数据集训练YOLOv4算法;首先利用卷积神经网络进行特征提取,随后利用梯度下降算法训练模型,最后利用NMS算法消除同一目标的重叠边界框,获得可以精确检测上述三类目标的检测模型。Preferably, the specific process of using the deep learning algorithm YOLOv4 for vehicle detection is: collecting a data set containing three types of targets to be detected: car, passenger car, and truck, labeling the data in the data set in detail, and using this data set to train the YOLOv4 algorithm; first The convolutional neural network is used for feature extraction, and then the gradient descent algorithm is used to train the model. Finally, the NMS algorithm is used to eliminate the overlapping bounding boxes of the same target, and a detection model that can accurately detect the above three types of targets is obtained.
优选的,S3具体过程为:对小车、客车和货车三类分别多次采集距离与像素点数之间的对应数据,拟合出距离与像素点数之间的表达式。Preferably, the specific process of S3 is: collecting the corresponding data between the distance and the number of pixels for three types of cars, passenger cars and trucks for multiple times, and fitting the expression between the distance and the number of pixels.
优选的,S4具体过程为:根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则来选取当前车道中存在的车辆并排除其他相邻车道的车辆。Preferably, the specific process of S4 is: according to the principle of minimum difference between the abscissa of the center point of the predicted frame and the abscissa of the center point of the overall image, select the vehicle existing in the current lane and exclude the vehicles in other adjacent lanes.
优选的,S5具体过程为:针对当前车道车辆,利用深度学习算法进行目标框生成,得到当前目标像素点数,另根据具体目标类别信息选择小车、客车或货车对应表达式推算当前距离。Preferably, the specific process of S5 is: for the vehicle in the current lane, use the deep learning algorithm to generate the target frame to obtain the current target pixel points, and select the corresponding expression of the car, bus or truck according to the specific target category information to calculate the current distance.
优选的,得到驾驶车辆与正前方车辆的距离后,若距离小于安全距离,则向驾驶员发出预警信息。Preferably, after obtaining the distance between the driving vehicle and the vehicle in front, if the distance is less than the safety distance, an early warning message is sent to the driver.
进一步,确定车速与安全距离的相互关系,若距离小于当前车速下的最小安全距离,则向驾驶员发出预警信息。Further, the relationship between the vehicle speed and the safety distance is determined, and if the distance is less than the minimum safety distance under the current vehicle speed, an early warning message is sent to the driver.
一种车辆距离探测系统,包括以下过程:A vehicle distance detection system, comprising the following processes:
图像获取模块,用于在驾驶车辆行驶过程中,获取驾驶车辆正前方图像;The image acquisition module is used to acquire the image directly in front of the driving vehicle during the driving process;
车辆分类模块,用于对获取的图像利用深度学习算法YOLOv4进行车辆检测,根据车辆横截面的大小将所有车辆分为小车、客车和货车三类;The vehicle classification module is used to detect vehicles using the deep learning algorithm YOLOv4 on the acquired images, and classify all vehicles into three categories: car, passenger car and truck according to the size of the cross-section of the vehicle;
距离与像素点数关系确定模块,用于确定小车、客车和货车三类分别对应的距离与像素点数的关系;The module for determining the relationship between the distance and the number of pixels is used to determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks;
目标筛选模块,用于选取驾驶车辆当前车道中正前方的车辆;The target screening module is used to select the vehicle directly ahead in the current lane of the driving vehicle;
距离计算模块,用于对驾驶车辆正前方的车辆,判断该车辆的类别和像素点数,通过判断的类别与距离的关系,得到该车辆与驾驶车辆的距离。The distance calculation module is used for judging the category and number of pixels of the vehicle directly in front of the driving vehicle, and obtaining the distance between the vehicle and the driving vehicle through the relationship between the category and distance determined.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述任意一项所述车辆距离探测方法的步骤。A computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the vehicle distance as described in any one of the above is realized. The steps of the detection method.
一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述任意一项所述车辆距离探测方法的步骤。A computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the vehicle distance detection method described in any one of the above items are realized.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明通过深度学习算法YOLOv4对车辆进行分类,在针对不同类别车辆进行距离和像素点数的拟合,得到不同类别车辆距离和像素点数的关系,从而对驾驶车辆正前方的车辆进行类别识别,再带入对应的距离和像素点数的关系,得到驾驶车辆与其正前方车辆的精确距离,为安全驾驶提供辅助。The present invention classifies vehicles through the deep learning algorithm YOLOv4, and performs distance and pixel point fitting for different types of vehicles to obtain the relationship between the distance and pixel points of different types of vehicles, thereby classifying the vehicle directly in front of the driving vehicle, and then Bring in the relationship between the corresponding distance and the number of pixels to obtain the precise distance between the driving vehicle and the vehicle directly in front, and provide assistance for safe driving.
进一步,通过车速与安全距离的相互关系,根据当前速度来判定当前距离是否安全,能够适应不同的车速,使距离预警更加智能。Furthermore, through the relationship between the vehicle speed and the safe distance, the current speed can be used to determine whether the current distance is safe, and it can adapt to different vehicle speeds, making the distance warning more intelligent.
图1为本发明的行驶中拍摄得到的图像;Fig. 1 is the image obtained during the traveling of the present invention;
图2为本发明的拍摄图像中车辆检测结果;Fig. 2 is the vehicle detection result in the photographed image of the present invention;
图3为本发明的其他车道车辆排除结果。Fig. 3 is the vehicle exclusion result of other lanes of the present invention.
下面结合附图对本发明做进一步详细描述:The present invention is described in further detail below in conjunction with accompanying drawing:
本发明所述车辆距离探测方法,将摄像机角度固定,放置在车辆前端中部,车载电脑放置在车辆后端。由摄像机进行车辆行进方向的图像采集,车载电脑对采集的图像进行处理,根据特定算法求出车辆前方是否有车辆,当有车辆时,根据特定算法求出车辆距离。The vehicle distance detection method of the present invention fixes the angle of the camera, places it in the middle of the front end of the vehicle, and places the on-board computer at the rear end of the vehicle. The camera collects images in the direction of the vehicle, and the on-board computer processes the collected images to determine whether there is a vehicle in front of the vehicle according to a specific algorithm. When there is a vehicle, the vehicle distance is calculated according to a specific algorithm.
步骤一,图像拍摄:当车辆在行驶中时,摄像机拍摄道路中车辆前方的图像以备算法处理,获得的待处理图像如图1所示。由于摄像机位置固定,且会影响当前车辆行车安全的车辆肯定处于同一车道中,故应测量车辆距离的目标车辆应该处于图像特定区域。Step 1, image capture: When the vehicle is running, the camera captures the image in front of the vehicle on the road for algorithm processing, and the obtained image to be processed is shown in Figure 1. Since the position of the camera is fixed, and the vehicles that will affect the driving safety of the current vehicle must be in the same lane, the target vehicle whose distance should be measured should be in a specific area of the image.
步骤二,图像处理:对摄像机拍摄得到的图像利用深度学习算法YOLOv4进行车辆检测。由于不同车辆在同一距离下的横截面大小不同,本发明专利根据车辆横截面的大小将其大致分为:小车、客车、货车三类。在YOLOv4算法训练中针对小车、客车、货车三类分别训练,以在检测时可以区分这三类目标。首先采集包含小车、客车、货车三类待检测目标的数据集,对数据集中的数据进行详细标注。利用此数据集在专业计算机上训练本专利所需的YOLOv4算法,首先利用卷积神经网络进行特征提取,随后利用梯度下降算法训练模型,最后利用NMS算法消除同一目标的重叠边界框,获得可以精确检测上述三类目标的检测模型。进一步将训练好的模型移植到车载计算机中,进行实时目标检测。对图1进行处理的结果如图2所示。Step 2, image processing: use the deep learning algorithm YOLOv4 to detect the vehicle on the image captured by the camera. Because different vehicles have different cross-sectional sizes at the same distance, the patent of the present invention roughly divides the vehicles into three categories according to the size of the cross-sectional area: small cars, passenger cars, and trucks. In the YOLOv4 algorithm training, the three types of cars, passenger cars, and trucks are trained separately, so that these three types of targets can be distinguished during detection. First, collect a data set containing three types of targets to be detected: car, passenger car, and truck, and label the data in the data set in detail. Use this data set to train the YOLOv4 algorithm required for this patent on a professional computer. First, use the convolutional neural network for feature extraction, then use the gradient descent algorithm to train the model, and finally use the NMS algorithm to eliminate overlapping bounding boxes of the same target, and obtain accurate results. A detection model that detects the above three types of targets. Further transplant the trained model to the on-board computer for real-time target detection. The result of processing Figure 1 is shown in Figure 2.
步骤三,目标确定,在一幅图像中往往存在多个车辆,不仅包含当前车道前方的车辆,还包括相邻车道前方的图像。因为相邻车道车辆与本车辆无干扰,故其距离不需测量。因为摄像机安装在车辆前部,故当前车道一般处于图像中心。根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则来选取当前车道中存在的车辆并排除其他相邻车道的车辆。如图,2中以图像左上角为原点,横向为X轴,纵向为Y轴,图像横向长473像素,纵向高355像素,故图像中心点横坐标为236。图3中最左侧车辆预测框中心点横坐标为122,中间车辆预测框中心点横坐标为160,最右侧车辆预测框中心点横坐标为247。故根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则,确定当前车道中存在的目标为最右侧车辆。当处于弯道行车时,由于发生紧急事故需要刹停时,造成安全隐患最大的仍然是处于正前方车辆,故仍按上述过程确定检测目标。排除其他车道的目标后结果如图3所示。Step 3, target determination, there are often multiple vehicles in one image, including not only the vehicle in front of the current lane, but also the image in front of the adjacent lane. Because there is no interference between vehicles in adjacent lanes and this vehicle, the distance does not need to be measured. Because the camera is installed at the front of the vehicle, the current lane is generally in the center of the image. According to the principle of minimum difference between the abscissa of the center point of the prediction frame and the abscissa of the center point of the overall image, the vehicles existing in the current lane are selected and the vehicles in other adjacent lanes are excluded. As shown in Figure 2, the upper left corner of the image is taken as the origin, the horizontal axis is the X axis, and the vertical axis is the Y axis. The horizontal length of the image is 473 pixels, and the vertical height is 355 pixels. Therefore, the abscissa of the image center point is 236. In Fig. 3, the abscissa of the center point of the leftmost vehicle prediction frame is 122, the abscissa of the center point of the middle vehicle prediction frame is 160, and the abscissa of the center point of the rightmost vehicle prediction frame is 247. Therefore, according to the principle of minimum difference between the abscissa of the center point of the prediction frame and the abscissa of the center point of the overall image, it is determined that the target existing in the current lane is the rightmost vehicle. When driving on a curve, when an emergency accident occurs and the vehicle needs to be braked, the vehicle in front is still the vehicle that causes the greatest potential safety hazard, so the detection target is still determined according to the above process. The results after excluding the objects of other lanes are shown in Fig. 3.
步骤四,数据处理:事先根据摄像机的具体安装位置拍摄并计算一定距离下目标的像素点数。如当间隔距离为1000厘米时,前方车辆目标框像素点为8000,当间隔距离为2000厘米时,前方车辆目标框像素点为5000。利用上述方案,多次采集间隔距离与像素点之间的对应数据,拟合出两者之间的表达式。上述数据处理方法针对小车、客车、货车三类分别进行,可得到三种车型对应的预测框像素与距离之间的关系表达式。Step 4, data processing: take pictures in advance according to the specific installation position of the camera and calculate the number of pixels of the target at a certain distance. For example, when the separation distance is 1000 cm, the pixel points of the vehicle target frame in front are 8000, and when the separation distance is 2000 cm, the pixel points of the target frame of the vehicle ahead are 5000. Using the above scheme, the corresponding data between the interval distance and the pixel points is collected multiple times, and the expression between the two is fitted. The above data processing method is carried out separately for the three types of cars, passenger cars, and trucks, and the relationship expressions between the pixels of the prediction frame and the distance corresponding to the three types of vehicles can be obtained.
步骤五,距离计算:针对当前车道任意目标,利用深度学习算法进行目标框生成,得到当前目标像素点数,另根据具体目标类别信息选择小车、客车、货车某一种表达式推算当前距离,这样,可根据任意目标像素点数求出间隔距离。如针对图1中的目标信息,利用深度学习算法进行目标框生成可以得到图2的结果,根据步骤三目标确定方法,得到图3的预测结果。在图3中,检测结果为bus,同时YOLOv4算法可输出预测框的坐标信息,计算得到预测框包含像素点数,利用得到的像素点数信息选择bus对应的像素点与距离关系表达式,计算得到当前目标车辆的距离。Step 5, distance calculation: For any target in the current lane, use the deep learning algorithm to generate the target frame to obtain the number of pixels of the current target. In addition, according to the specific target category information, select an expression of car, bus, and truck to calculate the current distance. In this way, The separation distance can be calculated according to any number of target pixels. For example, for the target information in Figure 1, the result in Figure 2 can be obtained by using the deep learning algorithm to generate the target frame, and the prediction result in Figure 3 can be obtained according to the target determination method in step three. In Figure 3, the detection result is bus, and the YOLOv4 algorithm can output the coordinate information of the prediction frame, calculate the number of pixels contained in the prediction frame, use the obtained pixel point information to select the pixel point and distance relationship expression corresponding to the bus, and calculate the current The distance to the target vehicle.
步骤六,信息预警:根据当前车辆的具体特性,事先确定车速与安全距离的相互关系。在行驶过程中利用本专利提出的算法帮助驾驶员确定精确的前方车辆间隔距离,若测算距离小于当前车速下的最小安全距离,则发出预警信息,提示驾驶员减速增加距离,避免紧急情况下制动距离不足导致事故的发生。Step six, information early warning: according to the specific characteristics of the current vehicle, the relationship between the vehicle speed and the safety distance is determined in advance. During the driving process, the algorithm proposed by this patent is used to help the driver determine the accurate distance between vehicles ahead. If the calculated distance is less than the minimum safe distance at the current speed, an early warning message will be issued to remind the driver to slow down and increase the distance to avoid braking in emergency situations. Insufficient moving distance leads to accidents.
实施例:Example:
步骤一,图像拍摄:当车辆在行驶中时,摄像机拍摄道路中车辆前方的图像以备算法处理,获得的待处理图像如图1所示。Step 1, image capture: When the vehicle is running, the camera captures the image in front of the vehicle on the road for algorithm processing, and the obtained image to be processed is shown in Figure 1.
步骤二,图像处理:事先采集包含小车、客车、货车三类待检测目标的数据集,对数据集中的数据进行详细标注。利用此数据集在专业计算机上训练本专利所需的YOLOv4算法,首先利用卷积神经网络进行特征提取,随后利用梯度下降算法训练模型,最后利用NMS算法消除同一目标的重叠边界框,获得可以精确检测上述三类目标的检测模型。进一步将训练好的模型移植到车载计算机中,进行实时目标检测。对图1进行处理的结果如图2所示。Step 2, image processing: Collect a data set containing three types of targets to be detected: car, passenger car, and truck in advance, and label the data in the data set in detail. Use this data set to train the YOLOv4 algorithm required for this patent on a professional computer. First, use the convolutional neural network for feature extraction, then use the gradient descent algorithm to train the model, and finally use the NMS algorithm to eliminate overlapping bounding boxes of the same target, and obtain accurate results. A detection model that detects the above three types of targets. Further transplant the trained model to the on-board computer for real-time target detection. The result of processing Figure 1 is shown in Figure 2.
步骤三,目标确定:在一幅图像中往往存在多个车辆,不仅包含当前车道前方的车辆,还包括相邻车道前方的图像。因为相邻车道车辆与本车辆无干扰,故其距离不需测量。因为摄像机安装在车辆前部,故当前车道一般处于图像中心。当处于弯道行车时,由于发生紧急事故需要刹停时,造成安全隐患最大的仍然是处于正前方车辆,故仍考虑正前方检测目标。根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则来选取当前车道中存在的车辆并排除其他相邻车道的车辆。如图2中以图像左上角为原点,横向为X轴,纵向为Y轴,图像横向长473像素,纵向高355像素,故图像中心点横坐标为236。图2中最左侧车辆预测框中心点横坐标为122,中间车辆预测框中心点横坐标为160,最右侧车辆预测框中心点横坐标为247。故根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则,确定当前车道中存在的目标为最右侧车辆。排除其他车道的目标后结果如图3所示。Step 3, target determination: There are often multiple vehicles in an image, including not only the vehicle in front of the current lane, but also the image in front of the adjacent lane. Because there is no interference between vehicles in adjacent lanes and this vehicle, the distance does not need to be measured. Because the camera is installed at the front of the vehicle, the current lane is generally in the center of the image. When driving on a curve, when an emergency accident occurs and the vehicle needs to be braked, the vehicle directly ahead is still the vehicle that causes the greatest safety hazard, so the detection target directly ahead is still considered. According to the principle of minimum difference between the abscissa of the center point of the prediction frame and the abscissa of the center point of the overall image, the vehicles existing in the current lane are selected and the vehicles in other adjacent lanes are excluded. As shown in Figure 2, the upper left corner of the image is taken as the origin, the horizontal axis is the X axis, and the vertical axis is the Y axis. In Fig. 2, the abscissa of the center point of the leftmost vehicle prediction frame is 122, the abscissa of the center point of the middle vehicle prediction frame is 160, and the abscissa of the center point of the rightmost vehicle prediction frame is 247. Therefore, according to the principle of minimum difference between the abscissa of the center point of the prediction frame and the abscissa of the center point of the overall image, it is determined that the target existing in the current lane is the rightmost vehicle. The results after excluding the objects of other lanes are shown in Fig. 3.
步骤四,数据处理:事先根据摄像机的具体安装位置拍摄并计算一定距离下目标的像素点数。Step 4, data processing: take pictures in advance according to the specific installation position of the camera and calculate the number of pixels of the target at a certain distance.
如对于客车目标:As for the bus target:
当间隔距离为1000厘米时,前方车辆目标框像素点为8000。When the separation distance is 1000 cm, the pixels of the target frame of the vehicle in front are 8000.
当间隔距离为2000厘米时,前方车辆目标框像素点为5000。When the separation distance is 2000 cm, the pixels of the target frame of the vehicle in front are 5000.
当间隔距离为3000厘米时,前方车辆目标框像素点为3000。When the separation distance is 3000 cm, the pixels of the target frame of the vehicle in front are 3000.
当间隔距离为4000厘米时,前方车辆目标框像素点为1500。When the separation distance is 4000 cm, the pixels of the target frame of the vehicle in front are 1500.
当间隔距离为5000厘米时,前方车辆目标框像素点为600。When the separation distance is 5000 cm, the pixel points of the vehicle target frame in front are 600.
当间隔距离为6000厘米时,前方车辆目标框像素点为250。When the separation distance is 6000 cm, the pixels of the target frame of the vehicle in front are 250.
当间隔距离为7000厘米时,前方车辆目标框像素点为100。When the separation distance is 7000 cm, the pixel points of the target frame of the vehicle in front are 100.
利用上述数据,以目标框像素点为自变量x,间隔距离为y,拟合出两者之间的表达式为y=9.812e-5*x
2-1.442x+6390。
Using the above data, taking the pixels of the target frame as the independent variable x and the interval distance as y, the expression between the two is fitted as y=9.812e-5*x 2 -1.442x+6390.
步骤五,距离计算:针对步骤三所确定的检测结果,假设该客车目标框内像素点为4000,则利用步骤四所得公式,可推算出间隔距离为2191.92厘米。Step 5, distance calculation: Based on the detection results determined in step 3, assuming that the number of pixels in the target frame of the bus is 4000, then using the formula obtained in step 4, the separation distance can be calculated as 2191.92 cm.
步骤六,信息预警:若在上述计算条件中安全车速为20km/h,而自身行驶速度为50km/h,则可以判断间隔距离不足,紧急状态下易发生事故,则对驾驶员进行信息预警,提醒驾驶员增加行车距离。Step 6, information early warning: if the safe vehicle speed is 20km/h in the above calculation conditions, and the self-driving speed is 50km/h, it can be judged that the separation distance is insufficient and accidents are likely to occur in an emergency state, and the driver will be given an information early warning. Remind the driver to increase the driving distance.
本发明所述的车辆距离探测系统,包括以下过程:The vehicle distance detection system of the present invention includes the following processes:
图像获取模块,用于在驾驶车辆行驶过程中,获取驾驶车辆正前方图像。The image acquisition module is used to acquire the image directly in front of the driving vehicle during the driving process.
车辆分类模块,用于对获取的图像利用深度学习算法YOLOv4进行车辆检测,根据车辆横截面的大小将所有车辆分为小车、客车和货车三类。The vehicle classification module is used to detect vehicles using the deep learning algorithm YOLOv4 on the acquired images, and classify all vehicles into three categories: car, passenger car and truck according to the size of the cross-section of the vehicle.
距离与像素点数关系确定模块,用于确定小车、客车和货车三类分别对应的距离与像素点数的关系。The module for determining the relationship between the distance and the number of pixels is used to determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks.
目标筛选模块,用于选取驾驶车辆当前车道中正前方的车辆。The target screening module is used to select the vehicle directly ahead in the current lane of the driving vehicle.
距离计算模块,用于对驾驶车辆正前方的车辆,判断该车辆的类别和像素点数,通过判断的类别与距离的关系,得到该车辆与驾驶车辆的距离。The distance calculation module is used for judging the category and number of pixels of the vehicle directly in front of the driving vehicle, and obtaining the distance between the vehicle and the driving vehicle through the relationship between the category and distance determined.
本发明所述的计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述车辆距离探测方法的步骤。The computer device according to the present invention includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the vehicle distance detection method as described above is realized. A step of.
本发明所述的计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述车辆距离探测方法的步骤。In the computer-readable storage medium of the present invention, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned vehicle distance detection method are realized.
以上内容仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明权利要求书的保护范围之内。The above content is only to illustrate the technical ideas of the present invention, and cannot limit the protection scope of the present invention. Any changes made on the basis of the technical solutions according to the technical ideas proposed in the present invention shall fall within the scope of the claims of the present invention. within the scope of protection.
Claims (10)
- 一种车辆距离探测方法,其特征在于,包括以下过程: A vehicle distance detection method, characterized in that, comprising the following process:S1,在驾驶车辆行驶过程中,获取驾驶车辆正前方图像;S1, during the process of driving the vehicle, acquire the image directly in front of the driving vehicle;S2,对获取的图像利用深度学习算法YOLOv4进行车辆检测,根据车辆横截面的大小将所有车辆分为小车、客车和货车三类;S2, use the deep learning algorithm YOLOv4 to detect vehicles on the acquired images, and divide all vehicles into three categories: cars, passenger cars and trucks according to the size of the cross-section of the vehicle;S3,确定小车、客车和货车三类分别对应的距离与像素点数的关系;S3, determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks;S4,选取驾驶车辆当前车道中正前方的车辆;S4, selecting the vehicle directly ahead in the current lane of the driving vehicle;S5,对驾驶车辆正前方的车辆,判断该车辆的类别和像素点数,通过判断的类别与距离的关系,得到该车辆与驾驶车辆的距离。S5, for the vehicle directly in front of the driving vehicle, judge the category and number of pixels of the vehicle, and obtain the distance between the vehicle and the driving vehicle through the relationship between the determined category and the distance.
- 根据权利要求1所述的车辆距离探测方法,其特征在于,利用深度学习算法YOLOv4进行车辆检测的具体过程为:采集包含小车、客车、货车三类待检测目标的数据集,对数据集中的数据进行详细标注,利用此数据集训练YOLOv4算法;首先利用卷积神经网络进行特征提取,随后利用梯度下降算法训练模型,最后利用NMS算法消除同一目标的重叠边界框,获得可以精确检测上述三类目标的检测模型。 The vehicle distance detection method according to claim 1, wherein the specific process of using the deep learning algorithm YOLOv4 for vehicle detection is: collecting data sets including three types of targets to be detected: cars, passenger cars, and trucks, and the data in the data set Make detailed annotations and use this data set to train the YOLOv4 algorithm; first use the convolutional neural network for feature extraction, then use the gradient descent algorithm to train the model, and finally use the NMS algorithm to eliminate overlapping bounding boxes of the same target, and obtain the above three types of targets that can be accurately detected detection model.
- 根据权利要求1所述的车辆距离探测方法,其特征在于,S3具体过程为:对小车、客车和货车三类分别多次采集距离与像素点数之间的对应数据,拟合出距离与像素点数之间的表达式。 The vehicle distance detection method according to claim 1, characterized in that, the specific process of S3 is: collecting the corresponding data between the distance and the number of pixels for three types of cars, passenger cars and trucks for multiple times, and fitting the distance and the number of pixels expressions between.
- 根据权利要求1所述的车辆距离探测方法,其特征在于,S4具体过程为:根据预测框中心点横坐标与整体图像中心点横坐标的差值最小原则来选取当前车道中存在的车辆并排除其他相邻车道的车辆。 The vehicle distance detection method according to claim 1, wherein the specific process of S4 is: according to the principle of minimum difference between the center point abscissa of the prediction frame and the center point abscissa of the overall image, the vehicles existing in the current lane are selected and excluded. other vehicles in adjacent lanes.
- 根据权利要求1所述的车辆距离探测方法,其特征在于,S5具体过程为:针对当前车道车辆,利用深度学习算法进行目标框生成,得到当前目标像素点数,另根据具体目标类别信息选择小车、客车或货车对应表达式推算当前距离。 The vehicle distance detection method according to claim 1, characterized in that, the specific process of S5 is: for the vehicle in the current lane, use the deep learning algorithm to generate the target frame, obtain the current target pixel points, and select the car according to the specific target category information, The expression corresponding to passenger car or truck calculates the current distance.
- 根据权利要求1所述的车辆距离探测方法,其特征在于,得到驾驶车辆与正前方车辆的距离后,若距离小于安全距离,则向驾驶员发出预警信息。 The vehicle distance detection method according to claim 1, characterized in that, after obtaining the distance between the driving vehicle and the vehicle in front, if the distance is less than a safe distance, an early warning message is sent to the driver.
- 根据权利要求6所述的车辆距离探测方法,其特征在于,确定车速与安全距离的相互关系,若距离小于当前车速下的最小安全距离,则向驾驶员发出预警信息。 The vehicle distance detection method according to claim 6, characterized in that the relationship between the vehicle speed and the safety distance is determined, and if the distance is smaller than the minimum safety distance at the current vehicle speed, an early warning message is sent to the driver.
- 一种车辆距离探测系统,其特征在于,包括以下过程: A vehicle distance detection system, characterized in that it comprises the following processes:图像获取模块,用于在驾驶车辆行驶过程中,获取驾驶车辆正前方图像;The image acquisition module is used to acquire the image directly in front of the driving vehicle during the driving process;车辆分类模块,用于对获取的图像利用深度学习算法YOLOv4进行车辆检测,根据车辆横截面的大小将所有车辆分为小车、客车和货车三类;The vehicle classification module is used to detect vehicles using the deep learning algorithm YOLOv4 on the acquired images, and classify all vehicles into three categories: car, passenger car and truck according to the size of the cross-section of the vehicle;距离与像素点数关系确定模块,用于确定小车、客车和货车三类分别对应的距离与像素点数的关系;The module for determining the relationship between the distance and the number of pixels is used to determine the relationship between the distance and the number of pixels corresponding to the three types of cars, passenger cars and trucks;目标筛选模块,用于选取驾驶车辆当前车道中正前方的车辆;The target screening module is used to select the vehicle directly ahead in the current lane of the driving vehicle;距离计算模块,用于对驾驶车辆正前方的车辆,判断该车辆的类别和像素点数,通过判断的类别与距离的关系,得到该车辆与驾驶车辆的距离。The distance calculation module is used for judging the category and number of pixels of the vehicle directly in front of the driving vehicle, and obtaining the distance between the vehicle and the driving vehicle through the relationship between the category and distance determined.
- 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任意一项所述车辆距离探测方法的步骤。 A computer device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, the computer program according to claims 1 to 1 is implemented. 7. The steps of any one of the vehicle distance detecting methods.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任意一项所述车辆距离探测方法的步骤。 A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, the vehicle distance detection method according to any one of claims 1 to 7 is realized step.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110939596.1A CN113657265B (en) | 2021-08-16 | 2021-08-16 | Vehicle distance detection method, system, equipment and medium |
CN202110939596.1 | 2021-08-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023020004A1 true WO2023020004A1 (en) | 2023-02-23 |
Family
ID=78491287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/089625 WO2023020004A1 (en) | 2021-08-16 | 2022-04-27 | Vehicle distance detection method and system, and device and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113657265B (en) |
WO (1) | WO2023020004A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117253380A (en) * | 2023-11-13 | 2023-12-19 | 国网天津市电力公司培训中心 | Intelligent campus security management system and method based on data fusion technology |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113657265B (en) * | 2021-08-16 | 2023-10-10 | 长安大学 | Vehicle distance detection method, system, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717445A (en) * | 2019-10-09 | 2020-01-21 | 清华大学 | Front vehicle distance tracking system and method for automatic driving |
CN111738032A (en) * | 2019-03-24 | 2020-10-02 | 初速度(苏州)科技有限公司 | Vehicle driving information determination method and device and vehicle-mounted terminal |
CN112906647A (en) * | 2021-03-24 | 2021-06-04 | 杭州鲁尔物联科技有限公司 | Method and device for monitoring load of small-span bridge, computer equipment and storage medium |
CN112991433A (en) * | 2021-04-26 | 2021-06-18 | 吉林大学 | Truck overall dimension measuring method based on binocular depth perception and vehicle position |
CN113657265A (en) * | 2021-08-16 | 2021-11-16 | 长安大学 | Vehicle distance detection method, system, device and medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6672077B2 (en) * | 2016-05-27 | 2020-03-25 | 株式会社東芝 | Traffic information estimation device and traffic information estimation method |
CN108875603B (en) * | 2018-05-31 | 2021-06-04 | 上海商汤智能科技有限公司 | Intelligent driving control method and device based on lane line and electronic equipment |
CN109829403B (en) * | 2019-01-22 | 2020-10-16 | 淮阴工学院 | Vehicle anti-collision early warning method and system based on deep learning |
CN111942282B (en) * | 2019-05-17 | 2022-09-06 | 比亚迪股份有限公司 | Vehicle and driving blind area early warning method, device and system thereof and storage medium |
CN111915883A (en) * | 2020-06-17 | 2020-11-10 | 西安交通大学 | Road traffic condition detection method based on vehicle-mounted camera shooting |
CN112365741B (en) * | 2020-10-23 | 2021-09-28 | 淮阴工学院 | Safety early warning method and system based on multilane vehicle distance detection |
-
2021
- 2021-08-16 CN CN202110939596.1A patent/CN113657265B/en active Active
-
2022
- 2022-04-27 WO PCT/CN2022/089625 patent/WO2023020004A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111738032A (en) * | 2019-03-24 | 2020-10-02 | 初速度(苏州)科技有限公司 | Vehicle driving information determination method and device and vehicle-mounted terminal |
CN110717445A (en) * | 2019-10-09 | 2020-01-21 | 清华大学 | Front vehicle distance tracking system and method for automatic driving |
CN112906647A (en) * | 2021-03-24 | 2021-06-04 | 杭州鲁尔物联科技有限公司 | Method and device for monitoring load of small-span bridge, computer equipment and storage medium |
CN112991433A (en) * | 2021-04-26 | 2021-06-18 | 吉林大学 | Truck overall dimension measuring method based on binocular depth perception and vehicle position |
CN113657265A (en) * | 2021-08-16 | 2021-11-16 | 长安大学 | Vehicle distance detection method, system, device and medium |
Non-Patent Citations (1)
Title |
---|
LIU ZHIQIANG, WANG PENG, QIN HONG-MAO, ZHONG JING-JING, SONG SHI-LIANG: "Study on Intelligent Vehicle Anti-collision Forewarning Technology Based on Multi-information Detection", CHINA SAFETY SCIENCE JOURNAL, vol. 20, no. 1, 31 January 2010 (2010-01-31), pages 153 - 158, XP093036361, ISSN: 1003-3033, DOI: 10.16265/j.cnki.issn1003-3033.2010.01.025 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117253380A (en) * | 2023-11-13 | 2023-12-19 | 国网天津市电力公司培训中心 | Intelligent campus security management system and method based on data fusion technology |
CN117253380B (en) * | 2023-11-13 | 2024-03-26 | 国网天津市电力公司培训中心 | Intelligent campus security management system and method based on data fusion technology |
Also Published As
Publication number | Publication date |
---|---|
CN113657265A (en) | 2021-11-16 |
CN113657265B (en) | 2023-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106240458B (en) | A kind of vehicular frontal impact method for early warning based on vehicle-mounted binocular camera | |
CN112389448B (en) | Abnormal driving behavior identification method based on vehicle state and driver state | |
CN112700470B (en) | Target detection and track extraction method based on traffic video stream | |
CN109190523B (en) | Vehicle detection tracking early warning method based on vision | |
WO2023020004A1 (en) | Vehicle distance detection method and system, and device and medium | |
EP2815383B1 (en) | Time to collision using a camera | |
CN112349144B (en) | Monocular vision-based vehicle collision early warning method and system | |
CN104260723B (en) | A kind of front vehicle motion state tracking prediction meanss and Forecasting Methodology | |
CN105512623A (en) | Foggy-day driving visual enhancement and visibility early warning system and method based on multiple sensors | |
CN113744563B (en) | Road-vehicle risk real-time estimation method based on track data | |
CN113487874B (en) | System and method for collecting, identifying and classifying following behavior scene data | |
CN101131321A (en) | Real-time safe interval measurement method and device used for vehicle anti-collision warning | |
CN105844222A (en) | System and method for front vehicle collision early warning based on visual sense | |
CN110682907B (en) | Automobile rear-end collision prevention control system and method | |
CN103927548A (en) | Novel vehicle collision avoiding brake behavior detection method | |
CN112365706B (en) | Abnormal vehicle distance identification method based on multi-source information | |
CN109858456A (en) | A kind of rolling stock status fault analysis system | |
CN112489383A (en) | Early warning system and method for preventing red light running accident based on machine vision | |
CN104867332B (en) | Based on the detection method every driving vehicle in the front lane line of frame difference method | |
CN205788764U (en) | The automatic evidence-collecting device of steering indicating light is not opened in a kind of vehicle modified line | |
CN116030662B (en) | Intelligent safety detection system and method based on big data | |
CN116630891A (en) | Traffic abnormal event detection system and method | |
CN106355152A (en) | Method and system for identifying current road vehicles as well as car video recorder | |
CN109895694B (en) | Lane departure early warning method and device and vehicle | |
CN112990117B (en) | Installation data processing method and device based on intelligent driving system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |