CN102765365B - Pedestrian detection method and pedestrian anti-collision warning system based on machine vision - Google Patents
Pedestrian detection method and pedestrian anti-collision warning system based on machine vision Download PDFInfo
- Publication number
- CN102765365B CN102765365B CN201110116587.9A CN201110116587A CN102765365B CN 102765365 B CN102765365 B CN 102765365B CN 201110116587 A CN201110116587 A CN 201110116587A CN 102765365 B CN102765365 B CN 102765365B
- Authority
- CN
- China
- Prior art keywords
- pedestrian
- car
- image
- pedestrians
- collision
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 40
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims description 25
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000007781 pre-processing Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- SAZUGELZHZOXHB-UHFFFAOYSA-N acecarbromal Chemical compound CCC(Br)(CC)C(=O)NC(=O)NC(C)=O SAZUGELZHZOXHB-UHFFFAOYSA-N 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 abstract description 2
- 238000005286 illumination Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000006073 displacement reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000035484 reaction time Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005021 gait Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域 technical field
本发明有关一种行人检测方法及行人防撞预警系统,特别是指一种能准确判断行人位置以及发生危险事故可能性的基于机器视觉的行人检测方法及行人防撞预警系统。The invention relates to a pedestrian detection method and a pedestrian anti-collision early warning system, in particular to a machine vision-based pedestrian detection method and a pedestrian anti-collision early warning system that can accurately determine the position of pedestrians and the possibility of dangerous accidents.
背景技术 Background technique
行人检测及警报系统是指,通过某种传感器(如雷达和摄像机)的探测功能,获取行驶汽车前方的道路交通信息,包括相对移动和相对静止的行人或物体,然后再通过后台系统,对传感器获取的信号进行处理和分析,利用各种物理参数测量和计算机视觉识别等技术,实现行人的检测和跟踪,并且通过计算相对位移和距离,预测车辆和行人相撞的可能性。如果根据当前参数判断出有相撞的可能性,则通过报警系统输出报警信号,以提示驾驶员避免发生相撞的危险,达到保护行人安全的目的。Pedestrian detection and warning system means that through the detection function of certain sensors (such as radar and camera), the road traffic information in front of the driving car is obtained, including relatively moving and relatively stationary pedestrians or objects, and then through the background system, the sensor The acquired signals are processed and analyzed, and various physical parameter measurement and computer vision recognition technologies are used to realize the detection and tracking of pedestrians, and by calculating the relative displacement and distance, the possibility of collision between vehicles and pedestrians is predicted. If it is judged that there is a possibility of collision according to the current parameters, the alarm system will output an alarm signal to remind the driver to avoid the risk of collision and achieve the purpose of protecting pedestrian safety.
现有的行人检测系统一般包括两个模块:感兴趣区分割和目标识别。感兴趣区域分割的目的是从图像中提取可能包含行人的窗口区域作进一步验证,以避免穷尽搜索,提高系统的速度。目标识别是行人检测系统的核心,它对得到的感兴趣区域进行验证,以判断其中是否包含行人,它的性能决定了整个系统可以达到的检测精度和鲁棒性。目前,行人检测技术一般有以下几种方式:一,基于运动的方法;二,基于明确人体模型的方法;三,基于模板匹配的方法;四,基于统计分类的方法。以上几种方法的基本原理和优缺点分析分别如下:Existing pedestrian detection systems generally include two modules: ROI segmentation and object recognition. The purpose of ROI segmentation is to extract the window area that may contain pedestrians from the image for further verification, so as to avoid exhaustive search and improve the speed of the system. Target recognition is the core of the pedestrian detection system. It verifies the obtained region of interest to determine whether it contains pedestrians. Its performance determines the detection accuracy and robustness that the entire system can achieve. At present, pedestrian detection technology generally has the following methods: 1. methods based on motion; 2. methods based on explicit human models; 3. methods based on template matching; 4. methods based on statistical classification. The basic principles, advantages and disadvantages of the above methods are as follows:
基于运动的方法,其原理是通过分析行人步态的周期性来识别行人,其优点是受颜色、光照的影响较小,鲁棒性好,其缺点是只能识别运动行人,需要多帧,影响实时性;The principle of the motion-based method is to identify pedestrians by analyzing the periodicity of pedestrian gait. Its advantage is that it is less affected by color and light and has good robustness. The disadvantage is that it can only identify moving pedestrians and requires multiple frames. Affect real-time performance;
基于明确人体模型的方法,其原理是构造明确的人体参数模型来表示行人,其优点是具有明确的模型,方便处理姿态和遮挡问题,其缺点是建模和求解比较复杂;Based on the method of clear human body model, the principle is to construct a clear human body parameter model to represent pedestrians. Its advantage is that it has a clear model, which is convenient for dealing with posture and occlusion problems. Its disadvantage is that the modeling and solution are more complicated;
基于模板匹配的方法,其原理是通过模板表示行人,其优点是计算方法简单,系统开销小,其缺点是需要很多模板对付姿态问题,匹配比较耗时间;The method based on template matching, the principle is to represent pedestrians through templates, the advantage is that the calculation method is simple, the system overhead is small, the disadvantage is that many templates are needed to deal with the pose problem, and the matching is time-consuming;
基于统计分类的方法,其原理是通过分类器对行人进行识别,其优点是不需要人工设置大量参数、鲁棒性好,其缺点是需要大量的训练数据并且训练周期较长。The principle of the method based on statistical classification is to identify pedestrians through a classifier. Its advantage is that it does not need to manually set a large number of parameters and has good robustness. Its disadvantage is that it requires a large amount of training data and the training period is long.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种能提高行人检测准确性及准确判断发生危险事故可能性的基于机器视觉的行人检测方法及行人防撞预警系统。In view of this, the main purpose of the present invention is to provide a pedestrian detection method based on machine vision and a pedestrian anti-collision warning system that can improve the accuracy of pedestrian detection and accurately determine the possibility of dangerous accidents.
为达到上述目的,本发明提供一种基于机器视觉的行人检测方法,其包括有如下步骤:In order to achieve the above object, the present invention provides a pedestrian detection method based on machine vision, which includes the following steps:
(a)采集汽车前方图像,通过设置在汽车上的摄像机采集汽车前方实时图像,并将图像传输给图像处理模块对图像进行预处理;(a) collect the image in front of the car, collect the real-time image in front of the car through the camera installed on the car, and transmit the image to the image processing module to preprocess the image;
(b)在经过预处理的图像中对行人进行预定位,在图像中预定位行人区域;(b) Pre-locate the pedestrian in the pre-processed image, and pre-locate the pedestrian area in the image;
(c)对预定位的行人区域进行判断,去除误检区域,准确定位行人区域;(c) Judging the pre-positioned pedestrian area, removing false detection areas, and accurately locating the pedestrian area;
(d)测量行人与汽车之间的距离;(d) measuring the distance between pedestrians and cars;
(e)判断行人是否在危险区域,并对处于碰撞危险区域的行人进行报警。(e) Judging whether the pedestrian is in the dangerous area, and giving an alarm to the pedestrian in the collision dangerous area.
所述步骤(a)中对图像预处理包括根据数据库格式的要求,对图像进行去锯齿化操作和直方图均衡化操作。The image preprocessing in the step (a) includes anti-aliasing and histogram equalization on the image according to the requirements of the database format.
在所述步骤(b)中,根据特定场景下行人图像信息,预先训练适合此场景行人识别的HAAR特征分类器文件,在定位行人时根据预先训练的HAAR特征分类器定位行人区域。In said step (b), according to the image information of pedestrians in a specific scene, the HAAR feature classifier file suitable for pedestrian recognition in this scene is pre-trained, and the pedestrian area is located according to the pre-trained HAAR feature classifier when locating pedestrians.
在所述步骤(c)中,通过对预定位的行人区域进行HOG特征提取,根据已训练好的HOG特征分类器对提取的HOG特征进行判断,而准确定位行人区域。In the step (c), by performing HOG feature extraction on the pre-located pedestrian area, and judging the extracted HOG feature according to the trained HOG feature classifier, the pedestrian area is accurately located.
在所述步骤(d)中运用摄像机标定原理计算行人与汽车之间的距离。In the step (d), the distance between the pedestrian and the car is calculated using the principle of camera calibration.
在所述步骤(e)中,包括汽车直行与汽车处于拐弯两种情况,通过汽车速度与汽车横摆角速度估算汽车行驶路径,并结合行人与汽车之间的距离确定碰撞危险区域。In the step (e), including the two situations of the car going straight and the car turning, the car's driving path is estimated according to the car's speed and the car's yaw rate, and the collision risk area is determined in combination with the distance between the pedestrian and the car.
优选地,在所述步骤(c)与(d)之间还包括有步骤(c1),对检测的行人进行跟踪,将检测的前一帧图像的行人区域作扩大后作为当前帧图像的行人感兴趣区域,若未检测到行人,则返回所述步骤(a)。Preferably, a step (c1) is also included between the steps (c) and (d), tracking the detected pedestrian, and expanding the detected pedestrian area of the previous frame image as the pedestrian of the current frame image In the area of interest, if no pedestrian is detected, then return to the step (a).
优选地,在所述步骤(d)与步骤(e)之间包括有步骤(d1),预估行人行走路径,连续采集行人的几帧图像,计算行人的位置数据,采用函数拟合方法预估行人的行走路径,根据汽车行驶路径及行人与汽车之间的距离并结合行人行走路径确定碰撞危险区域。Preferably, a step (d1) is included between the step (d) and the step (e), which is to estimate the walking path of the pedestrian, continuously collect several frames of images of the pedestrian, calculate the position data of the pedestrian, and use a function fitting method to predict Estimate the walking path of the pedestrian, and determine the collision risk area according to the driving path of the car and the distance between the pedestrian and the car combined with the walking path of the pedestrian.
本发明还提供一种基于机器视觉的行人防撞预警系统,其包括有:The present invention also provides a pedestrian anti-collision warning system based on machine vision, which includes:
图像获取及预处理单元,其用于采集汽车前方的图像并对图像预处理;An image acquisition and preprocessing unit, which is used to collect images in front of the car and preprocess the images;
与所述图像获取单元连接的行人定位单元,该行人定位单元用于定位图像中行人的位置,所述行人定位单元根据预先训练的行人特征分类器对图像中行人区域进行预定位与准确定位;A pedestrian positioning unit connected to the image acquisition unit, the pedestrian positioning unit is used to locate the position of the pedestrian in the image, and the pedestrian positioning unit pre-positions and accurately locates the pedestrian area in the image according to the pre-trained pedestrian feature classifier;
与所述行人定位单元连接的行人测距单元,该行人测距单元基于图像中行人位置测量行人与汽车之间的距离,所述行人测距单元根据摄像机标定的方法计算行人位置;A pedestrian ranging unit connected to the pedestrian positioning unit, the pedestrian ranging unit measures the distance between the pedestrian and the car based on the position of the pedestrian in the image, and the pedestrian ranging unit calculates the position of the pedestrian according to the camera calibration method;
与所述行人测距单元连接的碰撞可能性分析单元,该碰撞可能性分析单元用于判断行人与汽车发生碰撞的可能性,该碰撞可能性分析单元采用区域划分,根据汽车行驶速度以及横摆角参数估算汽车的行驶路径,计算分析行人与汽车碰撞的可能性。A collision possibility analysis unit connected to the pedestrian distance measuring unit, the collision possibility analysis unit is used to judge the possibility of a collision between a pedestrian and a car, the collision possibility analysis unit adopts area division, according to the vehicle speed and yaw The angle parameter is used to estimate the driving path of the car, and the possibility of collision between the pedestrian and the car is calculated and analyzed.
优选地,本发明基于机器视觉的行人防撞预警系统还包括有与所述行人定位单元连接的行人行走路径单元,该行人行走路径单元采用动态物体跟踪预测的方法通过函数拟合预测行人行走的路径,根据汽车行驶速度以及横摆角参数估算汽车的行驶路径并结合行人路径计算分析碰撞的可能性。Preferably, the pedestrian collision avoidance warning system based on machine vision of the present invention also includes a pedestrian walking path unit connected to the pedestrian positioning unit, and the pedestrian walking path unit uses a dynamic object tracking prediction method to predict the pedestrian walking path through function fitting. Path, according to the vehicle speed and yaw angle parameters to estimate the car's driving path and combined with pedestrian path calculation to analyze the possibility of collision.
本发明通过采用行人分类器检测道路上的行人,模糊了行人之间的个体特征,减少了个体性差异对检测结果的影响,同时减少了光照对检测结果的影响,提高了行人的检测效率,进而通过防撞预警系统判断发生事故的可能性,给驾驶人员发出警示信号,提高了机动车道路行驶的安全性。The present invention detects pedestrians on the road by using a pedestrian classifier, which blurs the individual characteristics of pedestrians, reduces the influence of individual differences on detection results, reduces the influence of light on detection results, and improves the detection efficiency of pedestrians. Furthermore, the possibility of an accident is judged by the anti-collision warning system, and a warning signal is sent to the driver, which improves the safety of motor vehicles on the road.
附图说明 Description of drawings
图1为本发明基于机器视觉的行人检测方法步骤流程图;Fig. 1 is a flow chart of the steps of the pedestrian detection method based on machine vision in the present invention;
图2为本发明中的HAAR矩阵特征灰度值的计算原理图;Fig. 2 is the calculation schematic diagram of the HAAR matrix characteristic gray value in the present invention;
图3为本发明基于机器视觉的行人检测方法的实施例示意图一;Fig. 3 is a schematic diagram of an embodiment of the pedestrian detection method based on machine vision of the present invention;
图4为本发明基于机器视觉的行人检测方法的实施例示意图二;FIG. 4 is a second schematic diagram of an embodiment of the machine vision-based pedestrian detection method of the present invention;
图5为本发明基于机器视觉的行人防撞预警系统实施例一的结构原理图;Fig. 5 is the structural schematic diagram of Embodiment 1 of the pedestrian collision avoidance warning system based on machine vision of the present invention;
图6为本发明基于机器视觉的行人防撞预警系统实施例二的结构原理图。FIG. 6 is a structural principle diagram of Embodiment 2 of the machine vision-based pedestrian collision avoidance warning system of the present invention.
具体实施方式 Detailed ways
为便于对本发明的方法及系统有进一步的了解,现配合附图并举较佳实施例详细说明如下。In order to facilitate a further understanding of the method and system of the present invention, preferred embodiments are described in detail below in conjunction with the accompanying drawings.
本发明通过安装于汽车上方摄像机获取前方实时图像,根据预防行人碰撞要求在图像中提取感兴趣区域,然后对所提取的区域进行一系列的图像处理和运算,实现行人的检测,结合行人碰撞危险区判断是否发出警报。The present invention obtains the real-time front image by installing the camera on the top of the car, extracts the region of interest in the image according to the requirements of pedestrian collision prevention, and then performs a series of image processing and calculation on the extracted region to realize the detection of pedestrians and combine the risk of pedestrian collision The zone judges whether to issue an alarm.
如图1所示,本发明的实施包括以下步骤:As shown in Figure 1, implementation of the present invention comprises the following steps:
步骤一,采集汽车前方图像。通过设置在汽车上的摄像机(如红外CCD摄像机或CMOS摄像机)采集汽车前方实时图像,并对图像进行适当处理,例如根据数据格式的需要,将获取的图像转换成单通道灰度图像,以符合数据库格式的要求,对图像进行去锯齿化操作和直方图均衡化操作。Step 1, collect the image in front of the car. The real-time images in front of the car are collected by cameras installed on the car (such as infrared CCD cameras or CMOS cameras), and the images are properly processed, such as converting the acquired images into single-channel grayscale images according to the needs of the data format. According to the requirements of the database format, anti-aliasing operation and histogram equalization operation are performed on the image.
步骤二,在图像中对行人进行预定位。根据特定场景下行人图像信息,预先训练适合此场景行人识别的HAAR特征分类器文件,在定位行人时根据预先训练的HAAR特征分类器定位行人区域。Step 2, pre-locating pedestrians in the image. According to the pedestrian image information in a specific scene, pre-train the HAAR feature classifier file suitable for pedestrian recognition in this scene, and locate the pedestrian area according to the pre-trained HAAR feature classifier when locating pedestrians.
在步骤二中,其中,针对当前行人检测现状及项目条件,采用HAAR特征的办法,HAAR特征采用积分图来计算。灰度图像I的积分图S定义为:In the second step, according to the current status of pedestrian detection and project conditions, the HAAR feature method is used, and the HAAR feature is calculated using an integral map. The integral map S of the grayscale image I is defined as:
其中,(u,v)表示积分图坐标,I(x,y)表示原图像(x,y)点灰度值。Among them, (u, v) represents the coordinates of the integral map, and I(x, y) represents the gray value of the point (x, y) of the original image.
HAAR矩形特征灰度值的计算如图2所示,A1点的值表示区域A的灰度总和,简记为A;A2点的值为A+B;A3点的值为A+C;A4点的值为A+B+C+D。于是由A1,A2,A3,A4围成的矩形区域D的灰度总和可以表示为:A1+A4-A2-A3。借助于积分图像,计算矩形模板的灰度特征时同矩形大小无关。The calculation of the gray value of the HAAR rectangular feature is shown in Figure 2. The value of point A1 represents the sum of the gray values of area A, which is abbreviated as A; the value of point A2 is A+B; the value of point A3 is A+C; The value of the point is A+B+C+D. Therefore, the sum of the gray levels of the rectangular area D surrounded by A1, A2, A3, and A4 can be expressed as: A1+A4-A2-A3. With the help of the integral image, the gray-level features of the rectangular template are calculated independently of the size of the rectangle.
步骤三,对预定位的行人区域进行判断。在步骤二中提取的行人区域有较多的误检,通过对这些区域进行HOG特征提取,根据已训练好的HOG特征分类器对提取的HOG特征进行判断,去除误检区域,从而准确定位行人区域。Step 3, judging the pre-positioned pedestrian area. There are many false detections in the pedestrian areas extracted in step 2. By extracting HOG features from these areas, the extracted HOG features are judged according to the trained HOG feature classifier, and the false detection areas are removed, so as to accurately locate pedestrians. area.
步骤四,对检测的行人进行跟踪。在步骤四准确定位出行人区域后,对行人进行跟踪可以大大提升系统的实时性,例如将检测的前一帧图像的行人区域作适当扩大后作为该帧图像的行人感兴趣区域。若未检测到行人,则返回步骤一。Step 4, track the detected pedestrians. After accurately locating the pedestrian area in step 4, tracking pedestrians can greatly improve the real-time performance of the system, for example, appropriately expanding the detected pedestrian area of the previous frame image as the pedestrian area of interest in this frame image. If no pedestrian is detected, return to step 1.
步骤五,测量行人与汽车之间的距离。本发明根据行人在图像中的位置,运用摄像机标定原理计算行人与汽车之间的距离。公式为:Step five, measure the distance between the pedestrian and the car. According to the position of the pedestrian in the image, the invention uses the principle of camera calibration to calculate the distance between the pedestrian and the car. The formula is:
d是汽车与人的距离,h是摄像机与地面距离,Δu为行人位置与地平面消失点的像素差,f为摄像机像素焦距(即透镜的物理焦距与成像仪每个单位尺寸的乘积)。d is the distance between the car and the person, h is the distance between the camera and the ground, Δu is the pixel difference between the pedestrian’s position and the vanishing point on the ground plane, and f is the pixel focal length of the camera (that is, the product of the physical focal length of the lens and each unit size of the imager).
其中摄像机标定方法原理,即采用世界坐标投影到图像坐标的方法,设世界中点Q(X,Y,Z)其投影到图像坐标(x,y),则:Among them, the principle of the camera calibration method is to use the method of projecting the world coordinates to the image coordinates. If the world midpoint Q (X, Y, Z) is projected to the image coordinates (x, y), then:
其中(cx,cy)为地面消失点;fx,fy是像素焦距。Where (c x , cy ) is the ground vanishing point; f x , f y is the pixel focal length.
因此,当用标定方法计算出摄像机地面消失点,像素焦距,即可算出投影到图像的世界中某点与摄像机的水平距离。Therefore, when the ground vanishing point of the camera and the pixel focal length are calculated by the calibration method, the horizontal distance between a point in the projected image world and the camera can be calculated.
步骤六,预估行人行走路径。本发明连续采集行人的几帧图像,计算行人的位置数据,采用函数拟合方法预估行人以后的运动方向,即得出行人的行走路径。Step 6: Estimate the walking path of pedestrians. The invention continuously collects several frames of images of pedestrians, calculates the position data of pedestrians, uses a function fitting method to estimate the future movement direction of pedestrians, and obtains the walking path of pedestrians.
步骤七,判断行人是否在危险区域,并对处于碰撞危险区域的行人进行报警。由于人踩刹车有一定反映时间,设这段时间为t1;踩刹车后汽车有一定反应时间才能停下来,设这段时间设为t2,则踩刹车到汽车停下来总时间为t,则:Step 7, judging whether the pedestrian is in the danger zone, and giving an alarm to the pedestrian in the collision danger zone. Since it takes a certain reaction time for people to step on the brakes, set this period of time as t1; after stepping on the brakes, the car has a certain reaction time to stop, and set this period of time as t2, then the total time from stepping on the brakes to the stop of the car is t, then:
t=t1+t2t=t1+t2
进入危险区域分两种情况来说明。由步骤五可以得到行人与汽车的距离,设汽车速度为v,引入参数k(0<k≤1),参数k是为了留出一点空间以防汽车刹车后还是撞到人。There are two situations for entering the danger zone. From step five, the distance between the pedestrian and the car can be obtained. Set the speed of the car as v, and introduce the parameter k (0<k≤1). The parameter k is to leave a little space to prevent the car from hitting people after braking.
第一种情况是汽车直行,如图3所示,此时汽车刹车直到速度为零时,走过的位移为l,则:The first case is that the car goes straight, as shown in Figure 3, when the car brakes until the speed is zero, the displacement traveled is l, then:
l=vtl=vt
当l≥kd时,行人位于危险区域,此时汽车报警;当l<kd时,行人位于安全区域,此时汽车只是显示检测到行人。When l≥kd, the pedestrian is in the dangerous area, and the car alarms at this time; when l<kd, the pedestrian is in the safe area, and the car only shows that the pedestrian is detected.
第二种情况是汽车处于拐弯,如图4所示,此时汽车走过的轨迹为曲线MN,曲线MN之间的圆心角为Φ,因此汽车位移l,The second situation is that the car is turning, as shown in Figure 4. At this time, the track that the car has traveled is the curve MN, and the central angle between the curves MN is Φ, so the car displacement l,
当l≥kd时,行人位于危险区域,此时汽车报警;当l<kd时,行人位于安全区域,此时汽车只是显示检测到行人。When l≥kd, the pedestrian is in the dangerous area, and the car alarms at this time; when l<kd, the pedestrian is in the safe area, and the car only shows that the pedestrian is detected.
以上提到的车速v与转弯时摆角速度w,均可由车本身的ECU(ElectronicControl Unit,电子控制单元)及汽车内置摆角传感器实时测量并传送到数据处理端进行融合判断。The above-mentioned vehicle speed v and swing angular velocity w when turning can be measured in real time by the ECU (Electronic Control Unit) of the car itself and the built-in swing angle sensor of the car and sent to the data processing end for fusion and judgment.
如图5所示,本发明的基于机器视觉的行人防撞预警系统,其包括:图像获取及预处理单元,其用于采集汽车前方的图像,并对图像进行预处理;与图像获取单元连接的行人定位单元,该行人定位单元用于基于行人特征定位图像中行人的位置,所述行人定位单元根据预先训练的行人特征分类器(如HAAR特征分类器与HOG特征分类器)分别对图像中行人区域进行预定位与准确定位;与行人定位单元连接的行人测距单元,该行人测距单元基于图像中行人位置定位行人相对于汽车的位置,即测量行人与汽车之间的距离,所述行人测距单元根据摄像机标定的方法计算行人位置;与行人测距单元连接的碰撞可能性分析单元,该碰撞可能性分析单元用于判断行人与汽车发生碰撞的可能性,该碰撞可能性分析单元采用区域划分,根据汽车行驶速度以及横摆角等参数估算汽车的行驶路径,计算分析行人与汽车碰撞的可能性。如图6所示,本发明基于机器视觉的行人防撞预警系统还可以包括有与行人定位单元连接的行人行走路径单元,该行人行走路径单元采用动态物体跟踪预测的方法通过函数拟合预测行人行走的路径,根据汽车行驶速度以及横摆角等参数估算汽车的行驶路径并结合行人路径计算分析碰撞的可能性。As shown in Figure 5, the pedestrian collision avoidance warning system based on machine vision of the present invention includes: an image acquisition and preprocessing unit, which is used to collect the image in front of the car, and preprocesses the image; it is connected with the image acquisition unit The pedestrian positioning unit, the pedestrian positioning unit is used to locate the position of pedestrians in the image based on the pedestrian feature, and the pedestrian positioning unit is based on the pre-trained pedestrian feature classifier (such as HAAR feature classifier and HOG feature classifier) respectively in the image The pedestrian area is pre-located and accurately positioned; the pedestrian ranging unit connected to the pedestrian positioning unit, the pedestrian ranging unit locates the position of the pedestrian relative to the car based on the position of the pedestrian in the image, that is, measures the distance between the pedestrian and the car, the said The pedestrian ranging unit calculates the pedestrian position according to the method of camera calibration; the collision possibility analysis unit connected with the pedestrian ranging unit is used to judge the possibility of collision between the pedestrian and the car, and the collision possibility analysis unit Using regional division, the car's driving path is estimated according to the car's driving speed and yaw angle parameters, and the possibility of collision between pedestrians and cars is calculated and analyzed. As shown in Figure 6, the pedestrian collision avoidance warning system based on machine vision of the present invention can also include a pedestrian walking path unit connected to the pedestrian positioning unit, and the pedestrian walking path unit uses a dynamic object tracking prediction method to predict pedestrians through function fitting. Walking path, according to the vehicle speed and yaw angle and other parameters to estimate the car's driving path and combined with pedestrian path calculation to analyze the possibility of collision.
其中,所述行人定位单元包括:用于行人检测的预先训练的HAAR特征分类器与HOG特征分类器,对图像中行人首次出现的区域进行划分,这样只对该区域进行检测,检测到后运用跟踪算法跟踪目标,减少行人检测时的计算量,提高系统的运行速度。Wherein, the pedestrian positioning unit includes: a pre-trained HAAR feature classifier and a HOG feature classifier for pedestrian detection, which divides the area where pedestrians appear for the first time in the image, so that only this area is detected, and after detection, use The tracking algorithm tracks the target, reduces the amount of calculation when detecting pedestrians, and improves the operating speed of the system.
利用行人行走路径单元与碰撞可能性分析单元,根据行人在前几帧图像中的位置估算行人的运动路径,与汽车行进路径进行比较,分析行人与汽车相撞的可能性。Using the pedestrian walking path unit and the collision possibility analysis unit, the pedestrian's movement path is estimated according to the position of the pedestrian in the previous few frames of images, and compared with the vehicle's travel path, the possibility of collision between the pedestrian and the car is analyzed.
本发明通过采用行人分类器检测道路上的行人,模糊了行人之间的个体特征,减少了个体性差异对检测结果的影响,同时减少了光照对检测结果的影响,提高了行人的检测效率,进而通过防撞预警系统判断发生事故的可能性,给驾驶人员发出警示信号,提高了机动车道路行驶的安全性。The present invention detects pedestrians on the road by using a pedestrian classifier, which blurs the individual characteristics of pedestrians, reduces the influence of individual differences on detection results, reduces the influence of light on detection results, and improves the detection efficiency of pedestrians. Furthermore, the possibility of an accident is judged by the anti-collision warning system, and a warning signal is sent to the driver, which improves the safety of motor vehicles on the road.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110116587.9A CN102765365B (en) | 2011-05-06 | 2011-05-06 | Pedestrian detection method and pedestrian anti-collision warning system based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110116587.9A CN102765365B (en) | 2011-05-06 | 2011-05-06 | Pedestrian detection method and pedestrian anti-collision warning system based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102765365A CN102765365A (en) | 2012-11-07 |
CN102765365B true CN102765365B (en) | 2014-07-30 |
Family
ID=47093013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110116587.9A Active CN102765365B (en) | 2011-05-06 | 2011-05-06 | Pedestrian detection method and pedestrian anti-collision warning system based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102765365B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106574968A (en) * | 2014-10-24 | 2017-04-19 | 哈曼国际工业有限公司 | Pedestrian detection |
CN107220581A (en) * | 2016-03-21 | 2017-09-29 | 福特全球技术公司 | Pass through the pedestrian detection and motion prediction of rearmounted video camera |
Families Citing this family (51)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102975659A (en) * | 2012-11-14 | 2013-03-20 | 沈阳理工大学 | Automobile night driving pre-warning system and method based on far infrared image |
CN103093214B (en) * | 2013-02-01 | 2015-08-19 | 浙江捷尚视觉科技股份有限公司 | A kind of pedestrian detection method based on vehicle mounted infrared camera |
DE102013207223A1 (en) * | 2013-04-22 | 2014-10-23 | Ford Global Technologies, Llc | Method for detecting non-motorized road users |
JP5729416B2 (en) * | 2013-04-26 | 2015-06-03 | 株式会社デンソー | Collision determination device and collision mitigation device |
CN103279741B (en) * | 2013-05-20 | 2016-07-06 | 大连理工大学 | A kind of pedestrian's early warning system based on vehicle mounted infrared image and method of work thereof |
DE102014201382A1 (en) * | 2014-01-27 | 2015-07-30 | Robert Bosch Gmbh | Method for operating a driver assistance system and driver assistance system |
CN104200689A (en) * | 2014-08-28 | 2014-12-10 | 长城汽车股份有限公司 | Road early warning method and device |
CN104210489B (en) * | 2014-09-16 | 2017-06-13 | 武汉理工大学 | Vehicle and pedestrian impact bypassing method and system under bus or train route cooperative surroundings |
US10046715B2 (en) * | 2014-10-22 | 2018-08-14 | GM Global Technology Operations LLC | Systems and methods for object detection |
CN104966064A (en) * | 2015-06-18 | 2015-10-07 | 奇瑞汽车股份有限公司 | Pedestrian ahead distance measurement method based on visual sense |
CN106548127B (en) * | 2015-09-18 | 2022-11-04 | 松下电器(美国)知识产权公司 | Image recognition method |
CN106652556A (en) * | 2015-10-28 | 2017-05-10 | 中国移动通信集团公司 | Human-vehicle anti-collision method and apparatus |
CN105235680A (en) * | 2015-11-13 | 2016-01-13 | 浪潮(北京)电子信息产业有限公司 | Pedestrian avoiding method and system based on cloud computing |
CN107180220B (en) * | 2016-03-11 | 2023-10-31 | 松下电器(美国)知识产权公司 | Hazard Prediction Methods |
CN106156725A (en) * | 2016-06-16 | 2016-11-23 | 江苏大学 | A kind of method of work of the identification early warning system of pedestrian based on vehicle front and cyclist |
US10150414B2 (en) * | 2016-07-08 | 2018-12-11 | Ford Global Technologies, Llc | Pedestrian detection when a vehicle is reversing |
CN108021849B (en) * | 2016-11-03 | 2022-04-05 | 杭州海康威视数字技术股份有限公司 | Pedestrian early warning method and device |
CN108437986B (en) * | 2017-02-16 | 2020-07-03 | 上海汽车集团股份有限公司 | Vehicle driving assistance system and assistance method |
CN106882182A (en) * | 2017-02-24 | 2017-06-23 | 江苏理工学院 | A kind of automobile intelligent obstacle avoidance system |
US10643084B2 (en) | 2017-04-18 | 2020-05-05 | nuTonomy Inc. | Automatically perceiving travel signals |
EP3612424A4 (en) * | 2017-04-18 | 2020-09-16 | Nutonomy Inc. | Automatically perceiving travel signals |
CN107025796A (en) * | 2017-04-28 | 2017-08-08 | 北京理工大学珠海学院 | Automobile assistant driving vision early warning system and its method for early warning |
US10144390B1 (en) | 2017-05-17 | 2018-12-04 | Deere & Company | Work vehicle start system and method with optical verification for authorizing remote start |
US10018171B1 (en) | 2017-05-17 | 2018-07-10 | Deere & Company | Work vehicle start system and method with virtual walk-around for authorizing remote start |
US10132259B1 (en) | 2017-05-17 | 2018-11-20 | Deere & Company | Work vehicle start system and method with engine cycling |
CN109421598A (en) * | 2017-07-05 | 2019-03-05 | 杭州海康威视数字技术股份有限公司 | A kind of vehicle DAS (Driver Assistant System), vehicle early warning method and device |
CN107886043B (en) * | 2017-07-20 | 2022-04-01 | 吉林大学 | Vision-aware anti-collision early warning system and method for forward-looking vehicles and pedestrians of automobile |
CN107591026B (en) * | 2017-09-11 | 2021-04-02 | 苏州莱孚斯特电子科技有限公司 | Pedestrian detection and early warning method |
CN107657237B (en) * | 2017-09-28 | 2020-03-31 | 东南大学 | Automobile collision detection method and system based on deep learning |
JP7100998B2 (en) * | 2018-03-08 | 2022-07-14 | 本田技研工業株式会社 | Vehicle controls, vehicle control methods, and programs |
CN108417089A (en) * | 2018-03-14 | 2018-08-17 | 杭州分数科技有限公司 | Traffic safety method for early warning, apparatus and system |
CN108415018A (en) * | 2018-03-27 | 2018-08-17 | 哈尔滨理工大学 | A kind of target Analysis of Existence method based on millimetre-wave radar detection |
CN108549880B (en) | 2018-04-28 | 2021-06-25 | 深圳市商汤科技有限公司 | Collision control method and device, electronic equipment and storage medium |
CN108674413B (en) * | 2018-05-18 | 2021-02-19 | 广州小鹏汽车科技有限公司 | Vehicle and pedestrian collision prevention method and system |
CN108960199A (en) * | 2018-07-27 | 2018-12-07 | 北京工业大学 | Target pedestrian detection method, device and electronic equipment |
CN108985271B (en) * | 2018-08-16 | 2021-10-08 | 大连民族大学 | A Pedestrian Determination Method Based on Magnetic Model |
CN108961838B (en) * | 2018-08-16 | 2020-09-22 | 大连民族大学 | Road pedestrian classification system |
CN108909708B (en) * | 2018-08-16 | 2019-12-13 | 大连民族大学 | Method and system for judging road pedestrian repulsive force relationship |
CN109147389B (en) * | 2018-08-16 | 2020-10-09 | 大连民族大学 | A method of planning a route for an autonomous vehicle or an assisted driving system |
CN109334563B (en) * | 2018-08-31 | 2021-06-22 | 江苏大学 | Anti-collision early warning method based on pedestrians and riders in front of road |
WO2020160144A1 (en) | 2019-01-29 | 2020-08-06 | Aptiv Technologies Limited | Traffic light estimation |
CN109919067A (en) * | 2019-02-27 | 2019-06-21 | 智慧海派科技有限公司 | A kind of image recognition method and safe automatic Pilot method |
CN110070695A (en) * | 2019-04-24 | 2019-07-30 | 河南书网教育科技股份有限公司 | A kind of method for early warning, device, server and communication system |
KR20200140979A (en) * | 2019-06-07 | 2020-12-17 | 주식회사 만도 | Method, Apparatus for controlling vehicle, and system including it |
CN112277868B (en) * | 2019-07-26 | 2022-07-12 | 浙江吉利汽车研究院有限公司 | Pedestrian protection system and method |
CN110456320B (en) * | 2019-07-29 | 2021-08-03 | 浙江大学 | A UWB Radar Identity Recognition Method Based on Free Space Gait Time Series Features |
CN112926404B (en) * | 2021-01-29 | 2022-06-24 | 吉林大学 | Active interactive human-vehicle passing system and method |
CN113851017A (en) * | 2021-08-19 | 2021-12-28 | 复旦大学 | Pedestrian and vehicle identification and early warning multifunctional system based on road side RSU |
CN113869126A (en) * | 2021-08-30 | 2021-12-31 | 浙江大华技术股份有限公司 | Evaluation method, early warning device, electronic device, and readable storage medium |
CN114627651B (en) * | 2022-02-23 | 2023-07-25 | 深圳市锐明技术股份有限公司 | Pedestrian protection early warning method and device, electronic equipment and readable storage medium |
CN115056770A (en) * | 2022-06-30 | 2022-09-16 | 江苏徐工工程机械研究院有限公司 | Personnel safety protection method and system in unmanned system of surface mine |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001354089A (en) * | 2000-06-12 | 2001-12-25 | Toyota Motor Corp | Vehicle collision prediction device and collision prevention device |
CN1928494A (en) * | 2005-09-07 | 2007-03-14 | 株式会社日立制作所 | Driving support apparatus |
CN101458078A (en) * | 2007-12-10 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Automobile anti-collision system and method |
CN101519981A (en) * | 2009-03-19 | 2009-09-02 | 重庆大学 | Mine locomotive anti-collision early warning system based on monocular vision and early warning method thereof |
CN101585361A (en) * | 2009-05-25 | 2009-11-25 | 郭文艺 | Control device for preventing automobile from colliding and deviating roadway |
JP2010173619A (en) * | 2009-02-02 | 2010-08-12 | Denso Corp | Head-up display device |
KR20100113371A (en) * | 2009-04-13 | 2010-10-21 | 주식회사 만도 | Method and apparatus for guarding pedestrian using far-infra-red stereo camera |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10283593A (en) * | 1997-04-04 | 1998-10-23 | Fuji Heavy Ind Ltd | Vehicle collision preventing device |
JP4579191B2 (en) * | 2006-06-05 | 2010-11-10 | 本田技研工業株式会社 | Collision avoidance system, program and method for moving object |
US20090292468A1 (en) * | 2008-03-25 | 2009-11-26 | Shunguang Wu | Collision avoidance method and system using stereo vision and radar sensor fusion |
-
2011
- 2011-05-06 CN CN201110116587.9A patent/CN102765365B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001354089A (en) * | 2000-06-12 | 2001-12-25 | Toyota Motor Corp | Vehicle collision prediction device and collision prevention device |
CN1928494A (en) * | 2005-09-07 | 2007-03-14 | 株式会社日立制作所 | Driving support apparatus |
CN101458078A (en) * | 2007-12-10 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Automobile anti-collision system and method |
JP2010173619A (en) * | 2009-02-02 | 2010-08-12 | Denso Corp | Head-up display device |
CN101519981A (en) * | 2009-03-19 | 2009-09-02 | 重庆大学 | Mine locomotive anti-collision early warning system based on monocular vision and early warning method thereof |
KR20100113371A (en) * | 2009-04-13 | 2010-10-21 | 주식회사 만도 | Method and apparatus for guarding pedestrian using far-infra-red stereo camera |
CN101585361A (en) * | 2009-05-25 | 2009-11-25 | 郭文艺 | Control device for preventing automobile from colliding and deviating roadway |
Non-Patent Citations (1)
Title |
---|
JP特开平10-283593A 1998.10.23 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106574968A (en) * | 2014-10-24 | 2017-04-19 | 哈曼国际工业有限公司 | Pedestrian detection |
CN106574968B (en) * | 2014-10-24 | 2020-07-24 | 哈曼国际工业有限公司 | pedestrian detection |
CN107220581A (en) * | 2016-03-21 | 2017-09-29 | 福特全球技术公司 | Pass through the pedestrian detection and motion prediction of rearmounted video camera |
CN107220581B (en) * | 2016-03-21 | 2022-04-29 | 福特全球技术公司 | Pedestrian detection and motion prediction by a rear camera |
Also Published As
Publication number | Publication date |
---|---|
CN102765365A (en) | 2012-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102765365B (en) | Pedestrian detection method and pedestrian anti-collision warning system based on machine vision | |
CN107609522B (en) | An information fusion vehicle detection system based on lidar and machine vision | |
CN106485233B (en) | Method and device for detecting travelable area and electronic equipment | |
US9811745B2 (en) | Approaching-object detection system and vehicle | |
JP5591779B2 (en) | Road use vulnerable person protection system | |
Low et al. | Simple robust road lane detection algorithm | |
CN106156725A (en) | A kind of method of work of the identification early warning system of pedestrian based on vehicle front and cyclist | |
CN102768726B (en) | Pedestrian detection method for preventing pedestrian collision | |
CN102096803A (en) | Safe state recognition system for people on basis of machine vision | |
US9704047B2 (en) | Moving object recognition apparatus | |
JP5774770B2 (en) | Vehicle periphery monitoring device | |
WO2016129403A1 (en) | Object detection device | |
US20120147188A1 (en) | Vehicle vicinity monitoring apparatus | |
US20050232463A1 (en) | Method and apparatus for detecting a presence prior to collision | |
CN106096525A (en) | A kind of compound lane recognition system and method | |
CN101131321A (en) | A method and device for real-time measurement of safe vehicle distance for vehicle collision avoidance warning | |
CN102542797A (en) | Image-based traffic parameter detection system and method and computer program product | |
US20140002658A1 (en) | Overtaking vehicle warning system and overtaking vehicle warning method | |
JP2004145660A (en) | Obstacle detection device | |
KR20150002038A (en) | Method of Real-Time Vehicle Recognition and Tracking Using Kalman Filter and Clustering Algorithm Based on Haar-like Feature and Adaboost | |
WO2005086079A1 (en) | Method and apparatus for differentiating pedestrians, vehicles, and other objects | |
JP4937844B2 (en) | Pedestrian detection device | |
KR20160065703A (en) | Method and system for detection of sudden pedestrian crossing for safe driving during night time | |
JP2012123642A (en) | Image identification apparatus and program | |
KR20130054637A (en) | Apparatus and method detecting object in automatic parking system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |