WO2023029469A1 - Vehicle traveling warning method and apparatus - Google Patents

Vehicle traveling warning method and apparatus Download PDF

Info

Publication number
WO2023029469A1
WO2023029469A1 PCT/CN2022/084343 CN2022084343W WO2023029469A1 WO 2023029469 A1 WO2023029469 A1 WO 2023029469A1 CN 2022084343 W CN2022084343 W CN 2022084343W WO 2023029469 A1 WO2023029469 A1 WO 2023029469A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
lane line
target vehicle
vehicle
information
Prior art date
Application number
PCT/CN2022/084343
Other languages
French (fr)
Chinese (zh)
Inventor
李阳
李弘扬
王诚
Original Assignee
上海商汤智能科技有限公司
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 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023029469A1 publication Critical patent/WO2023029469A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • B60W2050/143Alarm means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • B60W2050/146Display means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2552/00Input parameters relating to infrastructure
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • the server when the computer device is a server, the server may be a cloud server, and the cloud server executes the steps of the method for early warning of vehicle driving provided by the embodiments of the present disclosure.
  • the computer device may include an advanced driving assistance system and a cloud server, and the advanced driving assistance system and the cloud server jointly execute the steps of the method for vehicle driving warning provided by the embodiments of the present disclosure.
  • the method for early warning of vehicle driving may be implemented by a processor invoking computer-readable instructions stored in a memory.
  • the early warning module 303 is specifically configured to: determine that the target lane line is a crossable lane line when the category information of the target lane line is a white dotted line;

Abstract

A vehicle traveling warning method and apparatus, a computer device, and a storage medium, wherein the method comprises: obtaining a target traveling image corresponding to a target vehicle; recognizing the target traveling image to determine a target lane line of a lane where the target vehicle is currently located and category information of the target lane line; and giving an abnormal traveling warning for the target vehicle on the basis of the category information of the target lane line, traveling state information of the target vehicle, and positional relationship information between the target vehicle and the target lane line. According to the method, various factors affecting warning are considered, thereby improving the warning accuracy.

Description

[根据细则37.2由ISA制定的发明名称] 车辆行驶预警方法及装置[Title of the invention formulated by the ISA under Rule 37.2] Vehicle driving warning method and device
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年8月30日提交至中国专利局、申请号为CN2021110064692的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This application claims priority to a Chinese patent application with application number CN2021110064692 filed with the China Patent Office on August 30, 2021, the entire contents of which are incorporated in this disclosure by reference.
技术领域technical field
本公开涉及信息处理技术领域,具体而言,涉及一种车辆行驶预警的方法、装置、计算机设备及存储介质。The present disclosure relates to the technical field of information processing, and in particular, to a method, device, computer equipment, and storage medium for early warning of vehicle driving.
背景技术Background technique
车辆行驶预警系统是车辆辅助驾驶系统中的重要部分,用于在车辆出现异常行驶时,通过发出预警信号提醒车内人员以防止危险发生。The vehicle driving warning system is an important part of the vehicle's assisted driving system. It is used to warn the occupants of the vehicle by sending out an early warning signal to prevent danger when the vehicle is driving abnormally.
车辆行驶预警方式主要是对车辆与车道线的相对位置进行判断,在车辆距离车道线较近的时候就会进行预警。The vehicle driving warning method is mainly to judge the relative position of the vehicle and the lane line, and it will give an early warning when the vehicle is closer to the lane line.
上述车辆行驶预警方式,容易出现误判的情况,预警的准确率较低。The above-mentioned vehicle driving early warning method is prone to misjudgment, and the accuracy of early warning is low.
发明内容Contents of the invention
本公开实施例至少提供一种车辆行驶预警的方法、装置、计算机设备及存储介质。Embodiments of the present disclosure at least provide a method, device, computer equipment, and storage medium for early warning of vehicle driving.
第一方面,本公开实施例提供了一种车辆行驶预警的方法,包括:获取目标车辆对应的目标行驶图像;对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。In the first aspect, an embodiment of the present disclosure provides a method for early warning of vehicle driving, including: acquiring a target driving image corresponding to the target vehicle; identifying the target driving image, and determining the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line; based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, the target vehicle is Abnormal driving warning.
第二方面,本公开实施例还提供一种车辆行驶预警的装置,包括:获取模块,用于获取目标车辆对应的目标行驶图像;确定模块,用于对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;预警模块,用于基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。In the second aspect, an embodiment of the present disclosure further provides a device for early warning of vehicle driving, including: an acquisition module, configured to acquire a target driving image corresponding to a target vehicle; a determination module, configured to identify the target driving image, and determine the The target lane line of the lane where the target vehicle is currently located and the category information of the target lane line; the early warning module is used for based on the category information of the target lane line, the driving state information of the target vehicle, and the target vehicle and the category information of the target vehicle The position relationship information of the target lane line is used to give the target vehicle an abnormal driving warning.
第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation manner of the first aspect are executed.
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any of the first aspects of the first aspect, may be executed. Steps in one possible implementation.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The drawings show the embodiments consistent with the present disclosure, and are used together with the description to explain the technical solution of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those skilled in the art, they can also make From these drawings other related drawings are obtained.
图1示出了本公开实施例所提供的一种车辆行驶预警的方法的流程图;FIG. 1 shows a flow chart of a method for early warning of vehicle driving provided by an embodiment of the present disclosure;
图2示出了本公开实施例所提供的目标车辆前方的行驶图像的示意图;FIG. 2 shows a schematic diagram of a driving image in front of a target vehicle provided by an embodiment of the present disclosure;
图3示出了本公开实施例所提供的一种车辆行驶预警的装置的示意图;Fig. 3 shows a schematic diagram of a device for early warning of vehicle running provided by an embodiment of the present disclosure;
图4示出了本公开实施例所提供的一种计算机设备的示意图。Fig. 4 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下 所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is a part of the embodiments of the present disclosure, but not all of them. The components of the disclosed embodiments generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present disclosure.
经研究发现,车辆行驶预警系统只是简单地基于车辆与车道线的相对位置进行预警,由于车道线的种类较多且车辆的行驶状态是多种多样的,简单地基于车辆与车道线的相对位置进行预警的方式容易出现误判的情况,可能无法做出准确的预警,预警的准确率较低。After research, it is found that the vehicle driving warning system is simply based on the relative position of the vehicle and the lane line. The way of early warning is prone to misjudgment, it may not be possible to make accurate early warning, and the accuracy of early warning is low.
基于上述研究,本公开提供了一种车辆行驶预警的方法、装置、计算机设备及存储介质,包括:获取目标车辆对应的目标行驶图像;对目标行驶图像进行识别,确定目标车辆当前所在车道的目标车道线以及目标车道线的类别信息;基于目标车道线的类别信息、目标车辆的行驶状态信息以及目标车辆与目标车道线的位置关系信息,对目标车辆进行异常行驶预警。本公开的技术方案,除了对车辆与车道线的相对位置进行判断,还对车道线的类别以及车辆的行驶状态进行判断,考虑了影响预警的多种因素,使得车辆行驶预警系统结合更多的信息进行预警,提高了预警的准确率。Based on the above research, the present disclosure provides a vehicle driving early warning method, device, computer equipment and storage medium, including: acquiring the target driving image corresponding to the target vehicle; identifying the target driving image, and determining the target vehicle in the current lane The category information of the lane line and the target lane line; based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle. The technical solution of the present disclosure, in addition to judging the relative position of the vehicle and the lane line, also judges the type of the lane line and the driving state of the vehicle, and considers various factors that affect the early warning, so that the vehicle early warning system combines more Information early warning, improve the accuracy of early warning.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure below for the above problems should be the result of the inventor Contributions made to this disclosure during the course of this disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种车辆行驶预警的方法进行详细介绍,本公开实施例所提供的车辆行驶预警的方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:车载处理器或服务器或其它处理设备。在一些可能的实现方式中,计算机设备为车载处理器时,车载处理器可以是高级驾驶辅助系统(Advanced Driving Assistant System,ADAS),高级驾驶辅助系统执行本公开实施例提供的车辆行驶预警的方法的步骤。在一些可能的实现方式中,计算机设备为服务器时,服务器可以为云服务器,云服务器执行本公开实施例提供的车辆行驶预警的方法的步骤。在一些可能的实现方式中,计算机设备可以包括高级驾驶辅助系统和云服务器,高级驾驶辅助系统和云服务器联合执行本公开实施例提供的车辆行驶预警的方法的步骤。在一些可能的实现方式中,该车辆行驶预警的方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In order to facilitate the understanding of this embodiment, a method for early warning of vehicle driving disclosed in the embodiment of the present disclosure is firstly introduced in detail. The method for early warning of vehicle driving provided by the embodiment of the present disclosure is generally executed by a computer with certain computing power device, the computer device includes, for example: an onboard processor or a server or other processing devices. In some possible implementations, when the computer device is a vehicle-mounted processor, the vehicle-mounted processor may be an advanced driving assistance system (Advanced Driving Assistant System, ADAS), and the advanced driving assistance system executes the vehicle driving warning method provided by the embodiment of the present disclosure A step of. In some possible implementation manners, when the computer device is a server, the server may be a cloud server, and the cloud server executes the steps of the method for early warning of vehicle driving provided by the embodiments of the present disclosure. In some possible implementation manners, the computer device may include an advanced driving assistance system and a cloud server, and the advanced driving assistance system and the cloud server jointly execute the steps of the method for vehicle driving warning provided by the embodiments of the present disclosure. In some possible implementation manners, the method for early warning of vehicle driving may be implemented by a processor invoking computer-readable instructions stored in a memory.
下面以执行主体为车载处理器为例对本公开实施例提供的车辆行驶预警的方法加以 说明。The vehicle driving warning method provided by the embodiment of the present disclosure will be described below by taking the vehicle-mounted processor as an example for execution.
参见图1所示,为本公开实施例提供的一种车辆行驶预警的方法的流程图,所述方法包括S101~S103,其中:Referring to FIG. 1 , it is a flow chart of a method for vehicle driving warning provided by an embodiment of the present disclosure, the method includes S101-S103, wherein:
S101:获取目标车辆对应的目标行驶图像。S101: Acquire a target driving image corresponding to the target vehicle.
在本公开实施例中,目标车辆可以包括自动驾驶车辆、半自动驾驶车辆或辅助驾驶车辆等。目标行驶图像可以指的是目标车辆的车速满足预设条件,且包含目标车辆所在道路上的车道线的行驶图像。其中,车速满足预设条件指的是车速超过设定阈值。In the embodiment of the present disclosure, the target vehicle may include an autonomous driving vehicle, a semi-autonomous driving vehicle, or an assisted driving vehicle, and the like. The target driving image may refer to a driving image in which the speed of the target vehicle satisfies a preset condition and includes lane lines on the road where the target vehicle is located. Wherein, the vehicle speed meeting the preset condition means that the vehicle speed exceeds a set threshold.
也就是目标车辆的目标行驶图像是同时满足以下两个条件的行驶图像:一,目标车辆的车速符合预设条件;二,行驶图像包含目标车辆所在道路上的车道线。That is, the target driving image of the target vehicle is a driving image that satisfies the following two conditions at the same time: first, the speed of the target vehicle meets the preset condition; second, the driving image includes the lane line on the road where the target vehicle is located.
在具体实施中,车载处理器可以通过以下方式获取目标行驶图像:第一种方式:车载处理器可以从实时获取的目标车辆对应的所有行驶图像中筛选出满足上述两个条件的目标行驶图像;第二种方式:车载处理器也可以在目标车辆的车速符合预设条件的情况下,从实时获取的目标车辆对应的所有行驶图像中筛选出包含目标车辆所在道路上的车道线的目标行驶图像。In a specific implementation, the vehicle-mounted processor can obtain the target driving image in the following ways: the first way: the vehicle-mounted processor can filter out the target driving image that meets the above two conditions from all the driving images corresponding to the target vehicle acquired in real time; The second method: the on-board processor can also filter out the target driving image containing the lane line on the road where the target vehicle is located from all the driving images corresponding to the target vehicle acquired in real time when the speed of the target vehicle meets the preset conditions .
针对第一种获取目标行驶图像的方式,在一种可能的实施方式中,S101可以按照以下步骤执行:For the first way of acquiring the target driving image, in a possible implementation manner, S101 may be performed according to the following steps:
步骤11:获取目标车辆对应的行驶图像以及目标车辆的车速信息。Step 11: Obtain the driving image corresponding to the target vehicle and the vehicle speed information of the target vehicle.
步骤12:基于目标车辆的车速信息,从行驶图像中选择车速信息对应的车速超过第一设定阈值时的行驶图像作为目标行驶图像。Step 12: Based on the vehicle speed information of the target vehicle, select the driving image corresponding to the vehicle speed information when the vehicle speed exceeds the first set threshold from the driving images as the target driving image.
在步骤11中,目标车辆对应的行驶图像可以通过图像采集设备进行实时获取,图像采集设备可以为设置在道路上的图像采集设备,道路上的图像采集设备将采集到的目标车辆对应的行驶图像上传到服务器,车载处理器可以向服务器发送行驶图像获取请求,服务器基于行驶图像获取请求将对应的行驶图像发送到车载处理器上。图像采集设备还可以为设置在目标车辆上的车载传感器,车载传感器具体可以包括毫米波雷达、激光雷达、单目摄像头、双目摄像头以及卫星导航等。In step 11, the driving image corresponding to the target vehicle can be acquired in real time by an image acquisition device, the image acquisition device can be an image acquisition device installed on the road, and the image acquisition device on the road will collect the corresponding driving image of the target vehicle After uploading to the server, the vehicle-mounted processor can send a driving image acquisition request to the server, and the server sends the corresponding driving image to the vehicle-mounted processor based on the driving image acquisition request. The image acquisition device can also be a vehicle-mounted sensor installed on the target vehicle, and the vehicle-mounted sensor can specifically include millimeter-wave radar, laser radar, monocular camera, binocular camera, and satellite navigation.
车载传感器可以设置在目标车辆的车体前部(例如设置在前挡风玻璃上)和/或车体左右两侧等位置,设置在车体前部的车载传感器可以获取目标车辆前方的行驶图像,设置在车体左右两侧的车载传感器可以获取目标车辆左右两侧的行驶图像。The on-board sensor can be arranged on the front of the target vehicle (for example, on the front windshield) and/or on the left and right sides of the car body, and the on-board sensor installed on the front of the vehicle can acquire the driving image in front of the target vehicle , the on-board sensors installed on the left and right sides of the vehicle body can acquire the driving images of the left and right sides of the target vehicle.
在一些可能的实施方式中,可以仅使用设置在车体前部的车载传感器可以获取目标车辆前方的行驶图像,通过目标车辆前方的行驶图像实现车载处理器对目标车辆当前所在车道的目标车道线的识别,如图2所示的目标车辆前方的行驶图像示意图中,示出了设置在目标车辆前部的车载传感器获取到的行驶图像,车载处理器通过对行驶图像进行识别,可以识别出目标车辆当前所在车道的目标车道线。In some possible implementations, only the on-board sensor arranged at the front of the vehicle body can be used to obtain the driving image in front of the target vehicle, and the on-board processor can realize the target lane line of the lane where the target vehicle is currently located through the driving image in front of the target vehicle. In the schematic diagram of the driving image in front of the target vehicle as shown in Figure 2, it shows the driving image acquired by the on-board sensor installed in the front of the target vehicle. The on-board processor can identify the target by recognizing the driving image. The target lane line of the lane the vehicle is currently in.
在一些可能的实施方式中,通过目标车辆左右两侧的行驶图像也可以实现车载处理器对目标车辆当前所在车道的目标车道线的识别,因此也可以仅使用设置在车体两侧的车载传感器可以获取目标车辆左右两侧的行驶图像。In some possible implementations, the on-board processor can also recognize the target lane line of the lane where the target vehicle is currently located through the driving images on the left and right sides of the target vehicle, so only the on-board sensors arranged on both sides of the vehicle body can also be used Driving images of the left and right sides of the target vehicle can be acquired.
在一些可能的实施方式中,例如在前方视野不佳的情况下,可以使用设置在车体前部的车载传感器以获取目标车辆前方的行驶图像,以及同时使用设置在车体两侧的车载传感器以获取目标车辆两侧的行驶图像,这种实施方式使得车载处理器能够更全面地获取到目标车辆对应的行驶图像,从而根据前方的行驶图像和两侧的行驶图像,更准确地识别出目标车辆所在车道的车道线信息。In some possible implementations, for example, when the front view is not good, the on-board sensors installed on the front of the vehicle body can be used to obtain the driving image in front of the target vehicle, and the on-board sensors installed on both sides of the vehicle body can be used at the same time In order to obtain the driving images on both sides of the target vehicle, this embodiment enables the on-board processor to more comprehensively obtain the corresponding driving images of the target vehicle, so as to identify the target more accurately based on the driving images in front and the driving images on both sides Lane line information of the lane where the vehicle is located.
车载传感器在实时获取图像信息时,可能获取到包含无法识别的图像信息或者非行驶过程中的图像信息或者是未包含目标车辆所在道路上的车道线的图像信息,因此在具体实施过程,通过图像采集设备获取到目标车辆对应的视频信息或者图片信息后,可以对视频信息或者图片信息进行提取,得到目标车辆在行驶过程中的、且包含车道线的帧图像,也就是目标车辆对应的行驶图像。When the on-board sensor acquires image information in real time, it may acquire image information that contains unrecognizable image information or image information that is not in the process of driving, or image information that does not include the lane line on the road where the target vehicle is located. Therefore, in the specific implementation process, through image information After the acquisition device obtains the video information or picture information corresponding to the target vehicle, it can extract the video information or picture information to obtain the frame image of the target vehicle during driving and including the lane line, that is, the driving image corresponding to the target vehicle .
进一步地,为了对行驶图像中包含的车道线进行连续追踪识别,可以提取视频信息或者图片信息中的连续帧图像。在一些可能的实施方式中,具体可以基于视频信息或者图片信息中的时间戳,提取相同时间间隔的连续帧图像。在一些可能的实施方式中,还可以基于视频信息或者图片信息的相似度,提取相似度符合预设值的连续帧图像。Further, in order to continuously track and recognize the lane lines included in the driving image, continuous frame images in video information or picture information may be extracted. In some possible implementation manners, specifically, continuous frame images at the same time interval may be extracted based on time stamps in video information or picture information. In some possible implementation manners, based on the similarity of video information or picture information, consecutive frame images whose similarity meets a preset value may also be extracted.
目标车辆的车速信息可以通过控制器局域网络(Controller Area Network,CAN)总线实时获取并传送到车载处理器。The speed information of the target vehicle can be obtained in real time through the Controller Area Network (CAN) bus and transmitted to the on-board processor.
在步骤12中,考虑到当目标车辆在某些行驶过程(例如起步、踩刹车等)中的车速过低时,可以认为目标车辆处于异常行驶的概率较小,因此对车速过低的目标车辆进行异常行驶预警的必要性不大,所以本公开实施例主要针对车速超过第一设定阈值的目标车辆执行车辆行驶预警的方法,因此这里可以基于目标车辆的车速信息,从行驶图像中选择车速信息对应的车速超过第一设定阈值时的行驶图像作为目标行驶图像。其中,第 一设定阈值指的是人为预先设定的车速阈值。In step 12, considering that when the vehicle speed of the target vehicle is too low in some driving processes (such as starting, stepping on the brakes, etc.), it can be considered that the probability that the target vehicle is driving abnormally is small, so the target vehicle with a vehicle speed that is too low It is not necessary to perform abnormal driving warning, so the embodiment of the present disclosure mainly performs the method of vehicle driving warning for the target vehicle whose vehicle speed exceeds the first set threshold, so here the vehicle speed can be selected from the driving image based on the vehicle speed information of the target vehicle The driving image when the vehicle speed corresponding to the information exceeds the first set threshold is used as the target driving image. Wherein, the first set threshold refers to an artificially preset vehicle speed threshold.
通过步骤11~步骤12公开的实施方式,选择出的目标行驶图像是车速超过第一设定阈值、且包含目标车辆所在道路上的车道线的行驶图像。According to the embodiment disclosed in steps 11 to 12, the selected target driving image is a driving image whose vehicle speed exceeds the first set threshold and includes the lane line on the road where the target vehicle is located.
针对第二种获取目标行驶图像的方式,在一种可能的实施方式中,车载处理器可以通过CAN总线实时获取目标车辆的车速信息,并实时检测目标车辆的车速是否超过第一设定阈值,在检测到目标车辆的车速超过第一设定阈值时,将车速超过第一设定阈值的时刻下的目标车辆对应的行驶图像作为目标行驶图像。For the second way of acquiring the target driving image, in a possible implementation, the on-board processor can acquire the speed information of the target vehicle in real time through the CAN bus, and detect in real time whether the speed of the target vehicle exceeds the first set threshold, When it is detected that the vehicle speed of the target vehicle exceeds the first set threshold, the driving image corresponding to the target vehicle at the moment when the vehicle speed exceeds the first set threshold is used as the target driving image.
比较上述两种获取目标行驶图像的方式,在第一种获取目标行驶图像的方式中,在车载处理器获取到目标车辆对应的行驶图像和目标车辆的车速信息后,可以直接根据车速信息对行驶图像进行筛选;在第二种获取目标行驶图像的方式中,在车载处理器获取到目标车辆的车速信息后,在判断目标车辆的车速超过第一设定阈值时,车载处理器需要向图像采集设备发送采集指令,以使图像采集设备采集车速超过第一设定阈值时对应的行驶图像。因此,第二种获取目标行驶图像的方式相比于第一种获取目标行驶图像的方式,增加了车载处理器需要向图像采集设备发送采集指令的过程,适用于可以实时接收采集指令的图像采集设备,但对于一般的图像采集设备是无法实时接收采集指令的。因此,在具体实施中,可以根据图像采集设备的工作原理选择获取目标行驶图像的方式。Comparing the above two ways of acquiring the target driving image, in the first way of acquiring the target driving image, after the vehicle-mounted processor acquires the corresponding driving image of the target vehicle and the vehicle speed information of the target vehicle, it can directly determine the driving speed according to the vehicle speed information. In the second way of acquiring target driving images, after the vehicle-mounted processor obtains the speed information of the target vehicle, when it is judged that the speed of the target vehicle exceeds the first set threshold, the vehicle-mounted processor needs to send information to the image acquisition The device sends a collection instruction, so that the image collection device collects the corresponding driving image when the vehicle speed exceeds the first set threshold. Therefore, compared with the first method of acquiring target driving images, the second method of acquiring target driving images increases the process that the on-board processor needs to send acquisition instructions to the image acquisition device, and is suitable for image acquisition that can receive acquisition instructions in real time equipment, but it is impossible for general image acquisition equipment to receive acquisition instructions in real time. Therefore, in a specific implementation, the way of acquiring the driving image of the target can be selected according to the working principle of the image acquisition device.
S102:对目标行驶图像进行识别,确定目标车辆当前所在车道的目标车道线以及目标车道线的类别信息。S102: Recognize the target driving image, and determine the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line.
在本公开实施例中,可以利用图像识别模型对相机坐标下的目标行驶图像进行识别,得到处于世界坐标系下的目标车道线,具体的,可以得到目标车道线的曲线方程信息(曲线方程信息的应用将在下文进行介绍)。在具体实施中,可以把目标行驶图像输入至图像识别模型中,图像识别模型可以输出目标车辆当前所在车道的目标车道线以及目标车道线的类别信息。In the embodiment of the present disclosure, the image recognition model can be used to recognize the target driving image in the camera coordinates, and the target lane line in the world coordinate system can be obtained. Specifically, the curve equation information (curve equation information of the target lane line) can be obtained applications will be described below). In a specific implementation, the target driving image can be input into the image recognition model, and the image recognition model can output the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line.
目标车道线指的是目标车辆当前所在车道的、且在目标车辆预设范围内的车道线。目标车辆预设范围可以是以目标车辆为中心、在预设半径以内的范围;或车辆前方预设的扇形区域等。The target lane line refers to the lane line of the lane where the target vehicle is currently located and within the preset range of the target vehicle. The preset range of the target vehicle may be a range within a preset radius centered on the target vehicle; or a preset fan-shaped area in front of the vehicle.
目标车道线的类别信息包括可跨越车道线和禁止跨越车道线。可跨越车道线指的是目标车辆可以跨越该车道线,实现进行变道、调头等行驶动作;禁止跨越车道线指的是目标车辆不能跨越该车道线,仅能在该车道线内行驶,无法实现变道、调头等行驶动作。 在一些可能的实施方式中,目标车道线的类别信息可以随着时间发生变化,例如同一目标车道线,在早晚高峰时段,为禁止跨越车道线;在非早晚高峰时段,为可跨越车道线,因此在具体实施时,还可以结合目标车辆当前所处的时刻值,确定目标车道线的类别信息。The type information of the target lane line includes a lane line that can be crossed and a lane line that is forbidden to cross. Lane crossing means that the target vehicle can cross the lane line to achieve lane change, U-turn and other driving actions; lane line prohibition means that the target vehicle cannot cross the lane line, and can only drive within the lane line, and cannot Realize driving actions such as lane changes and U-turns. In some possible implementations, the category information of the target lane line can change over time. For example, the same target lane line, in the morning and evening peak hours, is prohibited from crossing the lane line; Therefore, during specific implementation, the type information of the target lane line can also be determined in combination with the current time value of the target vehicle.
目标车道线的类别信息是根据目标车道线的属性信息确定的,目标车道线的属性信息指的是表征目标车道线特征的信息。目标车道线的属性信息可以包括车道线的颜色(例如,白色、黄色等)、车道线类型(例如,实线、虚线等)、车道线的数量等。本公开实施例对车道线的属性信息不作具体限定。The category information of the target lane line is determined according to the attribute information of the target lane line, and the attribute information of the target lane line refers to information characterizing the characteristics of the target lane line. The attribute information of the target lane line may include the color of the lane line (eg, white, yellow, etc.), the type of lane line (eg, solid line, dashed line, etc.), the number of lane lines, and the like. The embodiment of the present disclosure does not specifically limit the attribute information of the lane line.
S103:基于目标车道线的类别信息、目标车辆的行驶状态信息以及目标车辆与目标车道线的位置关系信息,对目标车辆进行异常行驶预警。S103: Based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, give an abnormal driving warning to the target vehicle.
在本公开实施例中,目标车辆的行驶状态信息指的是可以反映目标车辆在行驶状态的信息,具体地,目标车辆的行驶状态信息可以包括以下信息中的至少一种:车速信息、加速度信息、转向灯信息、行驶方向信息。In the embodiments of the present disclosure, the driving state information of the target vehicle refers to information that can reflect the driving state of the target vehicle. Specifically, the driving state information of the target vehicle may include at least one of the following information: vehicle speed information, acceleration information , turn signal information, driving direction information.
其中,车速信息指的是速度大小和速度方向信息;加速度信息指的是加速度大小和加速度方向信息;转向灯信息指的是转向灯是否开启以及已开启的转向灯的功能信息;行驶方向信息指的是目标车辆的车轮或者车身的行驶方向。Among them, the vehicle speed information refers to the speed and speed direction information; the acceleration information refers to the acceleration magnitude and acceleration direction information; the turn signal information refers to whether the turn signal is turned on and the function information of the turn signal that has been turned on; the driving direction information refers to What is the target vehicle's wheels or the direction of travel of the body.
目标车辆的行驶状态信息可以通过CAN总线传输到车载处理器中。车载处理器基于目标车辆的行驶状态信息中的至少一种信息确定目标车辆的行驶状态。The driving status information of the target vehicle can be transmitted to the on-board processor through the CAN bus. The onboard processor determines the driving state of the target vehicle based on at least one of the driving state information of the target vehicle.
目标车辆与目标车道线的位置关系信息指的是在预设平面内,目标车辆与目标车道线的相对位置关系。预设平面可以是目标车辆的车轮以及目标车道线所在的平面(例如平整的地面)。在具体实施中,可以将目标车辆映射到预设平面内,目标车辆与目标车道线的相对位置关系可以是预设平面内的目标车辆中的某一点与目标车道线的距离信息和/或目标车辆与目标车道线的角度信息。The positional relationship information between the target vehicle and the target lane line refers to the relative positional relationship between the target vehicle and the target lane line in a preset plane. The preset plane may be a plane (such as flat ground) where the wheels of the target vehicle and the target lane line are located. In a specific implementation, the target vehicle can be mapped to a preset plane, and the relative positional relationship between the target vehicle and the target lane line can be the distance information and/or the distance information between a point in the target vehicle and the target lane line in the preset plane. Angle information between the vehicle and the target lane line.
在正常行驶过程中,目标车辆的行驶状态信息以及目标车辆与目标车道线的位置关系信息均应当是与目标车道线的类别信息相匹配的,也就是目标车辆应该按照所在车道线的类别在车道线所指示的车道内行驶或进行变道、调头等操作,其车速处于正常的数值、转向灯处于正常的开启或闭合、行驶方向与车道线的方向一致,并且目标车辆与目标车道线的最短距离大于设定阈值。例如在禁止跨越车道线所指示的车道内行驶时,目标车辆不能靠近跨越车道线,左转向灯和右转向灯不能开启等。相对地,在异常行驶状 态,目标车辆的行驶状态信息、目标车辆与目标车道线的位置关系信息中的至少一种是与目标车道线的类别信息不匹配的,也就是目标车辆的行驶状态信息(包括车速信息、转向灯状态信息、行驶方向信息等)处于异常状态,和/或目标车辆与目标车道线的位置关系信息处于异常状态(例如目标车辆与目标车道线的最短距离小于设定阈值)。During normal driving, the driving status information of the target vehicle and the positional relationship information between the target vehicle and the target lane line should match the category information of the target lane line, that is, the target vehicle should be in the lane according to the category of the lane line it is in. Driving in the lane indicated by the line or performing operations such as changing lanes or turning around, the vehicle speed is at a normal value, the turn signal is on or off normally, the driving direction is consistent with the direction of the lane line, and the shortest distance between the target vehicle and the target lane line The distance is greater than the set threshold. For example, when driving in the lane indicated by the prohibition of crossing the lane line, the target vehicle cannot approach the crossing lane line, and the left turn signal and the right turn signal cannot be turned on. In contrast, in the abnormal driving state, at least one of the driving state information of the target vehicle and the positional relationship information between the target vehicle and the target lane line does not match the type information of the target lane line, that is, the driving state information of the target vehicle (including vehicle speed information, turn signal status information, driving direction information, etc.) is in an abnormal state, and/or the positional relationship information between the target vehicle and the target lane line is in an abnormal state (for example, the shortest distance between the target vehicle and the target lane line is less than the set threshold ).
在一种可能的实施方式中,S103可以按照以下步骤执行:In a possible implementation manner, S103 may be performed according to the following steps:
步骤21:基于目标车辆与目标车道线的位置关系信息,确定目标车辆与目标车道线的最短距离;Step 21: Based on the positional relationship information between the target vehicle and the target lane line, determine the shortest distance between the target vehicle and the target lane line;
步骤22:基于目标车道线的类别信息、目标车辆的行驶状态信息以及目标车辆与目标车道线的最短距离,对目标车辆进行异常行驶预警。Step 22: Based on the category information of the target lane line, the driving state information of the target vehicle, and the shortest distance between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle.
在步骤21~步骤22公开的实施方式中,目标车辆与目标车道线的位置关系信息指的是预设平面内的目标车辆中的某一点与目标车道线的距离信息,通过预设平面内的目标车辆中某一点到目标车道线的距离,确定目标车辆与目标车道线的最短距离。In the embodiment disclosed in steps 21 to 22, the positional relationship information between the target vehicle and the target lane line refers to the distance information between a certain point in the target vehicle and the target lane line in the preset plane. The distance from a point in the target vehicle to the target lane line determines the shortest distance between the target vehicle and the target lane line.
在具体实施中,可以通过车载传感器的相关数据(例如,相机参数)以及目标车道线的曲线方程信息,确定预设平面内的目标车辆中的某一点(例如目标车辆的中心点)与目标车道线的距离信息。In a specific implementation, the relationship between a certain point in the target vehicle (such as the center point of the target vehicle) and the target lane in the preset plane can be determined through the relevant data of the on-board sensor (such as camera parameters) and the curve equation information of the target lane line. Line distance information.
在具体实施中,可以设置距离阈值,根据目标车道线的类别信息、目标车辆的行驶状态信息、目标车辆与目标车道线的最短距离、以及距离阈值,判断目标车辆是否处于异常行驶状态,若目标车辆处于异常行驶状态,则对目标车辆进行异常行驶预警。例如,在禁止跨越车道线所指示的车道内行驶时,目标车辆与目标车道线的最短距离小于距离阈值,对目标车辆进行异常行驶提醒。In a specific implementation, a distance threshold can be set to judge whether the target vehicle is in an abnormal driving state according to the category information of the target lane line, the driving state information of the target vehicle, the shortest distance between the target vehicle and the target lane line, and the distance threshold. If the vehicle is in an abnormal driving state, an abnormal driving warning will be given to the target vehicle. For example, when it is forbidden to drive across the lane indicated by the lane line, and the shortest distance between the target vehicle and the target lane line is less than the distance threshold, an abnormal driving reminder is given to the target vehicle.
进一步地,考虑到根据目标车辆中的某一点到目标车道线的距离确定目标车辆与目标车道线的最短距离的过程比较复杂,为了方便计算,可以基于预设平面内的目标车辆上的中心点到目标车道线的距离,确定目标车辆与目标车道线的最短距离,因此在执行步骤21时,可以按照以下步骤执行:Further, considering that the process of determining the shortest distance between the target vehicle and the target lane line according to the distance from a certain point in the target vehicle to the target lane line is relatively complicated, in order to facilitate calculation, it can be based on the center point on the target vehicle in the preset plane The distance to the target lane line determines the shortest distance between the target vehicle and the target lane line, so when step 21 is performed, the following steps can be followed:
步骤31:基于目标车辆的车轮与目标车辆的中心点的位置关系、目标车辆的中心点与目标车道线的距离信息,确定目标车辆的车轮与目标车道线的距离信息;Step 31: Based on the positional relationship between the wheels of the target vehicle and the center point of the target vehicle, and the distance information between the center point of the target vehicle and the target lane line, determine the distance information between the wheels of the target vehicle and the target lane line;
步骤32:基于车轮与目标车道线的距离信息,确定每个车轮与目标车道线的距离,确定与目标车道线的距离最短的车轮,将该车轮与目标车道线的距离确定为为目标车辆与目标车道线的最短距离。Step 32: Based on the distance information between the wheels and the target lane line, determine the distance between each wheel and the target lane line, determine the wheel with the shortest distance to the target lane line, and determine the distance between the wheel and the target lane line as the distance between the target vehicle and the target lane line The shortest distance of the target lane line.
在步骤31~步骤32公开的实施方式中,可以以映射到预设平面内的目标车辆的车轮为顶点确定目标车辆所在的几何图形,根据目标车辆的车轮之间的距离,确定几何图形的中心点。根据目标车辆的车轮之间的距离、以及中心点,可以确定出目标车辆的车轮与几何图形的中心点的位置关系。In the embodiment disclosed in step 31 to step 32, the geometric figure where the target vehicle is located can be determined with the wheel of the target vehicle mapped to the preset plane as the vertex, and the center of the geometric figure can be determined according to the distance between the wheels of the target vehicle point. According to the distance between the wheels of the target vehicle and the center point, the positional relationship between the wheel of the target vehicle and the center point of the geometric figure can be determined.
根据目标车辆的车轮与几何图形的中心点的位置关系、几何图形的中心点与目标车道线的距离信息,确定目标车辆的每个车轮与目标车道线的距离信息。According to the positional relationship between the wheels of the target vehicle and the center point of the geometric figure, and the distance information between the center point of the geometric figure and the target lane line, the distance information between each wheel of the target vehicle and the target lane line is determined.
根据确定出的目标车辆的每个车轮与目标车道线的距离信息,可以确定出与目标车道线的最短距离的车轮,将该车轮与目标车道线的距离信息作为目标车辆与目标车道线的最短距离。According to the determined distance information between each wheel of the target vehicle and the target lane line, the wheel with the shortest distance to the target lane line can be determined, and the distance information between the wheel and the target lane line can be regarded as the shortest distance between the target vehicle and the target lane line distance.
在一种可能的实施方式中,还可以根据以下过程确定出目标车辆的车轮与目标车道线的距离信息:在目标车辆对应的几何图形所在的平面内,将目标车辆的中心点作为原点,将目标车辆的行驶方向作为第一方向轴的正方向,将与行驶方向垂直的方向作为第二方向轴,建立坐标系。In a possible implementation manner, the distance information between the wheels of the target vehicle and the target lane line can also be determined according to the following process: in the plane where the geometric figure corresponding to the target vehicle is located, the center point of the target vehicle is taken as the origin, and The traveling direction of the target vehicle is taken as the positive direction of the first direction axis, and the direction perpendicular to the traveling direction is taken as the second direction axis to establish a coordinate system.
根据建立的坐标系、坐标系的原点(目标车辆的中心点)、目标车辆的车轮与原点的位置信息、以及目标车道线的曲线方程信息,确定目标车辆的几何图形以及目标车道线在坐标系内的位置信息。According to the established coordinate system, the origin of the coordinate system (the center point of the target vehicle), the position information of the wheel and the origin of the target vehicle, and the curve equation information of the target lane line, determine the geometry of the target vehicle and the target lane line in the coordinate system location information in .
分别在第一方向轴的正方向和负方向上,确定平行于第二方向轴且与原点的垂直距离为预设距离的直线为第一直线和第二直线,并确定第一直线与目标车道线的第一交点,以及第二直线与目标车道线的第二交点,将第一交点与第二交点的中心点到目标车辆的中心点的距离作为目标车辆的中心点与目标车道线的距离。Respectively in the positive direction and the negative direction of the first direction axis, determine the straight line parallel to the second direction axis and the vertical distance from the origin as the preset distance as the first straight line and the second straight line, and determine the first straight line and the second straight line The first intersection point of the target lane line, and the second intersection point of the second straight line and the target lane line, the distance from the center point of the first intersection point and the second intersection point to the center point of the target vehicle is used as the center point of the target vehicle and the target lane line distance.
针对每个车轮,根据目标车辆的中心点与目标车道线的距离,以及车轮与目标车辆的中心点的位置关系,可以得到车轮与目标车道线的距离,根据每个车轮与目标车道线的距离,确定出与目标车道线的距离最短的车轮,将该车轮与目标车道线的距离确定为目标车辆与目标车道线的最短距离。For each wheel, according to the distance between the center point of the target vehicle and the target lane line, and the positional relationship between the wheel and the center point of the target vehicle, the distance between the wheel and the target lane line can be obtained, and according to the distance between each wheel and the target lane line , determine the wheel with the shortest distance to the target lane line, and determine the distance between the wheel and the target lane line as the shortest distance between the target vehicle and the target lane line.
在一种可能的实施方式中,还可以针对每个车轮,直接计算每个车轮与目标车道线的距离。具体地,可以分别在第一方向轴的正方向和负方向上,确定平行于第二方向轴且与一个车轮的垂直距离为预设距离的直线为第三直线和第四直线,并确定第三直线与目标车道线的第三交点,以及第四直线与目标车道线的第四交点,将第三交点与第四交点的中心点到该车轮的距离作为该车轮与目标车道线的距离,通过计算每个车轮与目 标车道线的距离,确定出与目标车道线的最短距离的车轮,将该车轮与目标车道线的距离确定为目标车辆与目标车道线的最短距离。In a possible implementation manner, for each wheel, the distance between each wheel and the target lane line may be directly calculated. Specifically, in the positive direction and the negative direction of the first direction axis, the straight lines parallel to the second direction axis and the vertical distance from a wheel are determined as the third straight line and the fourth straight line, and the third straight line is determined. The third intersection point of the three straight lines and the target lane line, and the fourth intersection point of the fourth straight line and the target lane line, the distance from the center point of the third intersection point and the fourth intersection point to the wheel is taken as the distance between the wheel and the target lane line, By calculating the distance between each wheel and the target lane line, the wheel with the shortest distance to the target lane line is determined, and the distance between the wheel and the target lane line is determined as the shortest distance between the target vehicle and the target lane line.
上述技术方案,利用目标车辆的车轮与目标车辆的中心点的位置关系,能够较为准确地确定车轮与目标车道线的距离信息,利用车轮对应的距离信息能够更加准确地确定目标车辆与目标车道线的最短距离。In the above technical solution, the distance information between the wheels and the target lane line can be determined more accurately by using the positional relationship between the wheels of the target vehicle and the center point of the target vehicle, and the distance information between the target vehicle and the target lane line can be determined more accurately by using the distance information corresponding to the wheels. the shortest distance.
在步骤S103中,可以利用预设的预警方式,对目标车辆进行异常行驶预警;其中,预设的预警方式包括以下至少一种:语音、震动、灯光闪烁、文字提示。In step S103, a pre-warning method for abnormal driving of the target vehicle may be used, wherein the pre-warning method includes at least one of the following: voice, vibration, light flashing, and text prompt.
具体地,针对语音的预警方式,可以在目标车辆内设置语音播报设备,车载处理器在判断目标车辆处于异常行驶状态时,可以向语音播报设备发送指令,使得语音播报设备进行语音播报预警。针对震动的预警方式,可以在目标车辆内的座椅(例如,座椅底部、座椅靠背)上安装震动设备,车载处理器在判断目标车辆处于异常行驶状态时,可以向震动设备发送指令,使得震动设备按照预设震动频率对座椅进行震动预警。针对灯光闪烁的预警方式,可以在目标车辆内安装闪烁灯,车载处理器在判断目标车辆处于异常行驶状态时,可以向闪烁灯发送指令,使得闪烁灯按照预设闪烁频率进行闪烁,灯光闪烁的预警方式适用于目标车辆外部光线较弱的情况。针对文字提示的预警方式,可以在目标车辆内设置文字显示设备,车载处理器在判断目标车辆处于异常行驶状态时,可以向文字显示设备发送指令,使得文字显示设备显示预警文字。Specifically, for the voice early warning method, a voice broadcast device can be installed in the target vehicle, and when the vehicle-mounted processor judges that the target vehicle is in an abnormal driving state, it can send an instruction to the voice broadcast device, so that the voice broadcast device performs voice broadcast early warning. For the early warning method of vibration, a vibration device can be installed on the seat (for example, seat bottom, seat back) in the target vehicle, and the on-board processor can send instructions to the vibration device when judging that the target vehicle is in an abnormal driving state. Make the vibration device perform vibration warning on the seat according to the preset vibration frequency. For the early warning method of flashing lights, flashing lights can be installed in the target vehicle. When the on-board processor judges that the target vehicle is in an abnormal driving state, it can send instructions to the flashing lights so that the flashing lights flash according to the preset flashing frequency. The early warning method is suitable for the situation where the external light of the target vehicle is weak. For the early warning method of text prompts, a text display device can be installed in the target vehicle. When the on-board processor judges that the target vehicle is in an abnormal driving state, it can send instructions to the text display device, so that the text display device displays the warning text.
这里需要说明的是,上述预设的预警方式适用于目标车辆内有乘车人员的情况。在具体实施中,可以将上述预设的预警方式中的任意两种或多种进行结合,具体的预警方式不作限定。通过本公开实施例提供的车辆行驶预警的方法,可以提示目标车辆内的人员及时调整目标车辆的行驶状态,提高车辆行驶的安全性。It should be noted here that the above-mentioned preset early warning method is applicable to the situation that there are passengers in the target vehicle. In a specific implementation, any two or more of the above preset early warning methods may be combined, and the specific early warning methods are not limited. Through the vehicle driving warning method provided by the embodiments of the present disclosure, the personnel in the target vehicle can be prompted to adjust the driving state of the target vehicle in time, so as to improve the driving safety of the vehicle.
为了更清楚地理解S103的过程,下面将列举以下实施方式,对S103的步骤进行具体解释。In order to understand the process of S103 more clearly, the following implementation manners will be listed below to explain the steps of S103 in detail.
在一种可能的实施方式中,S103可以按照以下步骤执行:In a possible implementation manner, S103 may be performed according to the following steps:
步骤41:在目标车道线的类别信息为白色虚线的情况下,确定目标车道线为可跨越车道线;Step 41: When the category information of the target lane line is a white dotted line, determine that the target lane line is a crossable lane line;
步骤42:基于目标车辆与目标车道线的位置关系信息,确定目标车辆与目标车道线的最短距离;Step 42: Determine the shortest distance between the target vehicle and the target lane line based on the positional relationship information between the target vehicle and the target lane line;
步骤43:在行驶状态信息指示目标车辆的车速超过第二设定阈值、目标车辆的转 向灯未打开、最短距离小于第三设定阈值并且目标车道线为可跨越车道线的情况下,对目标车辆进行异常行驶预警。Step 43: When the driving state information indicates that the speed of the target vehicle exceeds the second set threshold, the turn signal of the target vehicle is not turned on, the shortest distance is less than the third set threshold, and the target lane line is a crossable lane line, the target vehicle The vehicle performs abnormal driving warning.
在步骤41~步骤43公开的实施方式中,通过对目标行驶图像进行识别,得到目标车道线的类别信息为白色虚线,进而可以确定目标车道线为可跨越车道线,也就是目标车辆可以跨越实现变道等行驶动作。In the embodiment disclosed in steps 41 to 43, by identifying the target driving image, the type information of the target lane line is obtained as a white dotted line, and then it can be determined that the target lane line is a crossable lane line, that is, the target vehicle can cross over to achieve Driving actions such as changing lanes.
根据前述步骤可以确定出目标车辆与白色虚线的最短距离,这里不再赘述。According to the foregoing steps, the shortest distance between the target vehicle and the white dotted line can be determined, which will not be repeated here.
车载处理器通过CAN总线可以获取到目标车辆的车速信息、转向灯信息。车载处理器根据车速信息判断车速是否超过第二设定阈值,来确定车速是否过快。车载处理器根据转向灯信息判断转向灯是否打开。车载处理器根据最短距离是否小于第三设定阈值,确定目标车辆是否距离目标车道线过近。The on-board processor can obtain the speed information and turn signal information of the target vehicle through the CAN bus. The vehicle-mounted processor judges whether the vehicle speed exceeds the second set threshold according to the vehicle speed information to determine whether the vehicle speed is too fast. The on-board processor judges whether the turn signal is turned on according to the turn signal information. The on-board processor determines whether the target vehicle is too close to the target lane line according to whether the shortest distance is less than the third set threshold.
行驶状态信息指示目标车辆的车速超过第二设定阈值、目标车辆的转向灯未打开、最短距离小于第三设定阈值时,说明目标车辆可能将要在未打开转向灯的情况下,以过快的车速变道,属于异常行驶状态,此时可以对目标车辆进行异常行驶预警。When the driving state information indicates that the speed of the target vehicle exceeds the second set threshold, the turn signal of the target vehicle is not turned on, and the shortest distance is less than the third set threshold, it indicates that the target vehicle may be about to turn on too quickly without turning on the turn signal. Changing lanes at a speed of 0 is an abnormal driving state. At this time, an abnormal driving warning can be given to the target vehicle.
在一种可能的实施方式中,S103还可以按照以下步骤执行:In a possible implementation manner, S103 may also be performed according to the following steps:
步骤51:在目标车道线的类别信息为白色实线的情况下,确定目标车道线为禁止跨越车道线;Step 51: In the case where the category information of the target lane line is a white solid line, determine that the target lane line is a prohibited lane line;
步骤52:基于目标车辆与目标车道线的位置关系信息,确定目标车辆与目标车道线的最短距离;Step 52: Determine the shortest distance between the target vehicle and the target lane line based on the positional relationship information between the target vehicle and the target lane line;
步骤53:在行驶状态信息指示目标车辆的行驶方向偏移、最短距离小于第四设定阈值并且目标车道线为禁止跨越车道线的情况下,对目标车辆进行异常行驶预警。Step 53: When the driving state information indicates that the driving direction of the target vehicle deviates, the shortest distance is less than the fourth set threshold, and the target lane line is prohibited from crossing the lane line, give an abnormal driving warning to the target vehicle.
在步骤51~步骤53公开的实施方式中,通过对目标行驶图像进行识别,得到目标车道线的类别信息为白色实线,进而可以确定目标车道线为禁止跨越车道线,也就是目标车辆不可以实行跨越的行驶动作。In the embodiment disclosed in steps 51 to 53, by recognizing the target driving image, the category information of the target lane line is obtained as a white solid line, and then it can be determined that the target lane line is a lane line that is prohibited from crossing, that is, the target vehicle cannot Execute a straddling driving action.
根据前述步骤可以确定出目标车辆与白色实线的最短距离,这里不再赘述。According to the foregoing steps, the shortest distance between the target vehicle and the white solid line can be determined, which will not be repeated here.
车载处理器通过CAN总线可以获取到目标车辆的行驶方向信息,判断目标车辆的行驶方向是否按照正常方向行驶。车载处理器根据最短距离是否小于第四设定阈值,确定目标车辆是否距离目标车道线过近。The on-board processor can obtain the driving direction information of the target vehicle through the CAN bus, and judge whether the driving direction of the target vehicle is traveling in the normal direction. The on-board processor determines whether the target vehicle is too close to the target lane line according to whether the shortest distance is less than the fourth set threshold.
行驶状态信息指示目标车辆的行驶方向偏移、最短距离小于第四设定阈值并且目 标车道线为禁止跨越车道线时,说明目标车辆可能将要跨越禁止跨越车道线变道,属于异常行驶状态,此时可以对目标车辆进行异常行驶预警。When the driving state information indicates that the traveling direction of the target vehicle is shifted, the shortest distance is less than the fourth set threshold, and the target lane line is a prohibited crossing lane line, it indicates that the target vehicle may be about to cross the prohibited crossing lane line and change lanes, which is an abnormal driving state. At this time, the target vehicle can be alerted to abnormal driving.
在一种可能的实施方式中,S103还可以按照以下步骤执行:In a possible implementation manner, S103 may also be performed according to the following steps:
步骤61:在目标车道线的类别信息为黄色双实线的情况下,确定目标车道线为禁止跨越车道线;Step 61: When the category information of the target lane line is a yellow double solid line, determine that the target lane line is a prohibited crossing lane line;
步骤62:基于目标车辆与目标车道线的位置关系信息,确定目标车辆与目标车道线的最短距离;Step 62: Based on the positional relationship information between the target vehicle and the target lane line, determine the shortest distance between the target vehicle and the target lane line;
步骤63:在行驶状态信息指示目标车辆的行驶方向偏移、最短距离小于第五设定阈值并且目标车道线为禁止跨越车道线的情况下,对目标车辆进行异常行驶预警。Step 63: When the driving state information indicates that the driving direction of the target vehicle deviates, the shortest distance is less than the fifth set threshold, and the target lane line is prohibited from crossing the lane line, give an abnormal driving warning to the target vehicle.
在步骤61~步骤63公开的实施方式中,通过对目标行驶图像进行识别,得到目标车道线的类别信息为黄色双实线,进而可以确定目标车道线为禁止跨越车道线,也就是目标车辆不可以实行跨越、压线、掉头等行驶动作。In the embodiment disclosed in steps 61 to 63, by recognizing the target driving image, the type information of the target lane line is obtained as a yellow double solid line, and then it can be determined that the target lane line is a lane line that is prohibited from crossing, that is, the target vehicle does not It can perform driving actions such as crossing, pressing the line, and turning around.
根据前述步骤可以确定出目标车辆与黄色双实线的最短距离,这里不再赘述。According to the foregoing steps, the shortest distance between the target vehicle and the yellow double solid line can be determined, and details will not be repeated here.
车载处理器通过CAN总线可以获取到目标车辆的行驶方向信息。车载处理器根据目标车辆的行驶方向信息判断目标车辆是否按照正常行驶方向行驶。车载处理器根据最短距离是否小于第五设定阈值,确定目标车辆是否距离目标车道线过近。The on-board processor can obtain the driving direction information of the target vehicle through the CAN bus. The on-board processor judges whether the target vehicle is traveling in the normal direction according to the traveling direction information of the target vehicle. The on-board processor determines whether the target vehicle is too close to the target lane line according to whether the shortest distance is less than the fifth set threshold.
行驶状态信息指示目标车辆的行驶方向偏移、目标车辆的转向灯打开、最短距离小于第五设定阈值时,说明目标车辆可能将要跨越禁止跨越车道线变道或掉头,属于异常行驶状态,此时可以对目标车辆进行异常行驶预警。When the driving state information indicates that the driving direction of the target vehicle is offset, the turn signal of the target vehicle is turned on, and the shortest distance is less than the fifth set threshold, it indicates that the target vehicle may be about to change lanes or make a U-turn across the prohibited lane line, which is an abnormal driving state. At this time, the target vehicle can be alerted to abnormal driving.
本公开的技术方案,除了对车辆与车道线的相对位置进行判断,还对车道线的类别以及车辆的行驶状态进行判断,考虑了影响预警的多种因素,使得车辆行驶预警系统结合更多的信息进行预警,提高了预警的准确率。The technical solution of the present disclosure, in addition to judging the relative position of the vehicle and the lane line, also judges the type of the lane line and the driving state of the vehicle, and considers various factors that affect the early warning, so that the vehicle early warning system combines more Information early warning, improve the accuracy of early warning.
在本公开的实施例中,还可以为用户提供修改预警参数的端口,用户可以是乘车人员,也可以是目标车辆的开发人员。预警参数具体可以包括目标车辆与目标车道线的距离阈值、预警前目标车辆处于异常行驶状态的持续时间、各种车速的阈值等。.In the embodiments of the present disclosure, a port for modifying the warning parameters may also be provided for the user, and the user may be a passenger or a developer of the target vehicle. The warning parameters may specifically include the distance threshold between the target vehicle and the target lane line, the duration of the abnormal driving state of the target vehicle before the warning, the thresholds of various vehicle speeds, and the like. .
针对乘车人员,可以在目标车辆内设置可编辑预警参数的显示界面,乘车人员可以在显示界面上对预警参数进行修改。For the passengers, a display interface that can edit the warning parameters can be set in the target vehicle, and the passengers can modify the warning parameters on the display interface.
针对目标车辆的开发人员,可以设置修改预警参数接口,开发人员通过接口更新 预警参数。For the developer of the target vehicle, the interface for modifying the early warning parameters can be set, and the developer can update the early warning parameters through the interface.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of specific implementation, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The inner logic is OK.
基于同一发明构思,本公开实施例中还提供了与车辆行驶预警的方法对应的车辆行驶预警的装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述车辆行驶预警的方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a vehicle driving warning device corresponding to the vehicle driving warning method, because the problem-solving principle of the device in the disclosed embodiment is the same as the above-mentioned vehicle driving warning method in the disclosed embodiment Similar, therefore, the implementation of the device can refer to the implementation of the method, and repeated descriptions will not be repeated.
参照图3所示,为本公开实施例提供的一种车辆行驶预警的装置的架构示意图,所述装置包括:获取模块301、确定模块302、预警模块303;其中,Referring to FIG. 3 , it is a schematic structural diagram of a vehicle driving early warning device provided by an embodiment of the present disclosure. The device includes: an acquisition module 301 , a determination module 302 , and an early warning module 303 ; wherein,
获取模块301,用于获取目标车辆对应的目标行驶图像;An acquisition module 301, configured to acquire a target driving image corresponding to the target vehicle;
确定模块302,用于对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;A determination module 302, configured to identify the target driving image, determine the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line;
预警模块303,用于基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。The early warning module 303 is configured to give an early warning of abnormal driving of the target vehicle based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line.
一种可能的实施方式中,获取模块301,具体用于:获取所述目标车辆对应的行驶图像以及所述目标车辆的车速信息;In a possible implementation manner, the acquisition module 301 is specifically configured to: acquire the driving image corresponding to the target vehicle and the vehicle speed information of the target vehicle;
基于所述目标车辆的车速信息,从所述行驶图像中选择车速信息对应的车速超过第一设定阈值时的行驶图像作为所述目标行驶图像。Based on the vehicle speed information of the target vehicle, a driving image when the vehicle speed corresponding to the vehicle speed information exceeds a first set threshold is selected from the driving images as the target driving image.
一种可能的实施方式中,确定模块302,具体用于:基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;In a possible implementation manner, the determination module 302 is specifically configured to: determine the shortest distance between the target vehicle and the target lane line based on the positional relationship information between the target vehicle and the target lane line;
基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的最短距离,对所述目标车辆进行异常行驶预警。Based on the category information of the target lane line, the driving state information of the target vehicle, and the shortest distance between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle.
一种可能的实施方式中,所述位置关系信息包括所述目标车辆的中心点与所述目标车道线的距离信息;In a possible implementation manner, the positional relationship information includes distance information between the center point of the target vehicle and the target lane line;
确定模块302,具体用于:基于所述目标车辆的车轮与所述目标车辆的中心点的位置关系、所述目标车辆的中心点与所述目标车道线的距离信息,确定所述目标车辆的各车轮与所述目标车道线的距离信息;The determination module 302 is specifically configured to: determine the position of the target vehicle based on the positional relationship between the wheels of the target vehicle and the center point of the target vehicle, and the distance information between the center point of the target vehicle and the target lane line. distance information between each wheel and the target lane line;
基于各所述车轮与所述目标车道线的距离信息,确定所述车轮中与所述目标车道线的距离最短的车轮,并将该车轮与所述目标车道线的距离作为所述目标车辆与所述目标车道线的最短距离。Based on the distance information between each of the wheels and the target lane line, determine the wheel with the shortest distance from the target lane line among the wheels, and use the distance between the wheel and the target lane line as the distance between the target vehicle and the target lane line. The shortest distance of the target lane line.
一种可能的实施方式中,所述目标车辆的行驶状态信息包括以下信息中的至少一种:车速信息、加速度信息、转向灯信息、行驶方向信息。In a possible implementation manner, the driving state information of the target vehicle includes at least one of the following information: vehicle speed information, acceleration information, turn signal information, and driving direction information.
一种可能的实施方式中,预警模块303,具体用于:在所述目标车道线的类别信息为白色虚线的情况下,确定所述目标车道线为可跨越车道线;In a possible implementation manner, the early warning module 303 is specifically configured to: determine that the target lane line is a crossable lane line when the category information of the target lane line is a white dotted line;
基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
在所述行驶状态信息指示所述目标车辆的车速超过第二设定阈值、所述目标车辆的转向灯未打开、所述最短距离小于第三设定阈值并且所述目标车道线为可跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving state information indicates that the speed of the target vehicle exceeds a second set threshold, the turn signal of the target vehicle is not turned on, the shortest distance is less than a third set threshold and the target lane line is a crossable lane In the case of the line, an abnormal driving warning is given to the target vehicle.
一种可能的实施方式中,预警模块303,具体用于:在所述目标车道线的类别信息为白色实线的情况下,确定所述目标车道线为禁止跨越车道线;In a possible implementation manner, the early warning module 303 is specifically configured to: determine that the target lane line is a prohibited lane line if the category information of the target lane line is a white solid line;
基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
在所述行驶状态信息指示所述目标车辆的行驶方向偏移、所述最短距离小于第四设定阈值并且所述目标车道线为禁止跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving state information indicates that the driving direction of the target vehicle is shifted, the shortest distance is less than a fourth set threshold, and the target lane line is prohibited from crossing the lane line, perform abnormal driving on the target vehicle early warning.
一种可能的实施方式中,预警模块303,具体用于:在所述目标车道线的类别信息为黄色双实线的情况下,确定所述目标车道线为禁止跨越车道线;In a possible implementation manner, the early warning module 303 is specifically configured to: determine that the target lane line is prohibited from crossing the lane line when the category information of the target lane line is a yellow double solid line;
基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
在所述行驶状态信息指示所述目标车辆的行驶方向偏移、所述最短距离小于第五设定阈值并且所述目标车道线为禁止跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving status information indicates that the driving direction of the target vehicle is shifted, the shortest distance is less than a fifth set threshold, and the target lane line is prohibited from crossing the lane line, abnormally driving the target vehicle early warning.
一种可能的实施方式中,预警模块303,具体用于:利用预设的预警方式,对所述目标车辆进行异常行驶预警;其中,所述预设的预警方式包括以下至少一种:语音、震 动、灯光闪烁、文字提示。In a possible implementation manner, the early warning module 303 is specifically configured to: use a preset early warning method to perform an abnormal driving warning on the target vehicle; wherein the preset early warning method includes at least one of the following: voice, Vibration, flashing lights, text prompts.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the device and the interaction flow between the modules, reference may be made to the relevant description in the above method embodiment, and details will not be described here.
基于同一技术构思,本公开实施例还提供了一种计算机设备。参照图4所示,为本公开实施例提供的计算机设备400的结构示意图,包括处理器401、存储器402、和总线403。其中,存储器402用于存储执行指令,包括内存4021和外部存储器4022;这里的内存4021也称内存储器,用于暂时存放处理器401中的运算数据,以及与硬盘等外部存储器4022交换的数据,处理器401通过内存4021与外部存储器4022进行数据交换,当计算机设备400运行时,处理器401与存储器402之间通过总线403通信,使得处理器401在执行以下指令:Based on the same technical idea, the embodiment of the present disclosure also provides a computer device. Referring to FIG. 4 , it is a schematic structural diagram of a computer device 400 provided by an embodiment of the present disclosure, including a processor 401 , a memory 402 , and a bus 403 . Among them, the memory 402 is used to store execution instructions, including a memory 4021 and an external memory 4022; the memory 4021 here is also called an internal memory, and is used to temporarily store calculation data in the processor 401 and exchange data with an external memory 4022 such as a hard disk. The processor 401 exchanges data with the external memory 4022 through the memory 4021. When the computer device 400 is running, the processor 401 communicates with the memory 402 through the bus 403, so that the processor 401 executes the following instructions:
获取目标车辆对应的目标行驶图像;Obtain the target driving image corresponding to the target vehicle;
对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;Recognizing the target driving image, determining the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line;
基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。Based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle.
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的车辆行驶预警的方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。An embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the method for vehicle driving warning described in the above-mentioned method embodiments are executed . Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例还提供一种计算机程序产品,该计算机产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的车辆行驶预警的方法的步骤,具体可参见上述方法实施例,在此不再赘述。An embodiment of the present disclosure also provides a computer program product, the computer product carries a program code, and the instructions included in the program code can be used to execute the steps of the vehicle driving warning method described in the above method embodiment, for details, please refer to the above-mentioned The method embodiment will not be repeated here.
其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Wherein, the above-mentioned computer program product may be specifically implemented by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. wait.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅 为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiment, and details are not repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that: the above-described embodiments are only specific implementations of the present disclosure, used to illustrate the technical solutions of the present disclosure, not to limit them, and the scope of protection of the present disclosure is not limited thereto, although referring to the aforementioned The embodiments have described the present disclosure in detail, and those skilled in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present disclosure Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be determined by the protection scope of the claims.

Claims (12)

  1. 一种车辆行驶预警的方法,其特征在于,包括:A method for early warning of vehicle running, characterized in that it comprises:
    获取目标车辆对应的目标行驶图像;Obtain the target driving image corresponding to the target vehicle;
    对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;Recognizing the target driving image, determining the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line;
    基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。Based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle.
  2. 根据权利要求1所述的方法,其特征在于,获取所述目标车辆对应的目标行驶图像,包括:The method according to claim 1, wherein obtaining the target driving image corresponding to the target vehicle comprises:
    获取所述目标车辆对应的行驶图像以及所述目标车辆的车速信息;Acquiring the driving image corresponding to the target vehicle and the vehicle speed information of the target vehicle;
    基于所述目标车辆的车速信息,从所述行驶图像中选择车速信息对应的车速超过第一设定阈值时的行驶图像作为所述目标行驶图像。Based on the vehicle speed information of the target vehicle, a driving image when the vehicle speed corresponding to the vehicle speed information exceeds a first set threshold is selected from the driving images as the target driving image.
  3. 根据权利要求1所述的方法,其特征在于,基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警,包括:The method according to claim 1, characterized in that, based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, the The target vehicle carries out abnormal driving warning, including:
    基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
    基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的最短距离,对所述目标车辆进行异常行驶预警。Based on the category information of the target lane line, the driving state information of the target vehicle, and the shortest distance between the target vehicle and the target lane line, an abnormal driving warning is given to the target vehicle.
  4. 根据权利要求3所述的方法,其特征在于,所述位置关系信息包括所述目标车辆的中心点与所述目标车道线的距离信息;The method according to claim 3, wherein the positional relationship information includes distance information between the center point of the target vehicle and the target lane line;
    基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离,包括:Determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line includes:
    基于所述目标车辆的车轮与所述目标车辆的中心点的位置关系、所述目标车辆的中心点与所述目标车道线的距离信息,确定所述目标车辆的各车轮与所述目标车道线的距离信息;Determine each wheel of the target vehicle and the target lane line based on the positional relationship between the wheels of the target vehicle and the center point of the target vehicle, and the distance information between the center point of the target vehicle and the target lane line distance information;
    基于各所述车轮与所述目标车道线的距离信息,确定所述车轮中与所述目标车道线的距离最短的车轮,并将该车轮与所述目标车道线的距离作为所述目标车辆与所述目标车道线的最短距离。Based on the distance information between each of the wheels and the target lane line, determine the wheel with the shortest distance from the target lane line among the wheels, and use the distance between the wheel and the target lane line as the distance between the target vehicle and the target lane line. The shortest distance of the target lane line.
  5. 根据权利要求1所述的方法,其特征在于,所述目标车辆的行驶状态信息包括以下信息中的至少一种:车速信息、加速度信息、转向灯信息、行驶方向信息。The method according to claim 1, wherein the driving state information of the target vehicle includes at least one of the following information: vehicle speed information, acceleration information, turn signal information, and driving direction information.
  6. 根据权利要求5所述的方法,其特征在于,基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警,包括:The method according to claim 5, characterized in that, based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, the The target vehicle carries out abnormal driving warning, including:
    在所述目标车道线的类别信息为白色虚线的情况下,确定所述目标车道线为可跨越车道线;If the category information of the target lane line is a white dotted line, determine that the target lane line is a crossable lane line;
    基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
    在所述行驶状态信息指示所述目标车辆的车速超过第二设定阈值、所述目标车辆的转向灯未打开、所述最短距离小于第三设定阈值并且所述目标车道线为可跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving state information indicates that the speed of the target vehicle exceeds a second set threshold, the turn signal of the target vehicle is not turned on, the shortest distance is less than a third set threshold and the target lane line is a crossable lane In the case of the line, an abnormal driving warning is given to the target vehicle.
  7. 根据权利要求5所述的方法,其特征在于,基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警,包括:The method according to claim 5, characterized in that, based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, the The target vehicle carries out abnormal driving warning, including:
    在所述目标车道线的类别信息为白色实线的情况下,确定所述目标车道线为禁止跨越车道线;In the case where the category information of the target lane line is a white solid line, it is determined that the target lane line is prohibited from crossing the lane line;
    基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
    在所述行驶状态信息指示所述目标车辆的行驶方向偏移、所述最短距离小于第四设定阈值并且所述目标车道线为禁止跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving state information indicates that the driving direction of the target vehicle is shifted, the shortest distance is less than a fourth set threshold, and the target lane line is prohibited from crossing the lane line, perform abnormal driving on the target vehicle early warning.
  8. 根据权利要求5所述的方法,其特征在于,基于所述目标车道线的类别信息、 所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警,包括:The method according to claim 5, characterized in that, based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line, the The target vehicle carries out abnormal driving warning, including:
    在所述目标车道线的类别信息为黄色双实线的情况下,确定所述目标车道线为禁止跨越车道线;In the case where the category information of the target lane line is a yellow double solid line, it is determined that the target lane line is prohibited from crossing the lane line;
    基于所述目标车辆与所述目标车道线的位置关系信息,确定所述目标车辆与所述目标车道线的最短距离;determining the shortest distance between the target vehicle and the target lane line based on positional relationship information between the target vehicle and the target lane line;
    在所述行驶状态信息指示所述目标车辆的行驶方向偏移、所述最短距离小于第五设定阈值并且所述目标车道线为禁止跨越车道线的情况下,对所述目标车辆进行异常行驶预警。When the driving status information indicates that the driving direction of the target vehicle is shifted, the shortest distance is less than a fifth set threshold, and the target lane line is prohibited from crossing the lane line, abnormally driving the target vehicle early warning.
  9. 根据权利要求1~8任一所述的方法,其特征在于,所述对所述目标车辆进行异常行驶预警,包括:The method according to any one of claims 1 to 8, wherein the pre-warning of abnormal driving of the target vehicle includes:
    利用预设的预警方式,对所述目标车辆进行异常行驶预警;其中,所述预设的预警方式包括以下至少一种:语音、震动、灯光闪烁、文字提示。Pre-warning the abnormal driving of the target vehicle by using a preset warning method; wherein, the preset warning method includes at least one of the following: voice, vibration, flashing lights, and text prompts.
  10. 一种车辆行驶预警的装置,其特征在于,包括:A device for early warning of vehicle running, characterized in that it includes:
    获取模块,用于获取目标车辆对应的目标行驶图像;An acquisition module, configured to acquire a target driving image corresponding to the target vehicle;
    确定模块,用于对所述目标行驶图像进行识别,确定所述目标车辆当前所在车道的目标车道线以及所述目标车道线的类别信息;A determination module, configured to identify the target driving image, determine the target lane line of the lane where the target vehicle is currently located and the category information of the target lane line;
    预警模块,用于基于所述目标车道线的类别信息、所述目标车辆的行驶状态信息以及所述目标车辆与所述目标车道线的位置关系信息,对所述目标车辆进行异常行驶预警。An early warning module, configured to give an early warning of abnormal driving of the target vehicle based on the category information of the target lane line, the driving state information of the target vehicle, and the positional relationship information between the target vehicle and the target lane line.
  11. 一种计算机设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至9任一项所述的车辆行驶预警的方法的步骤。A computer device, characterized in that it includes: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the connection between the processor and the memory The machine-readable instructions are executed by the processor through the bus communication, and the steps of the vehicle driving warning method according to any one of claims 1 to 9 are executed.
  12. 一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至9任一项所述的车辆行驶预警的方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the method for vehicle driving warning according to any one of claims 1 to 9 is executed A step of.
PCT/CN2022/084343 2021-08-30 2022-03-31 Vehicle traveling warning method and apparatus WO2023029469A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111006469.2 2021-08-30
CN202111006469.2A CN113581196B (en) 2021-08-30 2021-08-30 Method and device for early warning of vehicle running, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023029469A1 true WO2023029469A1 (en) 2023-03-09

Family

ID=78240341

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084343 WO2023029469A1 (en) 2021-08-30 2022-03-31 Vehicle traveling warning method and apparatus

Country Status (2)

Country Link
CN (1) CN113581196B (en)
WO (1) WO2023029469A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113581196B (en) * 2021-08-30 2023-08-22 上海商汤临港智能科技有限公司 Method and device for early warning of vehicle running, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150375784A1 (en) * 2013-02-19 2015-12-31 Denso Corporation Lane line departure prevention apparatus
CN107284455A (en) * 2017-05-16 2017-10-24 浙江理工大学 A kind of ADAS systems based on image procossing
CN108297879A (en) * 2017-12-14 2018-07-20 浙江鼎奕科技发展有限公司 A kind of Car warning system
CN109159667A (en) * 2018-07-28 2019-01-08 上海商汤智能科技有限公司 Intelligent driving control method and device, vehicle, electronic equipment, medium, product
CN109263659A (en) * 2018-07-28 2019-01-25 上海商汤智能科技有限公司 Intelligent driving control method and device, vehicle, electronic equipment, medium, product
CN109866684A (en) * 2019-03-15 2019-06-11 江西江铃集团新能源汽车有限公司 Lane departure warning method, system, readable storage medium storing program for executing and computer equipment
CN111469860A (en) * 2020-06-28 2020-07-31 江铃汽车股份有限公司 Lane departure early warning method and device, storage medium and automobile data recorder
CN113581196A (en) * 2021-08-30 2021-11-02 上海商汤临港智能科技有限公司 Vehicle driving early warning method and device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106467057B (en) * 2015-08-21 2019-01-08 腾讯科技(深圳)有限公司 The method, apparatus and system of lane departure warning
CN106355951A (en) * 2016-09-22 2017-01-25 深圳市元征科技股份有限公司 Device and method for controlling vehicle traveling
CN109606346A (en) * 2018-12-29 2019-04-12 武汉超控科技有限公司 A kind of Lane Keeping System of automatic Pilot
CN113538919B (en) * 2019-03-11 2022-10-28 百度在线网络技术(北京)有限公司 Lane departure recognition method, device, equipment and storage medium
CN110517521B (en) * 2019-08-06 2020-04-07 北京航空航天大学 Lane departure early warning method based on road-vehicle fusion perception
CN113723141B (en) * 2020-05-25 2022-09-06 阿波罗智能技术(北京)有限公司 Vehicle positioning method and device, electronic equipment, vehicle and storage medium
CN112339773B (en) * 2020-11-10 2021-12-14 中科海微(北京)科技有限公司 Monocular vision-based non-active lane departure early warning method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150375784A1 (en) * 2013-02-19 2015-12-31 Denso Corporation Lane line departure prevention apparatus
CN107284455A (en) * 2017-05-16 2017-10-24 浙江理工大学 A kind of ADAS systems based on image procossing
CN108297879A (en) * 2017-12-14 2018-07-20 浙江鼎奕科技发展有限公司 A kind of Car warning system
CN109159667A (en) * 2018-07-28 2019-01-08 上海商汤智能科技有限公司 Intelligent driving control method and device, vehicle, electronic equipment, medium, product
CN109263659A (en) * 2018-07-28 2019-01-25 上海商汤智能科技有限公司 Intelligent driving control method and device, vehicle, electronic equipment, medium, product
CN109866684A (en) * 2019-03-15 2019-06-11 江西江铃集团新能源汽车有限公司 Lane departure warning method, system, readable storage medium storing program for executing and computer equipment
CN111469860A (en) * 2020-06-28 2020-07-31 江铃汽车股份有限公司 Lane departure early warning method and device, storage medium and automobile data recorder
CN113581196A (en) * 2021-08-30 2021-11-02 上海商汤临港智能科技有限公司 Vehicle driving early warning method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113581196A (en) 2021-11-02
CN113581196B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
US11977675B2 (en) Primary preview region and gaze based driver distraction detection
JP6671554B1 (en) Determining future heading using wheel attitude
US10259457B2 (en) Traffic light anticipation
US10139818B2 (en) Visual communication system for autonomous driving vehicles (ADV)
WO2022007655A1 (en) Automatic lane changing method and apparatus, and device and storage medium
JP7307558B2 (en) Vehicle driving control system
CN112534487B (en) Information processing apparatus, moving body, information processing method, and program
US11008012B2 (en) Driving consciousness estimation device
JP2017151694A (en) Safety confirmation diagnostic system and safety confirmation diagnostic method
US20240054793A1 (en) Information processing device, information processing method, and program
US20220253065A1 (en) Information processing apparatus, information processing method, and information processing program
WO2023029469A1 (en) Vehicle traveling warning method and apparatus
JP2017129973A (en) Driving support apparatus and driving support method
US11643008B2 (en) Display device and display method for display device
EP4279350A1 (en) Lane keeping based on lane position unawareness
CN114252086B (en) Prompt message output method, device, equipment, medium and vehicle
JP2022167920A (en) Operating information processing device and operating information processing program
JP2017004339A (en) Driver support device for vehicle
JP2012103849A (en) Information provision device
JP2010262478A (en) Vehicle control system and safety confirmation determination device
EP4102323B1 (en) Vehicle remote control device, vehicle remote control system, vehicle remote control method, and vehicle remote control program
US20230373516A1 (en) Apparatus for controlling an autonomous driving, vehicle system having the same method thereof
JP7260207B2 (en) Driving information processing device and driving information processing program
WO2022201892A1 (en) Information processing apparatus, information processing method, and program
JP2022186232A (en) Information processing server, processing method of information processing server, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22862616

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE