TWI751820B - Driving assistance method, vehicle-mounted device, vehicle, and storage medium - Google Patents

Driving assistance method, vehicle-mounted device, vehicle, and storage medium Download PDF

Info

Publication number
TWI751820B
TWI751820B TW109142514A TW109142514A TWI751820B TW I751820 B TWI751820 B TW I751820B TW 109142514 A TW109142514 A TW 109142514A TW 109142514 A TW109142514 A TW 109142514A TW I751820 B TWI751820 B TW I751820B
Authority
TW
Taiwan
Prior art keywords
vehicle
track
image
speed limit
speed
Prior art date
Application number
TW109142514A
Other languages
Chinese (zh)
Other versions
TW202222622A (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 TW109142514A priority Critical patent/TWI751820B/en
Application granted granted Critical
Publication of TWI751820B publication Critical patent/TWI751820B/en
Publication of TW202222622A publication Critical patent/TW202222622A/en

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Controls For Constant Speed Travelling (AREA)

Abstract

The present application provides a driving assistance method, a vehicle-mounted device, a vehicle, and a storage medium. The driving assistance method includes detecting a speed of the vehicle; calculating a speed limit of the vehicle in a road section where the vehicle is located based on relevant image data of the corresponding road section, when the speed of the vehicle exceeds a speed threshold; issuing an overspeed warning when the speed of the vehicle exceeds the speed limit of the road section where the vehicle is located. This application can assist vehicles in speeding warnings and improve safety factors of driving.

Description

車輛行車輔助方法、車載裝置、車輛及儲存介質 Vehicle driving assistance method, vehicle-mounted device, vehicle and storage medium

本發明涉及車輛行車安全領域,尤其涉及一種車輛行車輔助方法、車載裝置、車輛及儲存介質。 The invention relates to the field of vehicle driving safety, in particular to a vehicle driving assistance method, a vehicle-mounted device, a vehicle and a storage medium.

軌道式車輛,例如列車是眾多交通運輸過程中的重要樞紐。當軌道式車輛在高速運行時,會因為速度失控(例如,超速)而導致列車脫軌的事故發生。如何有效控制車速確保行車安全是車輛控制中非常重要的一個研究方向。 Rail vehicles, such as trains, are important hubs in many transportation processes. When the rail vehicle is running at high speed, an accident occurs in which the train derails due to a loss of speed control (eg, overspeed). How to effectively control vehicle speed to ensure driving safety is a very important research direction in vehicle control.

鑒於以上內容,有必要提供一種車輛行車輔助方法、車載裝置、車輛及儲存介質,能夠對車輛進行超速警告,提升行車安全。 In view of the above, it is necessary to provide a vehicle driving assistance method, a vehicle-mounted device, a vehicle, and a storage medium, which can provide an overspeed warning to the vehicle and improve driving safety.

所述車輛行車輔助方法包括:偵測車輛的車速;當所述車輛的車速超過速度閾值時,基於圖像獲得相應路段內車輛的限速;及當所述車輛的車速超過所述相應路段內車輛的限速時,發出警告。 The vehicle driving assistance method includes: detecting the speed of the vehicle; when the speed of the vehicle exceeds a speed threshold, obtaining the speed limit of the vehicle in the corresponding road section based on the image; and when the speed of the vehicle exceeds the corresponding road section A warning is issued when the vehicle's speed limit is exceeded.

優選地,所述基於圖像獲得所述車輛的限速包括方法一:獲取包括限速告示牌的圖像;從所述包括限速告示牌的圖像中截取所述限速告示牌所在的圖像區域;及辨識所截取的圖像區域獲得所述車輛的限速。 Preferably, the obtaining the speed limit of the vehicle based on the image includes method 1: obtaining an image including a speed limit sign; intercepting a location where the speed limit sign is located from the image including the speed limit sign an image area; and identifying the intercepted image area to obtain the speed limit of the vehicle.

優選地,所述基於圖像獲得所述車輛的限速還包括方法二:獲取所述車輛所在軌道的軌道圖像,基於所述軌道圖像計算所述車輛所在軌道的軌道 路徑;基於所述軌道路徑計算所述車輛所在軌道的軌道彎曲角度;及根據所述軌道彎曲角度獲得所述車輛的限速。 Preferably, the obtaining the speed limit of the vehicle based on the image further includes method 2: obtaining a track image of the track where the vehicle is located, and calculating the track of the track where the vehicle is located based on the track image calculating a track bending angle of the track on which the vehicle is located based on the track path; and obtaining a speed limit of the vehicle according to the track bending angle.

優選地,所述基於圖像獲得所述車輛的限速還包括方法三:利用訓練樣本訓練數據庫;及獲取軌道圖像,利用所述數據庫基於所述軌道圖像獲得所述車輛的限速。 Preferably, the obtaining the speed limit of the vehicle based on the image further includes method 3: training a database with training samples; and obtaining a track image, and using the database to obtain the speed limit of the vehicle based on the track image.

優選地,所述利用訓練樣本訓練數據庫的方法包括:獲得預設數量的軌道圖像;獲得所述預設數量的軌道圖像中的每張軌道圖像所對應的限速;及將所述預設數量的軌道圖像以及對應的限速作為訓練樣本訓練所述數據庫。 Preferably, the method for training a database using training samples includes: obtaining a preset number of track images; obtaining a speed limit corresponding to each track image in the preset number of track images; and A preset number of track images and corresponding speed limits are used as training samples to train the database.

優選地,所述數據庫為:基於Python語言訓練得到的圖像分類器。 Preferably, the database is an image classifier based on Python language training.

優選地,所述基於圖像獲得所述車輛的限速包括如下方法中的一種:方法一:獲取包括限速告示牌的圖像;從所述包括限速告示牌的圖像中截取所述限速告示牌所在的圖像區域;及辨識所截取的圖像區域獲得所述車輛的限速;方法二:獲取所述車輛所在軌道的軌道圖像,基於所述軌道圖像計算所述車輛所在軌道的軌道路徑;基於所述軌道路徑計算所述車輛所在軌道的軌道彎曲角度;及根據所述軌道彎曲角度獲得所述車輛的限速;方法三:利用訓練樣本訓練數據庫;及獲取軌道圖像,利用所述訓練的數據庫基於所述軌道圖像獲得所述車輛的限速;方法四:將利用所述方法一、方法二與方法三取得的限速中的最低限速作為所述車輛的限速。 Preferably, the obtaining the speed limit of the vehicle based on the image includes one of the following methods: Method 1: obtaining an image including a speed limit sign; intercepting the image including a speed limit sign The image area where the speed limit sign is located; and identifying the intercepted image area to obtain the speed limit of the vehicle; Method 2: Obtain a track image of the track where the vehicle is located, and calculate the vehicle based on the track image The track path of the track where it is located; the track bending angle of the track where the vehicle is located is calculated based on the track path; and the speed limit of the vehicle is obtained according to the track bending angle; Method 3: use training samples to train a database; and obtain a track map Like, use the trained database to obtain the speed limit of the vehicle based on the track image; Method 4: Take the lowest speed limit among the speed limits obtained by the method 1, method 2 and method 3 as the vehicle speed limit.

所述電腦可讀儲存介質儲存有至少一個指令,所述至少一個指令被處理器執行時實現所述車輛行車輔助方法。 The computer-readable storage medium stores at least one instruction that, when executed by a processor, implements the vehicle driving assistance method.

所述車載裝置包括儲存器和至少一個處理器,所述儲存器中儲存有至少一個指令,所述至少一個指令被所述至少一個處理器執行時實現所述車輛行車輔助方法。 The in-vehicle device includes a memory and at least one processor, the memory stores at least one instruction, and the at least one instruction implements the vehicle driving assistance method when executed by the at least one processor.

所述車輛包括所述車載裝置。 The vehicle includes the in-vehicle device.

相較於習知技術,所述車輛行車輔助方法、車載裝置、車輛及儲存 介質,可以透過使用行車記錄器與全球定位系統(Global Positioning System,GPS)對車輛進行超速警告,提升行車安全。 Compared with the prior art, the vehicle driving assistance method, in-vehicle device, vehicle and storage The medium can improve the driving safety by using the driving recorder and the Global Positioning System (Global Positioning System, GPS) to warn the vehicle of overspeed.

100:車輛 100: Vehicle

3:車載裝置 3: Vehicle device

32:處理器 32: Processor

31:儲存器 31: Storage

30:行車輔助系統 30: Driving assistance system

33:GPS系統 33: GPS system

34:行車記錄器 34: Dash Cam

35:攝像頭 35: Camera

36:顯示器 36: Display

37:行車數據 37: Driving data

圖1是本發明較佳實施例的車輛行車輔助方法的流程圖。 FIG. 1 is a flowchart of a vehicle driving assistance method according to a preferred embodiment of the present invention.

圖2是本發明較佳實施例的車載裝置的架構圖。 FIG. 2 is a structural diagram of a vehicle-mounted device according to a preferred embodiment of the present invention.

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

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

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

參閱圖2所示,為本發明較佳實施例提供的車載裝置的架構圖。 Referring to FIG. 2 , it is a structural diagram of a vehicle-mounted device provided by a preferred embodiment of the present invention.

本實施例中,車載裝置3設置在車輛100上。所述車載裝置3也可以叫作車載電腦,包括互相之間電氣連接的儲存器31、至少一個處理器32、GPS系統33、行車記錄器34。 In this embodiment, the in-vehicle device 3 is installed on the vehicle 100 . The in-vehicle device 3 can also be called an in-vehicle computer, and includes a storage 31 , at least one processor 32 , a GPS system 33 , and a driving recorder 34 that are electrically connected to each other.

本領域技術人員應該瞭解,圖2示出的車載裝置3的結構並不構成本發明實施例的限定,所述車載裝置3還可以包括比圖2更多或更少的其他硬體或者軟體,或者不同的部件佈置。 Those skilled in the art should understand that the structure of the vehicle-mounted device 3 shown in FIG. 2 does not constitute a limitation of the embodiment of the present invention, and the vehicle-mounted device 3 may also include more or less other hardware or software than that shown in FIG. 2 , Or a different component arrangement.

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

在一些實施例中,所述儲存器31可以用於儲存電腦程式的程式碼和各種數據。例如,所述儲存器31可以用於儲存安裝在所述車載裝置3中的行車輔助系統30、行車記錄器34所記錄的行車數據37,並在車載裝置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 may be used to store program codes of computer programs and various data. For example, the storage 31 can be used to store the driving assistance system 30 installed in the vehicle-mounted device 3 and the driving data 37 recorded by the driving recorder 34 , and realize high-speed and automatic automatic operation during the operation of the vehicle-mounted device 3 . Complete access to programs or data. The storage 31 may include a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (Erasable). Programmable Read-Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other non-volatile computer capable of carrying or storing data readable storage medium.

在一些實施例中,所述至少一個處理器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 comprised of an integrated circuit. For example, it can be composed of a single packaged integrated circuit, or it can be composed of a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing Unit, CPU), microprocessor A combination of computer, digital word processing chip, graphics processor and various control chips, etc. The at least one processor 32 is the control core (Control Unit) of the in-vehicle device 3, and uses various interfaces and lines to connect various components of the entire in-vehicle device 3, and executes programs or modules stored in the storage 31 by executing the program or module. Or instructions, and call the data stored in the storage 31 to execute various functions of the in-vehicle device 3 and process data, for example, the function of assisting the vehicle (for details, please refer to the introduction to FIG. 1 ).

在一些實施例中,所述GPS系統33可以用於偵測所述車輛100的車速。例如,GPS系統33可以利用接收機測定車輛100的運行軌跡,接收機天線在跟蹤GPS衛星的過程中相對地球而運動,接收機用GPS訊號即時地測得車輛100的狀態參數(例如,瞬間三維位置和三維速度)。 In some embodiments, the GPS system 33 may be used to detect the speed of the vehicle 100 . For example, the GPS system 33 can use the receiver to measure the running track of the vehicle 100, the receiver antenna moves relative to the earth in the process of tracking GPS satellites, and the receiver uses the GPS signal to measure the state parameters of the vehicle 100 in real time (for example, instantaneous three-dimensional position and 3D velocity).

本實施例中,所述行車記錄器34包含攝像頭35和顯示器36。所述行車記錄器34可以利用所述攝像頭35拍攝車輛100行車全過程的視頻圖像,經所述處理器32處理後作為行車數據37儲存在所述儲存器31中。所述行車記錄器34在接收到所述攝像頭35拍攝的影像或者所述處理器32傳達的超速警告資訊後,在所述顯示器36進行相應的顯示。 In this embodiment, the driving recorder 34 includes a camera 35 and a display 36 . The driving recorder 34 can use the camera 35 to capture a video image of the entire driving process of the vehicle 100 , which is processed by the processor 32 and stored in the storage 31 as driving data 37 . After receiving the image captured by the camera 35 or the overspeed warning information transmitted by the processor 32 , the driving recorder 34 displays the corresponding display on the display 36 .

本實施例中,所述攝像頭35可以安裝在所述車輛100的前擋風玻璃所在位置處,只要使得所述攝像頭35能夠拍攝到軌道限速告示牌和軌道圖像即可。 In this embodiment, the camera 35 may be installed at the position of the front windshield of the vehicle 100 , as long as the camera 35 can capture the track speed limit sign and track images.

本實施例中,所述顯示器36可以為能呈現圖像和發出聲音的顯示裝置,例如呈現所述攝像頭35拍攝到的影像畫面,當車輛100車速超出限速時發出超速警告。 In this embodiment, the display 36 may be a display device capable of presenting images and producing sounds, for example, presenting an image captured by the camera 35, and issuing an overspeed warning when the vehicle 100 exceeds the speed limit.

本實施例中,所述軌道限速告示牌是指在所述車輛100前進方向相應路段內的軌道的邊緣,用標牌向車輛駕駛者傳遞速度限制資訊的標識。需要說明的是,所述軌道限速告示牌的樣式、安置地點和速度限制資訊,具體根據車輛100所在相應路段內的軌道來定。 In this embodiment, the track speed limit sign refers to a sign that conveys speed limit information to the driver of the vehicle by a sign on the edge of the track in the corresponding road section in the forward direction of the vehicle 100 . It should be noted that the style, placement location and speed limit information of the track speed limit signboard are specifically determined according to the track in the corresponding road section where the vehicle 100 is located.

本實施例中,所述軌道圖像為車輛100前進方向相應路段內所在軌道的圖像。 In this embodiment, the track image is an image of the track in the corresponding road section in the forward direction of the vehicle 100 .

本實施例中,行車輔助系統30可以包括一個或多個模組,所述一個或多個模組儲存在所述儲存器31中,並由至少一個或多個處理器(本實施例為處理器32)執行,以實現對車輛進行行車輔助的功能(具體細節參後面對圖1的介紹)。 In this embodiment, the driving assistance system 30 may include one or more modules, and the one or more modules are stored in the storage 31 and processed by at least one or more processors (in this embodiment, processing 32) to implement the function of assisting the vehicle in driving (for details, please refer to the introduction to FIG. 1 later).

本實施例中,以軟體功能模組的形式實現的集成的單元,可以儲存在一個非易失性可讀取儲存介質中。上述軟體功能模組包括一個或多個電腦可讀指令,所述車載裝置3或一個處理器(processor)透過執行所述一個或多個電腦可讀指令實現本發明各個實施例的方法的部分,例如圖1所示的對車輛行車輔助的方法。 In this embodiment, the integrated unit implemented in the form of a software function module can be stored in a non-volatile readable storage medium. The above-mentioned software function module includes one or more computer-readable instructions, and the in-vehicle device 3 or a processor (processor) implements part of the method of each embodiment of the present invention by executing the one or more computer-readable instructions, For example, the method for assisting the driving of a vehicle as shown in FIG. 1 .

在進一步的實施例中,結合圖2,所述至少一個處理器32可執行所述車載裝置3的操作裝置以及安裝的各類應用程式(如所述的行車輔助系統30)、程式碼等。 In a further embodiment, referring to FIG. 2 , the at least one processor 32 can execute the operating device of the in-vehicle device 3 and various installed applications (such as the driving assistance system 30 ), code and the like.

在進一步的實施例中,所述儲存器31中儲存有電腦程式的程式碼,且所述至少一個處理器32可調用所述儲存器31中儲存的程式碼以執行相關的功能。例如,所述行車輔助系統30的各個模組是儲存在所述儲存器31中的程式碼,並由所述至少一個處理器32所執行,從而實現所述各個模組的功能以達到對車輛100行車輔助的目的(詳見下文中對圖1的描述)。 In a further embodiment, the storage 31 stores the code of a computer program, and the at least one processor 32 can call the code stored in the storage 31 to execute related functions. For example, each module of the driving assistance system 30 is a program code stored in the memory 31 and executed by the at least one processor 32, so as to realize the functions of the various modules to achieve the vehicle 100 Purpose of driving assistance (see the description of Figure 1 below for details).

在本發明的一個實施例中,所述儲存器31儲存一個或多個電腦可讀指令,所述一個或多個電腦可讀指令被所述至少一個處理器32所執行以實現行車輔助的目的。具體地,所述至少一個處理器32對上述電腦可讀指令的具體實現方法詳見下文中對圖1的描述。 In one embodiment of the present invention, the storage 31 stores one or more computer-readable instructions, and the one or more computer-readable instructions are executed by the at least one processor 32 to achieve the purpose of driving assistance . Specifically, for a specific implementation method of the above computer-readable instructions by the at least one processor 32, please refer to the description of FIG. 1 below.

圖1是本發明較佳實施例提供的車輛行車輔助方法的流程圖。 FIG. 1 is a flowchart of a vehicle driving assistance method provided by a preferred embodiment of the present invention.

在本實施例中,所述車輛行車輔助方法可以應用於車輛100的車載裝置3中,對於需要進行行車輔助的車輛100,可以直接在該車輛100的車載裝置3上集成本發明的方法所提供的用於行車輔助的功能,或者以軟體開發套件(Software Development Kit,SDK)的形式運行在所述車載裝置3上。 In this embodiment, the vehicle driving assistance method can be applied to the on-board device 3 of the vehicle 100 . For the vehicle 100 that needs to perform driving assistance, the method provided by the method of the present invention can be directly integrated on the on-board device 3 of the vehicle 100 . The functions used for driving assistance, or run on the in-vehicle device 3 in the form of a software development kit (Software Development Kit, SDK).

如圖1所示,所述車輛行車輔助方法具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略。 As shown in FIG. 1 , the vehicle driving assistance method specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

步驟S1、車載裝置3偵測所述車輛100的車速。 Step S1 , the vehicle-mounted device 3 detects the speed of the vehicle 100 .

在一個實施例中,所述車載裝置3可以利用GPS系統33偵測所述車輛100的車速。 In one embodiment, the vehicle-mounted device 3 can use the GPS system 33 to detect the speed of the vehicle 100 .

在其他實施例中,所述車載裝置3也可以利用速度感測器來偵測所述車輛100的車速。該速度感測器安裝於所述車輛100上。 In other embodiments, the vehicle-mounted device 3 may also use a speed sensor to detect the speed of the vehicle 100 . The speed sensor is mounted on the vehicle 100 .

步驟S2、車載裝置3確定所述車輛100的車速是否超過速度閾值。當確定所述車輛100的車速超過所述速度閾值時,執行步驟S3。 Step S2, the in-vehicle device 3 determines whether the speed of the vehicle 100 exceeds a speed threshold. When it is determined that the vehicle speed of the vehicle 100 exceeds the speed threshold, step S3 is performed.

本實施例中,所述速度閾值可以為經驗值。例如,該速度閾值可以根據大量的(例如兩千筆)軌道式車輛超速致使脫軌的案例中,每個案例所對應的軌道式車輛的速度來確定,例如該速度閾值可以是部分或所有軌道式車輛超速致使脫軌案例所對應的速度的平均值。 In this embodiment, the speed threshold may be an empirical value. For example, the speed threshold may be determined according to the speed of the rail vehicle corresponding to each case in a large number of cases (eg, two thousand) of the derailment caused by the overspeed of the rail vehicle. For example, the speed threshold may be part or all of the rail vehicle. The average value of the speed corresponding to the derailment case caused by the speeding of the vehicle.

步驟S3、當所述車輛100的車速超過速度閾值時,車載裝置3基於圖像獲得相應路段內車輛100的限速。 Step S3: When the speed of the vehicle 100 exceeds the speed threshold, the vehicle-mounted device 3 obtains the speed limit of the vehicle 100 in the corresponding road section based on the image.

本發明可提供多個實施例來實現步驟S3,具體地,在第一實施例中,所述基於圖像獲得所述車輛100的限速包括方法一,該方法一包括:獲取包括限速告示牌的圖像;從所述包括限速告示牌的圖像中截取所述限速告示牌所在的圖像區域;辨識所截取的圖像區域獲得所述車輛100的限速。 The present invention may provide multiple embodiments to implement step S3. Specifically, in the first embodiment, the obtaining the speed limit of the vehicle 100 based on the image includes a first method, and the first method includes: obtaining a notice including a speed limit The image of the sign; the image area where the speed limit sign is located is intercepted from the image including the speed limit sign; the speed limit of the vehicle 100 is obtained by identifying the intercepted image area.

在本發明的一個實施例中,車載裝置3可以從行車記錄器34的行車數據37中獲取所述車輛100前進方向相應路段的圖像,先利用圖像識別算法從所述相應路段的圖像中獲取所述包括限速告示牌的圖像,再利用圖像識別算法識別所述包括限速告示牌的圖像中所述限速告示牌所在的圖像區域,最後利用圖像截取方法將所述限速告示牌所在的圖像區域截取出來。 In an embodiment of the present invention, the in-vehicle device 3 may acquire the image of the corresponding road section in the forward direction of the vehicle 100 from the driving data 37 of the driving recorder 34, and first use an image recognition algorithm to obtain the image of the corresponding road section from the image of the corresponding road section. Obtain the image including the speed limit sign, and then use the image recognition algorithm to identify the image area where the speed limit sign is located in the image including the speed limit sign, and finally use the image interception method to The image area where the speed limit sign is located is cut out.

所述圖像識別算法可以為模板匹配法。例如,可以將各種樣式(例如圓形、矩形)的限速告示牌的圖像分別作為不同的多個模板,將每種模板與獲取的圖像進行匹配,以確認所述圖像是否包括限速告示牌。例如,可以採用特徵識別的方式判斷所獲取的圖像中是否包括各類模板中的限速告示牌的圖像特徵。例如,可以從每種模板中獲取不同類型的限速告示牌的圖像特徵,然後根據不同類型的限速告示牌圖像特徵來對所述相應路段的圖像中的限速告示牌進行識別。 The image recognition algorithm may be a template matching method. For example, images of speed limit signs in various styles (such as circles, rectangles) can be used as different templates, and each template can be matched with the acquired images to confirm whether the images include speed limit signs. Quick sign. For example, it can be determined by means of feature recognition whether the acquired image includes the image features of speed limit signs in various templates. For example, the image features of different types of speed limit signs can be obtained from each template, and then the speed limit signs in the images of the corresponding road sections can be identified according to the image features of different types of speed limit signs .

若所述相應路段的圖像為所述包括限速告示牌的圖像,當某種模板與所述包括限速告示牌的圖像中的某個區域相匹配時,則確定所述包括限速告示牌的圖像的某個區域為所述限速告示牌所在的圖像區域,利用圖像截取方法 將所述限速告示牌所在的圖像區域從所述包括限速告示牌的圖像中截取出來。所述某種樣式為所述各種樣式中的任意一種。 If the image of the corresponding road section is the image including the speed limit sign, when a certain template matches a certain area in the image including the speed limit sign, it is determined that the image includes the speed limit sign. A certain area of the image of the speed limit sign is the image area where the speed limit sign is located, and the image interception method is used. The image area where the speed limit sign is located is cut out from the image including the speed limit sign. The certain style is any one of the various styles.

需要說明的是,圖像截取方法是影像處理中的常見處理方法,在此不加贅述。 It should be noted that the image interception method is a common processing method in image processing, and details are not described here.

在一個實施例中,可以利用圖像識別算法從所述限速告示牌所在的圖像區域中辨識車輛100的限速。 In one embodiment, an image recognition algorithm may be used to identify the speed limit of the vehicle 100 from the image area where the speed limit sign is located.

所述圖像識別算法可以為光學字元辨識算法。例如,可以利用拉東(Radon)變換對所截取的圖像區域的文本資訊進行文本校正,之後對所述文本資訊中的文字資訊(例如數位、英文字母)進行提取,由此可以確定所述限速告示牌中的限速。 The image recognition algorithm may be an optical character recognition algorithm. For example, text correction can be performed on the text information of the intercepted image area by using Radon transform, and then text information (such as digits, English letters) in the text information can be extracted, so that the text information can be determined. Speed limit in a speed limit sign.

在本發明提供的第二實施例中,所述基於圖像獲得所述車輛100的限速包括方法二,該方法二:獲取所述車輛100所在軌道的軌道圖像,基於所述軌道圖像計算所述車輛100所在軌道的軌道路徑;基於所述軌道路徑計算所述車輛100所在軌道的軌道彎曲角度;根據所述軌道彎曲角度獲得所述車輛100的限速。 In the second embodiment provided by the present invention, the obtaining the speed limit of the vehicle 100 based on the image includes a second method, the second method: obtaining a track image of the track where the vehicle 100 is located, and based on the track image Calculate the track path of the track where the vehicle 100 is located; calculate the track bending angle of the track where the vehicle 100 is located based on the track path; obtain the speed limit of the vehicle 100 according to the track bending angle.

在一個實施例中,可以從行車數據37中獲取所述車輛100所在軌道的軌道圖像,利用圖像識別算法識別所述軌道圖像中的軌道的路徑。 In one embodiment, a track image of the track on which the vehicle 100 is located may be obtained from the driving data 37, and an image recognition algorithm may be used to identify the path of the track in the track image.

所述圖像識別算法可以為OpenCV識別算法。例如,可以對所述軌道圖像以灰度圖的方式導入,將此灰度圖進行二值化處理,再對二值化後圖片的圖元進行按列掃描求和,從而得到軌道的路徑。需要說明的是,所述軌道的路徑通常為有弧度的曲線。 The image recognition algorithm may be an OpenCV recognition algorithm. For example, the track image can be imported in the form of a grayscale image, the grayscale image can be binarized, and the image elements of the binarized image can be scanned and summed in columns to obtain the path of the track. . It should be noted that the path of the track is usually a curve with an arc.

需要說明的是,軌道彎曲角度也即是所述軌道的路徑所對應的有弧度的曲線的彎曲角度。利用弧度曲線計算曲線彎曲角度,利用彎曲角度計算角速度,並進一步利用角速度計算車輛行駛限速。 It should be noted that the track bending angle is also the bending angle of the curved curve corresponding to the path of the track. Use the radian curve to calculate the curve bending angle, use the bending angle to calculate the angular velocity, and further use the angular velocity to calculate the vehicle running speed limit.

在本發明提供的第三實施例中,所述基於圖像獲得所述車輛100的限速包括方法三,該方法三包括: 利用訓練樣本訓練數據庫;獲取軌道圖像,利用所述數據庫基於所述軌道圖像獲得所述車輛100的限速。 In the third embodiment provided by the present invention, the obtaining the speed limit of the vehicle 100 based on the image includes a third method, and the third method includes: A database is trained using the training samples; a track image is obtained, and the speed limit of the vehicle 100 is obtained by using the database based on the track image.

所述數據庫可以是車載裝置3利用大量訓練樣本基於Python語言所訓練而成的圖像分類器。例如,車載裝置3可以收集預設數量(如10萬份)的訓練樣本,每份訓練樣本包括一張軌道圖像,以及與每張軌道圖像對應的車輛限速,基於所述預設數量的訓練樣本對神經網路進行訓練,由此獲得所述數據庫。在這裡,每張軌道圖像對應的車輛限速可以利用方法二或其他方法來獲知。 The database may be an image classifier trained by the vehicle-mounted device 3 using a large number of training samples based on the Python language. For example, the in-vehicle device 3 may collect a preset number (eg, 100,000) of training samples, each of which includes a track image and a vehicle speed limit corresponding to each track image, based on the preset number The training samples are used to train the neural network, thereby obtaining the database. Here, the vehicle speed limit corresponding to each track image can be obtained by using the second method or other methods.

在本發明提供的第四實施例中,所述基於圖像獲得所述車輛100的限速包括方法四:將利用所述方法一、方法二與方法三取得的限速中的最低限速作為所述車輛100的限速。 In the fourth embodiment provided by the present invention, the obtaining the speed limit of the vehicle 100 based on the image includes a fourth method: taking the lowest speed limit among the speed limits obtained by the first method, the second method and the third method as the The speed limit of the vehicle 100 .

步驟S4、車載裝置3確定所述車輛100的車速是否超過所述限速。當確定所述車輛100的車速超過所述限速時,執行S5。 In step S4, the vehicle-mounted device 3 determines whether the speed of the vehicle 100 exceeds the speed limit. When it is determined that the vehicle speed of the vehicle 100 exceeds the speed limit, S5 is performed.

步驟S5、車載裝置3發出警告。 Step S5, the vehicle-mounted device 3 issues a warning.

本實施例中,車載裝置3可利用顯示器36發出警告,所述顯示器36發出警告可以是所述顯示器36呈現警示圖樣或發出警告聲。在其他實施例中,還可透過其他設備(例如,揚聲器等)發出語音警告。此外,還可將警告發送至預設的終端設備(例如,指定用戶的手機)以提醒車速控制。 In this embodiment, the vehicle-mounted device 3 may use the display 36 to issue a warning, and the display 36 may issue a warning, and the display 36 may present a warning pattern or issue a warning sound. In other embodiments, voice warnings may also be issued through other devices (eg, speakers, etc.). In addition, a warning can also be sent to a preset terminal device (eg, a mobile phone of a designated user) to remind the vehicle speed control.

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

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

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

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

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

Claims (6)

一種車輛行車輔助方法,其中,該方法包括:偵測車輛的車速;當所述車輛的車速超過速度閾值時,基於圖像獲得相應路段內車輛的限速,其中,所述基於圖像獲得所述車輛的限速包括:方法一:獲取包括限速告示牌的圖像;從所述包括限速告示牌的圖像中截取所述限速告示牌所在的圖像區域;及辨識所截取的圖像區域獲得所述車輛的限速;方法二:獲取所述車輛所在軌道的軌道圖像,基於所述軌道圖像計算所述車輛所在軌道的軌道路徑;基於所述軌道路徑計算所述車輛所在軌道的軌道彎曲角度;及根據所述軌道彎曲角度獲得所述車輛的限速;方法三:利用訓練樣本訓練數據庫;及獲取軌道圖像,利用所述訓練的數據庫基於所述軌道圖像獲得所述車輛的限速;將利用所述方法一、方法二與方法三取得的限速中的最低限速作為所述車輛的限速;及當所述車輛的車速超過所述相應路段內車輛的限速時,發出警告。 A vehicle driving assistance method, wherein the method comprises: detecting the speed of the vehicle; when the speed of the vehicle exceeds a speed threshold, obtaining the speed limit of the vehicle in a corresponding road section based on an image, wherein the obtaining the obtained image based on the image The speed limit of the vehicle includes: method 1: acquiring an image including a speed limit sign; intercepting an image area where the speed limit sign is located from the image including the speed limit sign; and identifying the intercepted image Obtain the speed limit of the vehicle in the image area; method 2: obtain a track image of the track where the vehicle is located, and calculate the track path of the track where the vehicle is located based on the track image; calculate the vehicle based on the track path The track bending angle of the track where it is located; and obtaining the speed limit of the vehicle according to the track bending angle; Method 3: using the training samples to train a database; and obtaining a track image, using the trained database to obtain based on the track image The speed limit of the vehicle; the lowest speed limit among the speed limits obtained by the method 1, method 2 and method 3 is taken as the speed limit of the vehicle; and when the speed of the vehicle exceeds the vehicle in the corresponding road section When the speed limit is reached, a warning is issued. 如請求項1所述的車輛行車輔助方法,其中,所述利用訓練樣本訓練數據庫包括:獲得預設數量的軌道圖像;獲得所述預設數量的軌道圖像中的每張軌道圖像所對應的限速;及將所述預設數量的軌道圖像以及對應的限速作為訓練樣本訓練所述數據庫。 The vehicle driving assistance method according to claim 1, wherein the using the training samples to train the database comprises: obtaining a preset number of track images; obtaining the information of each track image in the preset number of track images corresponding speed limit; and training the database by using the preset number of track images and the corresponding speed limit as training samples. 如請求項1所述的車輛行車輔助方法,其中,所述數據庫為:基於Python語言訓練得到的圖像分類器。 The vehicle driving assistance method according to claim 1, wherein the database is an image classifier obtained by training based on the Python language. 一種電腦可讀儲存介質,其中,所述電腦可讀儲存介質儲存有 至少一個指令,所述至少一個指令被處理器執行時實現如請求項1至3中任意一項的所述車輛行車輔助方法。 A computer-readable storage medium, wherein the computer-readable storage medium stores At least one instruction, which when executed by the processor implements the vehicle driving assistance method according to any one of claims 1 to 3. 一種車載裝置,其中,所述車載裝置包括儲存器和至少一個處理器,所述儲存器中儲存有至少一個指令,所述至少一個指令被所述至少一個處理器執行時實現如請求項1至3中任意一項的所述車輛行車輔助方法。 An in-vehicle device, wherein the in-vehicle device includes a memory and at least one processor, the memory stores at least one instruction, and when the at least one instruction is executed by the at least one processor, the implementation of claim 1 to The vehicle driving assistance method of any one of 3. 一種車輛,其中,所述車輛包括如請求項5所述的車載裝置。 A vehicle, wherein the vehicle includes the in-vehicle device of claim 5.
TW109142514A 2020-12-02 2020-12-02 Driving assistance method, vehicle-mounted device, vehicle, and storage medium TWI751820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109142514A TWI751820B (en) 2020-12-02 2020-12-02 Driving assistance method, vehicle-mounted device, vehicle, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109142514A TWI751820B (en) 2020-12-02 2020-12-02 Driving assistance method, vehicle-mounted device, vehicle, and storage medium

Publications (2)

Publication Number Publication Date
TWI751820B true TWI751820B (en) 2022-01-01
TW202222622A TW202222622A (en) 2022-06-16

Family

ID=80809143

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109142514A TWI751820B (en) 2020-12-02 2020-12-02 Driving assistance method, vehicle-mounted device, vehicle, and storage medium

Country Status (1)

Country Link
TW (1) TWI751820B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326555A (en) * 2005-12-15 2008-12-17 国际商业机器公司 Method, system and program for auditing vehicle speed compliance to an upcoming speed limit
TWM498868U (en) * 2014-12-24 2015-04-11 Hua Chuang Automobile Information Technical Ct Co Ltd Road speed limit detection system
CN110562257A (en) * 2019-08-29 2019-12-13 北京梧桐车联科技有限责任公司 information processing method and device, vehicle and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326555A (en) * 2005-12-15 2008-12-17 国际商业机器公司 Method, system and program for auditing vehicle speed compliance to an upcoming speed limit
TWM498868U (en) * 2014-12-24 2015-04-11 Hua Chuang Automobile Information Technical Ct Co Ltd Road speed limit detection system
CN110562257A (en) * 2019-08-29 2019-12-13 北京梧桐车联科技有限责任公司 information processing method and device, vehicle and storage medium

Also Published As

Publication number Publication date
TW202222622A (en) 2022-06-16

Similar Documents

Publication Publication Date Title
CN109343061B (en) Sensor calibration method and device, computer equipment, medium and vehicle
CN109145680B (en) Method, device and equipment for acquiring obstacle information and computer storage medium
CN110163176B (en) Lane line change position identification method, device, equipment and medium
CN111046709B (en) Vehicle lane level positioning method and system, vehicle and storage medium
CN110567475A (en) Navigation method, navigation device, computer readable storage medium and electronic equipment
CN103077624A (en) Real-time navigation road condition system based on global positioning system (GPS) and navigation method
CN110008891B (en) Pedestrian detection positioning method and device, vehicle-mounted computing equipment and storage medium
CN114373335B (en) Collision early warning method and device for vehicle, electronic equipment and storage medium
CN110909718B (en) Driving state identification method and device and vehicle
US20200101983A1 (en) Method and apparatus for early warning of vehicle offset
CN102910127A (en) Method for horizontally displaying global positioning system (GPS) radar road condition data information
JP2008298699A (en) Own vehicle position recognition device and own vehicle position recognition method
CN109637148B (en) Vehicle-mounted whistling monitoring system, method, storage medium and equipment
CN114397685A (en) Vehicle navigation method, device, equipment and storage medium for weak GNSS signal area
CN108286973B (en) Running data verification method and device and hybrid navigation system
CN113442830B (en) Traffic safety control method and vehicle-mounted device
US20220169294A1 (en) Vehicle driving assistance method, onboard device, and vehicle having onboard device
TWI751820B (en) Driving assistance method, vehicle-mounted device, vehicle, and storage medium
US20210323557A1 (en) Lane change assistance method, vehicle-mounted device and readable storage medium
US20200250970A1 (en) Information processing apparatus, information processing method and program
CN113954834A (en) Lane changing planning method and vehicle-mounted device
CN110554420B (en) Equipment track obtaining method and device, computer equipment and storage medium
TWI762887B (en) Traffic safety control method, vehicle-mounted device and readable storage medium
CN115257771A (en) Intersection identification method, electronic device and storage medium
CN109703556B (en) Driving assistance method and apparatus