TWI823613B - Anti-collision warning method, vehicle-mounted device, and storage medium - Google Patents

Anti-collision warning method, vehicle-mounted device, and storage medium Download PDF

Info

Publication number
TWI823613B
TWI823613B TW111138810A TW111138810A TWI823613B TW I823613 B TWI823613 B TW I823613B TW 111138810 A TW111138810 A TW 111138810A TW 111138810 A TW111138810 A TW 111138810A TW I823613 B TWI823613 B TW I823613B
Authority
TW
Taiwan
Prior art keywords
vehicle
obstacle
collision warning
impact
countdown
Prior art date
Application number
TW111138810A
Other languages
Chinese (zh)
Other versions
TW202415567A (en
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 鴻海精密工業股份有限公司
Priority to TW111138810A priority Critical patent/TWI823613B/en
Application granted granted Critical
Publication of TWI823613B publication Critical patent/TWI823613B/en
Publication of TW202415567A publication Critical patent/TW202415567A/en

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The present application provides an anti-collision warning method, a vehicle-mounted device, and a storage medium. The anti-collision warning method includes: fusing acquired radar information and image information; identifying an obstacle in a direction of travel of a vehicle according to the fused radar information and image information; determining motion parameters of the obstacle and the vehicle according to the radar information and the image information; calculating collision time between the vehicle and the obstacle according to the motion parameters, and issuing an anti-collision warning. This application can assist the user in driving safely.

Description

防撞預警方法、車載裝置及儲存介質 Anti-collision warning method, vehicle-mounted device and storage medium

本發明涉及安全駕駛技術領域,特別是指一種防撞預警方法、車載裝置及儲存介質。 The present invention relates to the technical field of safe driving, and in particular, to an anti-collision warning method, a vehicle-mounted device and a storage medium.

車輛的防撞預警系統透過持續檢測車輛行進方向的道路狀況,可以幫助用戶避免發生碰撞等交通事故。然而,現有的防撞預警系統中存在著障礙物類別識別不準確、預警時間不凖等問題。 The vehicle's collision avoidance warning system can help users avoid collisions and other traffic accidents by continuously detecting road conditions in the direction of the vehicle's travel. However, existing anti-collision warning systems have problems such as inaccurate recognition of obstacle categories and inaccurate warning time.

鑒於以上內容,有必要提供一種防撞預警方法、車載裝置及儲存介質,能夠有效提高障礙物識別的準確率以及預警時間的精度,輔助用戶進行安全駕駛。 In view of the above, it is necessary to provide an anti-collision warning method, vehicle-mounted device and storage medium that can effectively improve the accuracy of obstacle recognition and the accuracy of warning time, and assist users in safe driving.

所述防撞預警方法包括:對獲取的雷達資訊與影像資訊進行融合;根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物;根據所述雷達資訊與所述影像資訊,確定所述障礙物與所述車輛的運動參數;根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警。 The anti-collision warning method includes: fusing the acquired radar information and image information; identifying obstacles in the direction of vehicle travel based on the fused radar information and image information; and determining the obstacles based on the radar information and the image information. The motion parameters of the obstacle and the vehicle are calculated; the collision time between the vehicle and the obstacle is calculated based on the motion parameters, and an anti-collision warning is issued.

可選地,根據所述雷達資訊與所述影像資訊,確定所述障礙物與所述車輛的運動參數包括:根據所述雷達資訊確定所述障礙物與所述車輛的相對距離與相對速度;基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離。 Optionally, determining the motion parameters of the obstacle and the vehicle based on the radar information and the image information includes: determining the relative distance and relative speed of the obstacle and the vehicle based on the radar information; The predicted traveling distance of the obstacle is predicted based on the image information and the relative speed.

可選地,所述根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警包括:根據所述運動參數計算第一撞擊倒計時;根據所述運動參數計算第二撞擊倒計時;若所述第一撞擊倒計時小於所述第二撞擊倒計時,發出所述防撞預警。 Optionally, calculating the impact time between the vehicle and the obstacle based on the movement parameters and issuing an anti-collision warning includes: calculating a first impact countdown based on the movement parameters; calculating a second impact based on the movement parameters. Countdown; if the first impact countdown is less than the second impact countdown, issue the anti-collision warning.

可選地,所述方法還包括:對獲取所述雷達資訊的雷達裝置與獲取所述影像資訊的攝像裝置進行聯合標定;將所述雷達資訊包括的點雲與所述影像資訊包括的圖像進行融合,所述融合包括將所述點雲投影至所述圖像。 Optionally, the method further includes: jointly calibrating the radar device that acquires the radar information and the camera device that acquires the image information; and combining the point cloud included in the radar information and the image included in the image information. Performing a fusion that includes projecting the point cloud to the image.

可選地,所述根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物,包括:基於預設的深度神經網路識別所述圖像中的目標物體,並確定目標物體的包圍框;基於目標物體的包圍框對融合後的點雲進行分類,將分類後的點雲進行聚類;根據聚類後的點雲和所述目標物體的包圍框獲得包圍盒;基於所述包圍盒確定所述目標物體是否為所述障礙物,以及所述障礙物的類別。 Optionally, identifying obstacles in the direction of vehicle travel based on the fused radar information and image information includes: identifying the target object in the image based on a preset deep neural network, and determining the surrounding area of the target object. box; classify the fused point cloud based on the bounding box of the target object, and cluster the classified point cloud; obtain a bounding box based on the clustered point cloud and the bounding box of the target object; based on the bounding box The box determines whether the target object is the obstacle and the type of obstacle.

可選地,所述基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離包括:獲取拍攝兩張相鄰圖像之間的間隔時間,以及兩張圖像中的障礙物對應的兩個相對速度;根據所述間隔時間與所述兩個相對速度,計算所述障礙物的加速度;根據所述間隔時間與所述加速度計算所述預測前進距離。 Optionally, predicting the predicted forward distance of the obstacle based on the image information and the relative speed includes: obtaining the interval time between taking two adjacent images, and the corresponding distance of the obstacle in the two images. Two relative velocities; calculate the acceleration of the obstacle based on the interval time and the two relative velocities; calculate the predicted forward distance based on the interval time and the acceleration.

可選地,所述根據所述運動參數計算第一撞擊倒計時包括:令所述第一撞擊倒計時與所述障礙物與所述車輛的相對距離、所述障礙物的預測前進距離成正比,並且與所述障礙物與所述車輛的相對速度成反比。 Optionally, calculating the first impact countdown based on the motion parameters includes: making the first impact countdown proportional to the relative distance between the obstacle and the vehicle and the predicted forward distance of the obstacle, and Inversely proportional to the relative speed of the obstacle and the vehicle.

可選地,所述根據所述運動參數計算第二撞擊倒計時包括:根據所述車輛的車速與重力加速度計算所述車輛的剎停距離,其中所述剎停距離與所述車速的平方成正比,並且與重力加速度成反比;令所述第二撞擊倒計時與所述剎停距離成正比,並且與所述相對速度成反比。 Optionally, calculating the second impact countdown based on the motion parameters includes: calculating the braking distance of the vehicle based on the vehicle's speed and gravity acceleration, wherein the braking distance is proportional to the square of the vehicle speed. , and is inversely proportional to the acceleration of gravity; let the second impact countdown be directly proportional to the braking distance, and inversely proportional to the relative speed.

所述電腦可讀儲存介質儲存有至少一個指令,所述至少一個指令被處理器執行時實現所述防撞預警方法或所述防撞預警方法。 The computer-readable storage medium stores at least one instruction. When the at least one instruction is executed by a processor, the anti-collision warning method or the anti-collision warning method is implemented.

所述車載裝置包括儲存器和至少一個處理器,所述儲存器中儲存有至少一個指令,所述至少一個指令被所述至少一個處理器執行時實現所述防撞預警方法。 The vehicle-mounted device includes a storage and at least one processor. At least one instruction is stored in the storage. When the at least one instruction is executed by the at least one processor, the collision avoidance warning method is implemented.

相較於習知技術,本申請實施例提供的防撞預警方法,根據雷達資訊與影像資訊確定障礙物與車輛的運動參數,根據運動參數計算車輛與障礙物的撞擊時間,能夠有效提高障礙物識別的準確率以及預警時間的精度,輔助用戶安全駕駛。 Compared with the prior art, the anti-collision warning method provided by the embodiments of the present application determines the motion parameters of the obstacle and the vehicle based on radar information and image information, and calculates the collision time between the vehicle and the obstacle based on the motion parameters, which can effectively improve the detection of obstacles. The accuracy of recognition and the accuracy of warning time assist users in driving safely.

3:車載裝置 3: Vehicle-mounted device

30:防撞預警系統 30: Anti-collision warning system

31:儲存器 31:Storage

32:處理器 32: Processor

33:雷達裝置 33:Radar device

34:攝像裝置 34:Camera device

S1~S4:步驟 S1~S4: steps

為了更清楚地說明本申請實施例或習知技術中的技術方案,下面將對實施例或習知技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請的實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據提供的附圖獲得其他的附圖。 In order to more clearly explain the technical solutions in the embodiments of the present application or the conventional technology, the following will briefly introduce the drawings needed to describe the embodiments or the conventional technology. Obviously, the drawings in the following description are only This is an embodiment of the present application. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.

圖1是本申請實施例提供的防撞預警方法的流程圖。 Figure 1 is a flow chart of the anti-collision warning method provided by an embodiment of the present application.

圖2是本申請實施例提供的車載裝置的架構圖。 FIG. 2 is an architectural diagram of a vehicle-mounted device provided by an embodiment of the present application.

為了能夠更清楚地理解本申請的上述目的、特徵和優點,下面結合附圖和具體實施例對本申請進行詳細描述。需要說明的是,在不衝突的情況下,本申請的實施例及實施例中的特徵可以相互組合。 In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, as long as there is no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

在下面的描述中闡述了很多具體細節以便於充分理解本申請,所描述的實施例僅僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲 得的所有其他實施例,都屬於本申請保護的範圍。 Many specific details are set forth in the following description to facilitate a full understanding of the present application. The described embodiments are only some, rather than all, of the embodiments of the present application. Based on the embodiments in this application, those of ordinary skill in the art can obtain the results without any creative efforts. All other embodiments obtained fall within the scope of protection of this application.

除非另有定義,本文所使用的所有的技術和科學術語與屬於本申請的技術領域的技術人員通常理解的含義相同。本文中在本申請的說明書中所使用的術語只是為了描述具體的實施例的目的,不是旨在於限制本申請。 Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing specific embodiments only and is not intended to limit the application.

在一個實施例中,車輛的防撞預警系統透過持續檢測車輛行進方向的道路狀況,可以快速且有效地檢測潛在的危險情況,並透過不同的聲音和/或視覺提醒,從而說明用戶避免追尾、無意識偏離車道、與行人等障礙物發生碰撞等交通事故。現有的防撞預警系統中存在著障礙物類別識別不準確、預警時間不凖等問題。 In one embodiment, the vehicle's anti-collision warning system can quickly and effectively detect potential dangerous situations by continuously detecting road conditions in the direction of travel of the vehicle, and provide different sound and/or visual reminders to help users avoid rear-end collisions, Unintentional deviation from the lane, collision with pedestrians and other obstacles and other traffic accidents. The existing anti-collision warning system has problems such as inaccurate recognition of obstacle categories and inaccurate warning time.

為了解決上述問題,本申請實施例提供的防撞預警方法,基於毫米波雷達融合單目視覺的方式,根據雷達資訊與影像資訊確定障礙物與車輛的運動參數,根據運動參數計算車輛與障礙物的撞擊時間,能夠有效提高障礙物識別的準確率以及預警時間的精度,輔助用戶安全駕駛。 In order to solve the above problems, the anti-collision warning method provided by the embodiment of the present application is based on the fusion of monocular vision with millimeter wave radar, determines the motion parameters of obstacles and vehicles based on radar information and image information, and calculates the motion parameters of vehicles and obstacles based on the motion parameters. The collision time can effectively improve the accuracy of obstacle recognition and warning time, and assist users in safe driving.

參閱圖1所示,為本申請較佳實施例的防撞預警方法的流程圖。 Refer to FIG. 1 , which is a flow chart of a collision avoidance warning method according to a preferred embodiment of the present application.

在本實施例中,所述防撞預警方法可以應用於安裝在車輛中的車載裝置中(例如圖2所示的車載裝置),對於需要進行防撞預警的車載裝置,可以直接在車載裝置上集成本申請實施例的方法所提供的防撞預警的功能,或者以軟體開發套件(Software Development Kit,SDK)的形式運行在車載裝置上。 In this embodiment, the anti-collision warning method can be applied to a vehicle-mounted device installed in a vehicle (such as the vehicle-mounted device shown in Figure 2). For vehicle-mounted devices that require anti-collision warning, the vehicle-mounted device can be directly installed on the vehicle-mounted device. The anti-collision warning function provided by the method of the embodiment of the present application can be integrated or run on the vehicle-mounted device in the form of a software development kit (Software Development Kit, SDK).

如圖1所示,所述防撞預警方法具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略。 As shown in Figure 1, the anti-collision warning method specifically includes the following steps. According to different needs, the order of the steps in the flow chart can be changed, and some steps can be omitted.

步驟S1、對獲取的雷達資訊與影像資訊進行融合。 Step S1: Fusion of the acquired radar information and image information.

在一個實施例中,車載裝置可以包括多個感測器設備,例如測距感測器和圖像感測器,具體地,所述測距感測器可以包括雷達裝置(例如毫米波雷達),所述圖像感測器可以包括攝像裝置(例如單目攝像裝置)。 在本申請實施例中,車載裝置可以是車輛中配置的設備,安裝在車輛中且具有相應的軟體系統以執行各項指令;也可以是與車輛透過通訊連接的外部設備,以實現對車輛資料的獲取與對車輛的控制。 In one embodiment, the vehicle-mounted device may include a plurality of sensor devices, such as a ranging sensor and an image sensor. Specifically, the ranging sensor may include a radar device (such as a millimeter wave radar). , the image sensor may include a camera device (such as a monocular camera device). In the embodiment of the present application, the vehicle-mounted device can be a device configured in the vehicle, installed in the vehicle and having a corresponding software system to execute various instructions; it can also be an external device connected to the vehicle through communication to realize the control of vehicle data. acquisition and control of the vehicle.

所述雷達裝置可以安裝在所述車輛中,例如車輛的前擋風玻璃等位置,用於獲取車輛行進方向的點雲(例如,三維點雲);所述攝像裝置可以安裝在所述車輛的前擋風玻璃等位置,用於獲取車輛行進方向的圖像(例如,二維圖像)。所述攝像裝置可以是安裝在車輛中的行車記錄儀,也可以是一個或多個攝像頭,攝像頭可安裝於車輛上,也可以是獨立的設備與車輛透過網路等方式進行連線。實際應用中並不局限於上述舉例。 The radar device can be installed in the vehicle, such as on the front windshield of the vehicle, to obtain point clouds (for example, three-dimensional point clouds) in the direction of travel of the vehicle; the camera device can be installed on the vehicle's front windshield. Positions such as the front windshield are used to obtain images of the vehicle's direction of travel (for example, two-dimensional images). The camera device may be a driving recorder installed in the vehicle, or it may be one or more cameras. The cameras may be installed on the vehicle, or they may be independent devices connected to the vehicle through a network or other means. Practical applications are not limited to the above examples.

在一個實施例中,所述方法還包括:對獲取所述雷達資訊的雷達裝置與獲取所述影像資訊的攝像裝置進行聯合標定;將所述雷達資訊包括的點雲與所述影像資訊包括的圖像進行融合,所述融合包括將所述點雲投影至所述圖像。 In one embodiment, the method further includes: jointly calibrating a radar device that acquires the radar information and a camera device that acquires the image information; and combining the point cloud included in the radar information with the point cloud included in the image information. The images are fused, and the fusion includes projecting the point cloud onto the image.

在所述雷達裝置與所述攝像裝置構成的多感測器探測系統中,進行雷達資訊與圖像資訊融合前需要對兩種感測器進行聯合標定,從而獲得點雲的點(point)和圖像的圖元(pixel)之間的對應關係,將三維點雲對應投影至二維圖像中,完成雷達資訊與圖像資訊的融合。 In the multi-sensor detection system composed of the radar device and the camera device, the two sensors need to be jointly calibrated before fusing the radar information and the image information, so as to obtain the points and points of the point cloud. The corresponding relationship between the pixels of the image projects the three-dimensional point cloud into the two-dimensional image to complete the fusion of radar information and image information.

在一個實施例中,聯合標定並融合雷達資訊與圖像資訊的基本原理包括:分別獲取雷達裝置與攝像裝置的外參(旋轉矩陣、平移向量等),基於所述外參獲得雷達裝置所在的世界座標系與攝像裝置所在的座標系的轉換矩陣(例如,基於Perspective-n-Point演算法計算得到的座標轉換關係矩陣);基於所述轉換矩陣將三維點雲座標系下的點(point)投影至攝像裝置所在的三維座標系中;透過對攝像裝置進行相機標定獲得攝像裝置的內參(焦距、主點、傾斜係數、畸變係數等),基於所述內參消除攝像裝置的凸透鏡的畸變效應,將投影至攝像裝置所在的三維座標系中的點(point)投影到二維圖像中。具體地,可以使用多種標定工具實現上述過程,例如, APOLLO的感測器設備標定工具、AUTOWARE的CalibrationTookit模組等。 In one embodiment, the basic principle of jointly calibrating and fusing radar information and image information includes: obtaining external parameters (rotation matrix, translation vector, etc.) of the radar device and camera device respectively, and obtaining the location where the radar device is located based on the external parameters. The transformation matrix between the world coordinate system and the coordinate system where the camera device is located (for example, the coordinate transformation relationship matrix calculated based on the Perspective-n-Point algorithm); based on the transformation matrix, the point in the three-dimensional point cloud coordinate system is converted into Project to the three-dimensional coordinate system where the camera device is located; obtain the internal parameters of the camera device (focal length, principal point, tilt coefficient, distortion coefficient, etc.) by performing camera calibration on the camera device, and eliminate the distortion effect of the convex lens of the camera device based on the internal parameters, A point projected into the three-dimensional coordinate system in which the camera device is located is projected into the two-dimensional image. Specifically, a variety of calibration tools can be used to implement the above process, for example, APOLLO's sensor equipment calibration tool, AUTOWARE's CalibrationTookit module, etc.

在一個實施例中,多感測器探測系統可以有效提高車輛對環境的感知能力以及安全性能。其中測距感測器和圖像感測器的融合在獲取環境資訊、進行目標識別等方面具有明顯優勢。其中,毫米波雷達相較於其他測距傳感器具有探測範圍廣、受天氣影響小等優點,具有很好的適應性。 In one embodiment, a multi-sensor detection system can effectively improve the vehicle's environmental awareness and safety performance. Among them, the integration of ranging sensors and image sensors has obvious advantages in obtaining environmental information and target recognition. Among them, millimeter-wave radar has the advantages of wide detection range, less affected by weather, etc. compared with other ranging sensors, and has good adaptability.

在其他實施例中,所述雷達裝置與攝像裝置還可以安裝在車輛的其他位置,例如,安裝在車輛的後擋風玻璃處,從而結合後續步驟在車輛後方即將被追尾時發出防撞預警。 In other embodiments, the radar device and the camera device can also be installed at other locations on the vehicle, for example, at the rear windshield of the vehicle, so as to issue an anti-collision warning in conjunction with subsequent steps when the vehicle is about to be rear-ended.

步驟S2、根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物。 Step S2: Identify obstacles in the direction of vehicle travel based on the fused radar information and image information.

在一個實施例中,所述根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物,包括:基於預設的深度神經網路識別所述圖像中的目標物體,並確定目標物體的包圍框;基於目標物體的包圍框對融合後的點雲進行分類,將分類後的點雲進行聚類;根據聚類後的點雲和所述目標物體的包圍框獲得包圍盒;基於所述包圍盒確定所述目標物體是否為所述障礙物,以及所述障礙物的類別。 In one embodiment, identifying obstacles in the direction of vehicle travel based on the fused radar information and image information includes: identifying the target object in the image based on a preset deep neural network, and determining the target object bounding box; classify the fused point cloud based on the bounding box of the target object, and cluster the classified point cloud; obtain a bounding box based on the clustered point cloud and the bounding box of the target object; based on the The bounding box determines whether the target object is the obstacle and the type of the obstacle.

在一個實施例中,所述深度神經網路可以是基於YOLOv3(You Only Look Once)的YOLOv3,YOLOv3利用全卷積網路將圖像劃分多個子區域,基於所述多個子區域預測物體的邊界框和每個子區域所屬的物體類別的概率,透過非極大值抑制演算法去除多餘的邊界框,從而區分出圖像中的物體以及每個物體的類別,確定目標物體的包圍框(二維包圍框)。可以節省計算時間的同時提升物體識別的檢測精度。 In one embodiment, the deep neural network may be YOLOv3 based on YOLOv3 (You Only Look Once). YOLOv3 uses a fully convolutional network to divide the image into multiple sub-regions and predict the boundaries of the object based on the multiple sub-regions. The probability of the object category that the frame and each sub-region belongs to is removed through the non-maximum suppression algorithm to remove redundant bounding boxes, thereby distinguishing the objects in the image and the category of each object, and determining the bounding box (two-dimensional bounding box) of the target object. frame). It can save calculation time and improve the detection accuracy of object recognition.

在一個實施例中,所述目標物體可以包括行人、車輛、護欄、車道線、廢紙等。 In one embodiment, the target objects may include pedestrians, vehicles, guardrails, lane lines, waste paper, etc.

在一個實施例中,當確定目標物體的包圍框後,所述根據融合後 的雷達資訊與影像資訊,識別車輛行進方向的障礙物具體包括:基於二維圖像中目標物體的二維包圍框,將投影至二維圖像上的三維點雲中的點進行分類;透過聚類演算法剔除分類後的三維點雲中雜訊點和距離每類三維點雲較遠的點(例如,透過預設距離閾值篩查距離較遠的點);將聚類過的三維點雲和所述目標物體的二維包圍框圖像輸入深度學習網路(例如深度卷積神經網路),回歸得到聚類過的三維點雲的三維包圍盒,從而獲得對應的包圍盒的目標物體的類別,以及目標物體中障礙物的位置與障礙物的類別(例如,行人、車輛、護欄等非低矮或平面的目標物體)。 In one embodiment, after determining the bounding box of the target object, the method is based on the fused Based on the radar information and image information, identifying obstacles in the direction of vehicle travel specifically includes: based on the two-dimensional bounding box of the target object in the two-dimensional image, classifying the points in the three-dimensional point cloud projected onto the two-dimensional image; The clustering algorithm removes noise points from the classified 3D point cloud and points that are far away from each type of 3D point cloud (for example, screening far away points through a preset distance threshold); the clustered 3D points are The two-dimensional bounding box image of the cloud and the target object is input into a deep learning network (such as a deep convolutional neural network), and the three-dimensional bounding box of the clustered three-dimensional point cloud is obtained by regression, thereby obtaining the target of the corresponding bounding box. The type of object, as well as the location and type of obstacles in the target object (for example, non-low or flat target objects such as pedestrians, vehicles, guardrails, etc.).

在一個實施例中,基於二維包圍框和三維包圍盒,對融合後的點雲與圖像中的目標物體進行了二維與三維這兩個維度中的兩次類別檢測,能夠有效提高物體類別檢測的精度。 In one embodiment, based on the two-dimensional bounding box and the three-dimensional bounding box, two category detections in two dimensions and three dimensions are performed on the fused point cloud and the target object in the image, which can effectively improve the object quality. Category detection accuracy.

步驟S3、根據所述雷達資訊與所述影像資訊,確定所述障礙物與所述車輛的運動參數。 Step S3: Determine motion parameters of the obstacle and the vehicle based on the radar information and the image information.

在一個實施例中,根據所述雷達資訊與所述影像資訊,確定所述障礙物與所述車輛的運動參數包括:根據所述雷達資訊確定所述障礙物與所述車輛的相對距離與相對速度;基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離。 In one embodiment, determining the motion parameters of the obstacle and the vehicle based on the radar information and the image information includes: determining the relative distance and relative distance between the obstacle and the vehicle based on the radar information. Speed; predict the predicted forward distance of the obstacle based on the image information and the relative speed.

在一個實施例中,雷達裝置可以基於都卜勒效應(Doppler Effect)原理計算出障礙物與雷達裝置的相對速度。具體地,都卜勒效應原理包括:當障礙物向雷達天線靠近時,反射訊號頻率將高於發射機頻率;反之,當障礙物遠離天線而去時,反射訊號頻率將低於發射機頻率,因此可以根據頻率的改變數值(障礙物面對雷達運動,都卜勒頻率為正,當障礙物背向雷達運動,都卜勒頻率為負)計算出所述相對速度。 In one embodiment, the radar device can calculate the relative speed of the obstacle and the radar device based on the Doppler Effect principle. Specifically, the Doppler effect principle includes: when an obstacle approaches the radar antenna, the frequency of the reflected signal will be higher than the frequency of the transmitter; conversely, when the obstacle moves away from the antenna, the frequency of the reflected signal will be lower than the frequency of the transmitter. Therefore, the relative speed can be calculated based on the change in frequency (when an obstacle moves toward the radar, the Doppler frequency is positive; when the obstacle moves away from the radar, the Doppler frequency is negative).

在一個實施例中,雷達裝置採集的三維點雲包含每個點距離雷達裝置的深度資訊,可以將障礙物的所有點中的深度最小值作為障礙物的點雲深度。此外,可以在安裝雷達裝置時,確定雷達裝置與車輛的車身的距 離(例如安裝在車輛前擋風玻璃處的雷達裝置與車輛的車頭的距離),從而根據預設公式計算所述障礙物與所述車輛的相對距離,其中預設公式為:相對距離=障礙物的點雲深度-雷達裝置與車輛的車身的距離。 In one embodiment, the three-dimensional point cloud collected by the radar device includes depth information of each point's distance from the radar device, and the minimum depth value among all points of the obstacle can be used as the point cloud depth of the obstacle. In addition, when installing the radar device, the distance between the radar device and the vehicle body can be determined. (for example, the distance between the radar device installed at the front windshield of the vehicle and the front of the vehicle), thereby calculating the relative distance between the obstacle and the vehicle according to the preset formula, where the preset formula is: relative distance = obstacle The point cloud depth of the object - the distance between the radar device and the vehicle body.

在一個實施例中,所述基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離包括:獲取拍攝兩張相鄰圖像之間的間隔時間,以及兩張圖像中的障礙物對應的兩個相對速度;根據所述間隔時間與所述兩個相對速度,計算所述障礙物的加速度;根據所述間隔時間與所述加速度計算所述預測前進距離。 In one embodiment, predicting the predicted forward distance of the obstacle based on the image information and the relative speed includes: obtaining the interval time between taking two adjacent images, and the obstacles in the two images. Corresponding two relative velocities; calculate the acceleration of the obstacle based on the interval time and the two relative velocities; calculate the predicted forward distance based on the interval time and the acceleration.

在一個實施例中,可以基於攝像裝置拍攝圖像的幀率獲得所述間隔時間t,例如,當幀率為每秒30幀時,所述間隔時間t=1/30秒。此外,可以設所述障礙物為勻加速直線運動的物體,將所述兩個相對速度中時間在先的相對速度記為V1,將所述兩個相對速度中時間在後的相對速度記為V2,那麼根據勻加速的公式V2=V1+at可以計算得到所述障礙物的加速度a(數值包括正數、負數、0)。 In one embodiment, the interval time t can be obtained based on the frame rate of images captured by the camera device. For example, when the frame rate is 30 frames per second, the interval time t=1/30 seconds. In addition, the obstacle can be assumed to be an object that moves in a straight line with uniform acceleration. The relative speed with the first time among the two relative speeds is recorded as V 1 , and the relative speed with the later time among the two relative speeds is recorded as V 1 . is V 2 , then the acceleration a of the obstacle can be calculated according to the formula of uniform acceleration V 2 =V 1 +at (values include positive numbers, negative numbers, and 0).

在一個實施例中,在本申請實施例提供的防撞預警方法計算所述預測前進距離時,包括但不限於如下多種情況:情況一:障礙物與車輛的行進方向相同且障礙物的加速度為負值;情況二:障礙物與車輛正相對運動且障礙物的加速度為正值;情況一:障礙物與車輛的行進方向相同且障礙物的加速度為負值;情況三:障礙物為靜止物體。 In one embodiment, when the anti-collision warning method provided by the embodiment of the present application calculates the predicted forward distance, the following situations include but are not limited to: Situation 1: The obstacle and the vehicle are traveling in the same direction and the acceleration of the obstacle is Negative value; Case 2: The obstacle and the vehicle are moving relative to each other and the acceleration of the obstacle is positive; Case 1: The obstacle and the vehicle are traveling in the same direction and the acceleration of the obstacle is negative; Case 3: The obstacle is a stationary object .

舉例而言,情況一可以是車輛行駛在雙通道中的一側車道,正前方同方向行駛的前方車輛正減速慢行;情況二可以是車輛在行駛在單通道,正前方相對方向行駛的前方車輛正剎車慢行;情況三可以是車輛在行駛中,正前方出現路障等障礙物。具體地,透過融合後的雷達資訊與圖像資訊,可以很容易判斷車輛所處的具體情況,不再進行具體描述。 For example, the first situation can be that the vehicle is driving in one lane of a double lane, and the vehicle in front of it that is traveling in the same direction is slowing down; the second situation can be that the vehicle is driving in a single lane, and that the vehicle in front that is driving in the opposite direction is slowing down. The vehicle is braking and moving slowly; the third situation may be that the vehicle is driving and obstacles such as roadblocks appear directly in front. Specifically, through the fused radar information and image information, the specific situation of the vehicle can be easily determined, and no detailed description will be given.

在一個實施例中,情況一與情況二中計算所述預測前進距離S時可以使用如下公式:S=v0t+at2/2,其中v0表示防撞預警系統獲取的最後一張圖像對應的障礙物的速度;情況三中預測前進距離S=0。其中,假設本申請實施例中的防撞預警系統可以在間隔時間t內判定是否預警。在其他實施例中,還可以根據防撞預警系統的實際計算速度設定此公式中的時間t。 In one embodiment, the following formula can be used to calculate the predicted forward distance S in cases one and two: S=v 0 t+at 2 /2, where v 0 represents the last picture obtained by the anti-collision warning system. The speed of the corresponding obstacle; in case three, the predicted forward distance S=0. Among them, it is assumed that the anti-collision warning system in the embodiment of the present application can determine whether to give a warning within the interval time t. In other embodiments, the time t in this formula can also be set according to the actual calculated speed of the collision avoidance warning system.

步驟S4、根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警。 Step S4: Calculate the collision time between the vehicle and the obstacle according to the motion parameters, and issue an anti-collision warning.

在一個實施例中,所述撞擊時間包括車輛與障礙物發生撞擊的倒計時(Countdown)時間(例如,1秒)。所述根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警包括:根據所述運動參數計算第一撞擊倒計時;根據所述運動參數計算第二撞擊倒計時;若所述第一撞擊倒計時小於所述第二撞擊倒計時,發出所述防撞預警。 In one embodiment, the impact time includes a countdown time (for example, 1 second) when the vehicle collides with the obstacle. Calculating the impact time between the vehicle and the obstacle according to the motion parameters and issuing an anti-collision warning includes: calculating a first impact countdown according to the motion parameters; calculating a second impact countdown according to the motion parameters; if If the first impact countdown is less than the second impact countdown, the anti-collision warning is issued.

在一個實施例中,可以針對上述的每種情況根據所述運動參數計算第一撞擊倒計時,例如當情況一時,所述根據所述運動參數計算第一撞擊倒計時包括:令所述第一撞擊倒計時與所述障礙物與所述車輛的相對距離、所述障礙物的預測前進距離成正比,並且與所述障礙物與所述車輛的相對速度成反比。例如,令第一撞擊倒計時=(相對距離+預測前進距離)/相對速度。 In one embodiment, the first impact countdown can be calculated based on the motion parameters for each of the above situations. For example, in case 1, the calculation of the first impact countdown based on the motion parameters includes: making the first impact countdown It is directly proportional to the relative distance between the obstacle and the vehicle, the predicted forward distance of the obstacle, and inversely proportional to the relative speed of the obstacle and the vehicle. For example, let the first impact countdown = (relative distance + predicted forward distance) / relative speed.

在其他實施例中,例如當情況二時,所述根據所述運動參數計算第一撞擊倒計時包括:令所述第一撞擊倒計時與所述障礙物與所述車輛的相對距離成正比,並且與所述障礙物與所述車輛的相對速度、所述障礙物的預測前進距離成反比。例如,令第一撞擊倒計時=(相對距離-預測前進距離)/相對速度。 In other embodiments, such as situation 2, calculating the first impact countdown based on the motion parameters includes: making the first impact countdown proportional to the relative distance between the obstacle and the vehicle, and making the first impact countdown proportional to the relative distance between the obstacle and the vehicle, and The obstacle is inversely proportional to the relative speed of the vehicle and the predicted forward distance of the obstacle. For example, let the first impact countdown = (relative distance - predicted forward distance) / relative speed.

在一個實施例中,所述根據所述運動參數計算第二撞擊倒計時包括:根據所述車輛的車速與重力加速度計算所述車輛的剎停距離,其中所 述剎停距離與所述車速的平方成正比,並且與重力加速度成反比;令所述第二撞擊倒計時與所述剎停距離成正比,並且與所述相對速度成反比。例如,令剎停距離=(自車速度*自車速度)/(2*0.9*g),令第二撞擊倒計時=剎停距離/相對速度,其中,g表示重力加速度。 In one embodiment, calculating the second impact countdown based on the motion parameters includes: calculating the braking distance of the vehicle based on the vehicle's speed and gravity acceleration, where the The braking distance is proportional to the square of the vehicle speed and inversely proportional to the acceleration due to gravity; the second impact countdown is proportional to the braking distance and inversely proportional to the relative speed. For example, let the braking distance = (self-vehicle speed * self-vehicle speed) / (2 * 0.9 * g), and let the second impact countdown = braking distance / relative speed, where g represents the acceleration of gravity.

在一個實施例中,可以利用預設方式輸出防撞預警,所述預設方式可以包括但不限於顯示文字或圖像內容、輸出音訊、振動等。 In one embodiment, the anti-collision warning can be output in a preset manner, which may include but is not limited to displaying text or image content, outputting audio, vibration, etc.

在一個實施例中,本申請提供的防撞預警方法,基於毫米波雷達融合單目視覺的方式,根據雷達資訊與影像資訊確定障礙物與車輛的運動參數,根據運動參數計算車輛與障礙物的第一撞擊倒計時與第二撞擊倒計時,當第一撞擊倒計時小於第二撞擊倒計時發出防撞預警,能夠有效提高障礙物識別的準確率以及預警時間的精度,輔助用戶安全駕駛。 In one embodiment, the anti-collision warning method provided by this application is based on the fusion of monocular vision with millimeter wave radar, determines the motion parameters of obstacles and vehicles based on radar information and image information, and calculates the distance between vehicles and obstacles based on the motion parameters. The first impact countdown and the second impact countdown. When the first impact countdown is less than the second impact countdown, an anti-collision warning is issued, which can effectively improve the accuracy of obstacle recognition and the accuracy of the warning time, and assist users in safe driving.

上述圖1詳細介紹了本申請的防撞預警方法,下面結合圖2,對實現所述防撞預警方法的軟體系統的功能模組以及實現所述防撞預警方法的硬體裝置架構進行介紹。 The above-mentioned Figure 1 introduces the anti-collision early warning method of the present application in detail. The functional modules of the software system that implements the anti-collision early warning method and the hardware device architecture that implements the anti-collision early warning method are introduced below with reference to Figure 2 .

應該瞭解,所述實施例僅為說明之用,在專利申請範圍上並不受此結構的限制。 It should be understood that the above embodiments are for illustration only, and the scope of the patent application is not limited by this structure.

參閱圖2所示,為本申請較佳實施例提供的車載裝置的結構示意圖。 Refer to FIG. 2 , which is a schematic structural diagram of a vehicle-mounted device according to a preferred embodiment of the present application.

在本申請較佳實施例中,所述車載裝置3包括儲存器31、至少一個處理器32、至少一個雷達裝置33、至少一個攝像裝置34。本領域技術人員應該瞭解,圖2示出的車載裝置的結構並不構成本申請實施例的限定,既可以是匯流排型結構,也可以是星形結構,所述車載裝置3還可以包括比圖示更多或更少的其他硬體或者軟體,或者不同的部件佈置。 In the preferred embodiment of the present application, the vehicle-mounted device 3 includes a memory 31 , at least one processor 32 , at least one radar device 33 , and at least one camera device 34 . Those skilled in the art should understand that the structure of the vehicle-mounted device shown in Figure 2 does not constitute a limitation of the embodiment of the present application. It can be a bus-type structure or a star-shaped structure. The vehicle-mounted device 3 can also include a The illustrations illustrate more or less additional hardware or software, or different arrangements of components.

在一些實施例中,所述車載裝置3包括一種能夠按照事先設定或儲存的指令,自動進行數值計算和/或資訊處理的終端,其硬體包括但不限於微處理器、專用積體電路、可程式化邏輯閘陣列、數位訊號處理器及嵌 入式設備等。 In some embodiments, the vehicle-mounted device 3 includes a terminal that can automatically perform numerical calculations and/or information processing according to preset or stored instructions. Its hardware includes but is not limited to microprocessors, special integrated circuits, Programmable logic gate arrays, digital signal processors and embedded Built-in equipment, etc.

需要說明的是,所述車載裝置3僅為舉例,其他現有的或今後可能出現的電子產品如可適應於本申請,也應包含在本申請的保護範圍以內,並以引用方式包含於此。 It should be noted that the vehicle-mounted device 3 is only an example. If other existing or future electronic products can be adapted to this application, they should also be included in the protection scope of this application and are included here by reference.

在一些實施例中,所述儲存器31用於儲存程式碼和各種資料。例如,所述儲存器31可以用於儲存安裝在所述車載裝置3中的防撞預警系統30,並在車載裝置3的運行過程中實現高速、自動地完成程式或資料的存取。所述儲存器31包括唯讀記憶體(Read-Only Memory,ROM)、可程式設計唯讀記憶體(Programmable Read-Only Memory,PROM)、可抹除可程式設計唯讀記憶體(Erasable Programmable Read-Only Memory,EPROM)、一次可程式設計唯讀記憶體(One-time Programmable Read-Only Memory,OTPROM)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟儲存器、磁碟儲存器、磁帶儲存器、或者任何其他能夠用於攜帶或儲存資料的電腦可讀的儲存介質。 In some embodiments, the storage 31 is used to store program codes and various data. For example, the memory 31 can be used to store the anti-collision warning system 30 installed in the vehicle-mounted device 3 , and realize high-speed and automatic access to programs or data during the operation of the vehicle-mounted device 3 . The storage 31 includes read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read). -Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM) , Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable storage medium that can be used to carry or store data.

在一些實施例中,所述至少一個處理器32可以由積體電路組成,例如可以由單個封裝的積體電路所組成,也可以是由多個相同功能或不同功能封裝的積體電路所組成,包括一個或者多個中央處理器(Central Processing unit,CPU)、微處理器、數位訊號處理晶片、圖形處理器及各種控制晶片的組合等。所述至少一個處理器32是所述車載裝置3的控制核心(Control Unit),利用各種介面和線路連接整個車載裝置3的各個部件,透過運行或執行儲存在所述儲存器31內的程式或者模組,以及調用儲存在所述儲存器31內的資料,以執行車載裝置3的各種功能和處理資料,例如執行圖1所示的防撞預警的功能。 In some embodiments, the at least one processor 32 may be composed of an integrated circuit, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple integrated circuits packaged with the same function or different functions. , including one or more central processing units (CPUs), microprocessors, digital signal processing chips, graphics processors and a combination of various control chips. The at least one processor 32 is the control core (Control Unit) of the vehicle-mounted device 3. It uses various interfaces and lines to connect various components of the entire vehicle-mounted device 3, and runs or executes programs stored in the memory 31 or module, and calls the data stored in the memory 31 to perform various functions of the vehicle-mounted device 3 and process data, such as performing the anti-collision warning function shown in Figure 1 .

在一些實施例中,所述防撞預警系統30運行於車載裝置3中。所述防撞預警系統30可以包括多個由程式碼段所組成的功能模組。所述防 撞預警系統30中的各個程式段的程式碼可以儲存於車載裝置3的儲存器31中,並由至少一個處理器32所執行,以實現圖1所示的防撞預警的功能。 In some embodiments, the collision avoidance warning system 30 runs in the vehicle-mounted device 3 . The anti-collision warning system 30 may include a plurality of functional modules composed of program code segments. Said prevention The program codes of each program segment in the collision warning system 30 can be stored in the memory 31 of the vehicle-mounted device 3 and executed by at least one processor 32 to implement the anti-collision warning function shown in FIG. 1 .

本實施例中,所述防撞預警系統30根據其所執行的功能,可以被劃分為多個功能模組。本申請所稱的模組是指一種能夠被至少一個處理器所執行並且能夠完成固定功能的一系列電腦程式段,其儲存在儲存器中。 In this embodiment, the anti-collision warning system 30 can be divided into multiple functional modules according to the functions it performs. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in the memory.

儘管未示出,所述車載裝置3還可以包括給各個部件供電的電源(比如電池),優選的,電源可以透過電源管理裝置與所述至少一個處理器32邏輯相連,從而透過電源管理裝置實現管理充電、放電、以及功耗管理等功能。電源還可以包括一個或一個以上的直流或交流電源、再充電裝置、電源故障測試電路、電源轉換器或者逆變器、電源狀態指示器等任意元件。所述車載裝置3還可以包括多種感測器、藍牙模組、Wi-Fi模組等,在此不再贅述。 Although not shown, the vehicle-mounted device 3 may also include a power supply (such as a battery) that supplies power to various components. Preferably, the power supply may be logically connected to the at least one processor 32 through a power management device, so that the power supply can be implemented through the power management device. Manage functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power failure test circuits, power converters or inverters, power status indicators and other arbitrary components. The vehicle-mounted device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described again here.

應該瞭解,所述實施例僅為說明之用,在專利申請範圍上並不受此結構的限制。 It should be understood that the above embodiments are for illustration only, and the scope of the patent application is not limited by this structure.

上述以軟體功能模組的形式實現的集成的單元,可以儲存在一個電腦可讀取儲存介質中。上述軟體功能模組儲存在一個儲存介質中,包括若干指令用以使得一台車載裝置(可以是伺服器、個人電腦等)或處理器(processor)執行本申請各個實施例所述方法的部分。 The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium and includes a number of instructions to cause a vehicle-mounted device (which can be a server, a personal computer, etc.) or a processor to execute part of the method described in each embodiment of the present application.

所述儲存器31中儲存有程式碼,且所述至少一個處理器32可調用所述儲存器31中儲存的程式碼以執行相關的功能。儲存在所述儲存器31中的程式碼可以由所述至少一個處理器32所執行,從而實現所述各個模組的功能以達到防撞預警的目的。 Program codes are stored in the memory 31 , and the at least one processor 32 can call the program codes stored in the memory 31 to perform related functions. The program code stored in the memory 31 can be executed by the at least one processor 32 to implement the functions of each module to achieve the purpose of anti-collision warning.

在本申請所提供的幾個實施例中,應該理解到,所揭露的裝置和方法,可以透過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,所述模組的劃分,僅僅為一種邏輯功能劃分,實際實現 時可以有另外的劃分方式。 In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and the actual implementation There can be other division methods.

所述作為分離部件說明的模組可以是或者也可以不是物理上分開的,作為模組顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。 The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple networks. on the unit. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申請各個實施例中的各功能模組可以集成在一個處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。上述集成的單元既可以採用硬體的形式實現,也可以採用硬體加軟體功能模組的形式實現。 In addition, each functional module in various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

對於本領域技術人員而言,顯然本申請不限於上述示範性實施例的細節,而且在不背離本申請的精神或基本特徵的情況下,能夠以其他的具體形式實現本申請。因此,無論從哪一點來看,均應將實施例看作是示範性的,而且是非限制性的,本申請的範圍由所附請求項而不是上述說明限定,因此旨在將落在請求項的等同要件的含義和範圍內的所有變化涵括在本申請內。不應將請求項中的任何附圖標記視為限制所涉及的請求項。此外,顯然“包括”一詞不排除其他單元或,單數不排除複數。裝置請求項中陳述的多個單元或裝置也可以由一個單元或裝置透過軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定的順序。 It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be regarded as illustrative and non-restrictive from any point of view, and the scope of the present application is defined by the appended claims rather than the above description, and it is therefore intended that those falling within the claims All changes within the meaning and scope of the equivalent elements are included in this application. Any reference designation in a request shall not be construed as limiting the request to which it refers. Furthermore, it is obvious that the word "including" does not exclude other elements or the singular does not exclude the plural. Multiple units or devices stated in the device request may also be implemented by one unit or device through software or hardware. Words such as first and second are used to indicate names and do not indicate any specific order.

最後所應說明的是,以上實施例僅用以說明本申請的技術方案而非限制,儘管參照以上較佳實施例對本申請進行了詳細說明,本領域的普通技術人員應當理解,可以對本申請的技術方案進行修改或等同替換,而不脫離本申請技術方案的精神和範圍。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not limiting. Although the present application has been described in detail with reference to the above preferred embodiments, those of ordinary skill in the art will understand that the technical solutions of the present application can be modified. The technical solution may be modified or equivalently substituted without departing from the spirit and scope of the technical solution of the present application.

S1~S4:步驟 S1~S4: steps

Claims (9)

一種防撞預警方法,應用於車載裝置,其中,所述方法包括:對獲取的雷達資訊與影像資訊進行融合;根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物;根據所述雷達資訊與所述影像資訊,確定所述障礙物與所述車輛的運動參數,包括:根據所述雷達資訊確定所述障礙物與所述車輛的相對距離與相對速度;基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離;根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警。 An anti-collision warning method, applied to vehicle-mounted devices, wherein the method includes: fusing the acquired radar information and image information; identifying obstacles in the direction of the vehicle's travel based on the fused radar information and image information; according to the The radar information and the image information determine the motion parameters of the obstacle and the vehicle, including: determining the relative distance and relative speed of the obstacle and the vehicle based on the radar information; based on the image information and The relative speed predicts the predicted forward distance of the obstacle; the collision time between the vehicle and the obstacle is calculated based on the motion parameters, and an anti-collision warning is issued. 如請求項1所述的防撞預警方法,其中,所述根據所述運動參數計算所述車輛與所述障礙物的撞擊時間,發出防撞預警包括:根據所述運動參數計算第一撞擊倒計時;根據所述運動參數計算第二撞擊倒計時;若所述第一撞擊倒計時小於所述第二撞擊倒計時,發出所述防撞預警。 The anti-collision warning method according to claim 1, wherein calculating the collision time between the vehicle and the obstacle based on the motion parameters and issuing the anti-collision warning includes: calculating a first impact countdown based on the motion parameters ; Calculate the second impact countdown based on the motion parameters; if the first impact countdown is less than the second impact countdown, issue the anti-collision warning. 如請求項1所述的防撞預警方法,其中,所述方法還包括:對獲取所述雷達資訊的雷達裝置與獲取所述影像資訊的攝像裝置進行聯合標定;將所述雷達資訊包括的點雲與所述影像資訊包括的圖像進行融合,所述融合包括將所述點雲投影至所述圖像。 The anti-collision early warning method according to claim 1, wherein the method further includes: jointly calibrating the radar device for acquiring the radar information and the camera device for acquiring the image information; The cloud is fused with the image included in the image information, and the fusion includes projecting the point cloud onto the image. 如請求項3所述的防撞預警方法,其中,所述根據融合後的雷達資訊與影像資訊,識別車輛行進方向的障礙物,包括:基於預設的深度神經網路識別所述圖像中的目標物體,並確定目標物體的包圍框;基於目標物體的包圍框對融合後的點雲進行分類,將分類後的點雲進行聚類;根據聚類後的點雲和所述目標物體的包圍框獲得包圍盒;基於所述包圍盒確定所述目標物體是否為所述障礙物,以及所述障礙物的類 別。 The anti-collision warning method as described in claim 3, wherein identifying obstacles in the direction of vehicle travel based on the fused radar information and image information includes: identifying obstacles in the image based on a preset deep neural network target object, and determine the bounding box of the target object; classify the fused point cloud based on the bounding box of the target object, and cluster the classified point cloud; according to the clustered point cloud and the bounding box of the target object Bounding box: Obtain a bounding box; determine whether the target object is the obstacle and the type of the obstacle based on the bounding box Don't. 如請求項1所述的防撞預警方法,其中,所述基於所述影像資訊與所述相對速度預測所述障礙物的預測前進距離包括:獲取拍攝兩張相鄰圖像之間的間隔時間,以及兩張圖像中的障礙物對應的兩個相對速度;根據所述間隔時間與所述兩個相對速度,計算所述障礙物的加速度;根據所述間隔時間與所述加速度計算所述預測前進距離。 The anti-collision warning method according to claim 1, wherein predicting the predicted forward distance of the obstacle based on the image information and the relative speed includes: obtaining the interval time between taking two adjacent images, and Two relative velocities corresponding to the obstacles in the two images; calculate the acceleration of the obstacle based on the interval time and the two relative velocities; calculate the predicted advance based on the interval time and the acceleration distance. 如請求項2所述的防撞預警方法,其中,所述根據所述運動參數計算第一撞擊倒計時包括:令所述第一撞擊倒計時與所述障礙物與所述車輛的相對距離、所述障礙物的預測前進距離成正比,並且與所述障礙物與所述車輛的相對速度成反比。 The anti-collision warning method according to claim 2, wherein calculating the first impact countdown based on the motion parameters includes: combining the first impact countdown with the relative distance between the obstacle and the vehicle, the The predicted distance traveled by an obstacle is directly proportional to the relative speed of the obstacle and the vehicle. 如請求項2所述的防撞預警方法,其中,所述根據所述運動參數計算第二撞擊倒計時包括:根據所述車輛的車速與重力加速度計算所述車輛的剎停距離,其中所述剎停距離與所述車速的平方成正比,並且與重力加速度成反比;令所述第二撞擊倒計時與所述剎停距離成正比,並且與所述相對速度成反比。 The anti-collision warning method of claim 2, wherein calculating the second impact countdown based on the motion parameters includes: calculating the braking distance of the vehicle based on the vehicle's speed and gravity acceleration, wherein the braking distance The stopping distance is proportional to the square of the vehicle speed and inversely proportional to the acceleration of gravity; let the second impact countdown be proportional to the stopping distance and inversely proportional to the relative speed. 一種電腦可讀儲存介質,其中,所述電腦可讀儲存介質儲存有至少一個指令,所述至少一個指令被處理器執行時實現如請求項1至7中任意一項所述的防撞預警方法。 A computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction. When the at least one instruction is executed by a processor, the anti-collision warning method as described in any one of claims 1 to 7 is implemented. . 一種車載裝置,其中,該車載裝置包括儲存器和至少一個處理器,所述儲存器中儲存有至少一個指令,所述至少一個指令被所述至少一個處理器執行時實現如請求項1至7中任意一項所述的防撞預警方法。 A vehicle-mounted device, wherein the vehicle-mounted device includes a storage and at least one processor, at least one instruction is stored in the storage, and when the at least one instruction is executed by the at least one processor, it implements claims 1 to 7 The anti-collision warning method described in any one of the above.
TW111138810A 2022-10-13 2022-10-13 Anti-collision warning method, vehicle-mounted device, and storage medium TWI823613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111138810A TWI823613B (en) 2022-10-13 2022-10-13 Anti-collision warning method, vehicle-mounted device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111138810A TWI823613B (en) 2022-10-13 2022-10-13 Anti-collision warning method, vehicle-mounted device, and storage medium

Publications (2)

Publication Number Publication Date
TWI823613B true TWI823613B (en) 2023-11-21
TW202415567A TW202415567A (en) 2024-04-16

Family

ID=89722734

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111138810A TWI823613B (en) 2022-10-13 2022-10-13 Anti-collision warning method, vehicle-mounted device, and storage medium

Country Status (1)

Country Link
TW (1) TWI823613B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359409A (en) * 2018-10-31 2019-02-19 张维玲 A kind of vehicle passability detection system of view-based access control model and laser radar sensor
CN114537374A (en) * 2022-03-23 2022-05-27 浙江亚太机电股份有限公司 Vehicle front anti-collision system based on travelable area
US20220319328A1 (en) * 2021-03-31 2022-10-06 Aptiv Technologies Limited Sensor Fusion for Object-Avoidance Detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359409A (en) * 2018-10-31 2019-02-19 张维玲 A kind of vehicle passability detection system of view-based access control model and laser radar sensor
US20220319328A1 (en) * 2021-03-31 2022-10-06 Aptiv Technologies Limited Sensor Fusion for Object-Avoidance Detection
CN114537374A (en) * 2022-03-23 2022-05-27 浙江亚太机电股份有限公司 Vehicle front anti-collision system based on travelable area

Also Published As

Publication number Publication date
TW202415567A (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US11941873B2 (en) Determining drivable free-space for autonomous vehicles
CN112825136B (en) Deep neural network for detecting obstacles using RADAR sensors in autonomous machine applications
US11769052B2 (en) Distance estimation to objects and free-space boundaries in autonomous machine applications
US11941819B2 (en) Object detection using skewed polygons suitable for parking space detection
CN108062095B (en) Object tracking using sensor fusion within a probabilistic framework
JP6714513B2 (en) An in-vehicle device that informs the navigation module of the vehicle of the presence of an object
EP3832341A1 (en) Deep neural network for detecting obstacle instances using radar sensors in autonomous machine applications
CN111133448A (en) Controlling autonomous vehicles using safe arrival times
JP2023507695A (en) 3D Intersection Structure Prediction for Autonomous Driving Applications
JP2023531330A (en) Sensor Fusion for Autonomous Machine Applications Using Machine Learning
US9524643B2 (en) Orientation sensitive traffic collision warning system
CN111133447A (en) Object detection and detection confidence suitable for autonomous driving
CN111382768A (en) Multi-sensor data fusion method and device
EP4089659A1 (en) Map updating method, apparatus and device
WO2023179494A1 (en) Danger early warning method and apparatus, and vehicle
CN116767245A (en) Map information object data management using neural networks of autonomous systems and applications
CN116106934A (en) Particle-based hazard detection for autonomous machine applications
JP7532569B2 (en) Method and apparatus for determining pedestrian location
TWI823613B (en) Anti-collision warning method, vehicle-mounted device, and storage medium
JP2023076393A (en) Radar-based lane change safety system
CN115359332A (en) Data fusion method and device based on vehicle-road cooperation, electronic equipment and system
US11420639B2 (en) Driving assistance apparatus
US20240127694A1 (en) Method for collision warning, electronic device, and storage medium
CN112825134B (en) Deep neural network for detecting obstacles using RADAR sensors in autonomous machine applications
US12073325B2 (en) Distance estimation to objects and free-space boundaries in autonomous machine applications