201039633 六、發明說明: 【發明所屬之技術領域】 蒂暮有ϊ於—種電子控制裝置及其方法’且特別是-種 螢幕控制裝置及其方法。 恨 【先前技術】 Ο 〇 11 迎著數位資訊和多媒體應用不斷的增加,以及世界各大顯示 ,廠,的推波助瀾,而使得顯示雜速地深人每個家庭與個人。 j不器之螢幕可用來表現出電腦運算出來的數值或畫面。、現今而 ΐ電:會搭配顯示器―同運作,成為—般者不可或缺 ,使用者變換坐姿時,需要手動調整顯示器發幕的方向及位 ,才可以正常的視角觀看螢幕。不然,使用者 :臉去看榮幕。如此,對於使用者而言,在使 成為=重方便地自動敏齡11螢幕的方向及位置,便 【發明内容】 為必Ϊ餘此,提供—種可將螢幕隨人臉而動之躲控制裝置實 依照本發明一實施例,一種螢幕控制裝置 模組與傳動裝置。人臉偵測模組可偵測至少一人臉 裝置可根據人臉之位置,將螢幕的中心正對人臉 。 為必Γ方面’提供—種可錢賴人臉_之絲控制方法實 依照本發明另一實施例,一種螢幕控制裝署 驟。首先,_至少-人臉之位置。接著 螢幕的中心讀人臉。 崎人敗位置,將 3 201039633 *由上述本發明實施例可知,應用本發明具有自動調整顯示器 螢幕的方向及位置,讓使用者以更好的視角觀看螢幕等優點。 ' 【實施方式】 - 為了使本發明之敘述更加詳盡與完備,可參照所附之圖式及 以下所述各種實施例,圖式_相同之號碼代表相同或相似之元 件。另一方面,眾所週知的元件與步驟並未描述於實施例中,以 避免造成對本發明不必要的限制。 本,明之技術態樣是一種螢幕控制裝置,其可應用在顯示 器’或是廣泛地運用在相關之技術環節。以下將搭配第:圖至第 O 2C圖來說明螢幕控制裝置之具體實施方式。 凊參照第1圖,第1圖是依照本發明一實施例的一種螢幕控 制裝置100的方塊圖。如圖所示,螢幕控制裝置i⑻至少包括人 臉4貞測模組110與傳動裝置120。人臉偵測模细11〇可偵測至少一 人臉之位置。傳動裝置12〇可根據人臉之位置,將螢幕19〇的中 心正對人臉’藉以讓使用者以更好的視角觀看螢幕19〇。 > Μ ^臉偵測模組110可包括攝像機112與位置分析器114、向量 a十异器116、水平誤差判斷器117與垂直誤差判斷器118。攝像機 112可自人臉捕捉晝面,此晝面包含人臉影像。位置分析器114可 〇 自晝面^辨,今臉影像,並分析人臉影像相對於畫面中心點的位 置。向里s十鼻器116可根據人臉影像於晝面中的位置,計算書面 =心點到人臉影像巾心點之間於水平軸上需移動的水平距離^水 平方向,以及於垂直軸上需移動的垂直距離及垂直方向。水平誤 差判斷器117可判斷此水平距離是否大於預定水平誤差範圍。垂 直誤差判斷器118可判斷此垂直距離是否大於預定垂直誤差範圍。 、在結構上,攝像機112與螢幕190的相對位置不變。舉例來 說,攝像機112架設於螢幕19〇上;或者,攝像機m與瑩幕 190可組裝於顯示器中。藉此,攝像機112可自人臉捕捉具有人臉 影像的晝面’其中攝像機m所捕捉到的晝面中心點大致對鹿 螢幕190中心點。 ‘ 201039633 上述位置分析器114可包含人臉辨識系統(例如AdaB〇〇s 人臉辨識系統可镇測人臉過程中,使用多個Α__分類器對 •入圖像進行人臉影像與非人臉影像的分類。每一分類器所&用^ 分類標準比其前-級分㈣㈣的分麵準要更精確σ,這樣逐步 過濾非人臉影像的方法使得人臉影像被篩選出來。除此之外, 了增加人臉辨識的正確率,減少中央處理器處理資源,攝像機Η] 所捕,之晝面會經背餘出的預處理把背景抽掉再交由人臉辨識 ^充處理。产此’位置分析器114可自畫面中辨識人臉影像,並 分析人臉影像相對於晝面中心點的位置。 於是向量計算器116可估算捕捉到的晝面的中心點到畫面中 〇人臉影像的中心闕向量,此向量包含於水平軸 距離及水平方向,以及於垂直轴上需移動的垂直距離及^= 向。關於上述水平距離可代表螢幕190中心點到人臉中心點之間 於水平軸上相對的位置關係,並非限制於螢幕190中心點到人臉 中心點之間於水平軸上絕對的尺度距離;同理,上述垂直距離可 ,表螢幕190中心點到人臉中心點之間於垂直轴上相對的位置關 糸’並非限制於螢幕19〇中心點到人臉中心點之間於垂直轴上絕 對的尺度距離。 、一般而言,人臉中心點約在鼻子的地方,若螢幕19〇中心點 〇 並未正對人臉的鼻子’而是正對人臉的其他地方(例如左右眼、 ^心、嘴巴等),歧不至於影響使用者觀看螢幕的視角。因此, 貝務上,上述預定水平誤差範圍可設定為晝面中鼻子與左眼(或 右眼)之間的水平距離;上述預定垂直誤差範圍可設定為晝面中 鼻子與眉心(或嘴巴)之間的垂直距離。換言之,螢幕190中心 點正對由左右眼、眉心、嘴巴所構成的範圍内,則傳動裳置120 無須調整蘇190的方向及位置,錢用者依然可以良好的視角 觀,榮幕。應暸糊,以上鱗的就水平誤絲圍及預定垂直 誤差範圍之设定方式皆僅為例示,並非用以限制本發明,熟悉此 項技藝者應視實際f要’雜調整就水平誤絲圍的大小及預 定垂直誤差範圍的大小。 5 201039633 ^於傳動m2G可包括水平移動模組122與垂直移動模相 .範圍時,水平義· 122可每:纽—水平移 2ίΐί Ϊ螢幕携。當上述垂直誤差判斷器118判定垂ΐ距 ^預疋Ϊ直誤差範圍時,垂直移動模組124可每次以一^ 移動刻度為單位逐步往垂直方向移動螢幕携。_此 =可逐步地微調螢幕190位置,進而使螢幕190 “心逐漸ί準 ο 後,ίΐίϊΐ”模組122,平移動刻度移動螢幕190以 夕pw 十鼻器116重新計算螢幕190中心點到人臉中心點 之間於水平軸上的水平距離及水平方向。水平★吳; 是否大於預定水平誤差範圍°、水平距離並i 差辄圍’則水平移動模組122停止以上述水平移 iiiii i平方向㈣榮幕190;相反地,若水平距離並於 則水平移動模組122繼續以上述水平移動刻 度為早位逐步彺水平方向移動螢幕190。 m同欠當垂直移動模組124以垂直移動刻度移動螢幕190 116重新計算螢幕190甲心點到人臉中心點之 間於垂直軸上的垂直距離及垂直方向。垂直誤差判斷器118可再 〇 ίϊΐίί距離ί否大於預定垂直誤差範圍。若垂直距離並未大 ;預疋垂直誤差範圍’則垂直移動模組124停止以上述垂直移動 5度為單位往垂直方向移動螢幕⑽;相反地,若垂直距離大於預 疋垂直誤差範圍’則垂直移動模組124繼續以上述垂直移動刻度 為單位逐步往垂直方向移動螢幕190。 上述水平移動刻度可設定為水平移動模組122之可移動範圍 的1% ·’其中水平移動模組122之可移動範圍最左(〇%)_最右 2〇〇%),上述垂直移動刻度可設定為垂直移動模組之可移動 範圍的1%,其中垂直移動模組124之可移動範圍最上(〇%)最下 2〇〇%)。同樣地,以上所舉的水平移動刻度及垂直移動刻度之設 定方式皆僅為例示,並非用以限制本發明,熟悉此項技藝者應視 6 201039633 實際整4平勺移動刻度的大小及垂直移動刻度的大小。 斷模組必水平動判斷模組121與垂直移動判 能约往水平方向1判斷水平移動模組122是否 向移f幕右水平移動模組122能夠往水平方 幕190時’水平移動判斷模 = ΪI"〇 模組122摊水平方向移)姆幕^糾職組121令水平移動 ❹ Ο 向移動榮幕 垂直移動模組124能夠往垂直方 往墓垂直移動判斷模組123令垂直移動模組124 ίίί^Σίt G。相反地,若垂直移動模組124無法往垂 5=:==勞ir判斷模組123令垂直移動 動模當模組126與垂直轉 平誤^範圍時,水平轉動模組m可每次二 螢幕19G° #上述垂直誤差判斷器118判 tiifi預^直誤差範圍時,垂直轉動模組m可每次 12轉動刻度為單位沿著垂直方向逐步移動螢幕携。藉此,傳 ΐΐί120可逐步地微調螢幕190方位,進而使螢幕190的中3 逐漸與人臉對正。 每次當水平轉動模組U6以水平轉動刻度移動蝥幕19〇以 後’上述向量計算器m重新計算螢幕携中心點到人臉中心點 之間於水平軸上的水平距離及水平方向。水平誤差判斷器117可 再判斷此水平轉是否大於預定水平誤差麵。若水平距離並未 大於預定水平誤差範圍,則水平轉動模組m停止以上述水平轉 動刻度鱗位沿著水平方向轉歸幕觸;滅地,若水平距離並 7 201039633 士則水平轉動模組126繼續以上述水平轉動 刻度者水平方向逐步移_幕190。 以絲5 Α曰'^田垂直轉動模組128以垂直移動刻度轉動螢幕190 二携中心點到人臉中心點之 ^預定垂直誤差範圍。若垂直距離並未大 亥:产二’則垂直轉動模組128停止以上述垂直移動 iί i ^Ϊ G方向轉動螢幕190;相反地,若垂直距離大於 Ο Ο 产,則垂直轉動模組128繼續以上述垂直移動刻 度為早位沿著垂直方向逐步轉動螢幕19〇。 的it述度可?1定為水平轉動模組126之可轉動範圍 (100%) «):;Γ^ 敫3用以限制本發明,熟悉此項技藝者應視 實示=要,摊調正水平轉細度的A小及垂直轉細度的大小。 傳動裝f 120還可包括水平轉動判斷模组125與垂直轉動判 ▲H^27。水平轉動判斷模、组125可判斷水平轉動模、组126是否 ^夠沿著水平方向轉動螢幕携。若水平轉動模組126能夠沿著水 平方向轉動螢幕190時,水平轉動判斷模組125令水平移動模組 =2沿著水平方向轉動螢幕19〇。相反地,若水平轉動模組126 | 法^著水平方向轉動螢幕19。時,像是水平轉動模組126於其;^ 1者水平方向轉動範圍之一邊界角(0%)或另一邊界角 時,水平轉動判斷模組125令水平轉動模組2 轉動螢幕190。 个#十万向 同理,垂直轉動判斷模、组127可判斷垂直轉動歡128是否 能夠沿著垂直方向轉動榮幕携。若垂直轉動模組似能夠沿著垂 直方向轉動螢幕190時,垂直轉動判斷模組127令垂直轉動模組 128沿著垂直方向轉動螢幕190。相反地’若垂直轉動模組128無 8 201039633 况二直方向轉動螢幕190時,像是垂直轉動模組128於其可 = 向轉動範圍之一邊界角(〇%)或另—邊界角(%)時, 螢幕^判斷模組127令垂直轉動模組128不沿著垂直方向轉動 m 立置分析器114、向量計算器116、水平誤差判斷器 m 块差判斷器118可為軟體程式並安裝於電腦,攝像機 影機(web cam),其中網路攝影機可經由通用串列 性連接,並架設於勞幕携上。傳動裝置 Ο Ο 5用1,T整合於顯示器中。傳動裝置120的具體實施方式 了抹用顯不益之韌體搭配步進馬達來實現。 可接112可自人臉捕捉晝面。位置分析器m 判斷晝面作人臉跟蹤。向量計算11116、水平誤差 心位i絲直誤差判斷器118可進而根據_到的人臉的中 及盆的晝面的中點的距離關係估算螢幕19G相應動作 綱娜瓣幕卿終 數據份’其可通過響應微處理器中斷實現l2c 處置奥成接收到l2c數據後,主程序調用命令 執行^A i t據’其要功能包括綠認有效指令、解釋指令和 解釋二SSiii確認接收的指令獅有相對應的 行理然後轉到相應的指令實現代碼段;執 動作。W現^内谷,對於顯示器之螢幕的移動、轉動 螢幕19?)二ff2A圖’第2Α圖是第1圖之垂直移動模—124搭配 的嶋置,其可於垂直:上丁下平垂 ==為:種可伸縮 ^ 122 ( , 2Α } /2; 9 201039633 縮的其可於水平轴左右平移螢幕携。 ㈣Γ苐2β圖,第1圖之垂直轉動模組128搭配螢幕190的 圖所示’垂直轉動模組128可上下調 度。另一方面,請參照第2C圖,第2C圖是水平轉動 ' =角的度俯視圖。如圖所示’水平轉動模組126可:調= 螢幕月實’應用本發明具有自動調整顯示器 愛拳的万向及位置,讓使用者以更好的視角 —本另—技術紐是—贿幕控制方法,其可應用在顯201039633 VI. Description of the invention: [Technical field to which the invention pertains] The invention relates to an electronic control device and method thereof, and in particular to a screen control device and method therefor. Hate [Previous Technology] Ο 〇 11 Facing the continuous increase of digital information and multimedia applications, as well as the world's major displays, factories, and the help of the show, so that the display of the speed of the people of each family and individuals. The screen of the j device can be used to display the value or picture calculated by the computer. Nowadays, ΐ: It will work with the monitor, and it will become indispensable. When the user changes the sitting position, he needs to manually adjust the direction and position of the display to watch the screen from a normal angle. Otherwise, the user: face to see the honor screen. In this way, for the user, in the direction and position of the automatic sensitive age 11 screen, it is necessary to provide a kind of hiding control that can move the screen with the face. The device is in accordance with an embodiment of the invention, a screen control device module and a transmission device. The face detection module can detect at least one face. The device can face the face of the screen according to the position of the face. The present invention provides a screen control device in accordance with another embodiment of the present invention. First of all, _ at least - the position of the face. Then read the face in the center of the screen. It is known from the above embodiments of the present invention that the application of the present invention has the advantages of automatically adjusting the direction and position of the display screen, allowing the user to view the screen with a better viewing angle. [Embodiment] - In order to make the description of the present invention more complete and complete, reference is made to the accompanying drawings and the various embodiments described below. On the other hand, well-known elements and steps are not described in the embodiments to avoid unnecessarily limiting the invention. The technical aspect of the present invention is a screen control device that can be applied to a display device or widely used in related technical aspects. The specific implementation of the screen control device will be described below with reference to the drawings: FIG. Referring to Figure 1, Figure 1 is a block diagram of a screen control device 100 in accordance with one embodiment of the present invention. As shown, the screen control device i (8) includes at least a face 4 sensing module 110 and a transmission 120. The face detection module 11〇 can detect the position of at least one face. The transmission 12 借 can direct the center of the screen 19 正 to the face according to the position of the face to allow the user to view the screen 19 更好 from a better perspective. > The face detection module 110 may include a camera 112 and a position analyzer 114, a vector a-sixer 116, a horizontal error determiner 117, and a vertical error determiner 118. The camera 112 can capture the face from the face, which contains the face image. The position analyzer 114 can recognize the face image and analyze the position of the face image relative to the center point of the screen. The inward s ten nose device 116 can calculate the horizontal distance to be horizontally moved from the horizontal point to the horizontal axis on the horizontal axis according to the position of the face image in the facet, and the vertical axis. The vertical distance and vertical direction to be moved. The horizontal error determiner 117 can determine whether the horizontal distance is greater than a predetermined horizontal error range. The vertical error determiner 118 can determine if the vertical distance is greater than a predetermined vertical error range. Structurally, the relative positions of the camera 112 and the screen 190 are unchanged. For example, the camera 112 is mounted on the screen 19; or, the camera m and the screen 190 can be assembled in the display. Thereby, the camera 112 can capture the facet with the face image from the face. The center point of the face captured by the camera m is substantially at the center point of the deer screen 190. '201039633 The above position analyzer 114 may include a face recognition system (for example, the AdaB〇〇s face recognition system can perform face detection and face detection on a face image using a plurality of Α__ classifiers in the face process) Classification of face images. Each classifier & uses the ^ classification standard to be more accurate than the front-level (4) (four) facet, so that the method of gradually filtering non-human faces makes the face images screened out. In addition, the correct rate of face recognition is increased, the processing resources of the central processing unit are reduced, and the camera is captured. The back surface is removed by the pre-processing of the remaining surface and then discarded by the face recognition method. The position analyzer 114 can recognize the face image from the screen and analyze the position of the face image relative to the center point of the face. The vector calculator 116 can then estimate the center point of the captured face into the picture. The center 阙 vector of the face image. This vector is included in the horizontal axis distance and horizontal direction, and the vertical distance and ^= direction to be moved on the vertical axis. The above horizontal distance can represent the center point of the screen 190 to the center point of the face. The relative positional relationship between the horizontal axis and the horizontal axis is not limited to the absolute scale distance between the center point of the screen 190 and the center point of the face on the horizontal axis; for the same reason, the above vertical distance can be, the center point of the screen 190 to the center of the face The relative position between the points on the vertical axis is not limited to the absolute scale distance between the center point of the screen 19〇 and the center point of the face on the vertical axis. In general, the center point of the face is about the nose. Places, if the center of the screen is not facing the nose of the face, but other places on the face (such as the left and right eyes, ^ heart, mouth, etc.), it does not affect the user's viewing angle of the screen. The above predetermined horizontal error range may be set as the horizontal distance between the nose and the left eye (or the right eye) in the face; the predetermined vertical error range may be set as the nose and the eyebrow (or mouth) in the face The vertical distance between the two. In other words, the center point of the screen 190 is directly in the range of the left and right eyes, the eyebrows, and the mouth, and the transmission slot 120 does not need to adjust the direction and position of the Su 190. It can be a good angle of view, the glory of the screen, the paste, the above-mentioned scales of the horizontal and the predetermined vertical error range are only examples, not to limit the invention, familiar with the artist should be practical f The size of the horizontal misalignment and the size of the predetermined vertical error range are to be adjusted by the miscellaneous adjustment. 5 201039633 ^The transmission m2G can include the horizontal movement module 122 and the vertical movement mode. When the range is horizontal, the range can be: - horizontally shifting 2 ΐ Ϊ Ϊ Ϊ 。 。 。 。 当 当 当 当 当 当 当 当 当 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直 垂直_This=Stepwise fine-tuning the position of the screen 190, so that the screen 190 "heart gradually ο , ΐ ΐ 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 模组 190 190 190 190 190 190 190 190 116 116 116 116 116 116 116 116 116 The horizontal distance and horizontal direction between the center points of the face on the horizontal axis. Level ★ Wu; Whether it is greater than the predetermined horizontal error range °, horizontal distance and i difference range' then the horizontal movement module 122 stops moving horizontally with the horizontal direction iiiii i (four) glory 190; conversely, if the horizontal distance is horizontal The mobile module 122 continues to move the screen 190 in the horizontal direction in the early position with the horizontal movement scale as described above. When the vertical movement module 124 moves the screen 190 116 vertically, the vertical distance and the vertical direction between the center point of the screen 190 and the center point of the face on the vertical axis are recalculated. The vertical error determiner 118 can further reduce the distance ί to be greater than a predetermined vertical error range. If the vertical distance is not large; the vertical error range is 'the vertical movement module 124 stops moving the screen (10) in the vertical direction by 5 degrees of the vertical movement; conversely, if the vertical distance is greater than the pre-turn vertical error range', then the vertical The moving module 124 continues to move the screen 190 in the vertical direction in units of the above vertical movement scale. The horizontal movement scale can be set to 1% of the movable range of the horizontal movement module 122. 'The leftmost (〇%)_the rightmost 2〇〇% of the movable range of the horizontal movement module 122, the above vertical movement scale It can be set to 1% of the movable range of the vertical movement module, wherein the movable range of the vertical movement module 124 is the top (〇%) of the bottom 2%). Similarly, the above descriptions of the horizontal movement scale and the vertical movement scale are merely examples, and are not intended to limit the present invention. Those skilled in the art should consider the size and vertical movement of the actual 4 flat spoon moving scale according to 6 201039633. The size of the scale. The break module must be horizontally judged by the module 121 and the vertical movement can be determined in the horizontal direction 1 to determine whether the horizontal movement module 122 is moving to the horizontal plane 190 when the horizontal movement module 122 can move to the horizontal plane 190. ΪI"〇 122 122 122 122 122 122 ^ ^ 纠 纠 纠 纠 纠 纠 纠 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 移动 移动 移动 移动 移动 移动 移动Ίίί^Σίt G. Conversely, if the vertical movement module 124 cannot hang down 5=:== labor irration determination module 123 to vertically move the movable mold when the module 126 and the vertical flattening error range, the horizontal rotation module m can be two at a time. When the screen 19G°# above vertical error determiner 118 determines the tiifi pre-compact error range, the vertical rotation module m can gradually move the screen along the vertical direction in units of 12 rotation scales. In this way, the transmission ΐΐ120 can gradually fine-tune the orientation of the screen 190, so that the middle 3 of the screen 190 gradually aligns with the face. Each time the horizontal rotation module U6 moves the curtain 19 with a horizontal rotation scale, the vector calculator m recalculates the horizontal distance and the horizontal direction on the horizontal axis between the center point of the screen and the center point of the face. The horizontal error determiner 117 can again determine whether the horizontal rotation is greater than a predetermined horizontal error surface. If the horizontal distance is not greater than the predetermined horizontal error range, the horizontal rotation module m stops rotating the scale scales in the horizontal direction to turn the screen touches in the horizontal direction; if the horizontal distance is 7 201039633, the horizontal rotation module 126 Continue to move the scaler horizontally in the horizontal direction as described above. The vertical rotation module 128 is rotated by the vertical movement module 190 to vertically move the scale 190 to carry the predetermined vertical error range from the center point to the center point of the face. If the vertical distance is not Dahai: the production second 'the vertical rotation module 128 stops rotating the screen 190 in the above vertical movement i ί i ^ Ϊ G direction; conversely, if the vertical distance is greater than Ο ,, the vertical rotation module 128 continues The screen 19 is gradually rotated in the vertical direction in the early position with the above vertical movement scale. The description of the degree can be set to 1 as the rotatable range of the horizontal rotation module 126 (100%) «):; Γ ^ 敫 3 is used to limit the present invention, those skilled in the art should see the actual indication = The size of the A small and vertical fineness of the horizontal fineness. The drive assembly f 120 may further include a horizontal rotation determination module 125 and a vertical rotation determination ▲H^27. The horizontal rotation determining mode and group 125 can determine whether the horizontal rotating mode and the group 126 are sufficient to rotate the screen in the horizontal direction. If the horizontal rotation module 126 is capable of rotating the screen 190 in the horizontal direction, the horizontal rotation determination module 125 causes the horizontal movement module = 2 to rotate the screen 19 in the horizontal direction. Conversely, if the horizontal rotation module 126 | method rotates the screen 19 in the horizontal direction. When the horizontal rotation module 126 is at a boundary angle (0%) or another boundary angle of the horizontal rotation range, the horizontal rotation determination module 125 causes the horizontal rotation module 2 to rotate the screen 190. Similarly, the vertical rotation judgment mode and group 127 can determine whether the vertical rotation 128 can be rotated in the vertical direction. If the vertical rotation module seems to be able to rotate the screen 190 in the vertical direction, the vertical rotation determination module 127 causes the vertical rotation module 128 to rotate the screen 190 in the vertical direction. Conversely, if the vertical rotation module 128 has no 8 201039633 condition, when the screen 190 is rotated in the straight direction, it is like the boundary angle (〇%) or the other boundary angle of the vertical rotation module 128 in the range of the direction of rotation. When the screen ^ judgment module 127 causes the vertical rotation module 128 not to rotate in the vertical direction, the m vertical analyzer 114, the vector calculator 116, and the horizontal error determiner m block difference determiner 118 can be a software program and installed on A computer, a web cam, in which a webcam can be connected via a universal serial and carried on a screen. The transmission Ο Ο 5 is integrated into the display with 1,1. A specific embodiment of the transmission 120 is implemented by applying a poorly understood firmware with a stepper motor. Can be connected to 112 to capture the face from the face. The position analyzer m judges the face as a face tracking. The vector calculation 11116 and the horizontal error heart position i-line error determiner 118 can further estimate the corresponding action of the screen 19G according to the distance relationship between the midpoint of the face of the face and the face of the face of the face. It can be realized by responding to the microprocessor interrupt l2c Disposal After receiving the l2c data, the main program calls the command to execute ^A it according to the 'the function to include the green valid command, the explanation command and the explanation two SSiii to confirm the received command lion has Corresponding processing and then go to the corresponding instruction implementation code segment; W now ^ 内谷, for the movement of the screen of the display, turn the screen 19?) 2ff2A picture 'The second picture is the vertical moving mode-124 matching device of Figure 1, which can be vertical: up and down = = is: kind of retractable ^ 122 ( , 2 Α } /2; 9 201039633 The contraction can be moved to the left and right on the horizontal axis. (4) Γ苐 2β map, the vertical rotation module 128 of Fig. 1 is matched with the screen of the screen 190 'Vertical rotation module 128 can be scheduled up and down. On the other hand, please refer to Figure 2C. Figure 2C is a top view of horizontal rotation ' = angle. As shown in the figure, 'horizontal rotation module 126 can: adjust = screen monthly 'Application of the invention has the universal orientation and position of automatically adjusting the display love fist, so that the user has a better perspective - the other technology is a bribery control method, which can be applied in the display
測人臉之位置,並根據人臉之位置,將螢幕的 财法之具體實施方式。 明 > 3圖,弟3圖是依照本發明另一實施例的 ,制方法的不意圖。在本實施例中’螢幕控制方法可 =移動尺^和旋轉角度,僅僅需要計算移動的方向採用、 偵測-微調的反復動作使螢幕中心點與人臉逐步對正。 於使料,螢幕㈣綠可執行以下步驟⑴· (5)。 在本實施例中所提及的步驟,除特別敘明其順序者外,均可 際需要調整其前後順序,甚至可同時或部分同時執行。至於 =步驟的硬财置,由於上-實施例已具體揭露,耻不 禝贅述之。 (1) 自人臉捕捉包含人臉影像之畫面,接著自晝面中辨識人臉 衫像’並分析人臉影像相對於晝面中點的位置。 (2) 根據人臉影像於晝面中的位置,計算晝面中心點 人臉影像中心點F(x,y)之間於水平軸χ上需移動的水平距離d 及水平方向DirH,以及於垂直軸γ上需移動的垂直距離〇心及= 直方向Dkv。 (3) 判斷水平距離DstH是否大於預定水平誤差範圍,若水平距 離DstH大於預定水平誤差範圍時,則到(句,否則不往水平方向 DirH移動螢幕,並回到(1);判斷垂直距離Dstv是否大於預定垂直 201039633 誤差範圍,若垂直距離Dstv大於預定垂直誤差範圍時,則到(4), 否則不往垂直方向DirV移動螢幕,並回到(1)。 Ο Ο (4)判斷是否能夠往水平方向DirH移動螢幕,若判定能夠往水 平方向DirIi移動螢幕,則每次以水平移動刻度為單位逐步往水平 方向DirH移動螢幕,其中每次當以水平移動刻度移動螢幕以後, 回到(1) - (2)重新計算晝面中心點j(x,y)到人臉中影像心點F(x,y)之 間於水平軸X上的水平距離DstH及水平方向DkH ;若判定無法往 水平方向DirII移動螢幕,則可到。另一方面,判斷是否^夠往 垂^方向DirV移動螢幕’若判定能夠往垂直方向Dirv移動螢幕時, 則,次以垂直移動刻度為單位逐步往垂直方向Dkv移動螢幕,其 中每次當以垂直移動刻度移動螢幕以後,回到0) _ (2)重新計算^ 面中心點I(x,y)到人臉影像中心點F(x,y)之間於垂直軸γ上的垂直 距離Dstv及垂直方向DirV ;若判定無法往垂直方向Dirv移動 時,則可到(5)。 # (5)判斷疋否能夠沿著水平方向DirH轉動螢幕,若判定能夠沿 著水平方向DifH齡螢幕時’麟次以水平鶴刻度為單位沿著 ^平方向DifH逐步齡螢幕’其巾每次纽水平轉糊度轉動榮 以回到⑴-(2)重新計算晝面中心,點j㈣到人臉影像中心點 F(x,y)之間於水平軸X上的水平距離〇舰及水平方向D甜。另一方 面—判斷疋否越沿著垂直方向Dkv轉動螢幕,其中當判定能夠 f直方向^機螢幕時’則每相垂直轉細度為單位沿 ίΪ P —逐轉動縣’其巾每次纽垂直轉動刻度轉動 ^以^’ _(1) · (2)重新計算晝面中心點Ι(χ,洲人臉影像中心 F(x,y)之間㈣錄Υ上的垂直麟Dstv及垂直方向Dirv。 =判斷水平軸X或垂直軸γ平移和旋轉是否可調節時,營幕 =裝置巧據當前螢幕水平軸χ或垂錄γ平移和旋轉位U 相應的調節範圍判斷相應方向平移和旋轉是否可碉節。 Θ 當計算的需要的水平移動方向為向左 水2移當前位置為最左㈣,認為相應_節不 可為,要的水平移動方向為向右時,如絲幕水平平 11 201039633 移當=置,認為相應的調節不可調’·否則可調。 平移者餘ίίί的需要的垂直移動方向為上時,如果螢幕垂直 .要‘平移的=不,當計算的需 -(娜)’認為相應的靖不可調;否則可^移當歧置為最下 轉動?面算的需要沿著水平方向為向某一邊 為相庫絲域當靠置為—水付向之邊界肖(_,認 3 計算的需要沿著水平方向為^ 一邊轉 切為相廄疋轉备剛位置為另一水平方向之邊界角(ι〇〇%), ο ^為相應的調郎不可調;否則可調。 勞difii需要沿著垂直方向為向某一邊轉動時,如果 ίίί轉為一垂直方向之邊界角(⑽),認為相應的調節 為為另一垂直方向之邊界角3為 調即不可調;否則可調。 ^晝面中被偵測到的人臉影像的個數超過—個以上,榮幕控 ίίΐ會ί據所有人臉雜位置計算—個最終的人臉的中心位 置於旦面中此最終的人臉的十心位置距離每一張人臉 ο 約相同’而此最終的人臉的中心位置與攝像機捕 =的晝面的中點的距離可被用於估算絲相應移動動作(例如 =括平移、垂直旋轉角度、水平旋轉角度等)及參數(例如可 包括移動刻度、轉動刻度、速度等)。 請參照第4圖’第4 ®是第3圖之螢幕控·法的流程圖。 =所示,此螢幕控制方法可包括以下步驟⑽—奶。應瞭解到, 在本實施例中所提及的步驟,除特別敘明其順序者外,均可 際需要調整其前後順序,甚至可同時或部分同時執 二Measure the position of the face and, according to the position of the face, the specific implementation of the financial method of the screen. 3 &3; Figure 3 is a schematic view of a method according to another embodiment of the present invention. In the present embodiment, the screen control method can be used to move the ruler and the rotation angle, and only need to calculate the direction of the movement, and the detection-fine adjustment of the repeated action causes the center point of the screen to be gradually aligned with the face. For the material, the screen (4) green can perform the following steps (1) · (5). The steps mentioned in this embodiment, except for the order in which they are specifically described, may need to be adjusted in order of their order, or even simultaneously or partially. As for the hard wealth of the step, since the above-mentioned embodiment has been specifically disclosed, shamelessly describes it. (1) The face image is captured from the face, and then the face image is recognized from the face and the position of the face image relative to the midpoint of the face is analyzed. (2) Calculate the horizontal distance d and the horizontal direction DirH to be moved on the horizontal axis 之间 between the center point F(x, y) of the face image at the center point of the face according to the position of the face image in the facet, and The vertical distance to be moved on the vertical axis γ and the = Dkv in the straight direction. (3) Determine whether the horizontal distance DstH is greater than the predetermined horizontal error range. If the horizontal distance DstH is greater than the predetermined horizontal error range, then go to (sentence, otherwise move the screen to the horizontal direction DirH and return to (1); determine the vertical distance Dstv Whether it is greater than the predetermined vertical 201039633 error range, if the vertical distance Dstv is greater than the predetermined vertical error range, then go to (4), otherwise move the screen to the vertical direction DirV and return to (1). Ο Ο (4) Determine whether it can In the horizontal direction, DirH moves the screen. If it is determined that the screen can be moved to the horizontal direction DirIi, the screen is gradually moved to the horizontal direction DirH every time in the horizontal movement scale, and each time the screen is moved horizontally, the screen returns to (1) - (2) Recalculate the horizontal distance DstH and the horizontal direction DkH between the center point j(x, y) of the face to the horizontal point X of the image heart point F(x, y) in the face; The direction of the DirII mobile screen can be reached. On the other hand, it is judged whether it is enough to move the screen to the DirV direction. If it is determined that the screen can be moved to the vertical direction Dirv, then the vertical movement is engraved. Move the screen gradually to the vertical direction Dkv, where each time you move the screen with the vertical movement scale, go back to 0) _ (2) Recalculate the ^ center point I (x, y) to the face image center point F ( The vertical distance Dstv between the x, y) on the vertical axis γ and the vertical direction DirV; if it is determined that the vertical direction Dirv cannot be moved, it is possible to go to (5). # (5) Determine whether you can rotate the screen along the horizontal direction DirH. If it is determined that the screen can be difH horizontally along the horizontal direction, 'Lin times in the horizontal crane scale unit along the ^ flat direction DifH step by step screen' Rotate the glory to return to (1)-(2) recalculate the center of the face, point j (four) to the horizontal distance X between the center point F(x, y) of the face image, the ship and the horizontal direction D sweet. On the other hand, it is judged whether the screen is rotated along the vertical direction Dkv, and when it is judged that the screen can be straight in the direction of 'the machine', then the vertical fineness of each phase is united along the ίΪ P-by-turning county' Rotate the scale vertically to turn ^^ _(1) · (2) Recalculate the center point of the facet (χ, the vertical face Dstv and vertical direction between the F (x, y) of the face image of the continent (4) Dirv. = Determine whether the horizontal axis X or vertical axis γ translation and rotation can be adjusted, the camp = device according to the current screen horizontal axis 垂 or the recording γ translation and rotation position U corresponding adjustment range to determine whether the corresponding direction translation and rotation It can be used for 。. When the required horizontal movement direction of the calculation is leftward water 2, the current position is the leftmost (four), and the corresponding _ section is not possible, and the horizontal movement direction is to the right, as the screen level is flat 11 201039633 Shift = set, think that the corresponding adjustment is not adjustable '· otherwise adjustable. Translator Yu ί ί ί ί ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ 'Think that the corresponding Jing is not adjustable; otherwise it can be moved Set to the lowest rotation? The surface calculation needs to be along the horizontal direction to the side of the phase library. When the axis is placed as the boundary of the water paying direction (_, the 3 calculation needs to be turned along the horizontal direction ^ side Cut into the boundary position of the other horizontal direction (ι〇〇%), ο ^ is not adjustable for the corresponding adjustment; otherwise adjustable. Laodifii needs to rotate to the side along the vertical direction If ίίί turns to the boundary angle of a vertical direction ((10)), the corresponding adjustment is considered to be the boundary angle of the other vertical direction. The adjustment is not adjustable; otherwise it is adjustable. ^The person detected in the surface The number of face images is more than one or more, and the screen is calculated according to the face of all faces. The center position of the final face is in the face of the ten faces of the final face. The face ο is about the same 'and the distance between the center position of this final face and the midpoint of the camera's face can be used to estimate the corresponding movement of the wire (eg = translation, vertical rotation angle, horizontal rotation angle, etc.) And parameters (for example, may include moving scales, rotating engravings) , speed, etc. Please refer to Figure 4 'The 4th ® is the flow chart of the screen control method of Figure 3. = This screen control method can include the following steps (10) - milk. It should be understood that in this implementation The steps mentioned in the example, except for the specific order, can be adjusted in order, even at the same time or in part
$步驟的硬體裝置,由於上-實施例已具體揭露\此不S 複贅述之。 首,,步驟610可於電腦中安裝人臉辨識系統之類的相關程 式。接著,步驟620可將攝像機連接於電腦。接著,步驟⑽可 12 201039633 透過攝像機自人臉取得晝面。接著,步驟64〇可從晝面中梆除 景的部分。接著’步驟650可進行人臉辨識。接著,步驟 判斷疋否偵測到人臉。若未偵測到人臉,則回到步驟。若: 到人臉,接著,步驟670可計算人臉在晝面中的位置。接著、= 驟680可計算人臉相對於螢幕中心的向量。接著,步驟69〇可二 送命令給顯示器,藉以令顯示器之螢幕逐步面向人臉。妙 二 驟695可關閉人臉辨識系統,結束操作。 ’、、、灸,步 Ο ❹ 由上述本發明實施例可知,應用本發明具有自動調整顯 勞幕的方向及位置’讓使用者錢好的視肖觀看螢料優點。° 雖然本發明已以實施例揭露如上,然其並非用以限定 明,任何熟悉此技藝者,在不脫離本發明之精神和範圍内,卷^ ㈣本發狄賴顧應視伽之^專 【圖式簡單說明】 Ϊ 種螢幕控制裝置的方塊圖。 ί 3 圖垂直移動模組搭配螢幕的側視圖。 =2Β圖疋弟1圖之垂直轉動模組搭配 Π是第1圖之水平轉動模組搭配登幕的俯: 圖 苐3圖疋依照本發明另—實施例的—種螢幕控制方法的示意 第4圖是第3 ®之㈣方法的流程圖 【主要元件符號說明】 100 螢幕控制裝置 110 人臉偵測模組 112 攝像機 114 位置分析器 116 向量計算器 117 水平誤差判斷器 201039633 118 :垂直誤差判斷器 120 :傳動裝置 121 :水平移動判斷模組 122 :水平移動模組 123 :垂直移動判斷模組 124 :垂直移動模組 125 :水平轉動判斷模組 126 :水平轉動模組 127 :垂直轉動判斷模組The hardware device of the $step has been specifically disclosed in the above-mentioned embodiments. First, step 610 can install a related method such as a face recognition system in the computer. Next, step 620 can connect the camera to the computer. Then, step (10) can be 12 201039633 to obtain a face from the face through the camera. Next, step 64 can remove the portion of the scene from the side. Next, step 650 can perform face recognition. Next, the step determines whether the face is detected. If no face is detected, go back to the step. If: To the face, then step 670 can calculate the position of the face in the face. Next, = 680 can calculate the vector of the face relative to the center of the screen. Then, step 69 can send a command to the display, so that the screen of the display gradually faces the face. The second step 695 can close the face recognition system and end the operation. ',, moxibustion, step Ο ❹ According to the embodiment of the present invention described above, the application of the present invention has the advantage of automatically adjusting the direction and position of the screen to allow the user to view the highlights. The present invention has been disclosed in the above embodiments, and is not intended to be limiting, and any person skilled in the art, without departing from the spirit and scope of the present invention, [Simple description of the diagram] A block diagram of the screen control device. ί 3 Figure shows the side view of the vertical movement module with the screen. = 2 Β 疋 疋 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 is a flow chart of the 3rd (4) method [Main component symbol description] 100 screen control device 110 face detection module 112 camera 114 position analyzer 116 vector calculator 117 horizontal error determiner 201039633 118 : vertical error judgment 120: transmission device 121: horizontal movement determination module 122: horizontal movement module 123: vertical movement determination module 124: vertical movement module 125: horizontal rotation determination module 126: horizontal rotation module 127: vertical rotation determination mode group
128 :垂直轉動模組 190 :螢幕128: Vertical rotation module 190: Screen
500 :螢幕控制方法 510、520 :步驟 610—695 :子步驟 DstH ·水平距離 Dstv :垂直距離 DirH :水平方向 Dkv :垂直方向 F(x,y):人臉影像中心點 I(x,y):晝面中心點 水平轴X 垂直軸Y 14500: screen control method 510, 520: step 610-695: sub-step DstH · horizontal distance Dstv: vertical distance DirH: horizontal direction Dkv: vertical direction F (x, y): face image center point I (x, y) : kneading center point horizontal axis X vertical axis Y 14