CN110147748A - A kind of mobile robot obstacle recognition method based on road-edge detection - Google Patents

A kind of mobile robot obstacle recognition method based on road-edge detection Download PDF

Info

Publication number
CN110147748A
CN110147748A CN201910390236.3A CN201910390236A CN110147748A CN 110147748 A CN110147748 A CN 110147748A CN 201910390236 A CN201910390236 A CN 201910390236A CN 110147748 A CN110147748 A CN 110147748A
Authority
CN
China
Prior art keywords
road
detection
mobile robot
edge detection
edge
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.)
Granted
Application number
CN201910390236.3A
Other languages
Chinese (zh)
Other versions
CN110147748B (en
Inventor
许德章
王毅恒
汪步云
汪志红
许曙
王智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Polytechnic University
Original Assignee
Anhui Polytechnic University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Anhui Polytechnic University filed Critical Anhui Polytechnic University
Priority to CN201910390236.3A priority Critical patent/CN110147748B/en
Publication of CN110147748A publication Critical patent/CN110147748A/en
Application granted granted Critical
Publication of CN110147748B publication Critical patent/CN110147748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to artificial intelligence field, specifically a kind of mobile robot obstacle recognition method based on road-edge detection, the specific steps of which are as follows: S1: obtaining boundary line;S2: edge detection;S3: target detection;S4: coordinate value;S5: road barrier domain of the existence calculates;S6: road barrier domain of the existence judgement;There is object in front of the mobile robot that can only be detected compared to traditional obstacle recognition, and for having intersection that can not accurately identify, barrier domain of the existence Ω is found using road-edge detection algorithm, target detection is carried out to the object in image using deep learning network frame, through the invention can be more accurate identify the barrier detected in target in the realtime graphic, intelligence degree is high.

Description

一种基于道路边缘检测的移动机器人障碍物识别方法An obstacle recognition method for mobile robots based on road edge detection

技术领域technical field

本发明涉及人工智能领域,具体是一种基于道路边缘检测的移动机器人障碍物识别方法。The invention relates to the field of artificial intelligence, in particular to a mobile robot obstacle identification method based on road edge detection.

背景技术Background technique

移动机器人技术和行业近些年在快速地发展,移动机器人应用场景也越来越广泛,其研究和应用也已经从军事和工业领域扩展到了农业、家用、服务和安防类行业。在移动机器人研究领域,障碍物检测是一个重要方向。移动机器人在道路上运行时,所在道路方向上会存在障碍物。障碍物会阻碍移动机器人的前进,会与移动机器人发生碰撞等,造成移动机器人受损或者障碍物损坏,移动机器人只有不断避开障碍物才达到目的地。因此完成移动机器人行进中机器人障碍物检测是十分有必要的。Mobile robot technology and industry have been developing rapidly in recent years, and mobile robot application scenarios have become more and more extensive. Its research and application have also expanded from military and industrial fields to agriculture, household, service and security industries. In the field of mobile robot research, obstacle detection is an important direction. When the mobile robot runs on the road, there will be obstacles in the direction of the road. Obstacles will hinder the advancement of the mobile robot, collide with the mobile robot, etc., causing damage to the mobile robot or damage to the obstacles. The mobile robot can only reach its destination by continuously avoiding obstacles. Therefore, it is very necessary to complete the robot obstacle detection when the mobile robot is traveling.

目前存在基于激光雷达信息的机器人障碍物检测方法,激光雷达虽然对环境适应性好,但是激光雷达只能探测物体,不能对物体进行识别,因此无法与判断物体行为和种类,且多线程激光雷达价格较高。而对于障碍物的检测来说,超声波、毫米波雷达这些只能检测出障碍物距离。At present, there are robot obstacle detection methods based on lidar information. Although lidar has good adaptability to the environment, lidar can only detect objects and cannot identify objects, so it is impossible to judge the behavior and type of objects, and multi-threaded lidar Prices are higher. For the detection of obstacles, ultrasonic and millimeter-wave radars can only detect the distance of obstacles.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本发明提出一种基于道路边缘检测的移动机器人障碍物识别方法。In order to solve the above problems, the present invention proposes an obstacle identification method for a mobile robot based on road edge detection.

一种基于道路边缘检测的移动机器人障碍物识别方法,其具体步骤如下:A mobile robot obstacle recognition method based on road edge detection, the specific steps are as follows:

S1:获取边界线:移动机器人上安装的图像采集设备获取实时图像,包含实时图像上边界线lup和实时图像下边界线ldownS1: Obtain boundary line: the image acquisition device installed on the mobile robot obtains a real-time image, including the upper boundary line l up of the real-time image and the lower boundary line l down of the real-time image;

S2:边缘检测:通过边缘检测算法得到道路边缘线lroad,进而确定道路边缘线lroad的方程yl=Fl(x);S2: edge detection: obtain the road edge line l road through the edge detection algorithm, and then determine the equation y l =F l (x) of the road edge line l road ;

S3:目标检测:使用深度学习网络框架实时图像进行目标检测,得到各检测目标边界框及其表征函数:f=(x,y,w,h,c);S3: target detection: use the deep learning network framework to perform target detection on real-time images, and obtain the bounding box of each detection target and its characterization function: f=(x,y,w,h,c);

S4:坐标值:利用表征函数f可求得各检测目标边界框左下角和右下角的坐标值分别为(xL,yL)和(xR,yR);S4: Coordinate value: Using the characterization function f, the coordinate values of the lower left corner and the lower right corner of each detection target bounding box can be obtained as (x L , y L ) and (x R , y R ) respectively;

S5:道路障碍物存在区域计算:计算道路边缘线lroad与所述的实时图像上边界线lup和实时图像下边界线ldown围成道路障碍物存在区域Ω;S5: road obstacle existence area calculation: calculate the road edge line l road , the real-time image upper boundary line l up and the real-time image lower boundary line l down to enclose the road obstacle existence area Ω;

S6:道路障碍物存在区域判断:判断各检测目标边界框左下角和右下角的坐标值(xL,yL)和(xR,yR)是否包含于所述的道路障碍物存在区域Ω并完成障碍物识别。S6: Judgment of road obstacle existence area: judge whether the coordinate values (x L , y L ) and (x R , y R ) of the lower left corner and lower right corner of each detection target bounding box are included in the road obstacle existence area Ω And complete obstacle identification.

所述的步骤1的道路边缘线lroad的方程yl=Fl(xl),其中,Fl为分段函数:The equation y l =F l (x l ) of the road edge line l road in step 1, wherein F l is a piecewise function:

其中,yl和xl的单位均为px,所述的表征函数f=(x,y,w,h,c)中的x,y,w,h的单位均为px,所述的px为像素单位,所述的x是所述的检测目标边界框的左上角横坐标值,所述的y是所述的检测目标边界框的左上角纵坐标值,所述的w是所述的检测目标边界框的横向宽度,所述的h是所述的检测目标边界框的竖直高度,所述的c是所述的检测目标边界框的识别率。The units of y l and x l are both px, and the units of x, y, w, and h in the characterization function f=(x, y, w, h, c) are all px, and the px is a pixel unit, the x is the abscissa value of the upper left corner of the detection target bounding box, the y is the ordinate value of the upper left corner of the detection target bounding box, and the w is the The horizontal width of the detection target bounding box, the h is the vertical height of the detection target bounding box, and the c is the recognition rate of the detection target bounding box.

所述的步骤1的实时图像的尺寸大小为a*b,所述的a和b的单位为px,所述的a为所述的实时图像的长度,所述的b为所述的实时图像的高度,所述的道路边缘方程F=f(x,y)中x的取值范围为0≤x≤a,0≤x≤b。The size of the real-time image in the step 1 is a*b, the units of a and b are px, the a is the length of the real-time image, and the b is the real-time image. , the value range of x in the road edge equation F=f(x, y) is 0≤x≤a, 0≤x≤b.

所述的步骤2的边缘检测算法满足能实现道路边缘完整检测,所述的边缘检测算法的检测时间小于移动机器人的制动时间,所述的实时图像的目标检测时间小于移动机器人的制动时间。The edge detection algorithm of the step 2 satisfies that the complete detection of the road edge can be realized, the detection time of the edge detection algorithm is less than the braking time of the mobile robot, and the target detection time of the real-time image is less than the braking time of the mobile robot. .

所述的步骤4的各检测目标边界框表征函数f=(x,y,w,h,c)与各检测目标边界框上的(xL,yL)和(xR,yR)满足如下关系:Each detection target bounding box representation function f=(x, y, w, h, c) in the step 4 and (x L , y L ) and (x R , y R ) on each detection target bounding box satisfy The following relationship:

and

所述的步骤5的道路障碍物存在区域Ω是所述的实时图像中的二维点集,满足如下条件:The road obstacle existing area Ω in the step 5 is the two-dimensional point set in the real-time image, which satisfies the following conditions:

Ω={(x,y)q1≤x<q2,q3≤x<q4,…,qn-1≤x<qn,qn≤a;0≤y≤b}。Ω={(x,y)q 1 ≤x<q 2 , q 3 ≤x<q 4 ,...,q n-1 ≤x<q n ,q n ≤a; 0≤y≤b}.

所述的步骤6中若所述的(xL,yL)和所述的(xR,yR)均包含于所述的道路障碍物存在区域Ω,则判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x L , y L ) and the (x R , y R ) are both included in the road obstacle existing area Ω, then it is determined that the (x L , y R ) y L ) and the target object selected by the detection target bounding box to which the (x R , y R ) belongs is an obstacle;

所述的步骤6中若所述的(xL,yL)包含于所述的道路障碍物存在区域Ω,所述的(xR,yR)不包含于所述的道路障碍物存在区域Ω,则也判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x L , y L ) is included in the road obstacle existing area Ω, the (x R , y R ) is not included in the road obstacle existing area Ω, then it is also determined that the target object selected by the detection target bounding box to which the (x L , y L ) and the (x R , y R ) belong are obstacles;

所述的步骤6中若所述的(xR,yR)包含于所述的道路障碍物存在区域Ω,所述的(xL,yL)不包含于所述的道路障碍物存在区域Ω,则也判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x R , y R ) is included in the road obstacle existing area Ω, the (x L , y L ) is not included in the road obstacle existing area Ω, then it is also determined that the target object selected by the detection target bounding box to which the (x L , y L ) and the (x R , y R ) belong are obstacles;

所述的步骤6中若所述的(xL,yL)和所述的(xR,yR)均不包含于所述的道路障碍物存在区域Ω,则判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体不是障碍物。In the step 6, if both the (x L , y L ) and the (x R , y R ) are not included in the road obstacle existing area Ω, then it is determined that the (x L , y R ) , y L ) and the target object selected by the detection target bounding box to which the (x R , y R ) belongs is not an obstacle.

本发明的有益效果是:相比于传统的障碍物识别只能检测的移动机器人前方有物体,且有重合部分即无法精确识别而言,使用道路边缘检测算法找到障碍物存在区域Ω,利用深度学习网络框架对图像中的物体进行目标检测,通过本发明可以更加精确的识别出所述实时图像中检测目标中的障碍物,智能化程度高。The beneficial effects of the present invention are: compared with the traditional obstacle recognition that can only detect objects in front of the mobile robot, and there are overlapping parts that cannot be accurately recognized, the road edge detection algorithm is used to find the obstacle existing area Ω, and the depth is used to find the obstacle. The learning network framework performs target detection on the objects in the image, and the present invention can more accurately identify the obstacles in the detected target in the real-time image, and has a high degree of intelligence.

附图说明Description of drawings

下面结合附图和实施例对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

图1为本发明的实时图像示意图;Fig. 1 is the real-time image schematic diagram of the present invention;

图2为本发明的目标检测边界框示意图;2 is a schematic diagram of a target detection bounding box of the present invention;

图3为本发明的实时图像目标检测及道路边缘检测示意图;3 is a schematic diagram of real-time image target detection and road edge detection according to the present invention;

图4为本发明的道路障碍物存在区域Ω在实时图像中的分布示意图。FIG. 4 is a schematic diagram of the distribution of the road obstacle existing area Ω in the real-time image according to the present invention.

具体实施方式Detailed ways

为了使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,下面对本发明进一步阐述。In order to make it easy to understand the technical means, creative features, achieved goals and effects of the present invention, the present invention is further described below.

如图1至图4所示,一种基于道路边缘检测的移动机器人障碍物识别方法,如图1所示,将摄像头与笔记本电脑相连,将笔记本安装在移动机器人上,然后相机采集机器人前方的实时图像,选用训练好的深度学习神经网络框架的作为图像软件检测工具,在VS2015环境下运行,所述实时图像中包含实时图像上边界线lup和实时图像下边界线ldown,坐标原点O(0,0)在所述实时图像的左上角顶点处,其具体步骤如下:As shown in Figure 1 to Figure 4, an obstacle recognition method for mobile robots based on road edge detection. Real-time image, select the trained deep learning neural network framework as the image software detection tool, run under the VS2015 environment, the real-time image includes the real-time image upper boundary line l up and the real-time image lower boundary line l down , and the coordinate origin is 0 ( 0,0) at the top left corner of the real-time image, the specific steps are as follows:

S1:获取边界线:移动机器人上安装的图像采集设备,使用所述的图像采集设备获取移动机器人运动前方的场景实时图像,所述的实时图像中包含实时图像上边界线lup和实时图像下边界线ldownS1: Obtain the boundary line: the image acquisition device installed on the mobile robot, use the image acquisition device to obtain the real-time image of the scene in front of the mobile robot's movement, and the real-time image includes the real-time image upper boundary line l up and the real-time image lower side Boundary l down :

S2:边缘检测:对步骤1中所述的实时图像通过边缘检测算法,检测实时图像中的道路边缘,得到道路边缘线lroad,进而确定道路边缘线lroad的方程yl=Fl(x);S2: edge detection: detect the road edge in the real-time image through the edge detection algorithm in the real-time image described in step 1, obtain the road edge line l road , and then determine the equation of the road edge line l road y l =F l (x );

S3:目标检测:如图2所示,使用深度学习网络框架对步骤1中所述的实时图像进行目标检测,得到各检测目标边界框及其表征函数:f=(x,y,w,h,c),本实施例中各检测目标表征函数中的x,y,w,h四项值,从左到右依次为S3: Target detection: As shown in Figure 2, use the deep learning network framework to perform target detection on the real-time image described in step 1, and obtain the bounding box of each detection target and its characterization function: f=(x, y, w, h , c), in this embodiment, the four values of x, y, w, and h in the characterization function of each detection target are, from left to right,

S4:坐标值:利用步骤3中所述的表征函数f可求得各检测目标边界框左下角和右下角的坐标值分别为(xL,yL)和(xR,yR),如图3所示各检测目标边界框左下角和右下角的坐标值从左到右依次为:S4: Coordinate values: Using the characterization function f described in step 3, the coordinate values of the lower left corner and the lower right corner of each detection target bounding box can be obtained as (x L , y L ) and (x R , y R ), respectively, as shown in The coordinate values of the lower left corner and the lower right corner of each detection target bounding box shown in Figure 3 are from left to right:

S5:道路障碍物存在区域计算:计算步骤2中所述的道路边缘线lroad与所述的实时图像上边界线lup和实时图像下边界线ldown围成道路障碍物存在区域Ω,如图4所示本实施例中的lup和ldown满足如下方程:S5: Calculation of road obstacle existence area: Calculate the road edge line l road described in step 2, the real-time image upper boundary line l up and the real-time image lower boundary line l down to enclose the road obstacle existence area Ω, as shown in the figure 4 shows that l up and l down in this embodiment satisfy the following equations:

则本实施例中的道路障碍物存在区域Ω满足如下方程Then the road obstacle existing area Ω in this embodiment satisfies the following equation

S6:道路障碍物存在区域判断:判断步骤4中所述的各检测目标边界框左下角和右下角的坐标值(xL,yL)和(xR,yR)是否包含于所述的道路障碍物存在区域Ω并完成障碍物识别。S6: Judging the existence area of road obstacles: judging whether the coordinate values (x L , y L ) and (x R , y R ) of the lower left corner and the lower right corner of each detection target bounding box described in step 4 are included in the Road obstacles exist in the area Ω and complete obstacle identification.

判断所述各检测目标边界框左下角和右下角的坐标值(xL,yL)和(xR,yR)是否包含于所述道路障碍物存在区域,具体为:Determine whether the coordinate values (x L , y L ) and (x R , y R ) of the lower left corner and the lower right corner of each detection target bounding box are included in the road obstacle existence area, specifically:

a:对于编号1检测目标tree来说边界框左下角和右下角的坐标值(135,450),(230,450)带入步骤5中所述Ω的区域方程,判断两个坐标均不在道路障碍物存在区域,则判定编号1检测目标tree不是障碍物;a: For the detection target tree of No. 1, the coordinate values (135, 450) and (230, 450) of the lower left corner and the lower right corner of the bounding box are brought into the area equation of Ω described in step 5, and it is judged that neither of the two coordinates is in the area where road obstacles exist , then it is determined that the target tree detected by No. 1 is not an obstacle;

b:对于编号2检测目标tree来说边界框左下角和右下角的坐标值(360,199),(430,199)带入步骤5中所述的Ω的区域方程,判断两个坐标均不在道路障碍物存在区域,则判定编号2检测目标tree不是障碍物;b: For the detection target tree of No. 2, the coordinate values (360, 199) and (430, 199) of the lower left corner and lower right corner of the bounding box are brought into the area equation of Ω described in step 5, and it is judged that neither of the two coordinates exists in the road obstacle area, then it is determined that the target tree detected by No. 2 is not an obstacle;

c:对于编号3检测目标Person来说边界框左下角和右下角的坐标值(390,480),(470,480)带入步骤5中所述Ω的区域方程,判断两个坐标均在道路障碍物存在区域,则判定中编号3检测目标Person是障碍物;c: For the detection target Person No. 3, the coordinate values (390, 480) and (470, 480) of the lower left corner and lower right corner of the bounding box are brought into the area equation of Ω in step 5, and it is judged that both coordinates are in the area where road obstacles exist , then the number 3 detection target Person in the judgment is an obstacle;

d:对于编号4检测目标bicycle来说边界框左下角和右下角的坐标值(512,290),(605,290)带入步骤5中所述的Ω的区域方程,判断两个坐标均在道路障碍物存在区域,则判定中编号4检测目标bicycle是障碍物;d: For the detection target bicycle of No. 4, the coordinate values (512, 290) and (605, 290) of the lower left corner and the lower right corner of the bounding box are brought into the area equation of Ω described in step 5, and it is judged that both coordinates are in the existence of road obstacles area, the number 4 detection target bicycle in the judgment is an obstacle;

e:对于编号5检测目标bus来说边界框左下角和右下角的坐标值(590,180),(670,180)带入步骤5中所述的Ω的区域方程,判断两个坐标均在道路障碍物存在区域,则判定中编号5检测目标bus是障碍物;e: For the detection target bus of No. 5, the coordinate values (590, 180) and (670, 180) of the lower left corner and the lower right corner of the bounding box are brought into the area equation of Ω described in step 5, and it is judged that both coordinates are in the existence of road obstacles. area, then the number 5 detection target bus in the judgment is an obstacle;

f:对于编号6检测目标Person来说边界框左下角和右下角的坐标值(610,435),(685,435)带入步骤5中所述Ω的区域方程,判断两个坐标均在道路障碍物存在区域,则判定中编号6检测目标Person是障碍物。f: For the detection target Person No. 6, the coordinate values (610, 435) and (685, 435) of the lower left corner and the lower right corner of the bounding box are brought into the area equation of Ω in step 5, and it is judged that both coordinates are in the area where road obstacles exist , then it is determined that the detection target Person of No. 6 is an obstacle.

所述的步骤1的道路边缘线lroad的方程yl=Fl(xl),其中,Fl为分段函数:The equation y l =F l (x l ) of the road edge line l road in step 1, wherein F l is a piecewise function:

其中,yl和xl的单位均为px,所述的表征函数f=(x,y,w,h,c)中的x,y,w,h的单位均为px,所述的px为像素单位,所述的x是所述的检测目标边界框的左上角横坐标值,所述的y是所述的检测目标边界框的左上角纵坐标值,所述的w是所述的检测目标边界框的横向宽度,所述的h是所述的检测目标边界框的竖直高度,所述的c是所述的检测目标边界框的识别率。The units of y l and x l are both px, and the units of x, y, w, and h in the characterization function f=(x, y, w, h, c) are all px, and the px is a pixel unit, the x is the abscissa value of the upper left corner of the detection target bounding box, the y is the ordinate value of the upper left corner of the detection target bounding box, and the w is the The horizontal width of the detection target bounding box, the h is the vertical height of the detection target bounding box, and the c is the recognition rate of the detection target bounding box.

所述的道路边缘线lroad可以有多条,所述的道路边缘线lroad既可以是直线也可以是曲线。The road edge line l road may be multiple, and the road edge line l road may be either a straight line or a curved line.

相比于传统的障碍物识别只能检测的移动机器人前方有物体,且有重合部分即无法精确识别而言,使用道路边缘检测算法找到障碍物存在区域Ω,利用深度学习网络框架对图像中的物体进行目标检测,通过本发明可以更加精确的识别出所述实时图像中检测目标中的障碍物,智能化程度高。Compared with the traditional obstacle recognition that can only detect objects in front of the mobile robot, and there are overlapping parts, it cannot be accurately recognized. The road edge detection algorithm is used to find the obstacle existing area Ω, and the deep learning network framework is used to detect the objects in the image. The object is detected by the target, and the present invention can more accurately identify the obstacles in the detected target in the real-time image, and the degree of intelligence is high.

所述的步骤1的移动机器人上设有图像处理平台,所述的图像处理平台包括硬件部分和软件部分;图像采集设备为标定校准后的单目相机,所述的图像中的坐标值均是以像素px为单位的坐标值,坐标原点在所述的实时图像的左上角。The mobile robot in step 1 is provided with an image processing platform, and the image processing platform includes a hardware part and a software part; the image acquisition device is a calibrated monocular camera, and the coordinate values in the image are all The coordinate value in pixel px, the origin of the coordinate is the upper left corner of the real-time image.

所述的实时图像的尺寸大小为a*b,所述的a和b的单位为px,所述的a为所述的实时图像的长度,所述的b为所述的实时图像的高度,所述的道路边缘方程F=f(x,y)中x的取值范围为0≤x≤a,0≤x≤b。The size of the real-time image is a*b, the units of a and b are px, the a is the length of the real-time image, and the b is the height of the real-time image, The value range of x in the road edge equation F=f(x, y) is 0≤x≤a, 0≤x≤b.

所述的边缘检测算法满足能实现道路边缘完整检测,所述的边缘检测算法的检测时间小于移动机器人的制动时间,所述的实时图像的目标检测时间小于移动机器人的制动时间。The edge detection algorithm can achieve complete detection of road edges, the detection time of the edge detection algorithm is shorter than the braking time of the mobile robot, and the target detection time of the real-time image is shorter than the braking time of the mobile robot.

所述的步骤4的各检测目标边界框表征函数f=(x,y,w,h,c)与各检测目标边界框上的(xL,yL)和(xR,yR)满足如下关系:Each detection target bounding box representation function f=(x, y, w, h, c) in the step 4 and (x L , y L ) and (x R , y R ) on each detection target bounding box satisfy The following relationship:

and

所述的步骤5的道路障碍物存在区域Ω是所述的实时图像中的二维点集,满足如下条件:The road obstacle existing area Ω in the step 5 is the two-dimensional point set in the real-time image, which satisfies the following conditions:

Ω={(x,y)q1≤x<q2,q3≤x<q4,…,qn-1≤x<qn,qn≤a;0≤y≤b}。Ω={(x,y)q 1 ≤x<q 2 , q 3 ≤x<q 4 ,...,q n-1 ≤x<q n ,q n ≤a; 0≤y≤b}.

所述的通过边缘检测算法检测的实时图像和所述的使用深度学习网络框架进行目标检测的实时图像,为同一帧图像或者所述的使用深度学习网络框架进行目标检测的实时图像,同时也为所述的通过边缘检测算法检测后的实时图像。The real-time image detected by the edge detection algorithm and the real-time image using the deep learning network framework for target detection are the same frame image or the real-time image using the deep learning network framework for target detection. The real-time image detected by the edge detection algorithm.

所述的步骤6中若所述的(xL,yL)和所述的(xR,yR)均包含于所述的道路障碍物存在区域Ω,则判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x L , y L ) and the (x R , y R ) are both included in the road obstacle existing area Ω, then it is determined that the (x L , y R ) y L ) and the target object selected by the detection target bounding box to which the (x R , y R ) belongs is an obstacle;

所述的步骤6中若所述的(xL,yL)包含于所述的道路障碍物存在区域Ω,所述的(xR,yR)不包含于所述的道路障碍物存在区域Ω,则也判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x L , y L ) is included in the road obstacle existing area Ω, the (x R , y R ) is not included in the road obstacle existing area Ω, then it is also determined that the target object selected by the detection target bounding box to which the (x L , y L ) and the (x R , y R ) belong are obstacles;

所述的步骤6中若所述的(xR,yR)包含于所述的道路障碍物存在区域Ω,所述的(xL,yL)不包含于所述的道路障碍物存在区域Ω,则也判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体为障碍物;In the step 6, if the (x R , y R ) is included in the road obstacle existing area Ω, the (x L , y L ) is not included in the road obstacle existing area Ω, then it is also determined that the target object selected by the detection target bounding box to which the (x L , y L ) and the (x R , y R ) belong are obstacles;

所述的步骤6中若所述的(xL,yL)和所述的(xR,yR)均不包含于所述的道路障碍物存在区域Ω,则判定所述的(xL,yL)和所述的(xR,yR)所属于的所述的检测目标边界框选中的目标物体不是障碍物。In the step 6, if both the (x L , y L ) and the (x R , y R ) are not included in the road obstacle existing area Ω, then it is determined that the (x L , y R ) , y L ) and the target object selected by the detection target bounding box to which the (x R , y R ) belongs is not an obstacle.

以上显示和描述了本发明的基本原理、主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The foregoing has shown and described the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above-mentioned embodiments, and the above-mentioned embodiments and descriptions describe only the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention will also have various Such changes and improvements fall within the scope of the claimed invention. The claimed scope of the present invention is defined by the appended claims and their equivalents.

Claims (10)

1. a kind of mobile robot obstacle recognition method based on road-edge detection, it is characterised in that: its specific steps is such as Under:
S1: obtain boundary line: the image capture device installed in mobile robot obtains realtime graphic, includes realtime graphic top Boundary line lupWith the following boundary line l of realtime graphicdown
S2: road edge line l edge detection: is obtained by edge detection algorithmroad, and then determine road edge line lroadSide Journey yl=Fl(x);
S3: target detection: target detection is carried out using deep learning network frame realtime graphic, obtains each detection object boundary frame And its characterization function: f=(x, y, w, h, c);
S4: coordinate value: it is respectively using the coordinate value that characterization function f can acquire each detection object boundary frame lower left corner and the lower right corner (xL,yL) and (xR,yR);
S5: road barrier domain of the existence calculates: calculating road edge line lroadWith the realtime graphic upper border line lupWith The following boundary line l of realtime graphicdownSurround road barrier domain of the existence Ω;
S6: the judgement of road barrier domain of the existence: judge the coordinate value (x in each detection the object boundary frame lower left corner and the lower right cornerL, yL) and (xR,yR) whether be contained in the road barrier domain of the existence Ω and complete obstacle recognition.
2. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: the road edge line l of the step 1roadEquation yl=Fl(xl), wherein FlFor piecewise function:
Wherein, ylAnd xlUnit be px, the x in the characterization function f=(x, y, w, h, c), the unit of y, w, h is Px, the px are pixel unit, and the x is the upper left corner abscissa value of the detection object boundary frame, and the y is The upper left corner ordinate value of the detection object boundary frame, the w are the transverse widths of the detection object boundary frame, The h is the vertical height of the detection object boundary frame, and the c is the identification of the detection object boundary frame Rate.
3. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: the size of the realtime graphic of the step 1 is that the unit of a*b, a and b are px, and a is institute The length for the realtime graphic stated, the b are the height of the realtime graphic, the road edge equation F=f (x, y) The value range of middle x is 0≤x≤a, 0≤x≤b.
4. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: the edge detection algorithm satisfaction of the step 2 is able to achieve road edge and completely detects, the edge detection algorithm Detection time be less than the braking time of mobile robot, target detection time of the realtime graphic is less than mobile robot Braking time.
5. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: each detection object boundary frame characterization function f=(x, y, w, h, c) of the step 4 and each detection object boundary frame On (xL,yL) and (xR,yR) meet following relationship:
With
6. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: the road barrier domain of the existence Ω of the step 5 is the two-dimentional point set in the realtime graphic, is met as follows Condition:
Ω=(x, y) | q1≤ x < q2,q3≤ x < q4,…,qn-1≤ x < qn,qn≤a;0≤y≤b}.
7. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: if (x described in the step 6L,yL) and (xR,yR) it is both contained in the road barrier presence Region Ω then determines the (xL,yL) and (xR,yR) belonging to the mesh chosen of the detection object boundary frame Mark object is barrier.
8. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: if (x described in the step 6L,yL) it is contained in road barrier the domain of the existence the Ω, (xR, yR) be not included in the road barrier domain of the existence Ω, then also determine the (xL,yL) and (xR,yR) belonging to In the target object chosen of the detection object boundary frame be barrier.
9. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: if (x described in the step 6R,yR) it is contained in road barrier the domain of the existence the Ω, (xL, yL) be not included in the road barrier domain of the existence Ω, then also determine the (xL,yL) and (xR,yR) belonging to In the target object chosen of the detection object boundary frame be barrier.
10. a kind of mobile robot obstacle recognition method based on road-edge detection according to claim 1, special Sign is: if (x described in the step 6L,yL) and (xR,yR) be not included in the road barrier and deposit In region Ω, then (the x is determinedL,yL) and (xR,yR) belonging to the detection object boundary frame choose Target object is not barrier.
CN201910390236.3A 2019-05-10 2019-05-10 Mobile robot obstacle identification method based on road edge detection Active CN110147748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910390236.3A CN110147748B (en) 2019-05-10 2019-05-10 Mobile robot obstacle identification method based on road edge detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910390236.3A CN110147748B (en) 2019-05-10 2019-05-10 Mobile robot obstacle identification method based on road edge detection

Publications (2)

Publication Number Publication Date
CN110147748A true CN110147748A (en) 2019-08-20
CN110147748B CN110147748B (en) 2022-09-30

Family

ID=67595111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910390236.3A Active CN110147748B (en) 2019-05-10 2019-05-10 Mobile robot obstacle identification method based on road edge detection

Country Status (1)

Country Link
CN (1) CN110147748B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110696826A (en) * 2019-10-09 2020-01-17 北京百度网讯科技有限公司 Method and device for controlling a vehicle
CN110705492A (en) * 2019-10-10 2020-01-17 北京北特圣迪科技发展有限公司 Stage mobile robot obstacle target detection method
CN112307989A (en) * 2020-11-03 2021-02-02 广州海格通信集团股份有限公司 Method and device for identifying road surface object, computer equipment and storage medium
CN112486172A (en) * 2020-11-30 2021-03-12 深圳市普渡科技有限公司 Road edge detection method and robot

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024407A1 (en) * 2013-08-19 2015-02-26 国家电网公司 Power robot based binocular vision navigation system and method based on
CN109145756A (en) * 2018-07-24 2019-01-04 湖南万为智能机器人技术有限公司 Object detection method based on machine vision and deep learning

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024407A1 (en) * 2013-08-19 2015-02-26 国家电网公司 Power robot based binocular vision navigation system and method based on
CN109145756A (en) * 2018-07-24 2019-01-04 湖南万为智能机器人技术有限公司 Object detection method based on machine vision and deep learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张永博等: "激光点云在无人驾驶路径检测中的应用", 《测绘通报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110696826A (en) * 2019-10-09 2020-01-17 北京百度网讯科技有限公司 Method and device for controlling a vehicle
CN110696826B (en) * 2019-10-09 2022-04-01 北京百度网讯科技有限公司 Method and device for controlling a vehicle
CN110705492A (en) * 2019-10-10 2020-01-17 北京北特圣迪科技发展有限公司 Stage mobile robot obstacle target detection method
CN112307989A (en) * 2020-11-03 2021-02-02 广州海格通信集团股份有限公司 Method and device for identifying road surface object, computer equipment and storage medium
CN112307989B (en) * 2020-11-03 2024-05-03 广州海格通信集团股份有限公司 Road surface object identification method, device, computer equipment and storage medium
CN112486172A (en) * 2020-11-30 2021-03-12 深圳市普渡科技有限公司 Road edge detection method and robot

Also Published As

Publication number Publication date
CN110147748B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN110147748B (en) Mobile robot obstacle identification method based on road edge detection
CN107045629B (en) A multi-lane line detection method
Yuan et al. Robust lane detection for complicated road environment based on normal map
CN104408460B (en) A kind of lane detection and tracking detection method
Lan et al. Vehicle speed measurement based on gray constraint optical flow algorithm
CN104091348B (en) The multi-object tracking method of fusion marked feature and piecemeal template
WO2015010451A1 (en) Method for road detection from one image
CN113370977A (en) Intelligent vehicle forward collision early warning method and system based on vision
CN111563474A (en) Obstacle detection method and system based on vehicle-mounted fisheye lens under motion background
CN110379168B (en) A traffic vehicle information acquisition method based on Mask R-CNN
CN109886218B (en) SAR image ship target detection method based on superpixel statistic dissimilarity
CN106650640A (en) Negative obstacle detection method based on local structure feature of laser radar point cloud
CN104318258A (en) Time domain fuzzy and kalman filter-based lane detection method
CN109828267A (en) The Intelligent Mobile Robot detection of obstacles and distance measuring method of Case-based Reasoning segmentation and depth camera
CN104318266B (en) A kind of image intelligent analyzes and processes method for early warning
CN103206957B (en) The lane detection and tracking method of vehicular autonomous navigation
CN108171695A (en) A kind of express highway pavement detection method based on image procossing
CN106558051A (en) A kind of improved method for detecting road from single image
CN106525000A (en) A road marking line automatic extracting method based on laser scanning discrete point strength gradients
CN109001757A (en) A kind of parking space intelligent detection method based on 2D laser radar
CN102156977A (en) Vision-based road detection method
Huang et al. Robust lane marking detection under different road conditions
CN102289822A (en) Method for tracking moving target collaboratively by multiple cameras
CN105374037A (en) Checkerboard angular point automatic screening method of corner detection
CN108021849B (en) Pedestrian early warning method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant