201009565 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種控制螢幕顯示之系統及方法,尤其係 關於一種螢幕顯示節能系統及方法。 【先前技術】201009565 IX. Description of the Invention: [Technical Field] The present invention relates to a system and method for controlling screen display, and more particularly to a screen display energy saving system and method. [Prior Art]
當今世界人們都宣導節能之重要性,因而越來越多之 電子產品於設計中都嘗試融入節能之理念。例如,電腦之 螢幕保護方式即為了省電節能而設計之,但一般電腦之勞 幕保護程式之啟動方式都係以偵測鍵盤及滑鼠等待之時間 長短為基準,且通常都以分鐘做為單位。 上述螢幕保護方式有一些缺點,例如:當用戶看影片 時’报可能長時間*會使用鍵盤及滑鼠,而電職未預警 地進入螢幕賴程式;或者’ #用戶料幕健程式之啟 2間狀之太長’而用戶實際上卻非—直使用電腦,使 ::於很長一段時間内不能進入螢幕保 到省電節能之絲。 木連 【發明内容】 方法==容,有必要提供—種螢幕顯示節能系統及 避免以=盤及滑鼠等待時間長短為 -種螢幕顯示節能系統,安 該電子裝置連接有攝影機及顯示勞幕。展置中’ =:象獲取模組,用於啟動攝影機 ,内之影像;人_識模組,用於藉由 201009565 ' 資料來判斷影像中是否出現人眼,並根據人眼於影像中之 位置判斷人眼是否出現於指定距離内及人眼視角是否於指 • 定角度内;計數模組,用於設置並初始化一個時間計數值, » 當人眼未出現於指定範圍内每隔一秒鐘將該時間計數值增 加一秒,及即時地檢測時間計數值之大小;及顯示模式執 行模組,用於根據時間計數值之大小為顯示螢幕選擇相應 之顯示模式。 一種螢幕顯示節能方法,應用於電子裝置中,該電子 ® 裝置連接有攝影機及顯示螢幕。該方法包括如下步驟:設 置並初始化一個時間計數值;啟動攝影機獲取顯示螢幕前 方指定範圍内之影像;藉由辨識影像資料來判斷人眼是否 觀看顯示螢幕;若人眼觀看顯示螢幕,則為顯示螢幕選擇 正常顯示模式;若人眼未觀看顯示螢幕,則每隔一秒鐘將 時間計數值增加一秒,並即時地檢測該時間計數值之大 小;若時間計數值小於第一預設時間,則為顯示螢幕選擇 0 正常顯示模式;若時間計數值大於等於第一預設時間且小 於第二預設時間,則為顯示螢幕選擇螢幕保護模式;及若 時間計數值大於等於第二預設時間,則為顯示螢幕選擇省 電節能模式並自動將顯示螢幕關閉。 相較於習知技術,所述之榮幕顯示節能系統及方法藉 由辨識及追蹤人眼功能來自動判斷使用者是否於使用電子 裝置,以便適時地讓顯示螢幕進入省電節能之模式,由此 可避免以偵測鍵盤及滑鼠多久沒使用為基準之缺陷。 【實施方式】 6 201009565 ‘ 參閱圖1所示,係本發明螢幕顯示節能系統10較佳 實施例之應用環境圖。該螢幕顯示節能系統10安裝並運行 • 於電子裝置中,該電子裝置連接有攝影機2及顯示螢幕3。 、 本實施例中,該電子裝置為電腦1。於其他實施例中,所 述之電子裝置可以為筆記本電腦(Notebook)、電視機及其 他具有顯示功能之電子裝置。攝影機2用於即時地獲取顯 示螢幕3於指定範圍内之影像,並將該影像傳送給電腦1。 例如,指定攝影機2獲取距離顯示螢幕3正前方60cm内 ® 及偏離顧示螢幕3垂直方向之角度為-60度至+60度區域範 圍内之影像均為有效影像。 參閱圖2所示,係圖1中之螢幕顯示節能系統10之 功能模組圖。該螢幕顯示節能系統10用於辨識攝影機2 獲取之影像資料,藉由追蹤人眼於影像中之位置來判斷使 用者是否於使用電腦1,及根據判斷結果執行對應之顯示 模式。所述之顯示模式包括正常顯示模式、螢幕保護模式 0 及省電節能模式。於本實施例中,所述之螢幕顯示節能系 統10包括影像獲取模組101、人眼辨識模組102、計數模 組103及顯示模式執行模組104。 影像獲取模組101用於啟動攝影機2獲取顯示螢幕3 前方指定範圍内之影像。於本實施例中,所述之指定範圍 係指由距離顯示螢幕3正前方之指定距離(例如指定距離 為60cm)與偏離顯示螢幕3垂直方向之指定角度(例如指 定角度為-60度至+60度)構成之區域範圍。 人眼辨識模組102用於藉由辨識影像資料來判斷影像 201009565 中是否出現人目r’絲據人眼於f彡像巾之位置騎人眼是 否出現於指定距_與人目艮視角是於本In today's world, people are promoting the importance of energy conservation, so more and more electronic products are trying to incorporate the concept of energy saving in design. For example, the screen protection method of a computer is designed to save energy and save energy. However, the startup method of the computer screen protection program is based on detecting the length of time the keyboard and the mouse wait, and usually takes minutes as a reference. unit. The above screen protection methods have some shortcomings, for example, when the user watches the movie, the report may take a long time* to use the keyboard and the mouse, and the electric job enters the screen without warning; or # #用户幕门The space is too long 'and the user is actually not—use the computer straight, so that:: For a long time, you can't enter the screen to save energy and save energy. Mulian [Invention] Method == Capacity, it is necessary to provide a kind of screen display energy-saving system and avoid the waiting time of the disk and the mouse to be a kind of screen display energy-saving system, the electronic device is connected with a camera and display screen . In the exhibition, the = =: acquisition module, used to start the camera, the image inside; the person _ module, used to determine whether the human eye appears in the image by 201009565's data, and according to the human eye in the image The position determines whether the human eye appears within the specified distance and whether the human eye angle is within the specified angle; the counting module is used to set and initialize a time count value, » every second when the human eye does not appear within the specified range The clock increases the time count value by one second, and instantly detects the size of the time count value; and the display mode execution module is configured to select a corresponding display mode for the display screen according to the size of the time count value. A screen display energy saving method is applied to an electronic device connected to a camera and a display screen. The method comprises the steps of: setting and initializing a time count value; starting the camera to obtain an image displayed within a specified range in front of the screen; determining whether the human eye views the display screen by recognizing the image data; displaying the screen if the human eye is watching the display screen; The screen selects the normal display mode; if the human eye does not watch the display screen, the time count value is increased by one second every second, and the time count value is detected instantaneously; if the time count value is less than the first preset time, Selecting a normal display mode for the display screen; if the time count value is greater than or equal to the first preset time and less than the second preset time, the screen save mode is selected for the display screen; and if the time count value is greater than or equal to the second preset time , select the power saving mode for the display screen and automatically turn off the display screen. Compared with the prior art, the said glory display energy saving system and method automatically recognizes whether the user is using the electronic device by recognizing and tracking the human eye function, so as to timely display the display screen into the power saving mode. This avoids the drawback of detecting how long the keyboard and mouse have not been used. [Embodiment] 6 201009565 ‘ Referring to FIG. 1 , it is an application environment diagram of a preferred embodiment of the screen display energy saving system 10 of the present invention. The screen display energy saving system 10 is installed and operated. • In the electronic device, the electronic device is connected to the camera 2 and the display screen 3. In this embodiment, the electronic device is a computer 1. In other embodiments, the electronic device can be a notebook, a television, and other electronic devices having display functions. The camera 2 is used to instantly acquire an image of the display screen 3 within a specified range and transmit the image to the computer 1. For example, it is effective to specify that the camera 2 acquires an image within a range of 60 cm from the front of the display screen 3 and from an angle of -60 degrees to +60 degrees from the vertical direction of the screen 3. Referring to FIG. 2, the screen of FIG. 1 shows a functional module diagram of the energy saving system 10. The screen display energy saving system 10 is configured to recognize the image data acquired by the camera 2, and to judge whether the user is using the computer 1 by tracking the position of the human eye in the image, and executing the corresponding display mode according to the judgment result. The display modes include a normal display mode, a screen save mode 0, and a power save mode. In the embodiment, the screen display energy saving system 10 includes an image acquisition module 101, a human eye recognition module 102, a counting module 103, and a display mode execution module 104. The image acquisition module 101 is configured to activate the camera 2 to acquire an image within a specified range in front of the display screen 3. In the present embodiment, the specified range refers to a specified angle (for example, a specified distance of 60 cm) from the front of the display screen 3 and a specified angle from the vertical direction of the display screen 3 (for example, the specified angle is -60 degrees to + 60 degrees) The area of the composition. The human eye recognition module 102 is configured to determine whether the image is in the 201009565 by the identification of the image data. The human eye is displayed in the position of the human eye.
實施例中’人賴識餘可藉—有之人眼辨識技術 判斷影像中衫有人㈣現。料,當人目請朗人眼之 =位於㈣絲3正前擇em J^人眼賴模組· 判疋人眼出現於指定距離内。當辨細人社位置位於偏 離顯示螢幕3垂直方向之角度為_6〇度至+6〇内,則人眼辨 識模組102判定人眼視角於指定角度内。 計數模組1〇3用於設置並初始化一個時間計數值 (tuner) ’當人眼未出現於指定範圍内每隔一秒鐘將該時 間計數值增加“1”,並即時地檢測時間計數值之大小。例 如’將時間計數值timer初始化為〇秒。 顯示模式執行模組104用於板據時間計數值之大小為 顯示螢幕3選擇相應之顯示模式。例如:當時間計數值小 於第一預騎間(例如1G秒)時,則顯示模式執行模組 1〇4為顯7Γ:螢幕選擇正常顯示模式;當時間計數值大於等 於第=預設時間且小於第二預設時間(例如6〇秒)時,、則 顯不換式執行模組104為顯示營幕3選擇螢幕保護模式; 田時間數值大於科第二職時間時,_示模式執行 模組⑽為顯示螢幕3選擇省電節能模式,並自動將顯示 螢幕3關I於本實施例中,當時間計數值timer<i〇秒時, 顯示模式執行模組1()4為顯示螢幕3選擇正常顯示模式; 當時間計數值咖imer<6G㈣,顯示模式執行模組1〇4 為顯示螢幕3選㈣幕保護模式;#時間計數值timer>6〇 8 201009565 私時’顯不模式執行模組104為顯干替篡 模式,並將顯示螢幕3自動_螢幕3、擇省電節能 例之==實顯示節能方法較佳實施 由執行圖1中之螢;亥螢幕顯示節能方法能夠藉 傻眘枓推;r她綦”,員不即月b系统10對攝影機2獲& ,身料進讀識,追蹤人眼於 =取之影 時間計數值u咖初始化為時= 值==),並將該 組101啟動攝影機2獲取顯示螢幕二 ::像獲取模 像(:驟S31)。本實施例中,攝影 =内:影 3正前内及偏離顯示蛋幕3垂直方向:顯:鸯幕 度至+6〇度區域範_之影像均為有效影像。又為, 否出=7= 藉斷影像中是 : 眼辨識技術判斷影像中是否有人眼出現。若2 識到影像中有出現人眼,則人 ^右辨 影像中之&β $ φ 根據人目艮於 否出現於指定距離内(步驄 1 ’當偵測到人眼之位置位於顯示螢幕3正 6内^内’以目_識齡1G2狀域出現於指定= 若人眼出 人眼於影像中 驟S34)。例如 現於指定距離内,則人眼辨識模組1〇2根據 之位置判斷人眼視角是否於指定角度内(X沭 ,當辨識到人眼之位置位於偏離顯示螢幕3 9 201009565 垂直方向之角度為-60度至+60内,則人眼辨識模組102 判定人眼視角於指定角度内。 ^ 若人眼視角於指定角度内,則顯示模式執行模組104 * 為顯示螢幕3選擇正常之顯示模式(步驟S35),而後流程 返回步驟S30。 於步驟S32中,若影像中未出現人眼,則計數模組103 每隔一秒鐘將時間計數值timer增加“1”,即將時間計數值 做timer=timer+l之運算(步驟S36)。於步驟S33中,若 _ 人眼未出現於指定距離内,則執行步驟S36。於步驟S34 中,若人眼視角未於指定角度内,則同樣執行步驟S36。 計數模組103判斷時間計數值是否大於等於10秒(步 驟S37)。若時間計數值小於10秒(即timer<10),則流程 返回步驟S31 ;若時間計數值大於等於10秒(即 timei^lO),則計數模組103判斷時間計數值是否大於等於 60秒(步驟S38 )。若時間計數值小於60秒(即 • 10Stimer<60),則顯示模式執行模組104為顯示螢幕3選 擇螢幕保護模式(步驟S39),而後流程返回步驟S31 ;若 時間計數值大於等於60秒(即timer^60),則顯示模式執 行模組104為顯示螢幕3選擇省電節能模式並自動將顯示 螢幕3關閉(步驟S40),而後流程返回步驟S31。 上述圖3所示之螢幕顯示節能方法流程,一旦使用者 啟動螢幕顯示節能系統10開始,一直被電腦1執行來追蹤 使用者是否使用電腦1,只有當使用者關閉該螢幕顯示節 能系統10流程才結束。 201009565 最後應說明,本發明螢幕顯示節能系統及方法藉由利 用攝影機2之辨識及追蹤人眼功能來自動判斷使用者是否 • 使用電腦1,以便適時地讓顯示螢幕3進入省電節能之模 式’如此可避免以偵測鍵盤及滑鼠多久沒使用為基準之缺 陷。另外’所述之螢幕顯示節能系統及方法還可用來達成 其他功能以符合日益重視之環保要求,例如:防窺之判斷, 即如果攝影機偵測到第二雙眼睛,則可以使顯示螢幕3黯 淡化或發出提示警告;若果用於電視機上,則可當作限制, 蠼收視距離之功能。 以上所述僅為本發明之較佳實施例而已,且已達廣泛 之使用功效,凡其他未脫離本發明所揭示之精神下所完成 之均等變化或修飾,均應包含在下述之申請專利範圍内。 【圖式簡單說明】 圖1係本發明螢幕顯示節能系統較佳實施例之應用環 境圖。 • 圖2係圖1中之螢幕顯示節能系統之功能模組圖。 圖3係本發明螢幕顯示節能方法較佳實施例之流程 圖。 【主要元件符號說明】 電腦 1 螢幕顯示節能系統 10 影像獲取模組 101 人眼辨識模組 102 計數模組 103 11 201009565 顯示模式執行模組 104 攝影機 2 顯示螢幕 3 初始化時間計數值timer=0 S30 獲取顯示螢幕前方影像 S31 是否辨識到人眼 S32 人眼是否出現於指定距離内 S33 人眼視角是否於指定角度内 S34 選擇正常顯示模式 S35 將時間計數值timer增加“ 1 ” S36 timer》10 S37 timer>60 S38 選擇螢幕保護模式 S39 選擇省電節能模式 S40In the embodiment, the person's acquaintance can be borrowed - some people's eye recognition technology judges that there are people in the image (4). Material, when the eyes of the people please the eyes of the people = located in the (four) silk 3 front selection em J ^ human eyes on the module · judgment of the human eye appears within the specified distance. When the position of the discriminating person is located within an angle of _6 至 to +6 偏 from the vertical direction of the display screen 3, the human eye recognition module 102 determines that the angle of view of the human eye is within the specified angle. The counting module 1〇3 is used to set and initialize a time counter value (tuner) 'This time count value is increased by "1" every second when the human eye does not appear within the specified range, and the time count value is detected immediately. The size. For example, 'time count value timer is initialized to leap second. The display mode execution module 104 is configured to select a corresponding display mode for the display screen 3 according to the size of the time count value. For example, when the time count value is less than the first pre-riding interval (for example, 1G seconds), the display mode execution module 1〇4 is display 7: the screen selects the normal display mode; when the time count value is greater than or equal to the first preset time and When it is less than the second preset time (for example, 6 seconds), the display execution module 104 selects the screen protection mode for displaying the camp 3; when the field time value is greater than the second job time, the mode execution mode is The group (10) selects the power saving mode for displaying the screen 3, and automatically displays the display screen 3 in the present embodiment. When the time count value timer < i 〇 seconds, the display mode execution module 1 () 4 is the display screen 3 Select the normal display mode; when the time count value is imer<6G(4), the display mode execution module 1〇4 is the screen 3 selection (four) screen protection mode; #time count value timer>6〇8 201009565 private time 'display mode execution mode Group 104 is a display mode, and will display screen 3 automatic _ screen 3, select power saving energy saving example == real display energy saving method is better implemented by executing the fire in Fig. 1; Carefully push; r she 綦", member In the case of the month b system 10, the camera 2 gets & the body material is read, the tracking human eye is = the shadow time count value is initialized to time = value ==), and the group 101 is started to obtain the camera 2 Display screen 2:: like acquisition of the image (: step S31). In this embodiment, photography = inside: shadow 3 in front and off and display the vertical direction of the egg screen 3: display: curtain degree to +6 degree area The images of _ are all valid images. Also, no = 7= In the image of the borrowing: The eye recognition technology determines whether there is any eye in the image. If 2 people have the human eye in the image, then the image is right中中&β $ φ appears within the specified distance according to whether the person is in the target or not (step 1 'when the position of the human eye is detected is within the display screen 3 within 6^^' Specify = If the human eye is in the image, step S34). For example, if the distance is within the specified distance, the human eye recognition module 1〇2 determines whether the human eye angle is within the specified angle according to the position (X沭, when recognized The position of the human eye is located within -60 degrees to +60 from the vertical direction of the display screen 3 9 201009565, and the human eye recognition module 102 determines The eye angle of view is within a specified angle. ^ If the human eye is within a specified angle, the display mode execution module 104* selects a normal display mode for the display screen 3 (step S35), and the flow returns to step S30. In step S32, If the human eye does not appear in the image, the counting module 103 increments the time count value timer by "1" every second, that is, the time count value is calculated as timer=timer+l (step S36). In step S33, If the _ human eye does not appear within the specified distance, step S36 is performed. In step S34, if the human eye angle of view is not within the specified angle, step S36 is also performed. The counting module 103 judges whether or not the time count value is greater than or equal to 10 seconds (step S37). If the time count value is less than 10 seconds (ie, timer < 10), the flow returns to step S31; if the time count value is greater than or equal to 10 seconds (ie, timei^10), the counting module 103 determines whether the time count value is greater than or equal to 60 seconds ( Step S38). If the time count value is less than 60 seconds (ie, 10Stimer < 60), the display mode execution module 104 selects the screen save mode for the display screen 3 (step S39), and the flow returns to step S31; if the time count value is greater than or equal to 60 seconds ( That is, timer^60), the display mode execution module 104 selects the power saving mode for the display screen 3 and automatically turns off the display screen 3 (step S40), and the flow returns to step S31. The screen shown in FIG. 3 above shows the flow of the energy saving method. Once the user starts the screen display, the energy saving system 10 starts, and the computer 1 is executed to track whether the user uses the computer 1. Only when the user turns off the screen to display the energy saving system 10 End. 201009565 Finally, it should be noted that the screen display energy-saving system and method of the present invention automatically determines whether the user uses the computer 1 by using the recognition and tracking function of the camera 2 to timely display the display screen 3 into a power-saving mode. This avoids the drawback of detecting how long the keyboard and mouse have not been used. In addition, the screen display energy-saving system and method can also be used to achieve other functions to meet the increasingly important environmental requirements, such as: anti-peep judgment, that is, if the camera detects the second pair of eyes, the display screen 3 can be dimmed Prompt or issue a warning; if used on a TV set, it can be used as a limit, 蠼 viewing distance function. The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an application environment diagram of a preferred embodiment of the screen display energy saving system of the present invention. • Figure 2 is a functional block diagram of the screen display energy saving system in Figure 1. Fig. 3 is a flow chart showing a preferred embodiment of the screen display energy saving method of the present invention. [Main component symbol description] Computer 1 screen display energy saving system 10 Image acquisition module 101 Human eye recognition module 102 Counting module 103 11 201009565 Display mode execution module 104 Camera 2 Display screen 3 Initialization time count value timer=0 S30 Display whether the front image S31 recognizes the human eye S32 Whether the human eye appears within the specified distance S33 Whether the human eye angle is within the specified angle S34 Select the normal display mode S35 Increase the time count value timer by "1" S36 timer"10 S37 timer> 60 S38 Selecting the screen saver mode S39 Selecting the power saver mode S40
1212