TWI785761B - Vehicle intelligent two steps security control system - Google Patents

Vehicle intelligent two steps security control system Download PDF

Info

Publication number
TWI785761B
TWI785761B TW110131654A TW110131654A TWI785761B TW I785761 B TWI785761 B TW I785761B TW 110131654 A TW110131654 A TW 110131654A TW 110131654 A TW110131654 A TW 110131654A TW I785761 B TWI785761 B TW I785761B
Authority
TW
Taiwan
Prior art keywords
processing unit
image
pair
driver
electronic device
Prior art date
Application number
TW110131654A
Other languages
Chinese (zh)
Other versions
TW202308878A (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 TW110131654A priority Critical patent/TWI785761B/en
Application granted granted Critical
Publication of TWI785761B publication Critical patent/TWI785761B/en
Publication of TW202308878A publication Critical patent/TW202308878A/en

Links

Images

Abstract

A vehicle intelligent control system includes an electronic device, a pair of image capturing device, a pair of image receiving and transmitting device, a cloud platform and a server. The pair of image receiving and transmitting device are electrically connected to the pair of image capturing device. The server receives and transmits the image flow, and the pair of image receiving and transmitting device includes a processing unit, a memory and a transceiver unit to transmit the image flow by TCP. The server includes a processing unit, a memory and a transceiver unit. The memory stores a convolution neural network. When the driver takes the electronic device and is near the door of the car, the transceiver unit makes the communication with the electronic device by Bluetooth. The transceiver unit transmits the token to the electronic device. The electronic device makes an authentication process on the token by the cloud platform. When the server receives the authenticated token, the processing unit controls the pair of image capturing device to shoot the environment image. The processing unit utilizes the convolution neural network to calculate a similarity score based on the driver face in the environment image. The processing unit controls the door to open or close based on the similarity score.

Description

車用智能之二階段安全控制系統Two-stage safety control system for vehicle intelligence

本發明關於一種車用控制系統,特別是一種利用雲端金鑰交換認證及卷積神經網路辨識駕駛者面孔之兩階段認證控制車門開啟或關閉之車用智能之二階段安全控制系統。The present invention relates to a vehicle control system, in particular to a two-stage intelligent security control system for a vehicle that utilizes cloud key exchange authentication and convolutional neural network to identify the driver's face for two-stage authentication to control the opening or closing of the vehicle door.

在科技日新月異的時代,車子已成為不可或缺的交通工具,目前車子仍需用金屬鑰匙或晶片鑰匙來開車門及引擎發動,然而,當金屬鑰匙或晶片鑰匙不見或未攜帶時,駕駛者需另尋鎖匠進行開鎖,從而造成駕駛者的不便及金錢上的浪費。In the era of rapid technological change, the car has become an indispensable means of transportation. At present, the car still needs to use the metal key or chip key to open the door and start the engine. However, when the metal key or chip key is missing or not carried, the driver needs to Find another locksmith to unlock, thereby causing inconvenience to the driver and waste of money.

綜觀前所述,本發明之發明者思索並設計一種車用智能之二階段安全控制系統,以期針對習知技術之缺失加以改善,進而增進產業上之實施利用。In view of the foregoing, the inventor of the present invention conceived and designed a two-stage safety control system for vehicle intelligence, in order to improve the deficiencies of conventional technologies, and further enhance the implementation and utilization in the industry.

基於上述目的,本發明提供一種車用智能之二階段安全控制系統,利用雲端金鑰交換認證及卷積神經網路辨識駕駛者面孔之兩階段認證,控制車門開啟或關閉,無需駕駛者攜帶金屬鑰匙或晶片鑰匙,以解決習知技術中所面臨之問題。Based on the above purpose, the present invention provides a two-stage security control system for vehicle intelligence, which uses cloud key exchange authentication and convolutional neural network to identify the driver's face for two-stage authentication, controls the opening or closing of the door, and does not require the driver to carry metal Key or chip key, to solve the problems faced in the prior art.

基於上述目的,本發明提供一種車用智能之二階段安全控制系統,其包括電子裝置、一對影像擷取裝置、一對影像接收與傳送處理器、雲端平台以及伺服處理運算器。一對影像擷取裝置分別設置於車子的後視鏡,一對影像接收與傳送處理器電性連接一對影像擷取裝置,一對影像接收與傳送處理器包括處理單元、記憶體以及收發單元來執行無線傳輸控置協定之影像串流。伺服處理運算器嵌設於車子且電性連接一對影像接收與傳送處理器,伺服處理運算器包括處理單元、記憶體以及收發單元,記憶體儲存卷積神經網路,當駕駛者攜帶電子裝置鄰近車子的車門時,收發單元發出無線訊號,電子裝置接收無線訊號並與伺服處理運算器完成一配對動作,收發單元傳送金鑰至電子裝置。雲端平台網路連接伺服處理運算器和電子裝置,電子裝置傳送金鑰至雲端平台進行認證程序,雲端平台傳送通過認證程序後金鑰至伺服處理運算器。當伺服處理運算器接收通過認證程序後金鑰時,處理單元控制車子的後視鏡、一對影像擷取裝置和一對影像影像接收與傳送處理器開啟,一對影像擷取裝置拍攝駕駛者周圍的環境影像,一對影像接收與傳送處理器將環境影像轉為影像串流並透過無線傳輸控制協定將其傳輸至伺服處理運算器,伺服處理運算器的處理單元利用卷積神經網路比對環境影像中駕駛者面孔和記憶體儲存的駕駛者參考影像來計算相似度,處理單元根據相似度對車門執行控制動作。Based on the above purpose, the present invention provides a two-stage intelligent vehicle safety control system, which includes an electronic device, a pair of image capture devices, a pair of image receiving and transmitting processors, a cloud platform, and a servo processing calculator. A pair of image capture devices are respectively installed on the rearview mirror of the car. A pair of image receiving and transmitting processors are electrically connected to a pair of image capturing devices. A pair of image receiving and transmitting processors includes a processing unit, a memory, and a transceiver unit To implement the video streaming of the Wireless Transmission Control Protocol. The servo processing arithmetic unit is embedded in the car and electrically connected to a pair of image receiving and transmitting processors. The servo processing arithmetic unit includes a processing unit, a memory, and a transceiver unit. The memory stores a convolutional neural network. When the driver carries an electronic device When approaching the door of the car, the transceiver unit sends out a wireless signal, the electronic device receives the wireless signal and completes a pairing operation with the servo processing unit, and the transceiver unit sends the key to the electronic device. The cloud platform network connects the servo processing unit and the electronic device, the electronic device sends the key to the cloud platform for authentication, and the cloud platform sends the key to the server processing unit after passing the verification process. When the servo processing unit receives the key after passing the authentication procedure, the processing unit controls the vehicle’s rearview mirror, a pair of image capture devices, and a pair of image receiving and transmitting processors to turn on, and a pair of image capture devices take pictures of the driver The surrounding environmental image, a pair of image receiving and transmitting processors convert the environmental image into an image stream and transmit it to the servo processing unit through the wireless transmission control protocol, and the processing unit of the servo processing unit uses the convolutional neural network ratio The similarity is calculated for the driver's face in the environment image and the driver's reference image stored in the memory, and the processing unit executes the control action on the car door according to the similarity.

可選地,若處理單元判斷相似度大於門檻值,控制動作為使車門開啟。Optionally, if the processing unit judges that the similarity is greater than a threshold value, the control action is to open the door.

可選地,若處理單元判斷相似度小於門檻值,控制動作為使車門關閉。Optionally, if the processing unit judges that the similarity is smaller than the threshold value, the control action is to close the vehicle door.

可選地,伺服處理運算器進一步包括警示單元,當伺服處理運算器接收未通過認證程序後金鑰時,處理單元控制警示單元啟動。Optionally, the servo processing arithmetic unit further includes a warning unit, and when the servo processing arithmetic unit receives the key that fails the authentication procedure, the processing unit controls the warning unit to start.

可選地,當駕駛者攜帶電子裝置遠離車門時,收發單元未接收金鑰,處理單元控制車門關閉。Optionally, when the driver carries the electronic device away from the door, the transceiver unit does not receive the key, and the processing unit controls the door to close.

可選地,記憶體進一步儲存物件辨識演算法和人臉辨識演算法,處理單元利用物件辨識演算法和人臉辨識演算法識別環境影像中複數個人和複數個物件。Optionally, the memory further stores an object recognition algorithm and a face recognition algorithm, and the processing unit uses the object recognition algorithm and the face recognition algorithm to identify multiple individuals and multiple objects in the environment image.

可選地,伺服處理運算器近一步包括第一資料庫和第二資料庫,雲端平台包括雲端資料庫,第一資料庫儲存複數個駕駛者特徵,第二資料庫儲存複數個參考物件特徵,雲端資料庫儲存複數個參考人臉特徵,處理單元利用初步卷積神經網路初步辨識環境影像中複數個物件和複數個人,處理單元利用物件辨識演算法比對環境影像中複數個物件和複數個參考物件特徵來識別複數個物件,,處理單元利用卷積神經網路和該人臉辨識演算法分別比對環境影像中複數個人和複數個駕駛者參考特徵來計算複數個相似度,處理單元根據複數個相似度從複數個人選出其一為駕駛者面孔。Optionally, the servo processing unit further includes a first database and a second database, the cloud platform includes a cloud database, the first database stores a plurality of driver characteristics, and the second database stores a plurality of reference object characteristics, The cloud database stores multiple reference face features, the processing unit uses the preliminary convolutional neural network to initially identify multiple objects and multiple individuals in the environmental image, and the processing unit uses the object recognition algorithm to compare the multiple objects and multiple individuals in the environmental image Refer to the object features to identify multiple objects. The processing unit uses the convolutional neural network and the face recognition algorithm to compare the reference features of multiple individuals and multiple drivers in the environmental image to calculate multiple similarities. The processing unit is based on A plurality of similarities selects one of the plurality of individuals as the face of the driver.

可選地,當處理單元識別複數個物件和複數個人後,處理單元計算複數個人分別和車子相距的第一距離和複數個物件分別和車子相距的第二距離。Optionally, after the processing unit identifies the plurality of objects and the plurality of individuals, the processing unit calculates the first distances between the plurality of individuals and the vehicle and the second distances between the plurality of objects and the vehicle.

可選地,處理單元根據複數個第一距離和複數個第二距離判別複數個物件和複數個人落於可視區或視覺盲區。Optionally, the processing unit judges that the plurality of objects and the plurality of persons fall in the visual zone or the visual blind zone according to the plurality of first distances and the plurality of second distances.

可選地,伺服處理運算器進一步包括單次多框偵測單元,單次多框偵測單元利用複數個邊界框將環境影像中複數個人和複數個物件分別框列。Optionally, the servo processor further includes a single multi-frame detection unit, which uses a plurality of bounding boxes to frame a plurality of persons and a plurality of objects in the environment image respectively.

承上所述,本發明之車用智能之二階段安全控制系統,透過雲端金鑰交換認證及卷積神經網路辨識駕駛者面孔之兩階段認證,控制車門開啟或關閉,無需駕駛者攜帶金屬鑰匙或晶片鑰匙。Based on the above, the intelligent two-stage safety control system for vehicles of the present invention controls the opening or closing of the car door through the two-stage authentication of cloud key exchange authentication and convolutional neural network recognition of the driver's face, without the need for the driver to carry metal key or wafer key.

本發明之優點、特徵以及達到之技術方法將參照例示性實施例及所附圖式進行更詳細地描述而更容易理解,且本發明可以不同形式來實現,故不應被理解僅限於此處所陳述的實施例,相反地,對所屬技術領域具有通常知識者而言,所提供的實施例將使本揭露更加透徹與全面且完整地傳達本發明的範疇,且本發明將僅為所附加的申請專利範圍所定義。The advantages, features and technical methods achieved by the present invention will be described in more detail with reference to exemplary embodiments and accompanying drawings to make it easier to understand, and the present invention can be implemented in different forms, so it should not be understood as being limited to what is shown here The stated embodiments, on the contrary, for those skilled in the art, the provided embodiments will make the present disclosure more thorough and comprehensive and completely convey the scope of the present invention, and the present invention will be only the appended The scope of the patent application is defined.

應當理解的是,儘管術語「第一」、「第二」等在本發明中可用於描述各種元件、部件、區域、層及/或部分,但是這些元件、部件、區域、層及/或部分不應受這些術語的限制。這些術語僅用於將一個元件、部件、區域、層及/或部分與另一個元件、部件、區域、層及/或部分區分開。因此,下文討論的「第一元件」、「第一部件」、「第一區域」、「第一層」及/或「第一部分」可以被稱為「第二元件」、「第二部件」、「第二區域」、「第二層」及/或「第二部分」,而不悖離本發明的精神和教示。It should be understood that although the terms "first", "second" and the like may be used in the present invention to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections Should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer and/or section from another element, component, region, layer and/or section. Accordingly, "first element", "first component", "first region", "first layer" and/or "first portion" discussed below may be referred to as "second element", "second component" , "second region", "second layer" and/or "second part", without departing from the spirit and teachings of the present invention.

另外,術語「包括」及/或「包含」指所述特徵、區域、整體、步驟、操作、元件及/或部件的存在,但不排除一個或多個其他特徵、區域、整體、步驟、操作、元件、部件及/或其組合的存在或添加。In addition, the terms "comprising" and/or "comprising" refer to the presence of stated features, regions, integers, steps, operations, elements and/or parts, but do not exclude one or more other features, regions, integers, steps, operations , the presence or addition of elements, parts and/or combinations thereof.

除非另有定義,本發明所使用的所有術語(包括技術和科學術語)具有與本發明所屬技術領域的普通技術人員通常理解的相同含義。將進一步理解的是,諸如在通常使用的字典中定義的那些術語應當被解釋為具有與它們在相關技術和本發明的上下文中的含義一致的定義,並且將不被解釋為理想化或過度正式的意義,除非本文中明確地這樣定義。Unless otherwise defined, all terms (including technical and scientific terms) used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted to have definitions consistent with their meanings in the context of the relevant art and the present invention, and will not be interpreted as idealistic or overly formal unless otherwise expressly defined herein.

請參閱第1A圖和第1B圖,其為本發明之車用智能之二階段安全控制系統之方塊圖以及本發明之車用智能之二階段安全控制系統使用示意圖。如第1A圖和第1B圖所示,本發明之車用智能之二階段安全控制系統,其包括電子裝置10、一對影像擷取裝置30、一對影像接收與傳送處理器31、雲端平台40以及伺服處理運算器20。一對影像擷取裝置30分別設置於車子C的兩個後視鏡。一對影像接收與傳送處理器31電性連接一對影像擷取裝置30,一對影像接收與傳送處理器31包括處理單元311、記憶體312以及收發單元313以執行無線傳輸控制協定之影像串流IS。伺服處理運算器20嵌設於車子C且電性連接一對影像接收與傳送處理器31,伺服處理運算器20包括處理單元21、記憶體22以及收發單元23,記憶體22儲存卷積神經網路CN1,當駕駛者D攜帶電子裝置10鄰近車子C的車門時(即駕駛者D的所在位置落入收發單元23的感測區SR中),收發單元23發出無線訊號WLS,電子裝置10接收無線訊號WLS並與伺服處理運算器20完成配對動作,收發單元23傳送金鑰T至電子裝置10。雲端平台40網路連接伺服處理運算器20和電子裝置10,電子裝置10傳送金鑰T至雲端平台40進行認證程序AS,雲端平台40傳送通過認證程序AS後金鑰T至伺服處理運算器20。當伺服處理運算器20接收通過認證程序AS後金鑰T時,處理單元21開啟車子C的兩個後視鏡並控制一對影像擷取裝置30和一對影像接收與傳送處理器31開啟,一對影像擷取裝置30拍攝駕駛者D周圍的環境影像EI,一對影像接收與傳送處理器31將環境影像EI轉為影像串流IS並透過無線傳輸控制協定(Transmission Control Protocol, TCP)將其傳輸至伺服處理運算器20,處理單元21利用卷積神經網路CN1比對環境影像EI中駕駛者面孔和記憶體22儲存的駕駛者參考影像來計算相似度SS,處理單元21根據相似度SS對車門執行控制動作。Please refer to Figure 1A and Figure 1B, which are block diagrams of the two-stage safety control system for vehicle intelligence of the present invention and a schematic diagram of the use of the two-stage safety control system for vehicle intelligence of the present invention. As shown in Figure 1A and Figure 1B, the two-stage safety control system for vehicle intelligence of the present invention includes an electronic device 10, a pair of image capture devices 30, a pair of image receiving and transmitting processors 31, and a cloud platform 40 and the servo processing arithmetic unit 20. A pair of image capturing devices 30 are installed on two rearview mirrors of the car C respectively. A pair of image receiving and transmitting processors 31 are electrically connected to a pair of image capture devices 30. A pair of image receiving and transmitting processors 31 includes a processing unit 311, a memory 312, and a transceiver unit 313 to execute the image string of the wireless transmission control protocol. Flow IS. The servo processing arithmetic unit 20 is embedded in the car C and is electrically connected to a pair of image receiving and transmitting processors 31. The servo processing arithmetic unit 20 includes a processing unit 21, a memory 22, and a transceiver unit 23. The memory 22 stores a convolutional neural network. Road CN1, when the driver D carries the electronic device 10 close to the door of the car C (that is, the position of the driver D falls into the sensing area SR of the transceiver unit 23), the transceiver unit 23 sends a wireless signal WLS, and the electronic device 10 receives The wireless signal WLS completes the pairing operation with the servo processor 20 , and the transceiver unit 23 transmits the key T to the electronic device 10 . The cloud platform 40 connects the servo processing unit 20 and the electronic device 10 through the network, the electronic device 10 transmits the key T to the cloud platform 40 for authentication procedure AS, and the cloud platform 40 transmits the key T to the servo processing unit 20 after passing the authentication procedure AS . When the servo processing unit 20 receives the key T after passing the authentication procedure AS, the processing unit 21 turns on the two rearview mirrors of the car C and controls a pair of image capture devices 30 and a pair of image receiving and transmitting processors 31 to turn on, A pair of image capture devices 30 captures the environment image EI around the driver D, and a pair of image receiving and transmitting processors 31 convert the environment image EI into an image stream IS and transmit the It is transmitted to the servo processing unit 20, and the processing unit 21 uses the convolutional neural network CN1 to compare the driver’s face in the environment image EI with the driver’s reference image stored in the memory 22 to calculate the similarity SS, and the processing unit 21 calculates the similarity SS according to the similarity SS executes the control action on the car door.

其中,電子裝置10可為手機或平板電腦,也可為其他較佳類型的電子裝置,而未侷限於本發明所列舉的範圍。無線訊號WLS可包括藍芽訊號、Wifi訊號、紫蜂(ZigBee)訊號或 LoRa(Long Range)訊號,當然其也可為其他較交類型的無線訊號,而未侷限於本發明所列舉的範圍。Wherein, the electronic device 10 may be a mobile phone or a tablet computer, or other preferred types of electronic devices, and is not limited to the scope of the present invention. The wireless signal WLS may include a Bluetooth signal, a Wifi signal, a ZigBee signal or a LoRa (Long Range) signal, and of course it may also be other types of wireless signals, and is not limited to the scope of the present invention.

值得一提的是,處理單元21包括微控制單元(micro control unit, MCU)和微處理單元(micro processing unit, MPU),微控制單元採用Teensy 4.0而具有豐富的外部介面及使用Arduino平台,微控制單元的串列埠是全雙工非同步串列埠通訊方式。微處理單元採用NVIDIA的Jetson Nano,其為多用途微處理器及具有四核心 ARM Cortex-A53(ARMv8)64位元處理器,能處理微控制單元的訊號、用戶端和伺服端資料存取、網頁資料視覺化運算與處理以及網路連線,由於Jetson Nano的異步多元處理和多執行續,會在背景內以不同執行緒執行,所以應用程式可呼叫異步方法的執行緒上繼續執行,能同時和多個用戶端建立連線。It is worth mentioning that the processing unit 21 includes a micro control unit (micro control unit, MCU) and a micro processing unit (micro processing unit, MPU). The serial port of the control unit is a full-duplex asynchronous serial port communication method. The microprocessor unit adopts NVIDIA's Jetson Nano, which is a multi-purpose microprocessor and has a quad-core ARM Cortex-A53 (ARMv8) 64-bit processor, which can handle the signal of the microcontroller unit, the data access of the user end and the server end, Web page data visualization calculation and processing and network connection, due to Jetson Nano's asynchronous multi-processing and multi-execution continuation, will be executed in different threads in the background, so the application can call the thread of the asynchronous method to continue execution, and can Establish connections with multiple clients at the same time.

伺服處理運算器20所用的無線傳輸控制協定為ImageZMQ TCP Streams Service的用戶端/伺服器端環境配置以及用戶端與伺服器端的請求/回應(request/response)配置。微處理單元叢集架構中二個微處理單元工作節點(MPU Worker Node)的四個核心皆執行異步程序(Asynchronous Procedure) 並行(concurrent)執行運算來加快即時且龐大的資料處理速度。為了配合微處理單元工作節點的處理程序且由於TCP用戶端/伺服器端訊號傳輸時的讀/寫資料時程都以阻斷式輸入/輸出 (blocking I/O)執行,亦即當伺服器監聽一個埠時,整個程式就會完全停駐在此,等候用戶端傳送資料進來,因此當執行同步(Synchronous)要求的執行緒因需要等候網路作業完成而無法再執行其他工作(例如使用者介面執行緒等),執行緒上安排的應用程式就會暫停並停止回應使用者的輸入,此外當有別的客戶端想連線到伺服器端時,因為唯一的一個網路插座(WebSocket)已被佔用,會造成其他的客戶端無法連線。The wireless transmission control protocol used by the server processor 20 is the configuration of the client/server environment of the ImageZMQ TCP Streams Service and the configuration of request/response between the client and the server. In the micro-processing unit cluster architecture, the four cores of the two MPU Worker Nodes execute asynchronous procedures (Asynchronous Procedure) in parallel (concurrent) to perform operations to speed up real-time and massive data processing. In order to cooperate with the processing program of the working node of the micro-processing unit and because the time course of reading/writing data during TCP client/server signal transmission is executed with blocking I/O (blocking I/O), that is, when the server When listening to a port, the entire program will stop here completely, waiting for the client to send data in, so when the execution thread executing the synchronous (Synchronous) request needs to wait for the completion of the network operation, it can no longer perform other tasks (such as the user interface). Execution thread, etc.), the application program arranged on the execution thread will suspend and stop responding to user input. In addition, when other clients want to connect to the server, because the only network socket (WebSocket) is closed If it is occupied, other clients will not be able to connect.

由於在異步連線的方法中,程式不會因為需要等候同步作業完成的執行緒而被封鎖。這是因為異步運算(Asynchronous Operation)會在背景內以不同的執行緒執行,所以應用程式可以在呼叫異步方法的執行緒上繼續執行。這樣的優點是有效率且伺服器端 能同時和多個用戶端建立連線。本系統採用ASYNCIO之異步TCP串流(Asynchronous TCP Streams)技術來完成遠端網路連接之同步遠端程序呼叫 (Remote Procedure Call, RPC)運算。除了上述的性質外,此串流技術最大的優點在於無需使用低階通訊協定來執行且完成資料傳送與接收,如此達到應用程式保持快數回應且又可以提升延展性及可靠性及達到同時多連線的目的。伺服器端與用戶端TCP執行的程序:微處理單元叢集的TCP伺服器端程式是安裝在主節點(Master Node)的異步多元處理(multiprocessing)與多執行緒(multithreading)時程內來即時調配、回應或終止二個工作節點(Worker Node)上面安裝的客戶端程式運作。Because in the method of asynchronous connection, the program will not be blocked because of the execution thread that needs to wait for the completion of the synchronous operation. This is because the asynchronous operation (Asynchronous Operation) will be executed in a different thread in the background, so the application can continue to execute on the thread that called the asynchronous method. The advantage of this is that it is efficient and the server can establish connections with multiple clients at the same time. This system uses ASYNCIO's Asynchronous TCP Streams (Asynchronous TCP Streams) technology to complete the synchronous Remote Procedure Call (RPC) operation of the remote network connection. In addition to the above-mentioned properties, the biggest advantage of this streaming technology is that it does not need to use low-level communication protocols to execute and complete data transmission and reception, so that the application can maintain fast data response and can improve scalability and reliability and achieve simultaneous multi- connection purpose. The programs executed by the server-side and client-side TCP: the TCP server-side program of the micro-processing unit cluster is installed in the asynchronous multiprocessing (multiprocessing) and multi-threading (multithreading) time course of the master node for real-time deployment , Respond to or terminate the operation of the client program installed on the two worker nodes (Worker Node).

於本實施例中,伺服處理運算器20進一步包括警示單元24、第一資料庫25、第二資料庫26以及單次多框偵測單元27,記憶體22還儲存物件辨識演算法AG1、人臉辨識演算法AG2、卷積神經網路CN2、初步卷積神經網路SCN1以及初步卷積神經網路SCN2,雲端平台包括40包括雲端資料庫41。警示單元24包括紅燈和綠燈,警示單元24設置於車門以表示車門開啟或金鑰T認證成功與否。第一資料庫25儲存複數個駕駛者參考特徵,第二資料庫26儲存複數個參考物件特徵RF,雲端資料庫41儲存複數個參考人臉特徵RF,雲端資料庫41也儲存第二資料庫26所沒有的其他參考物件特徵。單次多框偵測單元27利用複數個邊界框將環境影像EI中複數個人和複數個物件分別框列。In this embodiment, the servo processor 20 further includes a warning unit 24, a first database 25, a second database 26, and a single multi-frame detection unit 27. The memory 22 also stores object recognition algorithms AG1, people The face recognition algorithm AG2, the convolutional neural network CN2, the preliminary convolutional neural network SCN1 and the preliminary convolutional neural network SCN2, the cloud platform includes 40 including the cloud database 41 . The warning unit 24 includes a red light and a green light. The warning unit 24 is arranged on the vehicle door to indicate whether the vehicle door is opened or the authentication of the key T is successful or not. The first database 25 stores a plurality of driver reference features, the second database 26 stores a plurality of reference object features RF, the cloud database 41 stores a plurality of reference face features RF, and the cloud database 41 also stores the second database 26 Other reference object features that do not exist. The single multi-frame detection unit 27 utilizes a plurality of bounding boxes to respectively frame a plurality of persons and a plurality of objects in the environment image EI.

復請參閱第1A圖和第1B圖,於此說明處理單元21控制車門開啟和關閉的程序如下:(1)第一階段認證:當駕駛者D攜帶電子裝置10鄰近車子C的車門時(即駕駛者D的所在位置落入收發單元23的感測區SR中),收發單元23發出無線訊號WLS,電子裝置10接收無線訊號WLS並與伺服處理運算氣20完成配對動作,收發單元23傳送金鑰T至電子裝置10,電子裝置10傳送金鑰T至雲端平台40進行認證程序AS,若雲端平台40在其記憶體內找尋到金鑰T而完成認證程序AS,雲端平台40傳送完成認證程序AS後金鑰T至伺服處理運算器20,處理單元21控制警示單元24的綠燈亮起,若雲端平台40在其記憶體內並未找尋到金鑰T並將未完成認證程序AS後金鑰T傳送至伺服處理運算器20,處理單元21控制警示單元24的紅燈亮起。(2)第二階段認證:伺服處理運算器20接收完成認證程序AS後金鑰,處理單元21開啟車子C的兩個後視鏡並控制一對影像擷取裝置30和一對影像接收與傳送處理器31開啟,一對影像擷取裝置30拍攝駕駛者D周圍的環境影像EI,一對影像接收與傳送處理器31將環境影像EI轉為影像串流IS並透過無線傳輸控制協定(Transmission Control Protocol, TCP)將其傳輸至伺服處理運算器20,處理單元21利用卷積神經網路CN1比對環境影像EI中駕駛者面孔和記憶體儲存的駕駛者參考影像計算相似度SS,當處理單元21判斷相似度SS大於門檻值TH(例如為0.6),處理單元21識別及確認駕駛者D的身分,處理單元21對車門所執行控制動作為使車門開啟,當處理單元21判斷相似度SS小於門檻值TH(例如為0.6),處理單元21未能識別及確認駕駛者D的身分,處理單元21對車門所執行控制動作為使車門關閉。Referring back to Fig. 1A and Fig. 1B, the procedures for the processing unit 21 to control the opening and closing of the car door are as follows: (1) first-stage authentication: when the driver D carries the electronic device 10 near the car door of the car C (i.e. The location of the driver D falls into the sensing area SR of the transceiver unit 23), the transceiver unit 23 sends out the wireless signal WLS, the electronic device 10 receives the wireless signal WLS and completes the pairing action with the servo processing operation gas 20, and the transceiver unit 23 transmits the gold The key T is sent to the electronic device 10, and the electronic device 10 sends the key T to the cloud platform 40 to perform the authentication procedure AS. If the cloud platform 40 finds the key T in its memory and completes the authentication procedure AS, the cloud platform 40 sends the completed authentication procedure AS After the key T is sent to the servo processing unit 20, the processing unit 21 controls the green light of the warning unit 24 to light up, if the cloud platform 40 does not find the key T in its memory and transmits the key T without completing the authentication procedure AS To the servo processor 20, the processing unit 21 controls the red light of the warning unit 24 to light up. (2) The second stage of authentication: the servo processing unit 20 receives the key after completing the authentication procedure AS, and the processing unit 21 opens the two rearview mirrors of the car C and controls a pair of image capture devices 30 and a pair of image receiving and transmitting The processor 31 is turned on, and a pair of image capture devices 30 shoots the environment image EI around the driver D, and a pair of image receiving and transmitting processors 31 convert the environment image EI into an image stream IS and transmit it through the wireless transmission control protocol (Transmission Control Protocol). Protocol, TCP) and transmit it to the servo processor 20, the processing unit 21 uses the convolutional neural network CN1 to compare the driver's face in the environment image EI and the driver's reference image stored in the memory to calculate the similarity SS, when the processing unit 21. Judging that the similarity SS is greater than the threshold value TH (for example, 0.6), the processing unit 21 identifies and confirms the identity of the driver D, and the processing unit 21 performs a control action on the door to open the door. When the processing unit 21 judges that the similarity SS is less than Threshold value TH (for example, 0.6), the processing unit 21 fails to recognize and confirm the identity of the driver D, and the control action performed by the processing unit 21 on the door is to close the door.

需說明的是,當駕駛者D攜帶電子裝置10遠離車門時(即駕駛者D的所在位置不在收發單元23的感測區SR中),電子裝置10未接收無線訊號WLS而未與伺服處理運算器20完成配對動作,亦即,收發單元23未與電子裝置10連結,處理單元21控制車門關閉。It should be noted that when the driver D carries the electronic device 10 away from the door (that is, the location of the driver D is not in the sensing area SR of the transceiver unit 23), the electronic device 10 does not receive the wireless signal WLS and does not perform calculations with the servo processing. The device 20 completes the pairing operation, that is, the transceiver unit 23 is not connected with the electronic device 10, and the processing unit 21 controls the door to close.

值得一提的是,為了提高處理單元21識別及確認駕駛者D的準確度,第一資料庫25還儲存駕駛者D不同角度的參考圖,亦即,以駕駛者D的正面為基準,向左、右、上、下四個方向分別轉向15度、30度,當駕駛者D的頭部轉向,處理單元21仍能辨識及確認駕駛者D的身分。It is worth mentioning that, in order to improve the accuracy of identifying and confirming the driver D by the processing unit 21, the first database 25 also stores reference pictures of the driver D from different angles, that is, taking the front of the driver D as a reference, The four directions of left, right, up and down are turned 15 degrees and 30 degrees respectively. When the head of the driver D is turned, the processing unit 21 can still identify and confirm the identity of the driver D.

請參閱第2圖,其為本發明之雲端金鑰交換認證的流程圖。如第2圖,並搭配第1A圖和第1B圖,無線訊號WLS設定為藍芽訊號,說明雲端金鑰交換認證的流程如下:S11步驟:若伺服處理運算器20透過收發單元23發出藍芽訊號,電子裝置10連結到收發單元23(亦即,伺服處理運算器20和電子裝置10完成配對動作),處理單元21控制警示單元24的綠燈亮起,進入S13步驟;若電子裝置10未連結到收發單元,進入S12步驟。Please refer to FIG. 2, which is a flowchart of the cloud key exchange authentication of the present invention. As shown in Fig. 2, and with Fig. 1A and Fig. 1B, the wireless signal WLS is set as a Bluetooth signal, and the flow of cloud key exchange authentication is as follows: Step S11: If the servo processing unit 20 sends out a Bluetooth signal through the transceiver unit 23 signal, the electronic device 10 is connected to the transceiver unit 23 (that is, the servo processing unit 20 and the electronic device 10 complete the pairing action), the processing unit 21 controls the green light of the warning unit 24 to turn on, and enters step S13; if the electronic device 10 is not connected Go to the transceiver unit and go to step S12.

S12步驟:處理單元21控制警示單元24的紅燈亮起Step S12: the processing unit 21 controls the red light of the warning unit 24 to light up

S13步驟:處理單元21接續產生金鑰T並登記金鑰T於雲端平台40,雲端平台40儲存金鑰T,伺服處理運算器20透過收發單元23傳送金鑰T至電子裝置10,進入S14步驟。Step S13: the processing unit 21 continues to generate the key T and register the key T on the cloud platform 40, the cloud platform 40 stores the key T, and the servo processor 20 transmits the key T to the electronic device 10 through the transceiver unit 23, and enters step S14 .

S14步驟:電子裝置10傳送金鑰T及驗證金鑰需求至雲端平台40,雲端平台40在其記憶體內並找尋到金鑰T,若雲端平台40在其記憶體內找尋到金鑰T,進入S16步驟;若雲端平台40在其記憶體內並未找尋到金鑰T,進入S15步驟。Step S14: the electronic device 10 transmits the key T and verification key requirements to the cloud platform 40, and the cloud platform 40 finds the key T in its memory, and if the cloud platform 40 finds the key T in its memory, go to S16 Step; if the cloud platform 40 does not find the key T in its memory, go to step S15.

S15步驟:雲端平台40傳送未完成認證程序AS後金鑰T至伺服處理運算器20,處理單元21控制警示單元24的紅燈亮起Step S15: the cloud platform 40 transmits the key T after the unfinished authentication procedure AS to the servo processor 20, and the processing unit 21 controls the red light of the warning unit 24 to light up

S16步驟:雲端平台40傳送完成認證程序AS後金鑰T(即驗證後金鑰T)至電子裝置10,電子裝置10轉傳完成認證程序AS後金鑰T至伺服處理運算器20,進入S17步驟。Step S16: the cloud platform 40 transmits the post-authentication process AS key T (i.e., post-authentication key T) to the electronic device 10, and the electronic device 10 forwards the post-authentication process AS post-transmission key T to the servo processor 20, and proceeds to S17. step.

S17步驟:收發單元23接收完成認證程序AS後金鑰T,處理單元21控制警示單元24的綠燈亮起,處理單元21確認完成認證程序AS後金鑰T是否有效,處理單元21確認完成認證程序AS後金鑰T為有效的,進入S19步驟;若處理單元21確認完成認證程序AS後金鑰T為無效的,進入S18步驟。Step S17: the transceiver unit 23 receives the key T after the authentication procedure AS is completed, the processing unit 21 controls the green light of the warning unit 24 to light up, the processing unit 21 confirms whether the key T is valid after the authentication procedure AS is completed, and the processing unit 21 confirms that the authentication procedure is completed If the key T is valid after the AS, go to step S19; if the processing unit 21 confirms that the key T is invalid after the authentication procedure AS is completed, go to step S18.

S18步驟:處理單元21控制警示單元24的紅燈亮起Step S18: the processing unit 21 controls the red light of the warning unit 24 to light up

S19步驟:處理單元21開啟車子C的兩個後視鏡並控制一對影像擷取裝置30和一對影像接收與傳送處理器31開啟,一對影像擷取裝置30進行拍攝並控制警示單元24的綠燈亮起。Step S19: the processing unit 21 turns on the two rearview mirrors of the car C and controls a pair of image capturing devices 30 and a pair of image receiving and transmitting processors 31 to turn on, and a pair of image capturing devices 30 take pictures and control the warning unit 24 The green light is on.

請參閱第3圖和第4圖,其為本發明之演算法的配置圖和本發明之物件辨識和人臉辨識的流程圖。如第3圖所示,並搭配第1A圖和第1B圖,電子裝置10和雲端平台40完成認證程序AS後,伺服處理運算器20的處理單元21使車子C的兩個後視鏡開啟並控制一對影像擷取裝置30和一對影像接收與傳送處理器31進行啟動,伺服處理運算器20的處理單元21利用初步卷積神經網路SCN1和SCN2並搭配雲端資料庫41所儲存之複數個參考人臉特徵RF和其他參考物件特徵進行環境影像EI中多個人臉和物件的初步辨識(廣泛的人臉/物件辨識),處理單元21將多個人臉和多個物件分開已進一步辨識。Please refer to FIG. 3 and FIG. 4, which are configuration diagrams of the algorithm of the present invention and flow charts of object recognition and face recognition of the present invention. As shown in FIG. 3, together with FIG. 1A and FIG. 1B, after the electronic device 10 and the cloud platform 40 complete the authentication procedure AS, the processing unit 21 of the servo processing unit 20 makes the two rearview mirrors of the car C open and Control a pair of image capture devices 30 and a pair of image receiving and transmitting processors 31 to start, and the processing unit 21 of the servo processing unit 20 uses the preliminary convolutional neural network SCN1 and SCN2 together with the complex numbers stored in the cloud database 41 A reference face feature RF and other reference object features perform preliminary recognition of multiple faces and objects in the environment image EI (extensive face/object recognition), and the processing unit 21 separates multiple faces and multiple objects for further recognition.

就物件辨識而言,處理單元21利用物件辨識演算法AG1和卷積神經網路CN2比對環境影像EI中複數個物件和第二資料庫26的複數個參考物件特徵RO(如第4圖所示)或雲端資料庫41的其他參考物件特徵來識別複數個物件,物件可例如為籃球、樹木或房子。就人臉辨識而言處理單元21利用人臉辨識演算法AG2比對環境影像EI中複數個人和雲端資料庫41的複數個參考人臉特徵RF識別複數個人,處理單元21利用卷積神經網路CN1分別比對環境影像EI中複數個人和第一資料庫25所儲存的複數個駕駛者參考特徵DF(如第4圖所示)來計算複數個相似度SS,處理單元21根據複數個相似度SS從複數個人選出其一為駕駛者面孔,處理單元21根據駕駛者面孔所對應相似度SS控制車門。In terms of object recognition, the processing unit 21 uses the object recognition algorithm AG1 and the convolutional neural network CN2 to compare a plurality of objects in the environment image EI with a plurality of reference object features RO in the second database 26 (as shown in FIG. 4 ). shown) or other reference object features of the cloud database 41 to identify a plurality of objects, such as basketballs, trees or houses. In terms of face recognition, the processing unit 21 uses the face recognition algorithm AG2 to compare the plurality of individuals in the environmental image EI with the plurality of reference face features RF in the cloud database 41 to identify the plurality of individuals, and the processing unit 21 uses the convolutional neural network CN1 compares the plurality of individuals in the environmental image EI and the plurality of driver reference features DF stored in the first database 25 (as shown in FIG. 4 ) to calculate the plurality of similarities SS, and the processing unit 21 calculates the plurality of similarities SS according to the plurality of similarities. The SS selects one of the plurality of individuals as the driver's face, and the processing unit 21 controls the car door according to the similarity SS corresponding to the driver's face.

如第4圖所示,並搭配第1A圖、第1B圖和第3圖,一對影像擷取裝置30拍攝駕駛者D周圍的環境影像EI,處理單元21傳送二維碼(QR  code)至電子裝置10,若電子裝置10掃描二維碼成功,雲端資料庫41和第一資料庫25分別提供參考人臉特徵RF和複數個駕駛者參考特徵DF至處理單元21,處理單元21直接辨識靠近車子C的駕駛者D是否為真正的駕駛者,處理單元21辨識靠近車子C的駕駛者D為真正的駕駛者,處理單元21計算駕駛者D和車子C相距的第一距離,處理單元21透過輔助語音訊息告知駕駛者D認證成功,處理單元21控制車門打開。As shown in FIG. 4, together with FIG. 1A, FIG. 1B and FIG. 3, a pair of image capture devices 30 captures the environment image EI around the driver D, and the processing unit 21 transmits a two-dimensional code (QR code) to The electronic device 10, if the electronic device 10 successfully scans the two-dimensional code, the cloud database 41 and the first database 25 respectively provide the reference face feature RF and a plurality of driver reference features DF to the processing unit 21, and the processing unit 21 directly recognizes the Whether the driver D of the car C is the real driver, the processing unit 21 identifies the driver D who is close to the car C as the real driver, and the processing unit 21 calculates the first distance between the driver D and the car C, and the processing unit 21 passes through The auxiliary voice message informs the driver D that the authentication is successful, and the processing unit 21 controls the door to open.

若電子裝置10掃描二維碼不成功,一對影像接收與傳送處理器31將環境影像EI轉為影像串流IS並透過無線傳輸控制協定(Transmission Control Protocol, TCP)將其傳輸至伺服處理運算器20,由於影像擷取裝置30攝影的環境影像EI為動態影像,處理單元21透過張量流凍結推論圖形的技術來保存環境影像EI,單次多框偵測單元27(含有微軟共同物體檢測資料集)搭配初步卷積神經網路SCN1和SCN2以及物件辨識演算法AG1先初步以複數個邊界框將環境影像EI中複數個人和複數個物件分別框列。If the electronic device 10 fails to scan the QR code, a pair of image receiving and transmitting processors 31 converts the environmental image EI into an image stream IS and transmits it to the server processing operation through the wireless transmission control protocol (Transmission Control Protocol, TCP) device 20, since the environment image EI photographed by the image capture device 30 is a dynamic image, the processing unit 21 saves the environment image EI through the technology of tensor flow freezing inference graphics, and the single multi-frame detection unit 27 (including Microsoft common object detection The data set) is combined with preliminary convolutional neural networks SCN1 and SCN2 and object recognition algorithm AG1 to preliminarily frame a plurality of individuals and a plurality of objects in the environmental image EI with a plurality of bounding boxes.

接著,關於識別複數個物件的部分,處理單元21再次利用物件辨識演算法AG1和卷積神經網路CN2比對環境影像EI中複數個物件和第二資料庫26的複數個參考物件特徵RO來識別複數個物件,若有部分物件並未被處理單元21識別出,處理單元21利用雲端資料庫41所儲存的雲端物件特徵和物件辨識演算法AG1和卷積神經網路CN2比對未被識別出的物件。關於識別複數個人的部分,處理單元21利用人臉辨識演算法偵測人臉的位置、數量、大小和人臉特徵來識別複數個人,處理單元21利用卷積神經網路CN1比對複數個人和第一資料庫25的複數個駕駛者參考特徵DF計算相似度SS,處理單元21根據相似度SS從複數個人選出其一為駕駛者面孔,處理單元21根據駕駛者面孔所對應相似度SS控制車門,處理單元21利用雲端資料庫41所儲存的複數個參考人臉特徵RF(如第3圖所示)和環境影像EI中未被識別為駕駛者的人進行比對而識別,處理單元21計算複數個人分別和車子C相距的第一距離和複數個物件分別和車子C相距的第二距離,當處理單元21判斷駕駛者面孔所對應相似度SS大於門檻值,處理單元21透過輔助語音訊息告知駕駛者D認證成功,處理單元21控制車門打開。Next, regarding the part of identifying the plurality of objects, the processing unit 21 again uses the object recognition algorithm AG1 and the convolutional neural network CN2 to compare the plurality of objects in the environment image EI with the plurality of reference object features RO of the second database 26 To identify a plurality of objects, if some objects are not recognized by the processing unit 21, the processing unit 21 uses the characteristics of the cloud object stored in the cloud database 41 and the object recognition algorithm AG1 and the convolutional neural network CN2 to compare the unrecognized objects out objects. Regarding the part of identifying multiple individuals, the processing unit 21 uses a face recognition algorithm to detect the position, number, size and facial features of human faces to identify multiple individuals, and the processing unit 21 uses the convolutional neural network CN1 to compare the multiple individuals and The plurality of drivers in the first database 25 refer to the feature DF to calculate the similarity SS, and the processing unit 21 selects one of the plurality of individuals as the driver’s face according to the similarity SS, and the processing unit 21 controls the car door according to the similarity SS corresponding to the driver’s face , the processing unit 21 uses a plurality of reference face features RF (as shown in FIG. 3 ) stored in the cloud database 41 to compare and identify people who are not identified as drivers in the environmental image EI, and the processing unit 21 calculates When the processing unit 21 judges that the first distance between the plurality of individuals and the car C and the second distance between the plurality of objects and the car C is greater than the threshold value, the processing unit 21 notifies through an auxiliary voice message The driver D is authenticated successfully, and the processing unit 21 controls the door to open.

接著,處理單元21根據複數個第一距離和複數個第二距離判別複數個物件和複數個人落於可視區或視覺盲區,處理單元21根據物件與車子C的距離和人與車子的距離判斷物件和人是否落於駕駛者D的死角,輔助駕駛者D的行車。Next, the processing unit 21 judges that a plurality of objects and a plurality of individuals fall in the visible area or the visual blind area according to the plurality of first distances and the plurality of second distances, and the processing unit 21 judges the object according to the distance between the object and the car C and the distance between the person and the car Whether and whether the person is in the dead corner of driver D, assist driver D in driving.

請參閱第5圖和第6圖,其為本發明之卷積神經網路的配置圖以及本發明之卷積神經網路的運作示意圖。如第5圖所示,並搭配第1A圖至第4圖所示,處理單元21先從環境影像EI中選取有複數個人的部分影像FI,處理單元21如第6圖所示將部分影像分割為複數個小圖像P1,每個小圖像P1再經過卷積神經網路CN1所包括的5層卷積層conv、3層最大池化層MPL以及2層全連結層FL而取得一個陣列A。Please refer to FIG. 5 and FIG. 6, which are configuration diagrams of the convolutional neural network of the present invention and schematic diagrams of the operation of the convolutional neural network of the present invention. As shown in FIG. 5, together with those shown in FIG. 1A to FIG. 4, the processing unit 21 first selects a partial image FI with multiple individuals from the environmental image EI, and the processing unit 21 divides the partial image as shown in FIG. 6 It is a plurality of small images P1, and each small image P1 obtains an array A through the 5-layer convolutional layer conv, the 3-layer maximum pooling layer MPL, and the 2-layer fully connected layer FL included in the convolutional neural network CN1 .

如第6圖所示,並搭配第1A圖至第4圖所示,複數個小圖像P1再經過卷積神經網路CN1取得複數個陣列A,每個陣列A經過最大池化層MPL選取和第一資料庫25的複數個駕駛者特徵最為相似的部分,縮小複數個陣列A的維度,將每個陣列A最為相似的部分重新組合成一個完整圖像,處理單元21比對完整圖像和複數個駕駛者特徵以確認駕駛者的身分,處理單元21比對完整圖像和複數個駕駛者特徵的相似度SS大於門檻值TH1,處理單元21確認完整圖像中的人為駕駛者,處理單元21比對完整圖像和複數個駕駛者特徵的相似度SS低於門檻值TH1,處理單元21否定完整圖像中的人為駕駛者。As shown in Figure 6, together with Figure 1A to Figure 4, a plurality of small images P1 are then passed through the convolutional neural network CN1 to obtain a plurality of arrays A, and each array A is selected by the maximum pooling layer MPL The most similar part of the plurality of driver features in the first database 25, reducing the dimensions of the plurality of arrays A, recombining the most similar part of each array A into a complete image, and the processing unit 21 compares the complete image and a plurality of driver features to confirm the identity of the driver, the processing unit 21 compares the similarity SS between the complete image and the plurality of driver features greater than the threshold value TH1, the processing unit 21 confirms that the driver in the complete image is a driver, and processes The unit 21 compares the similarity SS between the complete image and the plurality of driver features to be lower than the threshold TH1, and the processing unit 21 denies the human driver in the complete image.

請參閱第7圖,其為本發明之盲點偵測示意圖。如第7圖所示,並搭配第1圖至第4圖,駕駛者D處於駕駛車子C的狀態中,一對影像擷取裝置30拍攝駕駛影像,處理單元21利用卷積神經網路CN2從駕駛影像識別出卡車V,處理單元21計算卡車V和車子C的距離為第二距離,處理單元21判斷第二距離落於視覺盲區R1,處理單元21以輔助語音消息給駕駛者,提醒駕駛者應注意卡車V。Please refer to FIG. 7, which is a schematic diagram of the blind spot detection of the present invention. As shown in FIG. 7, together with FIG. 1 to FIG. 4, the driver D is in the state of driving the car C, a pair of image capture devices 30 capture the driving image, and the processing unit 21 uses the convolutional neural network CN2 to obtain The driving image recognizes the truck V, the processing unit 21 calculates the distance between the truck V and the car C as the second distance, and the processing unit 21 judges that the second distance falls in the blind spot R1, and the processing unit 21 sends an auxiliary voice message to the driver to remind the driver Attention should be paid to the truck V.

另外,處理單元21可利用動態物件辨識演算法即時計算卡車V和車子C的第二距離,第二距離為隨著車子C的移動和卡車V的移動而更新,提供駕駛者D即時在視覺盲區偵測動態物體(例如卡車)。其中,動態物件辨識演算法根據處理單元21在視覺盲區R1所偵測之卡車V的位置和駕駛者D的視野範圍,提供處理單元21調整在視覺盲區R1的偵測參數,搭配運動恢復結構(Structure-from-Motion, SfM)原理來有效地量測一對影像擷取裝置30與後方物件(例如卡車V)之間的距離,以判斷動態物體之位置。In addition, the processing unit 21 can use the dynamic object recognition algorithm to calculate the second distance between the truck V and the vehicle C in real time. The second distance is updated with the movement of the vehicle C and the truck V, so that the driver D is in the blind spot immediately. Detect dynamic objects (eg trucks). Among them, the dynamic object recognition algorithm provides the processing unit 21 to adjust the detection parameters in the visual blind zone R1 according to the position of the truck V detected by the processing unit 21 in the visual blind zone R1 and the field of vision of the driver D, and cooperates with the motion recovery structure ( Structure-from-Motion, SfM) principle to effectively measure the distance between a pair of image capture devices 30 and the rear object (such as a truck V) to determine the position of the dynamic object.

請參閱第8圖,其為本發明之運動恢復結構量測的示意圖。如第8圖所示,並搭配第1A圖、第1B圖和第7圖,一對影像擷取裝置30為設置於車子C的左方和右方,一對影像擷取裝置30為在同一水平線上且近乎同時間點拍攝,並根據三角形相似原理,可找出目標物件(例如卡車V)相對於一對影像擷取裝置30的座標。舉例說明如下,假設一對影像擷取裝置30經過孝正而平行置放於x-z平面,兩個影像擷取裝置30相距的距離為b,兩個影像擷取裝置30的焦距都為f,一對影像擷取裝置30的座標為p1(x1,y1) 和p2(x2,y2),卡車V的座標為P(x,y,z),可取得下列關係式:

Figure 02_image001
。 Please refer to FIG. 8, which is a schematic diagram of the measurement of the motion recovery structure of the present invention. As shown in Fig. 8, together with Fig. 1A, Fig. 1B and Fig. 7, a pair of image capturing devices 30 are arranged on the left and right of the car C, and a pair of image capturing devices 30 are located on the same The coordinates of the target object (such as the truck V) relative to the pair of image capture devices 30 can be found by taking photos on the horizontal line and at almost the same time point, and according to the triangle similarity principle. As an example, assuming that a pair of image capture devices 30 are placed in parallel on the xz plane after being oriented, the distance between the two image capture devices 30 is b, and the focal lengths of the two image capture devices 30 are both f. The coordinates of the image capture device 30 are p1 (x1, y1) and p2 (x2, y2), and the coordinates of the truck V are P (x, y, z), the following relationship can be obtained:
Figure 02_image001
.

設定兩個影像擷取裝置30的視差為d=x1-x2,可取得下列關係式:

Figure 02_image003
。由於兩個影像擷取裝置30的中心點𝑂1、𝑂2 與目標點P可形成三維空間中的一個平面𝑂1𝑂2P,極平面(Epipolar Plane),此時極平面與二幀畫面相交於二條直線稱為極線。從移動中的兩個影像擷取裝置30連續拍攝的一幀畫面中,假設目標點p在兩個影像擷取裝置30中的成像點分別是p1與p2,給定p1的座標值,並且採用基於運動恢復結構原理,亦即距離越遠物體視差越小,反之視差則越大,我們即可量測到極幾何原理中的極線約束參數(Epipolar Constraint),約束參數就是匹配點p2在三維空間中循著極線移動的方向。 Setting the parallax of the two image capture devices 30 as d=x1-x2, the following relationship can be obtained:
Figure 02_image003
. Since the center points 𝑂1, 𝑂2 of the two image capture devices 30 and the target point P can form a plane 𝑂1𝑂2P in the three-dimensional space, the epipolar plane (Epipolar Plane), at this time the epipolar plane intersects the two frames of pictures on two straight lines called the polar plane. Wire. From a frame of images continuously shot by two image capture devices 30 in motion, it is assumed that the imaging points of the target point p in the two image capture devices 30 are respectively p1 and p2, given the coordinate value of p1, and using Based on the principle of motion recovery structure, that is, the farther the object is, the smaller the parallax is, and vice versa, the greater the parallax, we can measure the epipolar constraint parameter (Epipolar Constraint) in the polar geometry principle. The constraint parameter is the matching point p2 in 3D The direction of movement in space along the epipolar line.

承上所述,本發明之車用智能之二階段安全控制系統,透過雲端金鑰交換認證及卷積神經網路CN1辨識駕駛者面孔之兩階段認證,控制車門開啟或關閉,無需駕駛者攜帶金屬鑰匙或晶片鑰匙。Based on the above, the intelligent two-stage security control system for vehicles of the present invention controls the opening or closing of the car door through the cloud key exchange authentication and the two-stage authentication of the driver's face recognition by the convolutional neural network CN1, without the need for the driver to carry Metal keys or wafer keys.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。The above descriptions are illustrative only, not restrictive. Any equivalent modification or change made without departing from the spirit and scope of the present invention shall be included in the scope of the appended patent application.

10:電子裝置 20:伺服處理運算器 21,311:處理單元 22,312:記憶體 23,313:收發單元 24:警示單元 25:第一資料庫 26:第二資料庫 27:單次多框偵測單元 30:影像擷取裝置 31:影像接收與傳送處理器 40:雲端平台 41:雲端資料庫 A:陣列 AS:認證程序 AG1:物件辨識演算法 AG2:人臉辨識演算法 b:兩個影像擷取裝置相距的距離 C:車子 CN1, CN2:卷積神經網路 conv:卷積層 D:駕駛者 DF:駕駛者參考特徵 EI:環境影像 IS:影像串流 f:焦距 FI:部分影像 FL:全連結層 MPL:最大池化層 𝑂1,𝑂2:兩個影像擷取裝置的中心點 P1:小圖像 p1(x1,y1) ,p2(x2,y2):一對影像擷取裝置的座標 P(x,y,z):卡車的座標 RF:參考人臉特徵 RO:參考物件特徵 R1:視覺盲區 R2:可視區 SR:感測區 SS:相似度 SCN1, SCN2:初步卷積神經網路 S11~S19:流程 T:金鑰 TH1:門檻值 V:卡車 WLS:無線訊號 10: Electronic device 20: Servo processing calculator 21,311: processing units 22,312: Memory 23,313: transceiver unit 24:Warning unit 25: First database 26:Second database 27: Single multi-frame detection unit 30: Image capture device 31: Image receiving and transmitting processor 40: Cloud platform 41:Cloud database A: array AS: Authentication Procedure AG1: Object Recognition Algorithm AG2: Face Recognition Algorithm b: the distance between two image capture devices C: car CN1, CN2: Convolutional Neural Networks conv: convolutional layer D: driver DF: Driver Reference Feature EI: Environmental Imaging IS: video streaming f: focal length FI: partial image FL: fully connected layer MPL: Maximum Pooling Layer 𝑂1,𝑂2: Center points of two image capture devices P1: small image p1(x1,y1) ,p2(x2,y2): coordinates of a pair of image capture devices P(x,y,z): the coordinates of the truck RF: Reference facial features RO: Reference Object Characteristic R1: visual blind zone R2: Visual area SR: sensing area SS: similarity SCN1, SCN2: Preliminary Convolutional Neural Networks S11~S19: Process T: key TH1: Threshold value V: truck WLS: wireless signal

第1A圖為本發明之車用智能之二階段安全控制系統之方塊圖。 第1B圖為本發明之車用智能之二階段安全控制系統使用示意圖。 第2圖為本發明之雲端金鑰交換認證的流程圖。 第3圖為本發明之演算法的配置圖。 第4圖為本發明之物件辨識和人臉辨識的流程圖。 第5圖為本發明之卷積神經網路的配置圖。 第6圖為本發明之卷積神經網路的運作示意圖。 第7圖為本發明之盲點偵測示意圖。 第8圖為本發明之運動恢復結構量測的示意圖。 Fig. 1A is a block diagram of the vehicle intelligent two-stage safety control system of the present invention. Figure 1B is a schematic diagram of the use of the two-stage safety control system of the vehicle intelligence of the present invention. Fig. 2 is a flowchart of the cloud key exchange authentication of the present invention. Fig. 3 is a configuration diagram of the algorithm of the present invention. Fig. 4 is a flow chart of object recognition and face recognition of the present invention. Fig. 5 is a configuration diagram of the convolutional neural network of the present invention. Fig. 6 is a schematic diagram of the operation of the convolutional neural network of the present invention. Fig. 7 is a schematic diagram of the blind spot detection of the present invention. Fig. 8 is a schematic diagram of the measurement of the motion recovery structure of the present invention.

10:電子裝置 10: Electronic device

20:伺服處理運算器 20: Servo processing calculator

21,311:處理單元 21,311: processing units

22,312:記憶體 22,312: Memory

23,313:收發單元 23,313: transceiver unit

24:警示單元 24:Warning unit

25:第一資料庫 25: First database

26:第二資料庫 26:Second database

27:單次多框偵測單元 27: Single multi-frame detection unit

30:影像擷取裝置 30: Image capture device

31:影像接收與傳送處理器 31: Image receiving and transmitting processor

40:雲端平台 40: Cloud platform

41:雲端資料庫 41:Cloud database

AS:認證程序 AS: Authentication Procedure

AG1:物件辨識演算法 AG1: Object Recognition Algorithm

AG2:人臉辨識演算法 AG2: Face Recognition Algorithm

CN1,CN2:卷積神經網路 CN1,CN2: Convolutional Neural Networks

EI:環境影像 EI: Environmental Imaging

IS:影像串流 IS: video streaming

SS:相似度 SS: similarity

T:金鑰 T: key

TH1:門檻值 TH1: Threshold value

WLS:無線訊號 WLS: wireless signal

Claims (10)

一種車用智能之二階段安全控制系統,其包括:一電子裝置;一對影像擷取裝置,分別設置於一車子的一後視鏡;一對影像接收與傳送處理器,電性連接該對影像擷取裝置該對影像接收與傳送處理器包括影像接收與傳送處理器處理單元、影像接收與傳送處理器記憶體以及影像接收與傳送處理器收發單元;一伺服處理運算器,嵌設於該車子且電性連接該對影像接收與傳送處理器,該伺服處理運算器包括一處理單元、一記憶體以及一收發單元,該記憶體儲存一卷積神經網路,當一駕駛者攜帶該電子裝置鄰近該車子的一車門時,該收發單元發出一無線訊號,該電子裝置接收該無線訊號並與該伺服處理運算器完成一配對動作,該收發單元傳送一金鑰至該電子裝置;以及一雲端平台,網路連接該伺服處理運算器和該電子裝置,該電子裝置傳送該金鑰至一雲端平台進行一認證程序,該雲端平台傳送通過該認證程序後該金鑰至該伺服處理運算器;其中,當該伺服處理運算器接收通過該認證程序後該金鑰時,該處理單元開啟該後視鏡並控制該對影像擷取裝置和該對影像接收與傳送處理器開啟,該對影像擷取裝置拍攝該駕駛者周圍的一環境影像,該對影像接收與傳送處理器將該環境影像轉為一影像串流並透過無線傳輸控制協定將其傳輸至該伺服處理運算器,該處理單元利用該卷積神經網路比對該環境 影像中一駕駛者面孔和該記憶體儲存的一駕駛者參考影像來計算一相似度,該處理單元根據該相似度對該車門執行一控制動作。 A two-stage safety control system for vehicle intelligence, which includes: an electronic device; a pair of image capture devices, respectively installed in a rearview mirror of a vehicle; a pair of image receiving and transmitting processors, electrically connected to the pair Image capture device The pair of image receiving and transmitting processors includes an image receiving and transmitting processor processing unit, an image receiving and transmitting processor memory, and an image receiving and transmitting processor transceiver unit; a servo processing computing unit is embedded in the The vehicle is electrically connected to the pair of image receiving and transmitting processors. The servo processing unit includes a processing unit, a memory and a transceiver unit. The memory stores a convolutional neural network. When a driver carries the electronic When the device is close to a door of the car, the transceiver unit sends a wireless signal, the electronic device receives the wireless signal and completes a pairing operation with the servo processing unit, and the transceiver unit sends a key to the electronic device; and a The cloud platform connects the server processing computer and the electronic device through a network, the electronic device sends the key to a cloud platform for an authentication procedure, and the cloud platform sends the key to the server processing computer after passing the authentication procedure ; Wherein, when the server processing operator receives the key after passing the authentication procedure, the processing unit opens the rearview mirror and controls the pair of image capture devices and the pair of image receiving and transmitting processors to open, the pair of image The capture device shoots an environmental image around the driver, the pair of image receiving and transmitting processors converts the environmental image into an image stream and transmits it to the server processing processor through wireless transmission control protocol, the processing unit Using the convolutional neural network to compare the environment A driver's face in the image and a driver's reference image stored in the memory are used to calculate a similarity, and the processing unit executes a control action on the vehicle door according to the similarity. 如請求項1所述之車用智能之二階段安全控制系統,若該處理單元判斷該相似度大於一門檻值,該控制動作為使該車門開啟。 In the two-stage safety control system of vehicle intelligence described in claim 1, if the processing unit judges that the similarity is greater than a threshold value, the control action is to open the door. 如請求項1所述之車用智能之二階段安全控制系統,若該處理單元判斷該相似度小於一門檻值,該控制動作為使該車門關閉。 In the two-stage intelligent safety control system for vehicles as described in claim 1, if the processing unit judges that the similarity is less than a threshold value, the control action is to close the door. 如請求項1所述之車用智能之二階段安全控制系統,該伺服處理運算器進一步包括一警示單元,當該伺服處理運算器接收未通過該認證程序後該金鑰時,該處理單元控制該警示單元啟動。 According to the two-stage security control system of vehicle intelligence described in claim 1, the servo processing operation unit further includes a warning unit, and when the servo processing operation unit receives the key that has not passed the authentication procedure, the processing unit controls The warning unit is activated. 如請求項1所述之車用智能之二階段安全控制系統,當該駕駛者攜帶該電子裝置遠離該車門時,該收發單元未接收該金鑰,該處理單元控制該車門關閉。 According to claim 1, when the driver carries the electronic device away from the car door, the transceiver unit does not receive the key, and the processing unit controls the car door to close. 如請求項1所述之車用智能之二階段安全控制系統,該記憶體進一步儲存一物件辨識演算法和一人臉辨識演算法,該處理單元利用該物件辨識演算法識別該環境影像中複數個物件。 According to the two-stage safety control system of vehicle intelligence described in claim 1, the memory further stores an object recognition algorithm and a face recognition algorithm, and the processing unit uses the object recognition algorithm to identify a plurality of objects in the environment image object. 如請求項6所述之車用智能之二階段安全控制系統,該伺服處理運算器近一步包括一第一資料庫和一第二資料庫,該雲端平台包括一雲端資料庫,該第一資料庫儲存複數個駕駛者參考特徵,該第二資料庫儲存複數個參考物件特徵,該雲端 資料庫儲存複數個參考人臉特徵,該處理單元利用一初步卷積神經網路初步辨識環境影像中該複數個物件和該複數個人,該處理單元利用該物件辨識演算法比對該環境影像中該複數個物件和該複數個參考物件特徵來識別該複數個物件,該處理單元利用該卷積神經網路和該人臉辨識演算法分別比對該環境影像中該複數個人和該複數個駕駛者參考特徵來計算複數個相似度,該處理單元根據該複數個相似度從該複數個人選出其一為該駕駛者面孔。 As for the two-stage safety control system of vehicle intelligence described in claim 6, the servo processing unit further includes a first database and a second database, the cloud platform includes a cloud database, and the first data The database stores a plurality of driver reference features, the second database stores a plurality of reference object features, and the cloud The database stores a plurality of reference face features, the processing unit uses a preliminary convolutional neural network to initially identify the plurality of objects and the plurality of individuals in the environmental image, and the processing unit uses the object recognition algorithm to compare the The plurality of objects and the plurality of reference object features are used to identify the plurality of objects, and the processing unit uses the convolutional neural network and the face recognition algorithm to compare the plurality of individuals and the plurality of drivers in the environmental image respectively. The driver calculates a plurality of similarities with reference to features, and the processing unit selects one of the plurality of individuals as the face of the driver according to the plurality of similarities. 如請求項7所述之車用智能之二階段安全控制系統,當該處理單元識別該複數個物件和該複數個人後,該處理單元計算該複數個人分別和該車子相距的一第一距離和該複數個物件分別和該車子相距的一第二距離。 In the two-stage safety control system for vehicle intelligence described in claim 7, when the processing unit recognizes the plurality of objects and the plurality of individuals, the processing unit calculates a first distance and a distance between the plurality of individuals and the vehicle. A second distance between the plurality of objects and the vehicle. 如請求項8所述之車用智能之二階段安全控制系統,該處理單元根據該複數個第一距離和該複數個第二距離判別該複數個物件和該複數個人落於一可視區或一視覺盲區。 According to the two-stage safety control system of vehicle intelligence described in claim 8, the processing unit judges that the plurality of objects and the plurality of individuals fall within a visible area or a distance according to the plurality of first distances and the plurality of second distances Visual blind spots. 如請求項6所述之車用智能之二階段安全控制系統,該伺服處理運算器進一步包括一單次多框偵測單元,該單次多框偵測單元利用複數個邊界框將該環境影像中複數個人和複數個物件分別框列。 According to the two-stage safety control system of vehicle intelligence described in claim 6, the servo processing unit further includes a single multi-frame detection unit, and the single multi-frame detection unit utilizes a plurality of bounding boxes to the environment image Multiple individuals and multiple objects are framed separately.
TW110131654A 2021-08-26 2021-08-26 Vehicle intelligent two steps security control system TWI785761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110131654A TWI785761B (en) 2021-08-26 2021-08-26 Vehicle intelligent two steps security control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110131654A TWI785761B (en) 2021-08-26 2021-08-26 Vehicle intelligent two steps security control system

Publications (2)

Publication Number Publication Date
TWI785761B true TWI785761B (en) 2022-12-01
TW202308878A TW202308878A (en) 2023-03-01

Family

ID=85794739

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110131654A TWI785761B (en) 2021-08-26 2021-08-26 Vehicle intelligent two steps security control system

Country Status (1)

Country Link
TW (1) TWI785761B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM461081U (en) * 2013-04-16 2013-09-01 Polytron Technologies Inc Control system using portable electrical apparatus
CN110217196A (en) * 2018-03-02 2019-09-10 上海博泰悦臻网络技术服务有限公司 Door control system and method
TW202034195A (en) * 2019-02-28 2020-09-16 大陸商上海商湯臨港智能科技有限公司 Vehicle door unlocking method and apparatus, system, vehicle, electronic device and storage medium
CN113297873A (en) * 2020-02-20 2021-08-24 深圳市超捷通讯有限公司 Vehicle anti-theft method, system and device based on face recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM461081U (en) * 2013-04-16 2013-09-01 Polytron Technologies Inc Control system using portable electrical apparatus
CN110217196A (en) * 2018-03-02 2019-09-10 上海博泰悦臻网络技术服务有限公司 Door control system and method
TW202034195A (en) * 2019-02-28 2020-09-16 大陸商上海商湯臨港智能科技有限公司 Vehicle door unlocking method and apparatus, system, vehicle, electronic device and storage medium
US20210009080A1 (en) * 2019-02-28 2021-01-14 Shanghai Sensetime Lingang Intelligent Technology Co., Ltd. Vehicle door unlocking method, electronic device and storage medium
CN113297873A (en) * 2020-02-20 2021-08-24 深圳市超捷通讯有限公司 Vehicle anti-theft method, system and device based on face recognition

Also Published As

Publication number Publication date
TW202308878A (en) 2023-03-01

Similar Documents

Publication Publication Date Title
JP7145887B2 (en) Vehicle, vehicle door unlocking control method, device, and vehicle door unlocking system
JP4898026B2 (en) Face / Gaze Recognition Device Using Stereo Camera
US11741736B2 (en) Determining associations between objects and persons using machine learning models
CN105574518B (en) Method and device for detecting living human face
US20060187305A1 (en) Digital processing of video images
CN111091075B (en) Face recognition method and device, electronic equipment and storage medium
CN112215053B (en) Multi-sensor multi-object tracking
CN112257696B (en) Sight estimation method and computing equipment
WO2022099613A1 (en) Training method for image generation model, and new view angle image generation method and apparatus
JP2003070742A (en) Device and method to detect visual line
CN114511768A (en) System and method for detecting occupant disease symptoms
Gou et al. Cascade learning for driver facial monitoring
JP2021531601A (en) Neural network training, line-of-sight detection methods and devices, and electronic devices
TWI785761B (en) Vehicle intelligent two steps security control system
WO2012117901A1 (en) Data processing device, data processing system, and program
JP2002282210A (en) Method and apparatus for detecting visual axis
TWI768852B (en) Device for detecting human body direction and method for detecting human body direction
WO2021218695A1 (en) Monocular camera-based liveness detection method, device, and readable storage medium
CN115965950A (en) Driver fatigue detection method based on multi-feature fusion state recognition network
US11216680B2 (en) Spoof detection via 3D reconstruction
CN111460416B (en) Face feature and dynamic attribute authentication method based on WeChat applet platform
CN115906036A (en) Machine learning-assisted intent determination using access control information
Tsai et al. Intelligent attendance monitoring system with spatio-temporal human action recognition
EP3707644A1 (en) Systems and methods for shaking action recognition based on facial feature points
CN112699798A (en) Traffic police action recognition method and device with vehicle-road cooperation