TW202222619A - In-vehicle driving monitoring system comprising an image capturing device and a driving monitoring device - Google Patents
In-vehicle driving monitoring system comprising an image capturing device and a driving monitoring device Download PDFInfo
- Publication number
- TW202222619A TW202222619A TW109142224A TW109142224A TW202222619A TW 202222619 A TW202222619 A TW 202222619A TW 109142224 A TW109142224 A TW 109142224A TW 109142224 A TW109142224 A TW 109142224A TW 202222619 A TW202222619 A TW 202222619A
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- feature point
- feature points
- driving
- driver
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Abstract
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 freight transportation involves the application of vehicles. With the increase of vehicles, the probability of traffic accidents also follows. rising.
車輛要安全行駛十分仰賴駕駛人的專注力及操駕,駕駛人必須隨時注意周圍車輛及道路環境,並保持良好的精神狀態,以因應行駛間的各種突發狀況,而當駕駛人因長途駕駛等因素產生疲勞感或精神不濟時,駕駛人容易產生睏怠感,使得駕駛人的注意力無法集中、反應速度下降,甚至發睏等,可能導致駕駛人疏於車輛操駕,造成車輛失控發生意外,且疲勞駕駛容易影響人體視覺,可能造成駕駛人視野模糊、視野縮減,影響駕駛人觀察周遭環境的能力,駕駛人便無法因應道路突發狀況即時做出反應,從而引發交通事故。The safe driving of the vehicle is very dependent on the driver's concentration and driving. The driver must pay attention to the surrounding vehicles and road environment at all times, and maintain a good mental state to cope with various emergencies during driving. When fatigue or lack of energy are caused by other factors, the driver is prone to feel drowsy, which makes the driver unable to concentrate, the reaction speed decreases, or even drowsiness, etc., which may cause the driver to neglect the operation of the vehicle and cause the vehicle to lose control. Accidents and fatigue driving can easily affect human vision, which may result in blurred and reduced vision of the driver, affecting the driver's ability to observe the surrounding environment, and the driver cannot respond immediately to road emergencies, resulting in traffic accidents.
有鑑於此,因此要提升車輛駕駛的安全性,減低發生交通事故發生機率,可從檢測駕駛人狀態著手,避免疲勞駕駛的情形發生,本發明提供一種車內駕駛監測系統,擷取駕駛人的人臉圖像,並根據圖像中對應人臉五官的特徵點判斷駕駛人狀態,當有狀態異常時便即時示警駕駛人,提醒駕駛人注意車況及自身狀態,以提升車輛駕駛的安全性。In view of this, in order to improve the safety of vehicle driving and reduce the probability of traffic accidents, we can start by detecting the driver's state to avoid fatigue driving. Face image, and judge the driver's state according to the feature points corresponding to the facial features in the image. When there is an abnormal state, the driver will be alerted immediately, reminding the driver to pay attention to the condition of the vehicle and its own state, so as to improve the safety of vehicle driving.
為達成前述目的,本發明車內駕駛監測系統包含有: 一影像擷取裝置,擷取駕駛人的一駕駛影像;及 一駕駛監測裝置,連接該影像擷取裝置,包含有: 一影像處理單元,對該影像擷取裝置擷取的該駕駛影像進行一影像處理流程,並產生一人臉圖像; 一特徵點辨識單元,連接該影像處理單元,根據該人臉圖像產生對應人臉五官的複數特徵點,並將該複數特徵點的位置以座標值表示;及 一狀態監測單元,連接該特徵點辨識單元,該狀態監測單元內部儲存有對應該複數特徵點的複數預設特徵點,該狀態監測單元將該複數特徵點的座標值與該複數預設特徵點的座標值進行比對,當各該特徵點的座標值與對應的各該預設特徵點的座標值的距離差距超過一特徵點偏移基準值時,或是當兩個特徵點間的距離與對應的兩個預設特徵點間的距離的長短差距超過一特徵點變化基準值時,該狀態監測單元即判斷駕駛狀態異常,並輸出一警示訊號警示使用者。 In order to achieve the aforementioned purpose, the in-vehicle driving monitoring system of the present invention includes: an image capture device for capturing a driving image of the driver; and A driving monitoring device, connected to the image capturing device, includes: an image processing unit for performing an image processing process on the driving image captured by the image capturing device, and generating a face image; a feature point identification unit, connected to the image processing unit, to generate complex feature points corresponding to facial features according to the face image, and to represent the positions of the complex feature points as coordinate values; and a state monitoring unit connected to the feature point identification unit, the state monitoring unit internally stores a plurality of preset feature points corresponding to the plurality of feature points, the state monitoring unit and the coordinate values of the plurality of feature points and the plurality of preset feature points When the distance difference between the coordinate value of each feature point and the coordinate value of the corresponding preset feature point exceeds a feature point offset reference value, or when the distance between the two feature points When the distance between the corresponding two preset feature points exceeds a feature point variation 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 identification unit, by this feature point identification unit according to the facial features in the face image to generate this complex number of feature points corresponding to different facial features, then by this state monitoring unit to carry out the comparison of this complex number of feature points, calculate this 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. Improve vehicle driving safety.
請參看圖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 FIG. 1 , the in-vehicle driving monitoring system 1 of the present invention is used to monitor the driver's state and warn the driver when the driver's state is abnormal. The in-vehicle driving monitoring system 1 includes: an
該駕駛監測裝置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 front 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執行駕駛狀態監測的流程包含有:Referring to FIG. 3 , the process of performing driving state monitoring by the in-vehicle driving monitoring system 1 includes:
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 describes 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’間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛狀態是否異常。5A and FIG. 5B , in the normal state in FIG. 5A , 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', and a first feature point P1 and a second feature point P2 in the face image corresponding to the upper and lower edges of the driver's eyes respectively when the eyes are closed as shown in FIG. 5B , as an example, it can be seen from FIG. , so that the coordinate position of the first feature point P1 is offset 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’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛狀態是否異常。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 eyebrow, a fourth preset feature point P4' corresponding to the edge of the driver's mouth, and the face image when the head is bowed 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 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 bowing his head. Assuming 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’間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。7A and FIG. 7B , in addition to the feature points corresponding to the facial features and 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’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。8A and 8B, in the normal state in FIG. 8A, a third preset feature point P3' corresponding to the upper edge of the driver's eyebrow and a fourth preset feature point corresponding to the edge of the driver's mouth in the face image The feature point P4', a fifth preset feature point P5' and a preset sixth feature point P6' corresponding to the upper and lower edges of the driver's glasses respectively, and the face image in the head-turning state shown in FIG. 8B . A third feature point P3 corresponding to the upper edge of the driver's eyebrow, a fourth feature point P4 corresponding to the edge of the driver's mouth corner, a fifth feature point P5 and a sixth feature point corresponding to the upper and lower edges of the driver's glasses respectively Take P6 as an example, it can be seen from FIG. 8 that because the driver turns his head, 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 corresponding to 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', on the one hand, the state monitoring unit 23 can determine the The coordinate values of the third feature point P3 , the fourth feature point P4 , the fifth feature point P5 and the sixth feature point P6 are respectively corresponding to the third preset feature point P3 ′ and the fourth preset feature point Whether the distance difference between the coordinate values of P4', the preset fifth feature point P5' and the sixth feature point P6' exceeds the feature point offset reference value, on the other hand, it can be determined whether the difference between the two different feature points Whether the difference between the distance and the distance between the corresponding two preset feature points exceeds the change reference value of the feature point is used to determine whether the driver's state is abnormal.
配合圖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’的座標值間的距離差距是否超過該特徵點偏移基準值,另一方面可判斷不同的兩個特徵點間的距離,與對應的兩個預設特徵點間的距離的長短差距是否超過該特徵點變化基準值,來判斷駕駛人的狀態是否異常。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即判斷駕駛人狀態異常,並輸出該警示訊號警示駕駛人。The in-vehicle driving monitoring system 1 of the present invention not only judges the state of the driver from a single face image, but can also perform a shake detection from a plurality of face images obtained within a preset time, so as to judge whether the driver's head is shaking or not. The shaking state, the
配合圖2所示,以擷取五張如圖2的該人臉圖像,且每一人臉圖像的該第一特徵點的座標值分別為(152,210)、(155,207)、(152,225)、(150,201)、(153,211)為例,若以第二軸向(Y軸)的座標值進行判斷,該狀態監測單元23計算各該人臉圖像中各該第一特徵點第二軸向上的該座標平均值,即210+207+225+201+211=210.8,並將該座標平均值與對應的該第一預設特徵點於第二軸向上的座標值進行比對,當該座標平均值與該預設特徵點的座標值的數值差距超過該抖動臨界值時,該狀態監測單元23即判斷駕駛人存在抖動或晃動等異常狀態。In accordance with FIG. 2 , five face images as shown in FIG. 2 are captured, and the coordinate values of the first feature point of each face image are respectively (152, 210), (155, 207), (152, 225), (150, 201) ), (153, 211) as an example, if the judgment is based on the coordinate value of the second axis (Y axis), 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 state monitoring unit 23 can first remove the two feature points with the maximum coordinate value and the minimum coordinate value in the complex feature points, calculate the average value of the coordinates of the remaining feature points, and also use Take five face images as shown in Figure 2, and the coordinate values of the first feature point of each face image are respectively (152, 210), (155, 207), (152, 225), (150, 201), (153, 211) as an example , if the judgment is based on the coordinate value of the second axis (Y axis), the state monitoring unit 23 judges that the first feature point with the coordinate value of (150, 201) has the minimum coordinate value on the second axis, and the coordinate value is (152, 225 ) of the first feature point has the maximum coordinate value in the second axis, so the state monitoring unit 23 rejects the two first feature points with the coordinate values (150, 201) and (152, 225), and the state monitoring unit 23 calculates the remaining The average value of the coordinates on the second axis of each of the first feature points, that is, 210+207+211=209.3, and the average value of coordinates and the corresponding coordinate values of the first preset feature point on the second axis are calculated. By comparison, when the numerical difference between the coordinate average value and the coordinate value of the preset feature point exceeds the jitter threshold, the
其中,該狀態監測單元23產生的該警示訊號可控制執行該駕駛監測裝置20的該電子裝置,由該電子裝置根據該警示訊號於顯示螢幕上顯示示警訊息,或是發出警示聲響及燈光,藉此警示駕駛人。Wherein, the warning signal generated by the
綜上所述,本發明車內駕駛監測系統1透過該影像擷取裝置10擷取駕駛人操駕車輛時的該駕駛影像,該影像擷取裝置10將該駕駛影像傳輸至該駕駛監測裝置20中,該影像擷取裝置10對該駕駛影像執行該影像處理流程,並將影像處理後的該人臉圖像傳輸至該特徵點辨識單元22,由該特徵點辨識單元22根據該人臉圖像中的人臉五官產生對應不同五官位置的該複數特徵點,後由該狀態監測單元23將該複數特徵點與駕駛人正常狀態時的該複數預設特徵點進行比對,計算該複數特徵點與該複數預設特徵點的座標差距,藉此判斷駕駛人當前狀態是否偏離正常狀態,當該狀態監測單元23判斷駕駛人的狀態出現異常時,即藉由該警示訊號警示駕駛人,提升駕駛人的乘車安全,降低因駕駛人精神不濟、疲勞駕駛而導致交通事故發生的可能性。To sum up, the in-vehicle driving monitoring system 1 of the present invention captures the driving image when the driver drives the vehicle through the
1:車內駕駛監測系統 10:影像擷取裝置 20:駕駛監測裝置 21:影像處理單元 22:特徵點辨識單元 23:狀態監測單元 P1:第一特徵點 P1’:第一預設特徵點 P2:第二特徵點 P2’:第二預設特徵點 P3:第三特徵點 P3’:第三預設特徵點 P4:第四特徵點 P4’:第四預設特徵點 P5:第五特徵點 P5’:第五預設特徵點 P6:第六特徵點 P6’:第六預設特徵點 1: In-vehicle driving monitoring system 10: Image capture device 20: Driving Monitoring Device 21: Image processing unit 22: Feature point identification unit 23: Condition monitoring unit P1: The first feature point P1': The first preset feature point P2: Second feature point P2': The second preset feature point P3: The third feature point P3': The third preset feature point P4: Fourth feature point P4': Fourth preset feature point P5: Fifth feature point P5': The fifth preset feature point P6: Sixth feature point P6': sixth preset feature point
圖1:本發明車內駕駛監測系統的方塊示意圖。 圖2:駕駛正常狀態時正面臉部的人臉圖像示意圖。 圖3:本發明車內駕駛監測系統進行駕駛狀態監測的步驟流程圖。 圖4:影像處理單元進行影像處理流程的步驟流程圖。 圖5A:駕駛人正常狀態的人臉圖像的示意圖。 圖5B:駕駛人閉眼狀態的人臉圖像的示意圖。 圖6A:駕駛人正常狀態的人臉圖像的示意圖。 圖6B:駕駛人低頭狀態的人臉圖像的示意圖。 圖7A:佩戴眼鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖7B:佩戴眼鏡時駕駛人低頭狀態的人臉圖像的示意圖。 圖8A:佩戴眼鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖8B:佩戴眼鏡時駕駛人轉頭狀態的人臉圖像的示意圖。 圖9A:佩戴墨鏡時駕駛人正常狀態的人臉圖像的示意圖。 圖9B:佩戴墨鏡時駕駛人低頭狀態的人臉圖像的示意圖。 FIG. 1 is 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. FIG. 3 is a flow chart of the steps of monitoring the driving state by the in-vehicle driving monitoring system of the present invention. FIG. 4 is a flow chart of the steps of the image processing process performed by the image processing unit. Figure 5A: A schematic diagram of a driver's face image in a normal state. Figure 5B: Schematic diagram of the driver's face image with eyes closed. Fig. 6A: Schematic diagram of a driver's face image in a normal state. Figure 6B: Schematic diagram of the driver's face image in the state of bowing his head. FIG. 7A : A schematic diagram of the face image of a driver in a normal state when wearing glasses. FIG. 7B : A schematic diagram of the face image of the driver in the state of bowing his head when wearing glasses. FIG. 8A : A schematic diagram of a face image of a driver in a normal state when wearing glasses. FIG. 8B : A schematic diagram of the face image of the driver turning his head when wearing glasses. FIG. 9A : A schematic diagram of the face image of the driver in a normal state when wearing sunglasses. FIG. 9B : A schematic diagram of the face image of the driver in the state of bowing his head when wearing sunglasses.
1:車內駕駛監測系統 1: In-vehicle 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 (10)
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 TWI741892B (en) | 2021-10-01 |
TW202222619A true 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) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4259585B2 (en) * | 2007-03-08 | 2009-04-30 | 株式会社デンソー | Sleepiness determination device, program, and sleepiness determination method |
JP2013156707A (en) * | 2012-01-26 | 2013-08-15 | Nissan Motor Co Ltd | Driving support device |
TWI474264B (en) * | 2013-06-14 | 2015-02-21 | 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 |
JP6304999B2 (en) * | 2013-10-09 | 2018-04-04 | アイシン精機株式会社 | Face detection apparatus, method and program |
TWI598258B (en) * | 2016-11-28 | 2017-09-11 | Driving behavior detection method and system thereof | |
CN109190515A (en) * | 2018-08-14 | 2019-01-11 | 深圳壹账通智能科技有限公司 | A kind of method for detecting fatigue driving, computer readable storage medium and terminal device |
CN111079475A (en) * | 2018-10-19 | 2020-04-28 | 上海商汤智能科技有限公司 | Driving state detection method and device, driver monitoring system and vehicle |
JP2020144573A (en) * | 2019-03-06 | 2020-09-10 | オムロン株式会社 | Driver monitoring device |
CN111709264A (en) * | 2019-03-18 | 2020-09-25 | 北京市商汤科技开发有限公司 | Driver attention monitoring method and device and electronic equipment |
-
2020
- 2020-12-01 TW TW109142224A patent/TWI741892B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI741892B (en) | 2021-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109937152B (en) | Driving state monitoring method and device, driver monitoring system and vehicle | |
JP7146959B2 (en) | DRIVING STATE DETECTION METHOD AND DEVICE, DRIVER MONITORING SYSTEM AND VEHICLE | |
KR102469234B1 (en) | Driving condition analysis method and device, driver monitoring system and vehicle | |
WO2019232972A1 (en) | Driving management method and system, vehicle-mounted intelligent system, electronic device and medium | |
US9460601B2 (en) | Driver distraction and drowsiness warning and sleepiness reduction for accident avoidance | |
US10867195B2 (en) | Systems and methods for monitoring driver state | |
KR101386823B1 (en) | 2 level drowsy driving prevention apparatus through motion, face, eye,and mouth recognition | |
US8538044B2 (en) | Line-of-sight direction determination device and line-of-sight direction determination method | |
CN106965675B (en) | A kind of lorry swarm intelligence safety work system | |
JP5549721B2 (en) | Driver monitor device | |
CN108621794B (en) | Display system for vehicle and control method for display system for vehicle | |
WO2016038784A1 (en) | Driver state determination apparatus | |
US11455810B2 (en) | Driver attention state estimation | |
Anjali et al. | Real-time nonintrusive monitoring and detection of eye blinking in view of accident prevention due to drowsiness | |
Kailasam et al. | Accident alert system for driver using face recognition | |
KR102494530B1 (en) | Camera Apparatus Installing at a Car for Detecting Drowsy Driving and Careless Driving and Method thereof | |
KR20150061668A (en) | An apparatus for warning drowsy driving and the method thereof | |
JP2022149287A (en) | Driver monitoring device, driver monitoring method and computer program for driver monitoring | |
KR20220005297A (en) | In-Cabin Security Sensor Installed at a Car and Platform Service Method therefor | |
TWI741892B (en) | In-car driving monitoring system | |
TWI550440B (en) | Method and system for detecting person to use handheld apparatus | |
US11983941B2 (en) | Driver monitor | |
KR20190044818A (en) | Apparatus for monitoring driver and method thereof | |
JP6689470B1 (en) | Information processing apparatus, program, and information processing method | |
CN114596687A (en) | In-vehicle driving monitoring system |