TW201515888A - Warning system and method for vehicle - Google Patents

Warning system and method for vehicle Download PDF

Info

Publication number
TW201515888A
TW201515888A TW102137996A TW102137996A TW201515888A TW 201515888 A TW201515888 A TW 201515888A TW 102137996 A TW102137996 A TW 102137996A TW 102137996 A TW102137996 A TW 102137996A TW 201515888 A TW201515888 A TW 201515888A
Authority
TW
Taiwan
Prior art keywords
image
moving object
scene
distance
warning
Prior art date
Application number
TW102137996A
Other languages
Chinese (zh)
Inventor
Hou-Hsien Lee
Chang-Jung Lee
Chih-Ping Lo
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102137996A priority Critical patent/TW201515888A/en
Publication of TW201515888A publication Critical patent/TW201515888A/en

Links

Landscapes

  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

A warning system for a vehicle includes a capture device, a processor device, and a warning device. The capture device is used to capture image about a scene, and generates a video stream. The processor device determines whether a moving object retains therein. When a moving object retains in the scene, the processor device generates speed of the moving object according to a location of the moving object and a frequency that the capture device captures image. The processor device further generates a number of warning levels according to the location and the speed of the moving object, to prompt the warning device to alarm.

Description

車輛預警系統及方法Vehicle warning system and method

本發明係關於一種車輛預警系統及方法。The present invention relates to a vehicle warning system and method.

當公車進行停靠作業時,常發生後方的機車或腳踏車的騎士因不耐等候等因素強行於公車與站牌之間通行。然,習知之公車設備無法對公車車門範圍與後方道路之狀況進行判別,如此,當車內人員在未確實留意後方來車等道路狀況便貿然走下公車時,便容易造成強行行駛公車與站牌之間的車輛因閃避不及而撞擊下車人員等意外發生。When the bus is parked, the knight who is often behind the locomotive or bicycle is forced to pass between the bus and the stop sign due to factors such as impatience waiting. However, the conventional bus equipment cannot distinguish between the condition of the bus door and the condition of the rear road. Therefore, when the vehicle personnel rush to get off the bus without paying attention to the road conditions such as the rear car, it is easy to cause the bus and the station to be forced. The vehicle between the cards accidentally occurred due to the fact that the vehicle was hit by the driver.

鑒於以上內容,有必要提供一種可提示下車人員道路狀況的車輛預警系統及方法。In view of the above, it is necessary to provide a vehicle warning system and method that can prompt the person getting off the road.

一種車輛預警系統,包括:A vehicle warning system includes:

一攝像裝置,用於對一場景進行拍攝以獲取對應於該場景的影像畫面,該攝像裝置還用於輸出包含該場景內每一物體相對於該攝像裝置的距離訊息的影像畫面;An image capturing device is configured to capture a scene to obtain an image frame corresponding to the scene, and the camera device is further configured to output an image image including a distance information of each object in the scene relative to the camera device;

一處理裝置,接收該攝像裝置傳輸的包含該場景內每一物體相對於該攝像裝置的距離訊息的影像畫面,並根據該影像畫面判斷該場景中是否存在移動物體;當該場景中存在移動物體時,該處理裝置根據該物體與該拍攝裝置之間的距離及該攝像裝置拍攝該場景的頻率計算出該移動物體的速度;該處理裝置還根據該移動物體的位置及速度設定對應的預警等級;及a processing device, receiving an image frame transmitted by the camera device and including a distance information of each object in the scene relative to the camera device, and determining, according to the image frame, whether there is a moving object in the scene; when there is a moving object in the scene The processing device calculates the speed of the moving object according to the distance between the object and the photographing device and the frequency at which the camera captures the scene; the processing device also sets a corresponding warning level according to the position and speed of the moving object. ;and

一警示裝置,根據每一預警等級輸出對應的警示訊息。A warning device outputs a corresponding warning message according to each warning level.

一種車輛預警方法,包括:A vehicle warning method includes:

獲取對應於一場景的影像畫面;Obtaining an image image corresponding to a scene;

輸出包含該場景內每一物體相對於一攝像裝置的距離訊息的影像畫面;Outputting an image frame containing distance information of each object in the scene relative to a camera device;

判斷該場景中是否存在移動物體;Determining whether there is a moving object in the scene;

當該場景中存在移動物體時,根據該移動物體與該拍攝裝置之間的距離及該攝像裝置拍攝該場景的頻率計算出該移動物體的速度;When there is a moving object in the scene, the speed of the moving object is calculated according to the distance between the moving object and the photographing device and the frequency at which the camera captures the scene;

根據該移動物體的位置及速度設定對應的預警等級;及Setting a corresponding warning level according to the position and speed of the moving object; and

根據每一預警等級輸出對應的警示訊息。The corresponding warning message is output according to each warning level.

上述車輛預警系統及方法根據場景中存在移動物體的位置及運行速度來設定對應的預警等級,如此方便提醒車內人員安全下車。The above vehicle early warning system and method set the corresponding early warning level according to the position and running speed of the moving object in the scene, so that it is convenient to remind the vehicle personnel to get off safely.

圖1是本發明車輛預警系統的較佳實施方式的方框圖。1 is a block diagram of a preferred embodiment of the vehicle warning system of the present invention.

圖2是圖1中攝像裝置及處理裝置的較佳實施方式的方框圖。Figure 2 is a block diagram of a preferred embodiment of the camera device and processing device of Figure 1.

圖3是圖1中警示裝置安裝於一車輛的示意圖。3 is a schematic view of the warning device of FIG. 1 mounted on a vehicle.

圖4是圖1中影像判斷單元判斷場景內是否存在移動物體的示意圖。4 is a schematic diagram of the image determination unit of FIG. 1 determining whether a moving object exists in the scene.

圖5是本發明車輛預警方法的較佳實施方式的流程圖。Figure 5 is a flow chart of a preferred embodiment of the vehicle warning method of the present invention.

圖6是圖5中步驟S4的較佳實施方式的流程圖。Figure 6 is a flow chart of a preferred embodiment of step S4 of Figure 5.

圖7是圖5中步驟S5的較佳實施方式的流程圖。Figure 7 is a flow chart of a preferred embodiment of step S5 of Figure 5.

圖8是圖5中步驟S7與步驟S8之間包括的流程圖。Figure 8 is a flow chart included between step S7 and step S8 of Figure 5.

請參考圖1,本發明車輛預警系統的較佳實施方式包括一用於獲取一場景60(圖4所示)的影像畫面的攝像裝置10、一用於存儲該影像畫面的存儲裝置40、一用於判斷該場景中是否存在移動物體的處理裝置20及一根據該場景60中移動物體的位置及速度輸出對應的警示訊息的警示裝置30。本實施方式中,該攝像裝置10安裝於一車輛50(如圖3所示)前部的右前方,用於對該車輛50後方的空間(即該場景60)進行拍攝。Referring to FIG. 1 , a preferred embodiment of the vehicle warning system of the present invention includes an imaging device 10 for acquiring an image frame of a scene 60 (shown in FIG. 4 ), a storage device 40 for storing the image frame, and a storage device 40 . The processing device 20 for determining whether there is a moving object in the scene and a warning device 30 for outputting a corresponding warning message according to the position and speed of the moving object in the scene 60. In the present embodiment, the imaging device 10 is mounted on the right front of the front portion of a vehicle 50 (shown in FIG. 3) for imaging the space behind the vehicle 50 (ie, the scene 60).

請參考圖2及圖3,該攝像裝置10包括一光束發生單元100、一模型建立單元102及一影像輸出單元104。Referring to FIG. 2 and FIG. 3 , the camera device 10 includes a light beam generating unit 100 , a model establishing unit 102 , and an image output unit 104 .

該光束發生單元100用於在該場景60中持續輸出一參考光束。該模型建立單元102根據該參考光束的發射與接收之間的時間差以獲取該場景60的影像及該場景60中物體與該攝像裝置10之間的距離。The beam generating unit 100 is configured to continuously output a reference beam in the scene 60. The model establishing unit 102 acquires an image of the scene 60 and a distance between the object in the scene 60 and the camera device 10 according to a time difference between transmission and reception of the reference beam.

本實施方式中,該光束發生單元100產生的參考光束在該場景60內進行傳輸,當該場景60中存在物體時,該參考光束的傳播將會受到阻礙,進而使得該參考光束被物體反射回來。當該攝像裝置10接收到被物體反射的參考光束時,該模型建立單元102根據發射該參考光束與接收該參考光束之間的時間差及該參考光束傳輸的速度來計算該物體與該攝像裝置10之間的距離,以建立包含該物體三維模型的影像畫面。本實施方式中,該物體與該攝像裝置10之間的距離被轉化為對應的畫 素值(255~0)。例如,假設該攝像裝置10可偵測的最大距離為15米,此時該最大距離對應的畫素值為255。該模型建立單元102則根據偵測得到該物體與該攝像裝置10之間的距離與該最大偵測距離及該最大偵測距離對應的畫素值之間的比例關系產生該物體相對於該攝像裝置10之間距離的畫素值。本實施方式中,該攝像裝置10以每秒拍攝十張影像的頻率對該場景60進行拍攝。In this embodiment, the reference beam generated by the beam generating unit 100 is transmitted in the scene 60. When an object exists in the scene 60, the propagation of the reference beam will be hindered, and the reference beam is reflected back by the object. . When the camera device 10 receives the reference beam reflected by the object, the model establishing unit 102 calculates the object and the camera device 10 according to the time difference between transmitting the reference beam and receiving the reference beam and the speed of the reference beam transmission. The distance between them to create an image of the image containing the 3D model of the object. In the present embodiment, the distance between the object and the image pickup apparatus 10 is converted into a corresponding pixel value (255 to 0). For example, suppose the maximum distance that the camera device 10 can detect is 15 meters, and the maximum distance corresponding to the pixel value is 255. The model establishing unit 102 generates the object relative to the camera according to the relationship between the distance between the object and the camera device 10 and the pixel value corresponding to the maximum detection distance and the maximum detection distance. The pixel value of the distance between the devices 10. In the present embodiment, the imaging device 10 images the scene 60 at a frequency of capturing ten images per second.

該警示裝置30包括一警示燈300及一警示音播放裝置302。該警示燈300安裝於該車輛50的外側,以警示該車輛50外部的其他車輛或行人,該警示音播放裝置302安裝於該車輛50的車門500的位置,以提示該車輛50內的乘車人員。在其他實施方式中,該警示燈300亦可安裝於該車輛50的車廂內部,以警示該車輛50內部的乘車人員。The alert device 30 includes a warning light 300 and a warning tone playback device 302. The warning light 300 is mounted on the outside of the vehicle 50 to alert other vehicles or pedestrians outside the vehicle 50. The warning tone playing device 302 is installed at the position of the door 500 of the vehicle 50 to prompt the vehicle in the vehicle 50. personnel. In other embodiments, the warning light 300 can also be mounted inside the cabin of the vehicle 50 to alert the occupants inside the vehicle 50.

該影像輸出單元104用於輸出該模型建立單元102生成的包含該場景60的三維模型的影像畫面。The image output unit 104 is configured to output an image screen of the three-dimensional model of the scene 60 generated by the model establishing unit 102.

該處理裝置20包括一影像獲取單元200、一影像判斷單元202及一警示設定單元204。The processing device 20 includes an image acquisition unit 200, an image determination unit 202, and an alert setting unit 204.

該影像獲取單元200用於獲取該攝像裝置10傳輸包含該場景60的三維模型的影像畫面。The image acquisition unit 200 is configured to acquire the image frame of the three-dimensional model including the scene 60 by the imaging device 10 .

該影像判斷單元202判斷該影像獲取單元200接收得到的影像畫面中是否存在移動物體。The image determining unit 202 determines whether the moving image is present in the obtained image frame by the image acquiring unit 200.

請參考圖4,該影像判斷單元202根據該影像中前後兩幀相鄰的影像來判斷該場景60中是否存在移動物體。本實施方式中,該影像畫面中前後兩幀相鄰的影像分別定義為第一及第二影像600及602。具體地,假設該第一及第二影像600及602中均存在一移動物體80。該影像判斷單元202獲取該第一影像600的特徵值與該第二影像602的特徵值,並根據該第一影像600及該第二影像602的特徵值判斷該第一及第二影像600及602中是否存在具有不同特徵值的區域;當該第一影像600與該第二影像602中存在具有不同特徵值的區域時,該影像判斷單元202則判定該場景60中存在移動物體,此時,該影像判斷單元202還獲取該移動物體在該第一及第二影像600及602中的位置。當該第一影像600與該第二影像602的特徵值相同時,該影像判斷單元202則判斷該場景60中不存在移動物體。Referring to FIG. 4, the image determining unit 202 determines whether there is a moving object in the scene 60 according to images adjacent to the two frames in the image. In this embodiment, images adjacent to two frames in the image frame are defined as first and second images 600 and 602, respectively. Specifically, it is assumed that a moving object 80 exists in both the first and second images 600 and 602. The image determining unit 202 obtains the feature value of the first image 600 and the feature value of the second image 602, and determines the first and second images 600 according to the feature values of the first image 600 and the second image 602. Whether there is an area with different feature values in the 602; when there is an area with different feature values in the first image 600 and the second image 602, the image determining unit 202 determines that there is a moving object in the scene 60. The image determining unit 202 also acquires the position of the moving object in the first and second images 600 and 602. When the feature values of the first image 600 and the second image 602 are the same, the image determining unit 202 determines that there is no moving object in the scene 60.

本實施方式中,當該第一影像600與該第二影像602中存在具有不同特徵值的區域時,該影像判斷單元202將該第一影像600與該第二影像602中具有特徵值不同的區域作為一第三影像604。該影像判斷單元202還根據該第一影像600及第三影像604獲取該移動物體80在該第一影像600中的位置,如該第一影像600中的第一位置83;該影像判斷單元202還根據該第二影像602及第三影像604獲取該移動物體80在該第二影像602中的位置,如該第二影像602中的一第二位置82。In the embodiment, when there is an area having different feature values in the first image 600 and the second image 602, the image determining unit 202 has different feature values in the first image 600 and the second image 602. The area acts as a third image 604. The image determining unit 202 further acquires the position of the moving object 80 in the first image 600 according to the first image 600 and the third image 604, such as the first position 83 in the first image 600; the image determining unit 202 The position of the moving object 80 in the second image 602 is obtained according to the second image 602 and the third image 604, such as a second position 82 in the second image 602.

在其他實施方式,該影像判斷單元204根據模型偵測方法來獲得影像中對應的物體,以此獲取該移動物體80在對應的影像中的位置,其中模型偵測方法為習知技術,故在此不再贅述。In other embodiments, the image determining unit 204 obtains the corresponding object in the image according to the model detecting method, so as to obtain the position of the moving object 80 in the corresponding image, wherein the model detecting method is a conventional technique, so This will not be repeated here.

當該場景60中存在移動物體時,該警示設定單元204根據該移動物體在前後相鄰兩幀影像中位置分別獲取該移動物體對應於該攝像裝置10之間的距離。因該移動物體80的三維模型中包含該物體與該拍攝裝置10之間的距離訊息的畫素值,故,該警示設定單元204根據該移動物體在對應影像中的位置來計算該物體物體80與該攝像裝置10之間的距離,如根據該移動物體在該第一影像600中的第一位置83獲取該移動物體與該攝像裝置10之間的距離,以得到一第一距離,還根據該移動物體在該第二影像602中的第二位置82獲取該移動物體與該攝像裝置10之間的距離,以得到一第二距離。該警示設定單元204還根據前後相鄰兩幀影像中該移動物體與該攝像裝置10之間的距離之差與該拍攝裝置10拍攝的頻率計算該移動物體速度,並根據該移動物體當前與該攝像裝置10的距離與速度來設定對應的預警等級。如該預警等級包括低度預警、中度預警及高度預警。When there is a moving object in the scene 60, the alert setting unit 204 respectively acquires the distance between the moving object corresponding to the camera device 10 according to the position of the moving object in the two adjacent frames. Since the three-dimensional model of the moving object 80 includes the pixel value of the distance information between the object and the photographing device 10, the alert setting unit 204 calculates the object object 80 according to the position of the moving object in the corresponding image. a distance from the camera device 10, such as obtaining a distance between the moving object and the camera device 10 according to the first position 83 of the moving object in the first image 600, to obtain a first distance, The moving object acquires a distance between the moving object and the camera device 10 at a second position 82 in the second image 602 to obtain a second distance. The alert setting unit 204 further calculates the moving object speed according to the difference between the distance between the moving object and the camera device 10 in the adjacent two frames of images, and the frequency captured by the camera device 10, and according to the moving object currently The distance and speed of the imaging device 10 are set to correspond to an early warning level. If the warning level includes low warning, medium warning and high warning.

具體地,當該拍攝裝置10偵測的距離為15米,該拍攝裝置10拍攝的頻率為十張每秒時,若該警示設定單元204計算出該移動物體在前後相鄰兩張影像中位置對應於該拍攝裝置10之間的距離差小於0.6米時,則可以計算出該移動物體的速度小於20千米每小時。該警示設定單元204將該移動物體設定為低度預警。此時,該警示設定單元204則控制該警示裝置30中的警示音播放裝置302發出較和緩之提示聲響,還控制該警示燈300提示低閃爍頻率黃色訊號。當該拍攝裝置10偵測的距離為15米,該拍攝裝置10拍攝的頻率為十張每秒時,若該警示設定單元204計算出該移動物體在前後相鄰兩張影像中位置對應於該拍攝裝置10之間的距離差位於0.6米與1.1米之間時,則可以計算出該移動物體的速度位於20~40千米每小時。該警示設定單元204將該移動物體設定為中度預警。此時,該警示設定單元204則控制該警示裝置30中的警示音播放裝置302發出較為急促之提示聲響,還控制該警示燈300提示高閃爍頻率黃色提示。當該拍攝裝置10偵測的距離為15米,該拍攝裝置10拍攝的頻率為十張每秒時,若該警示設定單元204計算出該移動物體在前後相鄰兩張影像中位置對應於該拍攝裝置10之間的距離差大於1.1米時,則可以計算出該移動物體的速度大於40千米每小時。該警示設定單元204將該移動物體設定為高度預警。此時,該警示設定單元204則控制該警示裝置30中的警示音播放裝置302發出急促且分貝較高之提示聲響,還控制該警示燈300提示高閃爍頻率黃色提示。Specifically, when the shooting device 10 detects a distance of 15 meters and the shooting device 10 captures a frequency of ten frames per second, if the warning setting unit 204 calculates the position of the moving object in the two adjacent images Corresponding to the difference in distance between the photographing devices 10 being less than 0.6 meters, the speed of the moving object can be calculated to be less than 20 kilometers per hour. The alert setting unit 204 sets the moving object as a low alert. At this time, the warning setting unit 204 controls the warning sound playing device 302 in the warning device 30 to emit a relatively gentle sound, and also controls the warning light 300 to prompt a low blinking frequency yellow signal. When the shooting device 10 detects a distance of 15 meters and the shooting device 10 captures a frequency of ten frames per second, if the warning setting unit 204 calculates that the moving object corresponds to the position in the two adjacent images. When the distance difference between the photographing devices 10 is between 0.6 m and 1.1 m, the speed of the moving object can be calculated to be 20 to 40 km per hour. The alert setting unit 204 sets the moving object as a medium alert. At this time, the warning setting unit 204 controls the warning sound playing device 302 in the warning device 30 to emit a prompting sound, and also controls the warning light 300 to prompt a high blinking frequency yellow prompt. When the shooting device 10 detects a distance of 15 meters and the shooting device 10 captures a frequency of ten frames per second, if the warning setting unit 204 calculates that the moving object corresponds to the position in the two adjacent images. When the distance difference between the photographing devices 10 is greater than 1.1 meters, the speed of the moving object can be calculated to be greater than 40 kilometers per hour. The alert setting unit 204 sets the moving object as a height alert. At this time, the warning setting unit 204 controls the warning sound playing device 302 in the warning device 30 to emit a prompt sound with a high decibel and a high decibel frequency, and also controls the warning light 300 to prompt a high blinking frequency yellow prompt.

在其他實施方式中,該警示設定單元204還可根據該移動物體80當前的位置與該移動物體80的速度之間的權重來設定對應的預警等級。In other embodiments, the alert setting unit 204 can also set a corresponding alert level according to the weight between the current position of the moving object 80 and the speed of the moving object 80.

在其他實施方式中,當該場景60中存在移動物體80時,該影像判斷單元202還根據該影像畫面中前後相鄰的兩幀影像判斷該移動物體80的運行方向是否遠離該車輛50運行。當該移動物體80遠離該車輛50運行時,該警示設定單元204則控制該警示裝置30不輸出警示訊號。否則,當該移動物體80朝向該車輛50運行時,該警示設定單元204則根據該移動物體80的位置及速度設定對應的預警等級,以向車內人員提示警示訊息。In other embodiments, when there is a moving object 80 in the scene 60, the image determining unit 202 determines whether the running direction of the moving object 80 is away from the vehicle 50 according to the two frames of images adjacent to each other in the image frame. When the moving object 80 is operated away from the vehicle 50, the alert setting unit 204 controls the alert device 30 not to output an alert signal. Otherwise, when the moving object 80 is running toward the vehicle 50, the warning setting unit 204 sets a corresponding warning level according to the position and speed of the moving object 80 to prompt the insider to alert the vehicle.

在其他實施方式中,當該場景60中不存在移動物體時,該警示設定單元204不輸出警示訊息。In other embodiments, when there is no moving object in the scene 60, the alert setting unit 204 does not output an alert message.

本實施方式中,該影像判斷單元202根據該第一影像600的第一位置83的畫素值與該第二影像602的第二位置82的畫素值分別與該攝像裝置10之間的距離關系來判斷該移動物體80是否遠離該車輛50運行,如當該第二影像602的第二位置82相對於該攝像裝置10的距離大於該第一影像600的第一位置83相對於攝像裝置10的距離時,則判定該移動物體80遠離該車輛50行駛;否則,當該第二影像602的第二位置82相對於該攝像裝置10的距離小於該第一影像600的第一位置83相對於攝像裝置10的距離時,則判定該移動物體80朝向該車輛50行駛。In this embodiment, the image determining unit 202 selects a distance between the pixel value of the first position 83 of the first image 600 and the pixel value of the second position 82 of the second image 602 and the camera device 10 respectively. A relationship is made to determine whether the moving object 80 is running away from the vehicle 50, such as when the second position 82 of the second image 602 is greater than the first position 83 of the first image 600 relative to the camera 10 with respect to the camera device 10 When the distance is determined, the moving object 80 is determined to be away from the vehicle 50; otherwise, when the second position 82 of the second image 602 is smaller than the first position 83 of the first image 600 relative to the camera device 10 When the distance of the imaging device 10 is reached, it is determined that the moving object 80 is traveling toward the vehicle 50.

請參考圖5,本發明車輛預警方法的實施方式包括如下步驟:Referring to FIG. 5, an embodiment of the vehicle warning method of the present invention includes the following steps:

步驟S1,透過該攝像裝置10對場景60以預定頻率進行拍攝,以獲取相對於該場景的兩張影像畫面。In step S1, the scene 60 is photographed by the imaging device 10 at a predetermined frequency to acquire two image frames with respect to the scene.

步驟S2,對該兩影像畫面進行三維建模,以得到對應於該場景的三維模型。該三維模型包括該場景中每一物體與該攝像裝置10之間的距離訊息。每一物體的距離訊息透過對應的畫素值來表示。In step S2, the two image frames are three-dimensionally modeled to obtain a three-dimensional model corresponding to the scene. The three-dimensional model includes a distance information between each object in the scene and the camera device 10. The distance information of each object is represented by the corresponding pixel value.

步驟S3,該影像判斷單元202對該兩張影像畫面進行偵測。In step S3, the image determining unit 202 detects the two image frames.

步驟S4,該影像判斷單元202判斷該場景中是否存在移動物體。當該場景中存在移動物體時,執行步驟S5;否則,當該場景中不存在移動物體時,返回步驟S1。In step S4, the image determining unit 202 determines whether there is a moving object in the scene. When there is a moving object in the scene, step S5 is performed; otherwise, when there is no moving object in the scene, the process returns to step S1.

步驟S5,該影像判斷單元202获取移動物體在前後相鄰兩幀影像中的位置。In step S5, the image determining unit 202 acquires the position of the moving object in the two adjacent frames.

步驟S6,該警示設定單元204根據該移動物體在前後相鄰兩幀影像中位置分別獲取該移動物體對應於該攝像裝置的距離。In step S6, the alert setting unit 204 respectively acquires the distance of the moving object corresponding to the camera device according to the position of the moving object in the two adjacent frames.

步驟S7,該警示設定單元204根據該移動物體在前後兩幀影像中位置對應於該攝像裝置10的距離之差及該影像拍攝的頻率計算移動物體的移動速度。In step S7, the alert setting unit 204 calculates the moving speed of the moving object according to the difference between the distance of the moving object in the two frames of the image corresponding to the distance of the image capturing device 10 and the frequency of the image capturing.

步驟S8,根據該移動物體當前與該攝像裝置的位置及速度設定對應的預警等級。Step S8, according to the current object and the position and speed of the camera device, the corresponding warning level is set.

步驟S9,根據預警等級輸出對應的警示訊號。In step S9, the corresponding warning signal is output according to the warning level.

請參考圖6,本實施方式中,步驟S4還包括如下步驟:Referring to FIG. 6, in this embodiment, step S4 further includes the following steps:

步驟S40,該影像判斷單元202獲取前後相鄰兩幀的第一及第二影像的特徵值。In step S40, the image determining unit 202 acquires feature values of the first and second images of two adjacent frames.

步驟S44,該影像判斷單元202判斷該第一及第二影像是否具有不同特徵值的區域。當該第一及第二影像具有不同特徵值的區域時,執行步驟S46;否則,當該第一及第二影像不具有不同特徵值的區域時,執行步驟S48。In step S44, the image determining unit 202 determines whether the first and second images have regions with different feature values. When the first and second images have regions with different feature values, step S46 is performed; otherwise, when the first and second images do not have regions with different feature values, step S48 is performed.

步驟S46,該影像判斷單元202判斷該場景內存在移動物體。In step S46, the image determining unit 202 determines that there is a moving object in the scene.

步驟S48,該影像判斷單元202判斷該場景內不存在移動物體。In step S48, the image determining unit 202 determines that there is no moving object in the scene.

請參考圖7,本實施方式中,步驟S5還包括如下步驟:Referring to FIG. 7, in this embodiment, step S5 further includes the following steps:

步驟S52,該影像判斷單元202將該第一影像600與該第二影像中特徵值不同的區域作為第三影像604。In step S52, the image determining unit 202 uses the region between the first image 600 and the second image as the third image 604.

步驟S56,該影像判斷單元202根據該第一影像600及第三影像604獲取該移動物體在該第一影像600中的第一位置83。In step S56, the image determining unit 202 acquires the first position 83 of the moving object in the first image 600 according to the first image 600 and the third image 604.

步驟S58,該影像判斷單元202根據該第二影像602及第三影像604獲取該移動物體在該第二影像602中的第二位置83。In step S58, the image determining unit 202 acquires the second position 83 of the moving object in the second image 602 according to the second image 602 and the third image 604.

請參考圖8,本實施方式中,步驟S7與步驟S8之間還包括如下步驟:Referring to FIG. 8, in this embodiment, the following steps are further included between step S7 and step S8:

步驟S74,該警示設定單元204根據前後兩幀相鄰的影像中移動物體的位置判斷該移動物體是否遠離車輛運行,當該移動物體遠離該車輛運行時,執行步驟S76;否則,當該移動物體朝向該車輛運行時,執行步驟S8。Step S74, the warning setting unit 204 determines whether the moving object is away from the vehicle according to the position of the moving object in the adjacent images of the two frames before and after, and when the moving object is away from the vehicle, step S76 is performed; otherwise, when the moving object When the vehicle is running, step S8 is performed.

步驟S76,關閉警示訊號。In step S76, the warning signal is turned off.

上述車輛預警系統及方法根據場景中存在移動物體的位置及運行速度來設定對應的預警等級,如此方便提醒車內人員安全下車。該車輛預警系統及方法還根據該移動物體的運行方向來控制警示裝置是否傳輸對應的警示訊號,進而提高預警的準確性。The above vehicle early warning system and method set the corresponding early warning level according to the position and running speed of the moving object in the scene, so that it is convenient to remind the vehicle personnel to get off safely. The vehicle warning system and method further controls whether the warning device transmits a corresponding warning signal according to the running direction of the moving object, thereby improving the accuracy of the warning.

綜上所述,本發明確已符合發明專利的要件,爰依法提出專利申請。惟,以上所述者僅為本發明的較佳實施方式,本發明的範圍並不以上述實施方式為限,舉凡熟悉本案技藝的人士援依本發明的精神所作的等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and those skilled in the art will be able to make equivalent modifications or variations in accordance with the spirit of the present invention. It should be covered by the following patent application.

10‧‧‧攝像裝置10‧‧‧ camera

20‧‧‧處理裝置20‧‧‧Processing device

30‧‧‧警示裝置30‧‧‧Warning device

40‧‧‧存儲裝置40‧‧‧Storage device

100‧‧‧光束發生單元100‧‧‧beam generating unit

102‧‧‧模型建立單元102‧‧‧Model building unit

104‧‧‧影像輸出單元104‧‧‧Image output unit

200‧‧‧影像獲取單元200‧‧‧Image acquisition unit

202‧‧‧影像判斷單元202‧‧‧Image Judging Unit

204‧‧‧警示設定單元204‧‧‧Warning setting unit

60‧‧‧場景60‧‧‧Scenario

80‧‧‧移動物體80‧‧‧moving objects

600、602、604‧‧‧第一至第三影像600, 602, 604‧‧ first to third images

50‧‧‧車輛50‧‧‧ Vehicles

300‧‧‧警示燈300‧‧‧ warning lights

500‧‧‧車門500‧‧ ‧ car door

302‧‧‧警示音播放裝置302‧‧‧Warning sound playback device

83‧‧‧第一位置83‧‧‧ first position

82‧‧‧第二位置82‧‧‧second position

no

10‧‧‧攝像裝置 10‧‧‧ camera

20‧‧‧處理裝置 20‧‧‧Processing device

30‧‧‧警示裝置 30‧‧‧Warning device

40‧‧‧存儲裝置 40‧‧‧Storage device

Claims (14)

一種車輛預警系統,包括:
一攝像裝置,用於對一場景進行拍攝以獲取對應於該場景的影像畫面,該攝像裝置還用於輸出包含該場景內每一物體相對於該攝像裝置的距離訊息的影像畫面;
一處理裝置,接收該攝像裝置傳輸的包含該場景內每一物體相對於該攝像裝置的距離訊息的影像畫面,並根據該影像畫面判斷該場景中是否存在移動物體;當該場景中存在移動物體時,該處理裝置根據該移動物體先後兩次拍攝時與該拍攝裝置之間的距離差及該攝像裝置拍攝該場景的頻率計算出該移動物體的速度;該處理裝置還根據該移動物體的速度設定對應的預警等級;及
一警示裝置,根據每一預警等級輸出對應的警示訊息。
A vehicle warning system includes:
An image capturing device is configured to capture a scene to obtain an image frame corresponding to the scene, and the camera device is further configured to output an image image including a distance information of each object in the scene relative to the camera device;
a processing device, receiving an image frame transmitted by the camera device and including a distance information of each object in the scene relative to the camera device, and determining, according to the image frame, whether there is a moving object in the scene; when there is a moving object in the scene When the processing device calculates the speed of the moving object according to the distance difference between the moving object and the shooting device and the frequency at which the camera captures the scene; the processing device is further configured according to the speed of the moving object. Setting a corresponding warning level; and a warning device, outputting a corresponding warning message according to each warning level.
如申請專利範圍第1項所述之車輛預警系統,其中該攝像裝置包括一光束發生單元、一模型建立單元及一影像輸出單元,該光束發生單元用於發出一參考光束;當該場景內存在一物體時,該參考光束被反射;該模型建立單元根據該發出參考光束與接收到該被反射的參考光束的時間差產生該物體對應於該摄像装置的距離訊息,該影像輸出單元輸出包含該物體相對於該摄像装置的距離訊息的影像畫面。The vehicle warning system of claim 1, wherein the camera device comprises a beam generating unit, a model establishing unit and an image output unit, wherein the beam generating unit is configured to emit a reference beam; when the scene exists The reference beam is reflected when the object is reflected; the model establishing unit generates a distance information corresponding to the camera according to the time difference between the emitted reference beam and the received reference beam, the image output unit output containing the object An image screen of the distance message relative to the camera. 如申請專利範圍第1項所述之車輛預警系統,其中該處理裝置包括一影像獲取單元、一影像判斷單元及一警示設定單元;該影像獲取單元用於獲取該攝像裝置輸出的影像畫面,該影像判斷單元獲取該影像畫面中前後兩幀相鄰的第一及第二影像,並獲取該第一及第二影像的特徵值;該影像判斷單元判斷該第一及第二影像中是否存在具有不同特徵值的區域;當該第一及第二影像中存在不同特徵值的區域時,該影像判斷單元判定該場景中存在移動物體;當該第一及第二影像中的特徵值相同時,該影像判斷單元判定該場景中不存在移動物體。The vehicle warning system of claim 1, wherein the processing device comprises an image acquisition unit, an image determination unit, and an alarm setting unit; the image acquisition unit is configured to acquire an image image output by the camera device, The image determining unit acquires the first and second images adjacent to the two frames in the image frame, and acquires feature values of the first and second images; the image determining unit determines whether the first and second images have An area of different feature values; when there are regions of different feature values in the first and second images, the image determining unit determines that there is a moving object in the scene; when the feature values in the first and second images are the same, The image determination unit determines that there is no moving object in the scene. 如申請專利範圍第3項所述之車輛預警系統,其中該影像判斷單元還获取移動物體在前後相鄰兩幀影像中的位置,並根據該移動物體在前後相鄰兩幀影像中位置分別獲取該移動物體對應於該攝像裝置的距離,該影像判斷單元還根據前後相鄰兩幀影像中該移動物體與該攝像裝置距離之差與該拍攝裝置拍攝的頻率計算該移動物體速度。The vehicle warning system according to claim 3, wherein the image determining unit further acquires a position of the moving object in two adjacent frames, and obtains the position of the moving object in the two adjacent frames. The moving object corresponds to the distance of the camera, and the image determining unit further calculates the moving object speed according to the difference between the distance between the moving object and the camera in the two adjacent frames and the frequency captured by the camera. 如申請專利範圍第4項所述之車輛預警系統,其中該影像判斷單元將該第一影像與該第二影像中特徵值不同的區域作為一第三影像;該影像判斷單元根據該第一影像及第三影像獲取該移動物體在該第一影像中的第一位置,並根據該第二影像及第三影像獲取該移動物體在該第二影像中的第二位置;該警示設定單元根據該移動物體在該第一影像中第一位置與在該第二影像中第二位置分別對應於該攝像裝置的距離之差及該拍攝裝置拍攝的頻率計算該移動物體速度。The vehicle warning system according to the fourth aspect of the invention, wherein the image determining unit uses the region of the first image and the second image as a third image; the image determining unit is configured according to the first image. And acquiring a first position of the moving object in the first image, and acquiring a second position of the moving object in the second image according to the second image and the third image; the warning setting unit is configured according to the The moving object calculates the moving object speed at a difference between a first position in the first image and a distance corresponding to the camera in the second position in the second image and a frequency captured by the camera. 如申請專利範圍第5項所述之車輛預警系統,其中該影像判斷單元還根據前後兩幀相鄰的影像中移動物體的位置對應於該攝像裝置的距離判斷該移動物體的運行方向;當該第二影像的第二位置相對於該攝像裝置的距離大於該第一影像的第一位置相對於攝像裝置的距離時,該影像判斷單元判定該移動物體遠離該車輛行駛;當該第二影像的第二位置相對於該攝像裝置的距離小於該第一影像的第一位置相對於攝像裝置的距離時,該影像判斷單元判定該移動物體朝向該車輛行駛。The vehicle warning system according to claim 5, wherein the image determining unit further determines a running direction of the moving object according to a distance of a position of the moving object corresponding to the camera device in the adjacent images of the two frames before and after; When the distance of the second position of the second image relative to the camera device is greater than the distance of the first position of the first image relative to the camera device, the image determining unit determines that the moving object is traveling away from the vehicle; when the second image is When the distance of the second position relative to the imaging device is smaller than the distance of the first position of the first image with respect to the imaging device, the image determination unit determines that the moving object is traveling toward the vehicle. 如申請專利範圍第1-6任意一項所述之車輛預警系統,其中該場景內的物體的距離訊息透過對應的畫素值來表示,該攝像裝置偵測的最大距離對應的畫素值為一第一值;該模型建立單元根據偵測得到該物體與該攝像裝置之間的距離與該最大距離及該最大距離對應的畫素值之間的比例關系產生對應於該物體的畫素值。The vehicle warning system according to any one of claims 1-6, wherein the distance information of the object in the scene is represented by a corresponding pixel value, and the maximum distance detected by the camera device corresponds to a pixel value. a first value; the model establishing unit generates a pixel value corresponding to the object according to a proportional relationship between a distance between the object and the camera device and a maximum distance and a pixel value corresponding to the maximum distance . 如申請專利範圍第2-6任意一項所述之車輛預警系統,其中該警示設定單元根據該移動物體速度設定對應的預警等級,當該移動物體的速度小於一第一預設值時,該警示裝置輸出一第一警示訊息;當該移動物體的速度大於該第一預設值且小於一第二預設值時,該警示裝置輸出一第二警示訊息;當該移動物體的速度大於該第二預設值時,該警示裝置輸出一第三警示訊息。The vehicle warning system according to any one of claims 2-6, wherein the warning setting unit sets a corresponding warning level according to the moving object speed, when the speed of the moving object is less than a first preset value, The warning device outputs a first warning message; when the speed of the moving object is greater than the first preset value and less than a second preset value, the warning device outputs a second warning message; when the speed of the moving object is greater than the The second preset value outputs the third alert message to the alerting device. 一種車輛預警方法,包括:
獲取對應於一車輛的場景的影像畫面;
輸出包含該場景內每一物體相對於一攝像裝置的距離訊息的影像畫面;
判斷該場景中是否存在移動物體;
當該場景中存在移動物體時,根據該移動物體在前後再次拍攝的影像中與該拍攝裝置距離差及該攝像裝置拍攝該場景的頻率計算出該移動物體的速度;
根據該移動物體的位置及速度設定對應的預警等級;及
根據每一預警等級輸出對應的警示訊息。
A vehicle warning method includes:
Obtaining an image screen corresponding to a scene of a vehicle;
Outputting an image frame containing distance information of each object in the scene relative to a camera device;
Determining whether there is a moving object in the scene;
When there is a moving object in the scene, the speed of the moving object is calculated according to the distance difference between the moving object and the shooting device, and the frequency at which the camera captures the scene;
Setting a corresponding warning level according to the position and speed of the moving object; and outputting a corresponding warning message according to each warning level.
如申請專利範圍第9項所述之車輛預警方法,其中步驟“判斷該場景中是否存在移動物體”包括:
獲取該影像畫面中前後兩幀相鄰的第一及第二影像的特徵值;
判斷該第一及第二影像中是否存在具有不同特徵值的區域;
當該第一及第二影像中存在不同特徵值的影像時,判定該場景中存在移動物體;
當該第一及第二影像具有相同的特徵值時,判定該場景中不存在移動物體。
The vehicle warning method according to claim 9, wherein the step of “determining whether there is a moving object in the scene” includes:
Obtaining feature values of the first and second images adjacent to the two frames in the image frame;
Determining whether there are regions having different feature values in the first and second images;
When there are images of different feature values in the first and second images, it is determined that there is a moving object in the scene;
When the first and second images have the same feature value, it is determined that there is no moving object in the scene.
如申請專利範圍第9項所述之車輛預警方法,其中步驟“根據該移動物體在前後相鄰兩張影像中與該拍攝裝置之間的距離差及該攝像裝置拍攝該場景的頻率計算出該移動物體的速度”包括:
將該第一影像與該第二影像中特徵值不同的區域作為一第三影像;
根據該第一影像及第三影像獲取該移動物體在該第一影像中的第一位置;
根據該第二影像及第三影像獲取該移動物體在該第二影像中的第二位置;及
根據該移動物體在該第一影像中第一位置與在該第二影像中第二位置分別對應於該攝像裝置的距離之差及該拍攝裝置拍攝的頻率計算該移動物體速度。
The vehicle warning method according to claim 9, wherein the step of calculating the distance according to a distance difference between the two adjacent images in the front and rear of the moving object and the frequency at which the camera captures the scene is The speed of moving objects" includes:
And determining, by the first image, an area different from the feature value in the second image as a third image;
Acquiring a first position of the moving object in the first image according to the first image and the third image;
Acquiring a second position of the moving object in the second image according to the second image and the third image; and correspondingly corresponding to the second position in the second image according to the moving object in the first image The moving object speed is calculated by the difference between the distances of the imaging device and the frequency captured by the imaging device.
如申請專利範圍第11項所述之車輛預警方法,其中步驟“根據該移動物體速度設定對應的預警等級”包括:
當該第二影像的第二位置相對於該攝像裝置的距離大於該第一影像的第一位置相對於攝像裝置的距離時,判定該移動物體遠離該車輛行駛,並不輸出警示訊息;
當該第二影像的第二位置相對於該攝像裝置的距離小於該第一影像的第一位置相對於攝像裝置的距離時該影像判斷單元判定該移動物體朝向該車輛行駛,並執行步驟“根據每一預警等級輸出對應的警示訊息”。
The vehicle warning method according to claim 11, wherein the step of setting a corresponding warning level according to the speed of the moving object includes:
When the distance of the second position of the second image relative to the camera device is greater than the distance between the first position of the first image and the camera device, determining that the moving object travels away from the vehicle does not output a warning message;
When the distance of the second position of the second image relative to the camera device is less than the distance between the first position of the first image and the camera device, the image determining unit determines that the moving object is traveling toward the vehicle, and performs the step “According to Each warning level outputs a corresponding warning message."
如申請專利範圍第11或12項所述之車輛預警方法,其中步驟“根據該移動物體的速度設定對應的預警等級”還包括:
當該移動物體的速度小於一第一預設值時,輸出一第一警示訊息;
當該移動物體的速度大於該第一預設值且小於一第二預設值時,輸出一第二警示訊息;及
該移動物體的速度大於該第二預設值時,輸出一第三警示訊息。
The vehicle warning method according to claim 11 or 12, wherein the step of setting a corresponding warning level according to the speed of the moving object further includes:
When the speed of the moving object is less than a first preset value, outputting a first warning message;
When the speed of the moving object is greater than the first preset value and less than a second preset value, outputting a second warning message; and when the speed of the moving object is greater than the second preset value, outputting a third warning message.
如申請專利範圍第13項所述之車輛預警方法,其中步驟“輸出包含該場景內每一物體相對於該攝像裝置的距離訊息的影像畫面”包括:
發出一參考光束在該場景內;
當該場景內存在一物體時,該參考光束被反射;
根據發出該參考光束與接收到該參考光束被反射被反射的考光束的時間差產生對應於該物體的距離訊息,並輸出包含該物體的距離訊息的影像畫面。
The vehicle warning method according to claim 13 , wherein the step of “outputting an image frame including a distance information of each object in the scene relative to the camera device” includes:
Sending a reference beam in the scene;
When the scene has an object stored therein, the reference beam is reflected;
And generating a distance information corresponding to the object according to a time difference between the reference beam emitted and the reference beam received by the reference beam being reflected and reflected, and outputting an image picture including the distance information of the object.
TW102137996A 2013-10-22 2013-10-22 Warning system and method for vehicle TW201515888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102137996A TW201515888A (en) 2013-10-22 2013-10-22 Warning system and method for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102137996A TW201515888A (en) 2013-10-22 2013-10-22 Warning system and method for vehicle

Publications (1)

Publication Number Publication Date
TW201515888A true TW201515888A (en) 2015-05-01

Family

ID=53720120

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102137996A TW201515888A (en) 2013-10-22 2013-10-22 Warning system and method for vehicle

Country Status (1)

Country Link
TW (1) TW201515888A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI820719B (en) * 2022-05-20 2023-11-01 中華電信股份有限公司 Transportation tool's stop early warning system, method and computer readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI820719B (en) * 2022-05-20 2023-11-01 中華電信股份有限公司 Transportation tool's stop early warning system, method and computer readable medium

Similar Documents

Publication Publication Date Title
CN102826093B (en) Lane departure warning device
JP5414714B2 (en) Car camera and in-vehicle camera system
JP5809751B2 (en) Object recognition device
JP2004056763A (en) Monitoring apparatus, monitoring method, and program for monitor
KR20100030566A (en) Intelligent driving assistant systems
JP2012071635A (en) Parking assistance device
CN106926794B (en) Vehicle monitoring system and method thereof
JP2010044561A (en) Monitoring device to be mounted on vehicle
TW201327500A (en) Vehicle monitoring system and method thereof
CN104553983A (en) Vehicle pre-warning system and vehicle pre-warning method
JP2008309637A (en) Obstruction measuring method, obstruction measuring apparatus, and obstruction measuring system
JP2013244852A (en) Device, method and program of parking support
JP2014102743A (en) Notification control method, notification control device, and notification control program
TW201515888A (en) Warning system and method for vehicle
CN117197779A (en) Track traffic foreign matter detection method, device and system based on binocular vision
KR20120097033A (en) System and method for monitoring vehicle violating traffic regulation using stereo camera
JP2006197034A (en) Image recognition system, imaging apparatus, and image recognition method
JP6775285B2 (en) Rear side vehicle detection alarm device
TW201441079A (en) Vehicle assistance system and vehicle assistance method
JP2007153087A (en) System and method for determining collision with obstacle, and computer program
JP2005092516A (en) On-vehicle device for detecting moving object
CN106627149A (en) Vehicle instrument panel and control method
JP2014078155A (en) On-vehicle alarm device
KR20130045658A (en) Vehicle distance detection method and system using vehicle shadow
JP6179249B2 (en) Vehicle detection device