TWI740455B - Parking warning method, vehicle-mounted device and readable storage medium - Google Patents
Parking warning method, vehicle-mounted device and readable storage medium Download PDFInfo
- Publication number
- TWI740455B TWI740455B TW109112526A TW109112526A TWI740455B TW I740455 B TWI740455 B TW I740455B TW 109112526 A TW109112526 A TW 109112526A TW 109112526 A TW109112526 A TW 109112526A TW I740455 B TWI740455 B TW I740455B
- Authority
- TW
- Taiwan
- Prior art keywords
- vehicle
- parking
- parking position
- traffic marking
- image
- Prior art date
Links
Images
Landscapes
- Traffic Control Systems (AREA)
Abstract
Description
本發明涉及一種交通管理技術領域,尤其涉及一種停車警示方法、車載裝置及可讀儲存介質。 The invention relates to the technical field of traffic management, in particular to a parking warning method, a vehicle-mounted device and a readable storage medium.
習知技術中,駕駛員往往會需要臨時停車於道路旁邊。然而,若停放於不允許停車區域時,將造成車輛被拖吊及罰款的情況。 In the conventional technology, the driver often needs to temporarily stop beside the road. However, parking in an area where parking is not allowed will cause the vehicle to be towed and fined.
鑒於以上內容,有必要提供一種停車警示方法、車載裝置及可讀儲存介質,可通過識別車輛所在位置所對應的交通標線的圖像特徵來確定車輛所停位置是否為不允許停車區域,並當車輛停在不允許停車區域時,按照預設的方式發出警示,有效解決習知技術中因駕駛員停車於不允許停車區域所造成的車輛被拖吊及罰款的情況。 In view of the above, it is necessary to provide a parking warning method, a vehicle-mounted device and a readable storage medium, which can determine whether the vehicle is parked in an area where parking is not allowed by identifying the image characteristics of the traffic marking corresponding to the location of the vehicle, and When a vehicle is parked in an area that is not allowed to park, a warning is issued in a preset manner, which effectively solves the situation of the vehicle being towed and fined due to the driver parking in the area that is not allowed to park in the prior art.
所述停車警示方法,包括:識別車輛的停車位置所對應的交通標線的圖像特徵;基於所述交通標線的圖像特徵確定所述車輛的停車位置的類別;及當基於所述車輛的停車位置的類別確定所述車輛違規停車時,按照預設的提示方式發出警示。 The parking warning method includes: recognizing the image feature of the traffic marking corresponding to the parking position of the vehicle; determining the category of the parking position of the vehicle based on the image feature of the traffic marking; and when based on the vehicle When the category of the parking position determines that the vehicle parks illegally, a warning is issued in accordance with the preset prompt mode.
優選地,所述識別車輛的停車位置所對應的交通標線的圖像特徵包括:利用定位設備在預設的高精地圖上定位所述車輛的停車位置;及從所述預設的高精地圖獲得所述車輛的停車位置所對應的交通標線的圖像特徵,其中,所述 圖像特徵包括顏色特徵或形狀特徵。 Preferably, the recognizing the image feature of the traffic marking corresponding to the parking position of the vehicle includes: using a positioning device to locate the parking position of the vehicle on a preset high-precision map; and from the preset high-precision The map obtains the image features of the traffic marking corresponding to the parking position of the vehicle, wherein the Image features include color features or shape features.
優選地,所述定位設備為GPS和陀螺儀。 Preferably, the positioning device is a GPS and a gyroscope.
優選地,所述識別車輛的停車位置所對應的交通標線的圖像特徵包括:利用攝像頭拍攝圖像,所述圖像包括所述車輛的停車位置所對應的交通標線;及利用圖像識別演算法從所述圖像中識別所述交通標線的圖像特徵,其中,所述圖像特徵包括顏色特徵或形狀特徵。 Preferably, the recognizing the image feature of the traffic marking corresponding to the parking position of the vehicle includes: using a camera to take an image, the image including the traffic marking corresponding to the parking position of the vehicle; and using the image The recognition algorithm recognizes the image feature of the traffic marking from the image, wherein the image feature includes a color feature or a shape feature.
優選地,該方法還包括:當沒有識別到所述車輛的停車位置所對應的交通標線時,確定所述車輛的停車位置為合法停車位置;該方法中,所述基於所述交通標線的圖像特徵確定所述車輛的停車位置的類別包括:當所述交通標線的顏色特徵為紅色時,確定所述車輛的停車位置為禁止停車位置;當所述交通標線的顏色特徵為白色時,確定所述車輛的停車位置是合法停車位置;及當所述交通標線的顏色特徵為黃色時,確定所述車輛的停車位置是臨時停車位置。 Preferably, the method further includes: determining that the parking position of the vehicle is a legal parking position when the traffic marking corresponding to the parking position of the vehicle is not recognized; in the method, the method is based on the traffic marking Determining the category of the parking position of the vehicle by the image features includes: when the color feature of the traffic marking is red, determining that the parking position of the vehicle is a no-parking position; when the color feature of the traffic marking is When it is white, it is determined that the parking position of the vehicle is a legal parking position; and when the color feature of the traffic marking is yellow, it is determined that the parking position of the vehicle is a temporary parking position.
優選地,該方法還包括:當所述車輛的停車位置是臨時停車位置時,檢測所述車輛的停車參數,基於所述車輛的停車參數確定所述車輛是否違規停車,其中,所述車輛的停車參數包括所述車輛在所述停車位置的時間段、所述車輛的停車時長、所述車輛的引擎是否熄火。 Preferably, the method further includes: when the parking position of the vehicle is a temporary parking position, detecting the parking parameter of the vehicle, and determining whether the vehicle is parked illegally based on the parking parameter of the vehicle, wherein The parking parameters include the time period of the vehicle at the parking position, the parking time of the vehicle, and whether the engine of the vehicle is turned off.
優選地,該方法還包括:當確定所述車輛違規停車時,儲存所述車輛的相關資訊,所述相關資訊包括所述車輛的駕駛員資訊、所述車輛的車牌號、所述車輛的停車位置、違規停車的時間。 Preferably, the method further includes: when it is determined that the vehicle is parking illegally, storing relevant information of the vehicle, the relevant information including the driver information of the vehicle, the license plate number of the vehicle, and the parking of the vehicle Location, time of illegal parking.
優選地,該方法還包括:基於所儲存的所有車輛的所述相關資訊定期分析所有車輛的違規停車情況,包括:統計對應違規停車次數最多的停車位置、統計對應違規停車次數最多/最少的駕駛員。 Preferably, the method further includes: analyzing the parking violations of all vehicles on a regular basis based on the stored related information of all vehicles, including: counting parking locations corresponding to the most number of violations, and counting the driving numbers corresponding to the most/least number of violations. member.
所述電腦可讀儲存介質儲存有至少一個指令,所述至少一個指令被處理器執行時實現所述停車警示方法。 The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the parking warning method is implemented.
所述車載裝置包括儲存器和至少一個處理器,所述儲存器中儲存有至 少一個指令,所述至少一個指令被所述至少一個處理器執行時實現所述停車警示方法。 The vehicle-mounted device includes a memory and at least one processor, and the memory stores to One instruction is missing, and the parking warning method is implemented when the at least one instruction is executed by the at least one processor.
相較於習知技術,所述停車警示方法、車載裝置及可讀儲存介質,可根據交通標線識別是否違規停車,並於違規停車時進行提示,避免違規停車時車被拖走等情況。 Compared with the prior art, the parking warning method, the on-board device and the readable storage medium can identify whether to park illegally according to traffic markings, and prompt when parking illegally, so as to avoid situations such as the car being towed away when parking illegally.
100:車輛 100: Vehicle
3:車載裝置 3: On-board device
32:處理器 32: processor
31:儲存器 31: Storage
30:停車警示系統 30: parking warning system
301:識別模組 301: Identification Module
302:判斷模組 302: Judgment Module
303:執行模組 303: Execution Module
34:攝像頭 34: camera
35:顯示螢幕 35: display screen
36:定位設備 36: positioning device
39:高精地圖 39: High-precision map
圖1是本發明較佳實施例的車載裝置的架構圖。 FIG. 1 is a structural diagram of a vehicle-mounted device according to a preferred embodiment of the present invention.
圖2是本發明較佳實施例的停車警示系統的功能模組圖。 Fig. 2 is a functional module diagram of a parking warning system according to a preferred embodiment of the present invention.
圖3是本發明較佳實施例的停車警示方法的流程圖。 Fig. 3 is a flowchart of a parking warning method according to a preferred embodiment of the present invention.
圖4舉例說明交通標線。 Figure 4 illustrates traffic markings.
為了能夠更清楚地理解本發明的上述目的、特徵和優點,下面結合附圖和具體實施例對本發明進行詳細描述。需要說明的是,在不衝突的情況下,本發明的實施例及實施例中的特徵可以相互組合。 In order to be able to understand the above objectives, features and advantages of the present invention more clearly, 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 can be combined with each other if there is no conflict.
在下面的描述中闡述了很多具體細節以便於充分理解本發明,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 In the following description, many specific details are explained in order to fully understand the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work 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 those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
參閱圖1所示,為本發明較佳實施例提供的車載裝置的架構圖。 Refer to FIG. 1, which is a structural diagram of a vehicle-mounted device provided by a preferred embodiment of the present invention.
本實施例中,車載裝置3設置在車輛100上。所述車載裝置3也可以叫
作車載電腦或手持通訊裝置,包括互相之間電氣連接的儲存器31、至少一個處理器32、攝像頭34、顯示螢幕35、定位設備36。
In this embodiment, the in-vehicle device 3 is installed on the
本領域技術人員應該瞭解,圖1示出的車載裝置3的結構並不構成本發明實施例的限定,所述車載裝置3還可以包括比圖1更多或更少的其他硬體或者軟體,或者不同的部件佈置。 Those skilled in the art should understand that the structure of the vehicle-mounted device 3 shown in FIG. 1 does not constitute a limitation of the embodiment of the present invention. The vehicle-mounted device 3 may also include more or less other hardware or software than that of FIG. Or different component arrangements.
需要說明的是,所述車載裝置3僅為舉例,其他現有的或今後可能出現的車載裝置如可適應於本發明,也應包含在本發明的保護範圍以內,並以引用方式包含於此。 It should be noted that the in-vehicle device 3 is only an example, and other existing or future in-vehicle devices that can be adapted to the present invention should also be included in the protection scope of the present invention and included here by reference.
在一些實施例中,所述儲存器31可以用於儲存電腦程式的程式碼和各種資料。例如,所述儲存器31可以用於儲存安裝在所述車載裝置3中的停車警示系統30、高精地圖39,並在車載裝置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 can be used to store program codes and various data of a computer program. For example, the storage 31 can be used to store the
在一些實施例中,所述至少一個處理器32可以由積體電路組成。例如,可以由單個封裝的積體電路所組成,也可以是由多個相同功能或不同功能封裝的積體電路所組成,包括一個或者多個中央處理器(Central Processing unit,CPU)、微處理器、數文書處理晶片、圖形處理器及各種控制晶片的組合等。所述至少一個處理器32是所述車載裝置3的控制核心(Control Unit),利用各種介面和線路連接整個車載裝置3的各個部件,通過執行儲存在所述儲存器31內的程式或者模組或者指令,以及調用儲存在所述儲存器31內的資料,以執行車載裝置 3的各種功能和處理資料,例如,對停車進行警示的功能(具體細節參後面對圖3的介紹)。 In some embodiments, the at least one processor 32 may be composed of an integrated circuit. For example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple packaged integrated circuits with the same function or different functions, including one or more central processing units (CPU), micro-processing Combinations of processors, digital word processing chips, graphics processors, and various control chips. The at least one processor 32 is the control core (Control Unit) of the in-vehicle device 3, which uses various interfaces and lines to connect the various components of the entire in-vehicle device 3, and executes programs or modules stored in the storage 31 Or instructions, and call the data stored in the storage 31 to execute the vehicle-mounted device 3 various functions and processing data, for example, the function of warning for parking (for details, please refer to the introduction of Figure 3 later).
在本實施例中,所述攝像頭34可以安裝在所述車輛100的底盤上或所述車輛100的周圍,從而使得所述攝像頭34可以拍攝到所述車輛100在停車位置的交通標線(Traffic Index Line)的圖像。
In this embodiment, the camera 34 can be installed on the chassis of the
本實施例中,所述交通標線是指在車道的邊緣上用線條向交通參與者傳遞引導、限制、警告等交通資訊的標識。 In this embodiment, the traffic marking refers to a line on the edge of a lane to convey traffic information such as guidance, restriction, and warning to traffic participants.
所述顯示螢幕35可以為觸摸顯示螢幕,用於顯示所述車載裝置3的各種資料,例如顯示高精地圖39的使用者介面。本實施例中,所述高精地圖39可以為百度高精地圖或者其他地圖如谷歌高精地圖。 The display screen 35 may be a touch display screen for displaying various data of the in-vehicle device 3, such as a user interface for displaying a high-definition map 39. In this embodiment, the high-precision map 39 may be a Baidu high-precision map or other maps such as a Google high-precision map.
本實施例中,所述高精地圖39指示了每條道路所對應的交通標線、每條交通標線的顏色等特徵。需要說明的是,所述高精地圖39還可以指示每條道路所包括的各個車道、每條道路所包括的各個路口、每個路口的通行規則、每個路口是否為易肇事路口等。 In this embodiment, the high-precision map 39 indicates the traffic markings corresponding to each road, the color of each traffic marking, and other characteristics. It should be noted that the high-precision map 39 may also indicate the lanes included in each road, the intersections included in each road, the traffic rules of each intersection, and whether each intersection is an accident-prone intersection, and so on.
在一個實施例中,所述通行規則包括對每個路口的每條道路的車輛的轉向的限制。在其他實施例中,所述通行規則還包括對每個路口的每條道路的車輛的車型(如大型車、小型車)、重量、高度、長度等的限制。 In one embodiment, the traffic rules include restrictions on the turning of vehicles on each road at each intersection. In other embodiments, the traffic rules further include restrictions on vehicle models (such as large vehicles, small vehicles), weight, height, length, etc., of vehicles on each road at each intersection.
在一個實施例中,所述高精地圖39記錄了每個路口發生過交通事故的次數,並依據所發生的交通事故的次數定義每個路口是否為易肇事路口。 In one embodiment, the high-precision map 39 records the number of traffic accidents that have occurred at each intersection, and defines whether each intersection is an accident-prone intersection according to the number of traffic accidents that have occurred.
本實施例中,所述定位設備36可以用於定位車輛100當前所處的位置(如經緯度資訊)。在一個實施例中,所述定位設備36可以為GPS和陀螺儀。在一個實施例中,所述定位設備36可以為全球定位系統(Global Positioning System,簡稱:GPS)、輔助全球衛星定位系統(Assisted Global Positioning System,簡稱:AGPS)、北斗衛星導航系統(BeiDou Navigation Satellite System,BDS),或格洛納斯衛星導航系統(GLOBAL NAVIGATION SATELLITE SYSTEM,GLONASS)中的一者或者多者的組合。 In this embodiment, the positioning device 36 may be used to locate the current position of the vehicle 100 (such as latitude and longitude information). In an embodiment, the positioning device 36 may be a GPS and a gyroscope. In one embodiment, the positioning device 36 may be a global positioning system (Global Positioning System, referred to as GPS), an assisted global positioning system (Assisted Global Positioning System, referred to as AGPS), or BeiDou Navigation Satellite Navigation System (BeiDou Navigation Satellite System). System, BDS), or one or a combination of GLONASS (GLOBAL NAVIGATION SATELLITE SYSTEM, GLONASS).
參閱圖2所示,為本發明較佳實施例的停車警示系統的功能模組圖。在本實施例中,停車警示系統30可以包括一個或多個模組,所述一個或多個模組儲存在所述儲存器31中,並由至少一個或多個處理器(本實施例為處理器32)執行,以實現對停車進行警示的功能(具體細節參後面對圖3的介紹)。
Refer to FIG. 2, which is a functional module diagram of a parking warning system according to a preferred embodiment of the present invention. In this embodiment, the
在本實施例中,所述停車警示系統30根據其所執行的功能,可以被劃分為多個模組。參閱圖2所示,所述多個模組包括識別模組301、判斷模組302、執行模組303。本發明所稱的模組是指一種能夠被至少一個處理器(例如處理器32)所執行並且能夠完成固定功能的一系列電腦可讀的指令段,其儲存在儲存器(例如車載裝置3的儲存器31)中。
In this embodiment, the
在本實施例中,所述識別模組301可以識別車輛100的停車位置所對應的交通標線的圖像特徵。所述判斷模組302基於所述交通標線的圖像特徵確定所述車輛100的停車位置的類別;以及基於所述車輛100的停車位置的類別確定所述車輛100是否違規停車。當基於所述車輛100的停車位置的類別確定所述車輛100違規停車時,所述執行模組303按照預設的提示方式發出警示。由此避免所述車輛100的駕駛員停車於不允許停車區域所造成的車輛100被拖吊及罰款的情況。
In this embodiment, the
需要說明的是,在本實施例中,關於所述識別模組301、判斷模組302、執行模組303的功能還將在後續結合圖3詳述。
It should be noted that in this embodiment, the functions of the
本實施例中,以軟體功能模組的形式實現的集成的單元,可以儲存在一個非易失性可讀取儲存介質中。上述軟體功能模組包括一個或多個電腦可讀指令,所述車載裝置3或一個處理器(processor)通過執行所述一個或多個電腦可讀指令實現本發明各個實施例的方法的部分,例如圖3所示的對停車進行警示的方法。 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 vehicle-mounted 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, Figure 3 shows the method of warning for parking.
在進一步的實施例中,結合圖2,所述至少一個處理器32可執行所述車載裝置3的操作裝置以及安裝的各類應用程式(如所述的停車警示系統30)、程式碼等。 In a further embodiment, with reference to FIG. 2, the at least one processor 32 can execute the operating device of the vehicle-mounted device 3 and various installed applications (such as the parking warning system 30), program codes, and the like.
在進一步的實施例中,所述儲存器31中儲存有電腦程式的程式碼,且所述至少一個處理器32可調用所述儲存器31中儲存的程式碼以執行相關的功能。例如,圖2中所述停車警示系統30的各個模組是儲存在所述儲存器31中的程式碼,並由所述至少一個處理器32所執行,從而實現所述各個模組的功能以達到對停車進行警示的目的(詳見下文中對圖3的描述)。
In a further embodiment, the computer program code is stored in the storage 31, and the at least one processor 32 can call the code stored in the storage 31 to perform related functions. For example, each module of the
在本發明的一個實施例中,所述儲存器31儲存一個或多個電腦可讀指令,所述一個或多個電腦可讀指令被所述至少一個處理器32所執行以實現對停車進行警示的目的。具體地,所述至少一個處理器32對上述電腦可讀指令的具體實現方法詳見下文中對圖3的描述。 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 realize parking warning the goal of. Specifically, the specific implementation method of the at least one processor 32 to the above-mentioned computer-readable instructions is detailed in the description of FIG. 3 below.
圖3是本發明較佳實施例提供的停車警示方法的流程圖。 Fig. 3 is a flowchart of a parking warning method provided by a preferred embodiment of the present invention.
在本實施例中,所述停車警示方法可以應用於車載裝置3中,對於需要進行停車警示的車載裝置3,可以直接在該車載裝置3上集成本發明的方法所提供的用於停車警示的功能,或者以軟體開發套件(Software Development Kit,SDK)的形式運行在所述車載裝置3上。 In this embodiment, the parking warning method can be applied to the vehicle-mounted device 3. For the vehicle-mounted device 3 that needs to perform a parking warning, the vehicle-mounted device 3 can be directly integrated with the parking warning provided by the method of the present invention. Function, or run on the vehicle-mounted device 3 in the form of a software development kit (Software Development Kit, SDK).
如圖3所示,所述停車警示方法具體包括以下步驟,根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略。 As shown in FIG. 3, the parking warning method specifically includes the following steps. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
步驟S1、識別模組301識別車輛100的停車位置所對應的交通標線的圖像特徵。
Step S1: The
在第一實施例中,所述識別車輛100的停車位置所對應的交通標線的圖像特徵包括:利用所述定位設備36在預設的高精地圖39上定位所述車輛100的停車位置;及從所述預設的高精地圖39獲得所述車輛100的停車位置所對應的交通標線的圖像特徵,其中,所述圖像特徵包括,但不限於,顏色特徵及/或形狀特徵。
In the first embodiment, identifying the image feature of the traffic marking corresponding to the parking position of the
在第二實施例中,所述識別車輛100的停車位置所對應的交通標線的圖像特徵包括:利用攝像頭34拍攝圖像,所述圖像包括所述車輛100的停車位置所對應的交通標線;及利用圖像識別演算法從所述圖像中識別所述交通標線
的圖像特徵,其中,所述圖像特徵包括,但不限於,顏色特徵及/或形狀特徵。
In the second embodiment, recognizing the image characteristics of the traffic marking corresponding to the parking position of the
本實施例中,所述利用圖像識別演算法從所述圖像中識別所述交通標線的圖像特徵包括:利用範本匹配法從所拍攝的圖像中識別交通標線;從所拍攝圖像中截取交通標線的圖像;計算所截取的交通標線的圖像的每個圖元點的RGB值;根據所有圖元點的RGB值確定所述交通標線的顏色。例如,識別模組301可以預設定義各種顏色分別所對應的RGB值的取值範圍;根據每個圖元點的RGB值確定每個圖元點的顏色;將與最多圖元點對應的顏色作為所述交通標線的顏色。
In this embodiment, the use of an image recognition algorithm to identify the image features of the traffic marking from the image includes: using a template matching method to identify the traffic marking from the captured image; The image of the traffic marking is intercepted in the image; the RGB value of each image element point of the image of the intercepted traffic marking is calculated; the color of the traffic marking is determined according to the RGB value of all the image element points. For example, the
本實施例中,可以將各種樣式的交通標線(例如白線、紅線、黃線等)分別作為範本。 In this embodiment, various styles of traffic markings (such as white lines, red lines, yellow lines, etc.) can be used as templates respectively.
需要說明的是,在其他實施例中,可以先根據所述第一實施例識別車輛100的停車位置所對應的交通標線的圖像特徵;若無法識別到所述車輛100的停車位置所對應的交通標線的圖像特徵,再考慮根據所述第二實施例來識別車輛100的停車位置所對應的交通標線的圖像特徵。
It should be noted that in other embodiments, the image feature of the traffic marking corresponding to the parking position of the
另外還需要說明的是,由於不同國家的交通規則所規定的行駛方向存在差異,有的是靠右行駛,有的是靠左行駛。在這裡,若所規定的行駛方向為靠右行駛,那麼所述車輛100的停車位置所對應的交通標線是指所述車輛100所在車道的右側的標線。反之若所規定的行駛方向為靠左行駛,那麼所述車輛100的停車位置所對應的交通標線是指所述車輛100所在車道的左側的標線。即所述車輛100的停車位置所對應的交通標線是與交通規則所規定的行駛方向相關的。
In addition, it should be noted that due to the differences in the driving directions stipulated by the traffic rules of different countries, some drive on the right and some drive on the left. Here, if the prescribed driving direction is to drive to the right, then the traffic marking corresponding to the parking position of the
舉例而言,參閱圖4所示,車輛100當前停在車道d,若交通規則所規定的行駛方向為靠右行駛,那麼所述車輛100的停車位置所對應的交通標線是指d1。反之,若交通規則所規定的行駛方向為靠左行駛,那麼所述車輛100的停車位置所對應的交通標線是指d2。
For example, referring to FIG. 4, the
在一個實施例中,識別模組301於確定所述車輛100停車時,識別車輛
100的停車位置所對應的交通標線的圖像特徵。換句話來講,所述停車位置可以定義為在確定了所述車輛100停車的前提下該車輛100當前所在的位置。
In one embodiment, when the
具體地,當所述車輛100的速度為0時,所述識別模組301確定所述車輛100停車。本實施例中,所述識別模組301可以利用速度感測器(圖中未示出)感測所述車輛100的速度。
Specifically, when the speed of the
步驟S2、判斷模組302基於所述交通標線的圖像特徵確定所述車輛100的停車位置的類別。
Step S2: The
在一個實施例中,所述基於所述交通標線的圖像特徵確定所述車輛100的停車位置的類別包括:當所述交通標線的顏色特徵為紅色時,確定所述車輛100的停車位置為禁止停車位置;當所述交通標線的顏色特徵為白色時,確定所述車輛100的停車位置是合法停車位置;及當所述交通標線的顏色特徵為黃色時,確定所述車輛100的停車位置是臨時停車位置。
In one embodiment, the determining the category of the parking position of the
在一個實施例中,當在步驟S1中沒有識別到所述車輛100的停車位置所對應的交通標線時,判斷模組302確定所述車輛100的停車位置是合法停車位置。
In one embodiment, when the traffic marking corresponding to the parking position of the
步驟S3、判斷模組302基於所述車輛100的停車位置的類別確定所述車輛100是否違規停車。當確定所述車輛100違規停車時,執行步驟S4。當確定所述車輛100沒有違規停車時,結束流程。
Step S3: The
本實施例中,所述基於所述車輛100的停車位置的類別確定所述車輛100是否違規停車包括:當所述車輛100的停車位置為禁止停車位置時,確定所述車輛100違規停車;當所述車輛100的停車位置為合法停車位置時,確定所述車輛100沒有
違規停車;及當所述車輛100的停車位置為臨時停車位置時,檢測所述車輛100的停車參數,基於所述車輛100的停車參數與所述臨時停車位置所對應的停車規則確定所述車輛100是否違規停車。其中,所述車輛100的停車參數包括,但不限於,所述車輛100在所述停車位置的時間段、所述車輛的停車時長、所述車輛的引擎是否熄火。
In this embodiment, the determining whether the
具體地,所述臨時停車位置所對應的停車規則包括對停車時間段以及停車時長的限制,以及在臨時停車時對車輛的引擎不可以熄火的限制。因此,當車輛100處於臨時停車位置時,判斷模組302可以根據所述車輛100的停車參數與所述臨時停車位置所對應的停車規則來確定車輛100是否違規停車。例如,當當前時間屬於臨時停車位置的限制停車時段時,則可確定車輛100違規停車。
Specifically, the parking rules corresponding to the temporary parking position include restrictions on the parking time period and parking duration, and restrictions on the vehicle's engine not being able to turn off during temporary parking. Therefore, when the
步驟S4、當基於所述車輛100的停車位置的類別確定所述車輛100違規停車時,執行模組303按照預設的提示方式發出警示。
Step S4: When it is determined that the
在一個實施例中,所述預設的提示方式可以是指在所述顯示螢幕35上顯示文本資訊,利用所述文本資訊來提示所述車輛100的駕駛員違規停車。
In one embodiment, the preset prompting manner may refer to displaying text information on the display screen 35, and using the text information to prompt the driver of the
在其他實施例中,所述預設的提示方式還可以包括以語音播報的方式提示所述車輛100的駕駛員違規停車。
In other embodiments, the preset prompt manner may further include prompting the driver of the
在一個實施例中,當確定所述車輛100違規停車時,執行模組303儲存所述車輛100的相關資訊。例如,可以將所述車輛100的相關資訊儲存到與所述車載裝置3通訊連接的伺服器中,該伺服器可以為車輛管理公司例如計程車公司、物流公司的伺服器。從而便於車輛管理公司對每台車輛進行管理。當然,所述執行模組303也可以將所述車輛100的相關資訊儲存到所述車載裝置3的儲存器31中。
In one embodiment, when it is determined that the
在一個實施例中,所述相關資訊包括所述車輛100的駕駛員資訊(例如駕駛員的姓名、駕駛證號碼等)、所述車輛100的車牌號、所述車輛100的停車位置、違規停車的時間(也即是當前時間)。
In one embodiment, the related information includes driver information of the vehicle 100 (such as the driver’s name, driver’s license number, etc.), the license plate number of the
在一個實施例中,所述執行模組303或者伺服器還可以基於所儲存的所有車輛的所述相關資訊定期分析所有車輛的違規停車情況,包括,但不限於:統計對應違規停車次數最多的停車位置、統計對應違規停車次數最多/最少的駕駛員。
In one embodiment, the
所述執行模組303或者伺服器還可以基於定期分析結果結合獎懲機制對駕駛員實施獎懲。例如,對在預定時間段(如1個月內)內違規停車次數最多的駕駛員扣減獎金數額等。
The
在本發明所提供的幾個實施例中,應該理解到,所揭露的裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,所述模組的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式。 In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may 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 there may be other division methods 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 may be located in one place, or they may be distributed to multiple networks Unit. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本發明各個實施例中的各功能模組可以集成在一個處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。上述集成的單元既可以採用硬體的形式實現,也可以採用硬體加軟體功能模組的形式實現。 In addition, the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized either in the form of hardware, or in the form of hardware plus software functional modules.
對於本領域技術人員而言,顯然本發明不限於上述示範性實施例的細節,而且在不背離本發明的精神或基本特徵的情況下,能夠以其他的具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作是示範性的,而且是非限制性的,本發明的範圍由所附請求項而不是上述說明限定,因此旨在將落在請求項的等同要件的含義和範圍內的所有變化涵括在本發明內。不應將請求項中的任何附圖標記視為限制所涉及的請求項。此外,顯然“包括”一詞不排除其他單元或,單數不排除複數。裝置請求項中陳述的多個單元或裝置也可以由 一個單元或裝置通過軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定的順序。 For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall within the claims. All changes within the meaning and scope of the equivalent elements of are included in the present invention. Any reference signs in the request shall not be regarded as the request item involved in the restriction. In addition, it is obvious that the word "including" does not exclude other elements or, and the singular does not exclude the plural. Multiple units or devices stated in the device request can also be A unit or device is realized by software or hardware. Words such as first and second are used to denote names, but do not denote any specific 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 understand that the The technical solution is modified or equivalently replaced without departing from the spirit and scope of the technical solution of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109112526A TWI740455B (en) | 2020-04-14 | 2020-04-14 | Parking warning method, vehicle-mounted device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109112526A TWI740455B (en) | 2020-04-14 | 2020-04-14 | Parking warning method, vehicle-mounted device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI740455B true TWI740455B (en) | 2021-09-21 |
TW202139143A TW202139143A (en) | 2021-10-16 |
Family
ID=78778220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109112526A TWI740455B (en) | 2020-04-14 | 2020-04-14 | Parking warning method, vehicle-mounted device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI740455B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03252799A (en) * | 1990-03-01 | 1991-11-12 | Kajima Corp | Illegal parking/stopping managing device |
US6133855A (en) * | 1999-11-03 | 2000-10-17 | Hyundai Motor Company | Apparatus and method for warning of illegal stopping and parking of a car |
TW200951893A (en) * | 2008-06-10 | 2009-12-16 | Mitac Int Corp | Parking space warning system and method |
TWM549179U (en) * | 2017-04-27 | 2017-09-21 | 嶺東科技大學 | Warning system of vehicular violation against traffic sign and road surface marking |
CN207164996U (en) * | 2017-06-02 | 2018-03-30 | 韩玲 | A kind of intelligent transportation law enforcement processing equipment |
CN110223511A (en) * | 2019-04-29 | 2019-09-10 | 合刃科技(武汉)有限公司 | A kind of automobile roadside is separated to stop intelligent monitoring method and system |
-
2020
- 2020-04-14 TW TW109112526A patent/TWI740455B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03252799A (en) * | 1990-03-01 | 1991-11-12 | Kajima Corp | Illegal parking/stopping managing device |
US6133855A (en) * | 1999-11-03 | 2000-10-17 | Hyundai Motor Company | Apparatus and method for warning of illegal stopping and parking of a car |
TW200951893A (en) * | 2008-06-10 | 2009-12-16 | Mitac Int Corp | Parking space warning system and method |
TWM549179U (en) * | 2017-04-27 | 2017-09-21 | 嶺東科技大學 | Warning system of vehicular violation against traffic sign and road surface marking |
CN207164996U (en) * | 2017-06-02 | 2018-03-30 | 韩玲 | A kind of intelligent transportation law enforcement processing equipment |
CN110223511A (en) * | 2019-04-29 | 2019-09-10 | 合刃科技(武汉)有限公司 | A kind of automobile roadside is separated to stop intelligent monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
TW202139143A (en) | 2021-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11067404B2 (en) | Vehicle usage-based pricing alerts | |
CN111046709A (en) | Vehicle lane level positioning method and system, vehicle and storage medium | |
US20210375135A1 (en) | Method for indicating parking position and vehicle-mounted device | |
CN110648508A (en) | Roadside parking reminding method and system based on vehicle-mounted terminal and vehicle-mounted terminal | |
CN111951554A (en) | Illegal parking road information acquisition method and system | |
US20220091616A1 (en) | Autonomous driving method, intelligent control device and autonomous driving vehicle | |
CN111127282B (en) | System and method for determining recommended locations | |
CN113256974A (en) | Vehicle violation early warning method, device, equipment and storage medium | |
US11952004B2 (en) | Lane change assistance method, vehicle-mounted device and readable storage medium | |
CN112781600A (en) | Vehicle navigation method, device and storage medium | |
US12036992B2 (en) | Lane change planning method and vehicle-mounted device | |
US20210295683A1 (en) | Traffic safety control method and vehicle-mounted device | |
TWI740455B (en) | Parking warning method, vehicle-mounted device and readable storage medium | |
CN113506470A (en) | Overtaking assisting method, vehicle-mounted device and readable storage medium | |
CN109975847B (en) | Method and device for determining position of floating vehicle and identifying traffic violation | |
TWI762887B (en) | Traffic safety control method, vehicle-mounted device and readable storage medium | |
US11535244B2 (en) | Parking assistance method, vehicle-mounted device and readable storage medium | |
WO2022148166A1 (en) | Electronic map correction method and apparatus, navigation information configuration method and apparatus, and navigation method and apparatus | |
TWI758713B (en) | Warning method for vehicle changing lane, vehicle-mounted device | |
CN113968239A (en) | Traffic information prompting method and device, electronic equipment and storage medium | |
TWI737235B (en) | Overtaking assistance method, vehicle-mounted device and readable storage medium | |
TW202137158A (en) | Method of controlling traffic safety, vehicle-mounted device | |
TWI840588B (en) | Vehicle-mounted device and path planning method for lane change | |
TWI760758B (en) | Parking position reminding method and vehicle-mounted device | |
CN118190013A (en) | Navigation method and device for vehicle, electronic equipment and readable storage medium |