TWI741892B - In-car driving monitoring system - Google Patents
In-car driving monitoring system Download PDFInfo
- Publication number
- TWI741892B TWI741892B TW109142224A TW109142224A TWI741892B TW I741892 B TWI741892 B TW I741892B TW 109142224 A TW109142224 A TW 109142224A TW 109142224 A TW109142224 A TW 109142224A TW I741892 B TWI741892 B TW I741892B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- feature point
- driving
- feature points
- driver
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
- Traffic Control Systems (AREA)
Abstract
一種車內駕駛監測系統,包含有一影像擷取裝置及一駕駛監測裝置,該影像擷取裝置擷取駕駛的一駕駛影像;該駕駛監測裝置連接該影像擷取裝置,包含有一影像處理單元、一特徵點辨識單元及一狀態監測單元,該影像處理單元對該駕駛影像進行一影像處理流程並產生一人臉圖像;該特徵點辨識單元連接該影像處理單元,根據該人臉圖像產生對應人臉五官的複數特徵點,並將該複數特徵點的位置以座標值表示;該狀態監測單元連接該特徵點辨識單元,並將該複數特徵點的座標值與內部儲存的複數預設特徵點的座標值進行比對,藉此判斷駕駛狀態是否異常。An in-vehicle driving monitoring system includes an image capturing device and a driving monitoring device. The image capturing device captures a driving image of driving; the driving monitoring device is connected to the image capturing device and includes an image processing unit and a driving monitoring device. A feature point identification unit and a condition monitoring unit. The image processing unit performs an image processing flow on the driving image and generates a face image; the feature point identification unit is connected to the image processing unit to generate a corresponding person based on the face image The complex number feature points of the facial features, and the position of the complex feature points are represented by coordinate values; the state monitoring unit is connected to the feature point identification unit, and the coordinate value of the complex feature points is compared with the internally stored complex preset feature points The coordinate values are compared to determine whether the driving state is abnormal.
Description
一種監測系統,尤指一種車內駕駛監測系統。A monitoring system, especially an in-vehicle driving monitoring system.
車輛為現代社會中廣為應用的交通工具之一,與現代人的生活息息相關,舉凡是日常通勤或貨物運輸等都涉及車輛的應用,而隨著車輛的增多,發生交通事故的機率也隨之攀升。Vehicles are one of the most widely used means of transportation in modern society and are closely related to the lives of modern people. For example, daily commuting or cargo transportation involves the application of vehicles. As the number of vehicles increases, the probability of traffic accidents also follows. rising.
車輛要安全行駛十分仰賴駕駛人的專注力及操駕,駕駛人必須隨時注意周圍車輛及道路環境,並保持良好的精神狀態,以因應行駛間的各種突發狀況,而當駕駛人因長途駕駛等因素產生疲勞感或精神不濟時,駕駛人容易產生睏怠感,使得駕駛人的注意力無法集中、反應速度下降,甚至發睏等,可能導致駕駛人疏於車輛操駕,造成車輛失控發生意外,且疲勞駕駛容易影響人體視覺,可能造成駕駛人視野模糊、視野縮減,影響駕駛人觀察周遭環境的能力,駕駛人便無法因應道路突發狀況即時做出反應,從而引發交通事故。The safe driving of a vehicle depends on the driver’s concentration and driving. The driver must always pay attention to the surrounding vehicles and road environment, and maintain a good mental state to respond to various emergencies during driving. When fatigue or mental insufficiency is caused by other factors, the driver is prone to feel drowsy, which makes the driver unable to concentrate, slows down the reaction speed, and even becomes sleepy, which may cause the driver to neglect the driving of the vehicle and cause the vehicle to lose control. Accidents and fatigue driving easily affect human vision, which may result in blurred and diminished vision of the driver, which affects the driver's ability to observe the surrounding environment. The driver cannot respond to emergencies on the road in real time, thereby causing a traffic accident.
有鑑於此,因此要提升車輛駕駛的安全性,減低發生交通事故發生機率,可從檢測駕駛人狀態著手,避免疲勞駕駛的情形發生,本發明提供一種車內駕駛監測系統,擷取駕駛人的人臉圖像,並根據圖像中對應人臉五官的特徵點判斷駕駛人狀態,當有狀態異常時便即時示警駕駛人,提醒駕駛人注意車況及自身狀態,以提升車輛駕駛的安全性。In view of this, it is necessary to improve the safety of vehicle driving and reduce the probability of traffic accidents. It is possible to start by detecting the status of the driver to avoid the occurrence of fatigue driving. The present invention provides an in-vehicle driving monitoring system that captures the driver’s Face image, and judge the driver's state according to the feature points corresponding to the facial features in the image, and immediately warn the driver when there is an abnormal state, reminding the driver to pay attention to the condition of the car and their own state, so as to improve the safety of driving.
為達成前述目的,本發明車內駕駛監測系統包含有: 一影像擷取裝置,擷取駕駛人的一駕駛影像;及 一駕駛監測裝置,連接該影像擷取裝置,包含有: 一影像處理單元,對該影像擷取裝置擷取的該駕駛影像進行一影像處理流程,並產生一人臉圖像; 一特徵點辨識單元,連接該影像處理單元,根據該人臉圖像產生對應人臉五官的複數特徵點,並將該複數特徵點的位置以座標值表示;及 一狀態監測單元,連接該特徵點辨識單元,該狀態監測單元內部儲存有對應該複數特徵點的複數預設特徵點,該狀態監測單元將該複數特徵點的座標值與該複數預設特徵點的座標值進行比對,當各該特徵點的座標值與對應的各該預設特徵點的座標值的距離差距超過一特徵點偏移基準值時,或是當兩個特徵點間的距離與對應的兩個預設特徵點間的距離的長短差距超過一特徵點變化基準值時,該狀態監測單元即判斷駕駛狀態異常,並輸出一警示訊號警示使用者。 To achieve the foregoing objective, the in-vehicle driving monitoring system of the present invention includes: An image capture device to capture a driving image of the driver; and A driving monitoring device, connected to the image capturing device, includes: An image processing unit that performs an image processing flow on the driving image captured by the image capturing device, and generates a face image; A feature point identification unit, connected to the image processing unit, generates a complex feature point corresponding to the facial features of the face according to the face image, and expresses the position of the complex feature point as a coordinate value; and A state monitoring unit connected to the feature point identification unit, the state monitoring unit stores therein a plurality of preset feature points corresponding to the plurality of feature points, and the state monitoring unit has the coordinate value of the plurality of feature points and the plurality of preset feature points When the distance between the coordinate value of each feature point and the coordinate value of each preset feature point exceeds a feature point offset reference value, or when the distance between two feature points When the distance between the two corresponding preset characteristic points exceeds a characteristic point change reference value, the state monitoring unit determines that the driving state is abnormal, and outputs a warning signal to warn the user.
本發明車內駕駛監測系統透過該影像擷取裝置擷取駕駛人的該駕駛影像,該影像擷取裝置對該駕駛影像執行影像處理,並將影像處理後的該人臉圖像傳輸至該特徵點辨識單元,由該特徵點辨識單元根據該人臉圖像中的人臉五官產生對應不同五官位置的該複數特徵點,後由該狀態監測單元進行該複數特徵點的比對,計算該複數特徵點與該複數預設特徵點的座標差距,藉此判斷駕駛人當前狀態是否偏離正常狀態,當該狀態監測單元判斷駕駛人的狀態出現異常時,即藉由該警示訊號警示駕駛人,以提升車輛駕駛的安全性。The in-vehicle driving monitoring system of the present invention captures the driving image of the driver through the image capture device, the image capture device performs image processing on the driving image, and transmits the image processed face image to the feature Point recognition unit, the feature point recognition unit generates the complex feature points corresponding to different facial features according to the facial features in the face image, and then the state monitoring unit compares the complex feature points to calculate the complex number The coordinate difference between the feature point and the plurality of preset feature points is used to determine whether the current state of the driver deviates from the normal state. When the state monitoring unit determines that the driver's state is abnormal, the warning signal is used to alert the driver to Improve the safety of vehicle driving.
請參看圖1所示,本發明車內駕駛監測系統1,用以監測駕駛人狀態,當駕駛人狀態異常時對駕駛人進行示警,該車內駕駛監測系統1包含有:一影像擷取裝置10及一駕駛監測裝置20,該影像擷取裝置10可為一紅外線鏡頭,由該影像擷取裝置10擷取駕駛人的一駕駛影像,並由該影像擷取裝置10將該駕駛影像向外傳輸,該影像擷取裝置10可設置於車輛的儀表板、擋風玻璃、冷氣出風口、後照鏡等位置,使該影像擷取裝置10的拍攝方向是朝向該駕駛人的區域,當駕駛人乘坐於車輛中對車輛進行操駕時,可將該影像擷取裝置10對準駕駛人的臉部,以擷取該駕人駛操作車輛時的該駕駛影像,其中,該影像擷取裝置10的設置位置是以駕駛人以正常狀態駕駛車輛時,可擷取駕駛人正面的該駕駛影像的位置為準,而該影像擷取裝置10可將該駕駛影像以H.264視訊編碼(又稱MPEG-4)的技術進行影像壓縮,以減少該駕駛影像傳輸時的影像容量大小,且該影像擷取裝置10可以Wi-Fi點對點(Peer-to-Peer, P2P)協議進行該駕駛影像的傳輸。Please refer to Figure 1. The in-vehicle
該駕駛監測裝置20與該影像擷取裝置10連接,包含有一影像處理單元21、一特徵點辨識單元22及一狀態監測單元23,且該駕駛監測裝置20可為一手機或一平板等,由該駕駛監測裝置20執行駕駛監測程式,該駕駛監測裝置20可以Wi-Fi點對點(Peer-to-Peer, P2P)協議接收該影像擷取裝置10所傳輸的該駕駛影像,並由該影像處理單元21以H.264視訊編碼(又稱MPEG-4)的技術對該駕駛影像進行解碼,該影像處理單元21對該駕駛影像進行一影像處理流程產生一人臉圖像。The
該特徵點辨識單元22連接該影像處理單元21,該特徵點辨識單元22根據影像處理流程後的該人臉圖像的像素,以該人臉圖像的一邊界點為座標起點,並於該人臉圖像上建立平面座標軸,且於該人臉圖像上產生對應人臉五官狀態的複數特徵點,並將該複數特徵點的位置以座標值表示,其中,該複數特徵點可包含眼部特徵點、嘴部特徵點、鼻部特徵點等。The feature
如圖2所示,以駕駛人正常狀態時正面臉部的一人臉圖像為例,若該人臉圖像的像素值320*240,該特徵點辨識單元22可以該人臉圖像的左下角為起點(0,0)設定座標系,若以第一軸向為X軸,第二軸向為Y軸,該特徵點辨識單元22將該人臉圖像的第一軸向範圍設定為0~320、該人臉圖像的第二軸向範圍設定為0~240,且產生對應該人臉圖像中五官的該複數特徵點,該複數特徵點可包含對應分別駕駛人兩眉毛上緣的一第一特徵點P1及一第二特徵點P2、對應駕駛人其中一眼睛上緣及下緣的一第三特徵點P3及一第四特徵點P4、對應駕駛人兩側嘴角的一第五特徵點P5及一第六特徵點P6等,但該特徵點辨識單元22所設定的座標起點亦可為該人臉圖像的右上角、左上角等該人臉圖像的邊界點,該人臉圖像的座標起點及軸向不以本實施例為限。As shown in FIG. 2, taking a face image of the frontal face of the driver in a normal state as an example, if the pixel value of the face image is 320*240, the feature
該狀態監測單元23連接該特徵點辨識單元22,該狀態監測單元23內部儲存有對應該複數特徵點的複數預設特徵點,每一個預設特徵點對應一個特徵點,相互對應的各該預設特徵點與各該特徵點代表人臉五官中同一個部位的位置,該狀態監測單元23將該特徵點辨識單元22產生的該複數特徵點的座標值與該複數預設特徵點的座標值進行比對,當各該特徵點的座標值與對應的各該預設特徵點的座標值的距離差距超過一特徵點偏移基準值時,或是當兩個特徵點間的距離與對應的兩個預設特徵點的距離的長短差距超過一特徵點變化基準值時,該狀態監測單元23即判斷駕駛人的狀態異常,並輸出一警示訊號警示使用者,其中,該複數預設特徵點可於駕駛人使用該車內駕駛監測系統1進行駕駛狀態監測前先行設置,該影像擷取裝置10先擷取駕駛人正常狀態時的一駕駛影像,而該影像擷取裝置10將該駕駛影像傳輸至該駕駛監測裝置20後,由該駕駛監測裝置20的該影像處理單元21對該駕駛影像執行該影像處理流程,再由該特徵點辨識單元22根據該影像處理流程後的該人臉圖像的五官狀態產生該複數預設特徵點,最後該狀態監測單元23儲存該複數預設特徵點,完成該複數預設特徵點的設置流程。The
請參看圖3所示,該車內駕駛監測系統1執行駕駛狀態監測的流程包含有:Please refer to Figure 3, the process of the in-vehicle
S10:該影像擷取裝置10擷取駕駛人的一駕駛影像。S10: The image capturing
S11:該影像處理單元21對該駕駛影像進行一影像處理流程,進一步參看圖4所示,該影像處理流程包含有:S11: The
S111:該影像處理單元21自該駕駛影像中擷取駕駛人的一人臉圖像。S111: The
S112:該影像處理單元21將該人臉圖像進行亮度及對比處理,增加該人臉圖像的亮度,並增加該人臉圖像的對比度,以凸顯人臉輪廓,強調五官主體。S112: The
S113:該影像處理單元21將該人臉圖像灰階化,而該人臉圖像中的每個像素點具有不同的灰階值。S113: The
S114:該影像處理單元21將灰階化後的該人臉圖像進行黑白化,該影像處理單元21將該人臉圖像中各像素點的灰階值與一閾值(threshold)進行比對,當該人臉圖像中的一像素點的灰階值過該閾值時,該影像處理單元21將該像素點轉換為黑點,而該人臉圖像中的一像素點的灰階值未超過該閾值時,該影像處理單元21將該像素點轉換為白點,意即將該人臉圖像轉換為只有黑與白的二值化圖像,以供用於後續的影像分析。S114: The
S115:該影像處理單元21根據黑白化的該人臉圖像辨識及確認人臉的五官位置。S115: The
S12:該特徵點辨識單元22於該人臉圖像上產生對應人臉五官狀態的複數特徵點,並將該複數特徵點的位置以座標表示,其中,辨識人臉特徵點的技術為圖像辨識領域中的現有技術,在此容不詳述。S12: The feature
S13:該狀態監測單元23將該複數特徵點的座標值與複數預設特徵點的座標值進行比對,當各該特徵點與對應的各該預設特徵點的座標值差異介於一偏移容許值內時,代表各該特徵點的座標與各該預設特徵點的座標差距微小,各該特徵點的座標與各該預設特徵點的座標差距可能來源於車輛的震動或駕駛人的細小動作,意即駕駛人仍處於正常狀態,該車內駕駛監測系統1重新執行步驟S10;而當各該特徵點與對應的各該預設特徵點的座標值差異超過一偏移容許值時,該狀態監測單元23判斷駕駛狀態產生變化,執行步驟S14的判斷。S13: The
S14:該狀態監測單元23將各該特徵點中駕駛人臉部直向方向的該軸向的座標值與各該預設特徵點中駕駛人臉部直向方向的該軸向的座標值進行比對,判斷是否需要調整該複數預設特徵點的座標值。以該特徵點辨識單元22以該人臉圖像的左下邊界點或右下邊界點作為座標軸起點時,當有一特徵點其駕駛人臉部直向方向的該軸向的座標值大於對應的預設特徵點中駕駛人臉部直向方向的該軸向的座標值時,執行步驟S15;而當沒有特徵點其駕駛人臉部直向方向的該軸向的座標值大於對應的預設特徵點中駕駛人臉部直向方向的該軸向的座標值時,執行步驟S16,以圖2為例,駕駛人臉部直向方向的該軸向為第二軸向(Y軸),在該影像擷取裝置10擷取駕駛人的該駕駛影像時,若駕駛人離該影像擷取裝置10較遠,或是駕駛人的臉部較靠近該影像擷取裝置10其擷取範圍的下方邊界時,容易造成該特徵點辨識單元22所產生的各該預設特徵點的第二軸向的座標值較小,當駕駛人將臉部靠近該影像擷取裝置10或是重新調整坐姿使得臉部較靠近該影像擷取裝置10其擷取範圍的上方邊界時,由新的該駕駛影像取得的新的該複數特徵點其第二軸向的座標值較大,因此以該預設特徵點比對新的該複數特徵點時容易發生狀態辨識失準的問題,需要以新的該複數特徵點替代原先預設的該複數預設特徵點進行後續的駕駛狀態監測。S14: The
同樣的,以該特徵點辨識單元22以該人臉圖像的左上邊界點或右上邊界點作為座標軸起點時,當有一特徵點其駕駛人臉部直向方向的該軸向的座標值小於對應的預設特徵點中駕駛人臉部直向方向的該軸向的座標值時,執行步驟S15;而當沒有特徵點其駕駛人臉部直向方向的該軸向的座標值小於對應的預設特徵點中駕駛人臉部直向方向的該軸向的座標值時,執行步驟S16,在該影像擷取裝置10擷取駕駛人的該駕駛影像時,若駕駛人離該影像擷取裝置10較遠,或是駕駛人的臉部較靠近該影像擷取裝置10其擷取範圍的上方邊界時,容易造成該特徵點辨識單元22所產生的各該預設特徵點的第二軸向的座標值較小,當駕駛人將臉部靠近該影像擷取裝置10或是重新調整坐姿使得臉部較靠近該影像擷取裝置10其擷取範圍的下方邊界時,由新的該駕駛影像取得的新的該複數特徵點其第二軸向的座標值較大,因此以該預設特徵點比對新的該複數特徵點時容易發生狀態辨識失準的問題,需要以新的該複數特徵點替代原先預設的該複數預設特徵點進行後續的駕駛狀態監測。Similarly, when the feature
S15:該狀態監測單元23判斷需要調整各該預設特徵點的座標值,該狀態監測單元23將對應需要調整的各該預設特徵點的各該特徵點設為新的各該預設特徵點,並執行步驟S16。S15: The
S16:該狀態監測單元23將該複數特徵點的座標值與該複數預設特徵點的座標值進行比對,當各該特徵點的座標值與對應的各該預設特徵點的座標值的距離差距超過一特徵點偏移基準值時,或是當兩個特徵點間的距離與對應的兩個預設特徵點的距離的長短差距超過一特徵點變化基準值時,代表駕駛人可能出現低頭、閉眼、轉頭等或增加車輛行駛危險性的異常狀態,該狀態監測單元23即判斷駕駛人的狀態異常,並輸出一警示訊號警示使用者。S16: The
以下以對應不同人臉五官的該複數特徵點與該複數預設特徵點,詳細說明該狀態監測單元23如何執行步驟S16。The following uses the plural feature points and the plural preset feature points corresponding to different facial features to describe in detail how the
配合圖5A及圖5B所示,以圖5A中正常狀態時該人臉圖像中分別對應駕駛人眼睛上緣及下緣的一第一預設特徵點P1’及一第二預設特徵點P2’,以及圖5B中閉眼狀態時該人臉圖像中分別對應駛眼睛上緣及下緣的一第一特徵點P1及一第二特徵點P2為例,由圖5可見由於駕駛人閉眼,使得該第一特徵點P1的座標位置偏移該預設第一特徵點P1’,該狀態監測單元23可比對該第一特徵點P1及該預設第一特徵點P1’,該狀態監測單元23一方面可判斷該第一特徵點P1的座標值及該預設第一特徵點P1’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷該第一特徵點P1與該第二特徵點P2間的距離,與對應的該第一預設特徵點P1’與該第二預設特徵點P2’間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛狀態是否異常。As shown in FIG. 5A and FIG. 5B, in the normal state of FIG. 5A, a first preset feature point P1' and a second preset feature point corresponding to the upper edge and the lower edge of the driver's eyes in the face image respectively P2', and a first feature point P1 and a second feature point P2 corresponding to the upper and lower edges of the driving eyes in the face image when the eyes are closed in FIG. 5B are taken as examples. , Making the coordinate position of the first feature point P1 deviate from the preset first feature point P1', the
配合圖6A及圖6B所示,以圖6A中正常狀態時該人臉圖像中分別對應駕駛人眼睛上緣及下緣的一第一預設特徵點P1’及一第二預設特徵點P2’、對應駕駛人眉毛上緣的一第三預設特徵點P3’、對應駕駛人嘴角邊緣的一第四預設特徵點P4’,以及圖6B中低頭狀態時該人臉圖像中分別對應駕駛人眼睛上緣及下緣的一第一特徵點P1及一第二特徵點P2、對應駕駛人眉毛上緣的一第三特徵點P3、對應駕駛人嘴角邊緣的一第四特徵點P4為例,由圖6可見由於駕駛人低頭,使得該第一特徵點P1、該第二特徵點P2、該第三特徵點P3、該第四特徵點P4位置皆偏移對應的該第一預設特徵點P1’、該第二預設特徵點P2’、該第三預設特徵點P3’、該第四預設特徵點P4’, 該狀態監測單元23一方面可判斷該第一特徵點P1、該第二特徵點P2、該第三特徵點P3、該第四特徵點P4的座標值分別與對應的該第一預設特徵點P1’、該第二預設特徵點P2’、該第三預設特徵點P3’、該第四預設特徵點P4’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛狀態是否異常。As shown in FIG. 6A and FIG. 6B, in the normal state in FIG. 6A, a first preset feature point P1' and a second preset feature point corresponding to the upper and lower edges of the driver's eyes in the face image respectively P2', a third preset feature point P3' corresponding to the upper edge of the driver's eyebrows, a fourth preset feature point P4' corresponding to the edge of the corner of the driver's mouth, and the face image in the lowered state in FIG. 6B, respectively A first feature point P1 and a second feature point P2 corresponding to the upper and lower edges of the driver’s eyes, a third feature point P3 corresponding to the upper edge of the driver’s eyebrows, and a fourth feature point P4 corresponding to the edge of the driver’s mouth As an example, it can be seen from Fig. 6 that the position of the first feature point P1, the second feature point P2, the third feature point P3, and the fourth feature point P4 are all offset from the corresponding first prediction point due to the driver's head down. Suppose the feature point P1', the second preset feature point P2', the third preset feature point P3', and the fourth preset feature point P4', the
配合圖7A及圖7B所示,除了圖5A至圖6B中對應五官的各該特徵點及各該預設特徵點,當駕駛人有配戴眼鏡時,該特徵點辨識單元22亦可產生分別對應眼鏡邊框位置的該複數預設特徵點及該複數特徵點,以圖7A中正常狀態時該人臉圖像中分別對應駕駛人眼鏡上緣及下緣的一第五預設特徵點P5’及一預設第六特徵點P6’,以及圖7B中低頭狀態時該人臉圖像中分別對應駕駛人眼鏡上緣及下緣的一第五特徵點P5及一第六特徵點P6為例,由圖7可見由於駕駛人低頭,使得該第五特徵點P2及該第六特徵點P6的座標位置偏移對應的該預設第五特徵點P5’及該預設第六特徵點P6’,該狀態監測單元23一方面可判斷該第五特徵點P5及該第六特徵點P6的座標值分別與對應的該預設第五特徵點P5’及該第六特徵點P6’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷該第五特徵點P5與該第六特徵點P6間的距離,與對應的該第五預設特徵點P5’與該第六預設特徵點P6’間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。As shown in FIGS. 7A and 7B, in addition to each of the feature points corresponding to the five sense organs and each of the preset feature points in FIGS. 5A to 6B, when the driver wears glasses, the feature
配合圖8A及圖8B所示,以圖8A中正常狀態時該人臉圖像中對應駕駛人眉毛上緣的一第三預設特徵點P3’、對應駕駛人嘴角邊緣的一第四預設特徵點P4’、分別對應駕駛人眼鏡上緣及下緣的一第五預設特徵點P5’及一預設第六特徵點P6’,以及圖8B中轉頭狀態時該人臉圖像中對應駕駛人眉毛上緣的一第三特徵點P3、對應駕駛人嘴角邊緣的一第四特徵點P4、分別對應駕駛人眼鏡上緣及下緣的一第五特徵點P5及一第六特徵點P6為例,由圖8可見由於駕駛人轉頭,使得該第三特徵點P3、該第四特徵點P4、該第五特徵點P2及該第六特徵點P6的座標位置皆偏移對應的該第三預設特徵點P3’、該第四預設特徵點P4’、該預設第五特徵點P5’及該預設第六特徵點P6’,該狀態監測單元23一方面可判斷該第三特徵點P3、該第四特徵點P4、該第五特徵點P5及該第六特徵點P6的座標值分別與對應的該第三預設特徵點P3’、該第四預設特徵點P4’、該預設第五特徵點P5’及該第六特徵點P6’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。As shown in FIG. 8A and FIG. 8B, in the normal state in FIG. 8A, a third preset feature point P3' corresponding to the upper edge of the driver’s eyebrows and a fourth preset feature point corresponding to the edge of the driver’s mouth The feature point P4', a fifth preset feature point P5' and a preset sixth feature point P6' respectively corresponding to the upper and lower edges of the driver’s glasses, and the face image in the head-turned state in FIG. 8B A third feature point P3 corresponding to the upper edge of the driver’s eyebrows, a fourth feature point P4 corresponding to the edge of the corner of the driver’s mouth, a fifth feature point P5 and a sixth feature point corresponding to the upper and lower edges of the driver’s glasses, respectively P6 is an example. It can be seen from Fig. 8 that the coordinate positions of the third feature point P3, the fourth feature point P4, the fifth feature point P2, and the sixth feature point P6 are all offset due to the driver turning his head. For the third preset feature point P3', the fourth preset feature point P4', the preset fifth feature point P5', and the preset sixth feature point P6', the
配合圖9A及圖9B所示,若駕駛人佩戴墨鏡,使得影像擷取無法取得眼部狀態的資訊時,該狀態監測單元23仍可透過對應墨鏡上緣及下緣的各該特徵點、對應眉毛或嘴部的各該特徵點判斷駕駛人的狀態。以圖9A中正常狀態時該人臉圖像中對應駕駛人眉毛上緣的一第三預設特徵點P3’、對應駕駛人嘴角邊緣的一第四預設特徵點P4’、分別對應駕駛人眼鏡上緣及下緣的一第五預設特徵點P5’及一預設第六特徵點P6’,以及圖9B中低頭狀態時該人臉圖像中對應駕駛人眉毛上緣的一第三特徵點P3、對應駕駛人嘴角邊緣的一第四特徵點P4、分別對應駕駛人眼鏡上緣及下緣的一第五特徵點P5及一第六特徵點P6為例,由圖8可見由於駕駛人低頭,使得該第三特徵點P3、該第四特徵點P4、該第五特徵點P2及該第六特徵點P6的座標位置皆偏移對應的該第三預設特徵點P3’、該第四預設特徵點P4’、該預設第五特徵點P5’及該預設第六特徵點P6’,該狀態監測單元23一方面可判斷該第三特徵點P3、該第四特徵點P4、該第五特徵點P5及該第六特徵點P6的座標值分別與對應的該第三預設特徵點P3’、該第四預設特徵點P4’、該預設第五特徵點P5’及該第六特徵點P6’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。As shown in FIGS. 9A and 9B, if the driver wears sunglasses, so that the image capture cannot obtain the information of the eye state, the
本發明車內駕駛監測系統1除了由單一人臉圖像判斷駕駛人的狀態,亦可由一預設時間內取得的複數人臉圖像執行一抖動偵測,判斷駕駛人頭部是否有搖晃或抖動狀態,該狀態監測單元23計算該複數人臉圖像中對應同一五官位置的一特徵點於同一軸向上的一座標平均值,並將該座標平均值與對應該特徵點的該預設特徵點的座標值進行比較,當該座標平均值與該預設特徵點的座標值的數值差距超過一抖動臨界值時,該狀態監測單元23即判斷駕駛人狀態異常,並輸出該警示訊號警示駕駛人。In addition to judging the state of the driver from a single face image, the in-vehicle
配合圖2所示,以擷取五張如圖2的該人臉圖像,且每一人臉圖像的該第一特徵點的座標值分別為(152,210)、(155,207)、(152,225)、(150,201)、(153,211)為例,若以第二軸向(Y軸)的座標值進行判斷,該狀態監測單元23計算各該人臉圖像中各該第一特徵點第二軸向上的該座標平均值,即210+207+225+201+211=210.8,並將該座標平均值與對應的該第一預設特徵點於第二軸向上的座標值進行比對,當該座標平均值與該預設特徵點的座標值的數值差距超過該抖動臨界值時,該狀態監測單元23即判斷駕駛人存在抖動或晃動等異常狀態。As shown in Figure 2, five face images as shown in Figure 2 are captured, and the coordinate values of the first feature point of each face image are (152,210), (155,207), (152,225), (150,201). ), (153,211) as an example, if the coordinate value of the second axis (Y axis) is used for judgment, the
進一步的,為提升該抖動偵測的準確性,該狀態監測單元23可先剔除複數特徵點中具有座標最大值及座標最小值的兩個特徵點,計算其餘特徵點該座標平均值,同樣以擷取五張如圖2的該人臉圖像,且每一人臉圖像的該第一特徵點的座標值分別為(152,210)、(155,207)、(152,225)、(150,201)、(153,211)為例,若以第二軸向(Y軸)的座標值進行判斷,該狀態監測單元23判斷座標值為(150,201)的該第一特徵點具有第二軸向上的座標最小值,座標值為(152,225)的該第一特徵點具有第二軸向上的座標最大值,因此該狀態監測單元23剔除座標值為(150,201) 及(152,225)的兩個第一特徵點,該狀態監測單元23計算其餘的各該第一特徵點第二軸向上的該座標平均值,即210+207+211=209.3,並將該座標平均值與對應的該第一預設特徵點於第二軸向上的座標值進行比對,當該座標平均值與該預設特徵點的座標值的數值差距超過該抖動臨界值時,該狀態監測單元23即判斷駕駛人存在抖動或晃動等異常狀態。Further, in order to improve the accuracy of the jitter detection, the
其中,該狀態監測單元23產生的該警示訊號可控制執行該駕駛監測裝置20的該電子裝置,由該電子裝置根據該警示訊號於顯示螢幕上顯示示警訊息,或是發出警示聲響及燈光,藉此警示駕駛人。Wherein, the warning signal generated by the
綜上所述,本發明車內駕駛監測系統1透過該影像擷取裝置10擷取駕駛人操駕車輛時的該駕駛影像,該影像擷取裝置10將該駕駛影像傳輸至該駕駛監測裝置20中,該影像擷取裝置10對該駕駛影像執行該影像處理流程,並將影像處理後的該人臉圖像傳輸至該特徵點辨識單元22,由該特徵點辨識單元22根據該人臉圖像中的人臉五官產生對應不同五官位置的該複數特徵點,後由該狀態監測單元23將該複數特徵點與駕駛人正常狀態時的該複數預設特徵點進行比對,計算該複數特徵點與該複數預設特徵點的座標差距,藉此判斷駕駛人當前狀態是否偏離正常狀態,當該狀態監測單元23判斷駕駛人的狀態出現異常時,即藉由該警示訊號警示駕駛人,提升駕駛人的乘車安全,降低因駕駛人精神不濟、疲勞駕駛而導致交通事故發生的可能性。In summary, the in-vehicle
1:車內駕駛監測系統1: In-car driving monitoring system
10:影像擷取裝置10: Image capture device
20:駕駛監測裝置20: Driving monitoring device
21:影像處理單元21: Image processing unit
22:特徵點辨識單元22: Feature point identification unit
23:狀態監測單元23: Condition monitoring unit
P1:第一特徵點P1: The first feature point
P1’:第一預設特徵點P1’: The first preset feature point
P2:第二特徵點P2: The second feature point
P2’:第二預設特徵點P2’: The second preset feature point
P3:第三特徵點P3: The third feature point
P3’:第三預設特徵點P3’: The third preset feature point
P4:第四特徵點P4: Fourth feature point
P4’:第四預設特徵點P4’: The fourth preset feature point
P5:第五特徵點P5: Fifth feature point
P5’:第五預設特徵點P5’: Fifth preset feature point
P6:第六特徵點P6: The sixth feature point
P6’:第六預設特徵點P6’: The sixth preset feature point
圖1:本發明車內駕駛監測系統的方塊示意圖。 圖2:駕駛正常狀態時正面臉部的人臉圖像示意圖。 圖3:本發明車內駕駛監測系統進行駕駛狀態監測的步驟流程圖。 圖4:影像處理單元進行影像處理流程的步驟流程圖。 圖5A:駕駛人正常狀態的人臉圖像的示意圖。 圖5B:駕駛人閉眼狀態的人臉圖像的示意圖。 圖6A:駕駛人正常狀態的人臉圖像的示意圖。 圖6B:駕駛人低頭狀態的人臉圖像的示意圖。 圖7A:佩戴眼鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖7B:佩戴眼鏡時駕駛人低頭狀態的人臉圖像的示意圖。 圖8A:佩戴眼鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖8B:佩戴眼鏡時駕駛人轉頭狀態的人臉圖像的示意圖。 圖9A:佩戴墨鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖9B:佩戴墨鏡時駕駛人低頭狀態的人臉圖像的示意圖。 Figure 1: A block diagram of the in-vehicle driving monitoring system of the present invention. Figure 2: Schematic diagram of the face image of the frontal face when driving in a normal state. Figure 3: A flow chart of the steps of the in-vehicle driving monitoring system of the present invention for monitoring the driving state. Figure 4: A flow chart of the steps of the image processing process performed by the image processing unit. Fig. 5A: A schematic diagram of a face image of a driver in a normal state. Fig. 5B: A schematic diagram of a face image of a driver with his eyes closed. Fig. 6A: A schematic diagram of a face image of a driver in a normal state. Fig. 6B: A schematic diagram of a driver's face image in a state where the driver's head is lowered. Fig. 7A: A schematic diagram of a face image of a driver in a normal state while wearing glasses. Fig. 7B: A schematic diagram of a face image of a driver with his head down when wearing glasses. Fig. 8A: A schematic diagram of a face image of a driver in a normal state while wearing glasses. Fig. 8B: A schematic diagram of a face image of a driver turning his head while wearing glasses. Fig. 9A: A schematic diagram of a face image of a driver in a normal state while wearing sunglasses. Fig. 9B: A schematic diagram of a face image of a driver with his head down while wearing sunglasses.
1:車內駕駛監測系統 1: In-car driving monitoring system
10:影像擷取裝置 10: Image capture device
20:駕駛監測裝置 20: Driving monitoring device
21:影像處理單元 21: Image processing unit
22:特徵點辨識單元 22: Feature point identification unit
23:狀態監測單元 23: Condition monitoring unit
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109142224A TWI741892B (en) | 2020-12-01 | 2020-12-01 | In-car driving monitoring system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109142224A TWI741892B (en) | 2020-12-01 | 2020-12-01 | In-car driving monitoring system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI741892B true TWI741892B (en) | 2021-10-01 |
| TW202222619A TW202222619A (en) | 2022-06-16 |
Family
ID=80782380
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109142224A TWI741892B (en) | 2020-12-01 | 2020-12-01 | In-car driving monitoring system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI741892B (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7948387B2 (en) * | 2007-03-08 | 2011-05-24 | Denso Corporation | Drowsiness determination apparatus, program, and method |
| WO2013111819A1 (en) * | 2012-01-26 | 2013-08-01 | 日産自動車株式会社 | Driving assistance device |
| TW201447772A (en) * | 2013-06-14 | 2014-12-16 | Utechzone Co Ltd | Warning method for driving vehicle and electronic apparatus for vehicle |
| TW201501044A (en) * | 2013-06-24 | 2015-01-01 | Utechzone Co Ltd | Apparatus, method and computer readable recording medium of generating signal by detecting facial action |
| CN104573623A (en) * | 2013-10-09 | 2015-04-29 | 爱信精机株式会社 | Face detection apparatus and method |
| TW201819226A (en) * | 2016-11-28 | 2018-06-01 | 財團法人車輛研究測試中心 | Method for detecting driving behaviors and system thereof capable of alerting drivers to concentrate on driving before an abnormal driving behavior occurs, thereby effectively improving driving safety |
| WO2020034541A1 (en) * | 2018-08-14 | 2020-02-20 | 深圳壹账通智能科技有限公司 | Driver drowsiness detection method, computer readable storage medium, terminal device, and apparatus |
| WO2020078464A1 (en) * | 2018-10-19 | 2020-04-23 | 上海商汤智能科技有限公司 | Driving state detection method and apparatus, driver monitoring system, and vehicle |
| WO2020179656A1 (en) * | 2019-03-06 | 2020-09-10 | オムロン株式会社 | Driver monitoring device |
| TW202036465A (en) * | 2019-03-18 | 2020-10-01 | 大陸商北京市商湯科技開發有限公司 | Method, device and electronic equipment for monitoring driver's attention |
-
2020
- 2020-12-01 TW TW109142224A patent/TWI741892B/en active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7948387B2 (en) * | 2007-03-08 | 2011-05-24 | Denso Corporation | Drowsiness determination apparatus, program, and method |
| WO2013111819A1 (en) * | 2012-01-26 | 2013-08-01 | 日産自動車株式会社 | Driving assistance device |
| TW201447772A (en) * | 2013-06-14 | 2014-12-16 | Utechzone Co Ltd | Warning method for driving vehicle and electronic apparatus for vehicle |
| TW201501044A (en) * | 2013-06-24 | 2015-01-01 | Utechzone Co Ltd | Apparatus, method and computer readable recording medium of generating signal by detecting facial action |
| CN104573623A (en) * | 2013-10-09 | 2015-04-29 | 爱信精机株式会社 | Face detection apparatus and method |
| US10372972B2 (en) * | 2013-10-09 | 2019-08-06 | Aisin Seiki Kabushiki Kaisha | Face detection apparatus, face detection method, and program |
| TW201819226A (en) * | 2016-11-28 | 2018-06-01 | 財團法人車輛研究測試中心 | Method for detecting driving behaviors and system thereof capable of alerting drivers to concentrate on driving before an abnormal driving behavior occurs, thereby effectively improving driving safety |
| WO2020034541A1 (en) * | 2018-08-14 | 2020-02-20 | 深圳壹账通智能科技有限公司 | Driver drowsiness detection method, computer readable storage medium, terminal device, and apparatus |
| WO2020078464A1 (en) * | 2018-10-19 | 2020-04-23 | 上海商汤智能科技有限公司 | Driving state detection method and apparatus, driver monitoring system, and vehicle |
| WO2020179656A1 (en) * | 2019-03-06 | 2020-09-10 | オムロン株式会社 | Driver monitoring device |
| TW202036465A (en) * | 2019-03-18 | 2020-10-01 | 大陸商北京市商湯科技開發有限公司 | Method, device and electronic equipment for monitoring driver's attention |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202222619A (en) | 2022-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108639055B (en) | Display system of vehicle and control method of display system of vehicle | |
| CN109937152B (en) | Driving state monitoring method and device, driver monitoring system and vehicle | |
| US9460601B2 (en) | Driver distraction and drowsiness warning and sleepiness reduction for accident avoidance | |
| CN108621794B (en) | Display system of vehicle and control method of display system of vehicle | |
| US11455810B2 (en) | Driver attention state estimation | |
| US8085140B2 (en) | Travel information providing device | |
| WO2019232972A1 (en) | Driving management method and system, vehicle-mounted intelligent system, electronic device and medium | |
| WO2020078465A1 (en) | Method and device for driving state analysis, driver monitoring system and vehicle | |
| CN111079475A (en) | Driving state detection method and device, driver monitoring system, vehicle | |
| JP6689470B1 (en) | Information processing apparatus, program, and information processing method | |
| JP7589614B2 (en) | Driver monitoring device, driver monitoring method, and computer program for driver monitoring | |
| US20210146934A1 (en) | Vehicle operation assistance device, vehicle operation assistance method, and program | |
| KR102494530B1 (en) | Camera Apparatus Installing at a Car for Detecting Drowsy Driving and Careless Driving and Method thereof | |
| JP2020149507A (en) | Crew observation device | |
| WO2021262166A1 (en) | Operator evaluation and vehicle control based on eyewear data | |
| KR20220005297A (en) | In-Cabin Security Sensor Installed at a Car and Platform Service Method therefor | |
| TWI741892B (en) | In-car driving monitoring system | |
| JP7024332B2 (en) | Driver monitor system | |
| JP2019179370A (en) | Vehicle speed controller | |
| KR20190044818A (en) | Apparatus for monitoring driver and method thereof | |
| WO2021192416A1 (en) | Dangerous driving warning device, dangerous driving warning system, and dangerous driving warning method | |
| CN114596687A (en) | In-vehicle driving monitoring system | |
| US20230206658A1 (en) | Apparatus, method, and computer program for determining driver's behavior | |
| US11983941B2 (en) | Driver monitor | |
| JP7528492B2 (en) | Dangerous driving warning device, dangerous driving warning system, and dangerous driving warning method |