The invention provides an obstacle location method, device and terminal, which includes: acquiring the surrounding environment picture of the unmanned vehicle; inputting the surrounding environment picture into the obstacle recognition model to predict, and obtaining the position coordinates of the obstacle in the plane coordinate system of the surrounding environment picture; and transforming the position coordinates of the obstacle in the plane coordinate system of the surrounding environment picture into the position coordinates of the obstacle in the plane coordinate system of the surrounding environment picture. It is the position coordinate of the obstacle in the world coordinate system. Combining the traditional obstacle recognition in the photograph with the real scene of unmanned vehicle, the position of obstacle in the photograph is converted into the position of unmanned vehicle in the real scene according to the coordinate conversion table, which can accurately perceive the surrounding environment, and accurately locate and recognize the obstacle type. It is convenient to formulate strategies according to the type of obstacles and the distance between obstacles and unmanned vehicles in the process of automatic driving, so as to ensure the safe driving of unmanned vehicles on the premise of meeting the requirements of unmanned safety.
【技术实现步骤摘要】
障碍物定位方法、装置和终端
本专利技术涉及自动驾驶
,具体涉及一种障碍物定位方法、装置和终端。
技术介绍
在自动驾驶领域中,已有的量产车型设置有摄像头,摄像头通常用于观测无人车的周边全景,通过摄像头识别人车等障碍物。但是,仅仅通过摄像头识别人车障碍物并不能有效避免无人车与障碍物的碰撞。目前,避免无人车与障碍物碰撞的方法通常是通过拍摄图片,同时在图片中检测障碍物。检测方法较为复杂,对摄像头或硬件要求较高。由于在无人车领域,需要计算出无人车和障碍物的相对坐标,进而确定二者的距离,才能保障无人车的安全行驶。然而,现有的检测方法并不涉及无人车或者障碍物的定位,因此不适合在无人车领域使用。
技术实现思路
本专利技术实施例提供一种障碍物定位方法、装置和终端,以至少解决现有技术中的以上技术问题。第一方面,本专利技术实施例提供了一种障碍物定位方法,包括:获取无人车的周围环境图片;将所述周围环境图片输入至障碍物识别模型进行预测,得到障碍物在所述周围环境图片中平面坐标系下的位置坐标;将所述障碍物在所述周围环境图片中平面坐标系下的位置坐标,转换为所述障碍物在世界坐标系下的位置坐标。在 ...
【技术保护点】
1.一种障碍物定位方法,其特征在于,包括:获取无人车的周围环境图片;将所述周围环境图片输入至障碍物识别模型进行预测,得到障碍物在所述周围环境图片中平面坐标系下的位置坐标;将所述障碍物在所述周围环境图片中平面坐标系下的位置坐标,转换为所述障碍物在世界坐标系下的位置坐标。
【技术特征摘要】
1.一种障碍物定位方法,其特征在于,包括:获取无人车的周围环境图片;将所述周围环境图片输入至障碍物识别模型进行预测,得到障碍物在所述周围环境图片中平面坐标系下的位置坐标;将所述障碍物在所述周围环境图片中平面坐标系下的位置坐标,转换为所述障碍物在世界坐标系下的位置坐标。2.根据所述权利要求1所述的方法,其特征在于,将所述周围环境图片输入至障碍物识别模型进行预测之前,还包括:将标注有多个障碍物的周围环境图片输入至深度神经网络模型中进行训练,得到所述障碍物识别模型。3.根据所述权利要求2所述的方法,其特征在于,将所述周围环境图片输入至障碍物识别模型进行预测,得到障碍物在所述周围环境图片中平面坐标系下的位置坐标,包括:将所述周围环境图片输入至所述障碍物识别模型中,得到所述障碍物的识别框;在所述周围环境图片中建立所述平面坐标系,在所述平面坐标系中计算所述障碍物的识别框的角点坐标;将所述障碍物的识别框的角点坐标作为所述障碍物在平面坐标系下的位置坐标。4.根据所述权利要求3所述的方法,其特征在于,将所述障碍物在所述周围环境图片中平面坐标系下的位置坐标,转换为所述障碍物在世界坐标系下的位置坐标,包括:获取预设尺寸的标定布,所述周围环境图片的像素点与所述标定布中的单元格进行映射,得到所述坐标转换表;根据车身的轮廓描绘车身边框,以所述车身边框中车尾边框中点为圆心建立所述世界坐标系;在所述坐标转换表中查询与将所述障碍物的识别框的角点坐标对应的坐标,并将查询到的坐标作为所述障碍物在所述世界坐标系下的位置坐标。5.一种障碍物定位装置,其特征在于,包括:周围环境图片获取模块,用于获取无人车的周围环境图片;平面坐标系障碍物位置预测模块,用于将所述周围环境图片输入至障碍物识别模型进行预测,得到障碍物在所述周围环境图片中平面坐...
【专利技术属性】
技术研发人员:李傲伟,
申请(专利权)人:百度在线网络技术北京有限公司,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。