[go: up one dir, main page]

TWI671712B - Method for adjusting the aspect ratio of the display and display device thereof - Google Patents

Method for adjusting the aspect ratio of the display and display device thereof Download PDF

Info

Publication number
TWI671712B
TWI671712B TW106103932A TW106103932A TWI671712B TW I671712 B TWI671712 B TW I671712B TW 106103932 A TW106103932 A TW 106103932A TW 106103932 A TW106103932 A TW 106103932A TW I671712 B TWI671712 B TW I671712B
Authority
TW
Taiwan
Prior art keywords
display device
image
display
face
faces
Prior art date
Application number
TW106103932A
Other languages
Chinese (zh)
Other versions
TW201820263A (en
Inventor
陳信宇
Original Assignee
英華達股份有限公司
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 英華達股份有限公司 filed Critical 英華達股份有限公司
Publication of TW201820263A publication Critical patent/TW201820263A/en
Application granted granted Critical
Publication of TWI671712B publication Critical patent/TWI671712B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Abstract

一種自動調整顯示裝置顯示畫面比例的方法,其步驟包括:擷取影像、分析影像以判斷影像中是否具有至少一張人臉以及計算人臉的輪廓的大小與顯示裝置之間的距離是否符合標準距離,若否,則調整顯示裝置的顯示畫面比例。藉此,利用人臉辨識技術,辨識人臉的輪廓的大小,當人臉距離顯示裝置愈近,臉部輪廓愈大;反之,則愈小,藉此可以自動調整顯示裝置的顯示畫面比例或是顯示的文字大小。 A method for automatically adjusting the display screen ratio of a display device includes the steps of capturing an image, analyzing the image to determine whether the image has at least one face, and calculating whether the size of the contour of the face and the distance between the display device meet the standard Distance, if not, adjust the display screen ratio of the display device. With this, the face recognition technology is used to recognize the size of the face contour. As the face is closer to the display device, the face contour is larger; otherwise, the face contour is smaller, thereby automatically adjusting the display screen ratio of the display device or Is the displayed text size.

Description

自動調整顯示畫面比例的方法及其顯示裝置 Method for automatically adjusting display screen ratio and display device thereof

本發明是揭露一種顯示裝置,特別是有關於一種可以根據人臉與顯示裝置之間的距離來自動調整顯示畫面比例的方法的顯示裝置。 The invention discloses a display device, and more particularly, it relates to a display device that can automatically adjust the display screen ratio according to the distance between a human face and the display device.

目前市面上的顯示裝置,無論是在手持裝置例如智慧型手機或是平板,以及大型顯示裝置,要調整顯示裝置上的顯示畫面比例大小不外乎是利用滑鼠來進行放大或縮小、或者是利用手指在顯示裝置的螢幕上進行點擊,來做縮小或是放大的動作,才能調整顯示螢幕的顯示畫面比例大小。 At present, display devices on the market, whether in handheld devices such as smart phones or tablets, and large display devices, to adjust the display screen ratio on the display device is nothing more than using a mouse to zoom in or out, or Use your finger to click on the screen of the display device to zoom out or zoom in to adjust the display screen ratio.

另外,也有利用人臉的視線方向與顯示裝置的螢幕之間的平面所相夾的視線角度來調整螢幕的大小以及顯示效果,但是由於調整的方式都是由人工來處理或者是需要倚靠傳感器的感測來進行調整,因此顯示在顯示螢幕上的畫面並不一定能滿足使用者的需要,也不能依人數的多寡來調整顯示裝置的顯示畫面比例,造成在使用上的缺陷。 In addition, there are also adjustments to the size and display effect of the screen by using the angle of sight between the direction of the line of sight of the face and the plane between the screen of the display device, but because the adjustment methods are manually processed or rely on sensors Adjustment is performed by sensing, so the picture displayed on the display screen may not necessarily meet the needs of the user, and the display screen ratio of the display device may not be adjusted according to the number of people, resulting in defects in use.

根據先前技術的缺點,本發明揭露了一種自動調整顯示畫面比例的方法及其顯示裝置,其主要目的在於利用人臉的辨識技術,偵測人臉的 輪廓的大小,當人臉距離顯示裝置愈近,臉部輪廓愈大;反之,則愈小,藉此可以自動調整顯示裝置的顯示畫面比例或是顯示的文字大小。 According to the shortcomings of the prior art, the present invention discloses a method for automatically adjusting the display screen ratio and a display device thereof, the main purpose of which is to use face recognition technology to detect the face of a person. The size of the contour is that the closer the face is to the display device, the larger the contour of the face is; on the contrary, the smaller it is, so that the display screen ratio or the displayed text size of the display device can be automatically adjusted.

本發明的另一目的在於取得在顯示裝置前多張人臉的大小,以取得多張人臉的平均大小,而此平均大小需與顯示裝置達到標準距離,以符合觀看者觀看顯示裝置的距離。若人臉靠近顯示裝置,則縮小顯示裝置的顯示比例;若人臉遠離顯示裝置,則放大顯示器裝置的顯示比例。 Another object of the present invention is to obtain the size of multiple faces in front of the display device, so as to obtain the average size of the multiple faces, and the average size needs to reach a standard distance from the display device to meet the distance of the viewer viewing the display device. . If the human face is close to the display device, the display ratio of the display device is reduced; if the human face is far from the display device, the display ratio of the display device is enlarged.

根據上述目的,本發明揭露一種自動調整顯示裝置顯示畫面比例的方法,其步驟包括:擷取影像、分析影像以判斷影像中是否具有至少一張人臉以及計算人臉的輪廓的大小與顯示裝置之間的距離是否符合標準距離,若否,則調整顯示裝置的顯示畫面比例。 According to the above object, the present invention discloses a method for automatically adjusting a display screen ratio of a display device, the steps of which include: capturing an image, analyzing the image to determine whether the image has at least one human face, and calculating the size of the contour of the human face and the display device Whether the distance between them conforms to the standard distance, and if not, adjust the display screen ratio of the display device.

本發明另外還揭露一種具有自動調整顯示畫面比例的顯示裝置,包括:顯示裝置、取像單元,用以取得影像、人臉辨識模組,根據影像來判斷影像中是否具有至少一張人臉影像或判斷出影像中與顯示裝置之間具有相同距離的最多張人臉影像、運算模組,根據人臉影像計算這些人臉的輪廓的平均寬度與平均高度或是判斷出影像中與顯示裝置之間具有相同距離的最多張人臉影像以計算出一距離權重、調整模組,根據運算模組所計算出的人臉的輪廓的平均寬度與平均高度或是距離權重來調整顯示裝置的顯示畫面比例以及顯示模組,根據調整模組所調整的顯示畫面比例在顯示裝置上顯示調整後的影像。 The invention also discloses a display device with automatic adjustment of the display screen ratio, comprising: a display device and an image capturing unit for obtaining an image and a face recognition module, and determining whether there is at least one face image in the image according to the image Or determine the maximum number of face images and calculation modules with the same distance from the display device in the image, and calculate the average width and average height of the contours of these faces based on the face image, or determine the difference between the image and the display device. The maximum number of face images with the same distance between them is used to calculate a distance weight, and the adjustment module adjusts the display screen of the display device according to the average width and average height or distance weight of the contour of the face calculated by the operation module. The scale and display module displays the adjusted image on the display device according to the display screen scale adjusted by the adjustment module.

1‧‧‧顯示裝置 1‧‧‧ display device

10‧‧‧取像單元 10‧‧‧Image acquisition unit

20‧‧‧顯示模組 20‧‧‧Display Module

30‧‧‧處理單元 30‧‧‧ processing unit

302‧‧‧人臉辨識模組 302‧‧‧Face recognition module

304‧‧‧運算模組 304‧‧‧ Computing Module

306‧‧‧調整模組 306‧‧‧adjustment module

40‧‧‧擷取影像 40‧‧‧ Capture image

42‧‧‧分析影像並判斷在此影像中是否具有人臉 42‧‧‧analyze the image and determine if there are faces in this image

44‧‧‧計算並判斷人臉的大小與顯示裝置之間的距離是符合標準距離 44‧‧‧Calculate and judge the distance between the size of the face and the display device is in accordance with the standard distance

46‧‧‧維持顯示裝置目前的顯示畫面比例 46‧‧‧ Maintain the current display screen ratio of the display device

48‧‧‧調整顯示裝置的顯示畫面比例 48‧‧‧Adjust display screen ratio of display device

60‧‧‧擷取影像 60‧‧‧Capture image

62‧‧‧分析影像並判斷影像中是否具有人臉 62‧‧‧analyze the image and determine whether there are faces in the image

64‧‧‧取得影像中多張人臉與顯示裝置之間的距離 64‧‧‧ Obtain the distance between multiple faces in the image and the display device

66‧‧‧根據影像中與顯示裝置之間具有相同距離的最多張的人臉影像以計算距離權重 66‧‧‧Calculate distance weight based on the most face images in the image with the same distance from the display device

68‧‧‧根據距離權重來調整顯示裝置的顯示畫面比例 68‧‧‧Adjust display screen ratio of display device based on distance weight

70‧‧‧擷取影像 70‧‧‧ Capture image

72‧‧‧分析影像並判斷影像中是否具有人臉 72‧‧‧analyze the image and determine whether there are faces in the image

74‧‧‧取得影像中最大張的人臉的輪廓的寬度與高度 74‧‧‧ Obtain the width and height of the contour of the largest face in the image

76‧‧‧根據此最大張的人臉的輪廓的寬度與高度來調整顯示裝置的顯示畫面比例 76‧‧‧ Adjust the display screen ratio of the display device according to the width and height of the contour of the largest face

80‧‧‧擷取影像 80‧‧‧ Capture image

82‧‧‧分析影像並判斷影像中是否具有人臉 82‧‧‧analyze the image and determine whether there are faces in the image

84‧‧‧取得影像中多張人臉的輪廓的寬度及高度 84‧‧‧ Obtain the width and height of the contours of multiple faces in the image

86‧‧‧將多張人臉的輪廓的寬度與高度相加之後除以人臉的數量以得到多張人臉的輪廓的平均寬度與高度 86‧‧‧Add the width and height of the contours of multiple faces and divide by the number of faces to get the average width and height of the contours of multiple faces

88‧‧‧根據多張人臉的輪廓的平均寬度與高度來調整顯示裝置的顯示畫面比例 88‧‧‧ Adjust the display screen ratio of the display device based on the average width and height of the contours of multiple faces

P‧‧‧最多張人臉 P‧‧‧ at most faces

L‧‧‧人臉的高度 L‧‧‧ Face height

W‧‧‧人臉的寬度 W‧‧‧ Face width

L1、L2、Ln‧‧‧人臉的高度 L1, L2, Ln‧‧‧face height

W1、W2、Wn‧‧‧人臉的寬度 W1, W2, Wn‧‧‧ Face width

D1、D2‧‧‧人臉距離顯示裝置的距離 D1, D2‧‧‧Face distance from display device

圖1是根據本發明所揭露的技術,表示顯示裝置的方塊圖。 FIG. 1 is a block diagram showing a display device according to the disclosed technology.

圖2是根據本發明所揭露的技術,表示擷取在顯示裝置前的影像,以判斷是否具有人臉而調整顯示裝置的顯示畫面比例的步驟流程圖。 FIG. 2 is a flowchart illustrating steps for capturing an image in front of a display device to determine whether a human face is present and adjusting a display screen ratio of the display device according to the technology disclosed in the present invention.

圖3A是根據本發明所揭露的技術,表示人與顯示裝置之間具有較遠的距離。 FIG. 3A is a technology disclosed in accordance with the present invention, showing that there is a long distance between a person and a display device.

圖3B是根據本發明所揭露的技術,表示人與顯示裝置之間具有較短的距離。 FIG. 3B is a technology disclosed in accordance with the present invention, showing that there is a short distance between a person and a display device.

圖4A是根據本發明所揭露的技術,表示利用距離權重來調整顯示裝置的顯示畫面比例的步驟流程圖。 FIG. 4A is a flowchart illustrating a step of adjusting a display screen ratio of a display device by using a distance weight according to the technology disclosed in the present invention.

圖4B是根據本發明所揭露的技術,表示根據圖4A利用距離權重來調整顯示裝置的顯示畫面比例的示意圖。 FIG. 4B is a schematic diagram illustrating a technique for adjusting a display screen ratio of a display device using a distance weight according to FIG. 4A according to a technique disclosed in the present invention.

圖5A是根據本發明所揭露的技術,表示利用最大張的人臉的輪廓的寬度與高度來調整在顯示裝置上所顯示的畫面比例的步驟流程圖。 FIG. 5A is a flowchart illustrating a procedure for adjusting a ratio of a screen displayed on a display device by using a width and a height of a contour of a human face according to a technique disclosed in the present invention.

圖5B是根據本發明所揭露的技術,表示根據圖5A利用最大張的人臉的輪廓的寬度與高度來調整顯示裝置的顯示畫面比例的示意圖。 FIG. 5B is a schematic diagram illustrating adjusting the display screen ratio of the display device by using the width and height of the contour of the largest human face according to the technology disclosed in FIG. 5A.

圖6A是根據本發明所揭露的技術,表示利用人臉的輪廓的平均寬度與平均高度來調整在顯示裝置上所顯示的畫面比例的步驟流程圖。 FIG. 6A is a flowchart illustrating a step of adjusting a ratio of a screen displayed on a display device by using an average width and an average height of a contour of a human face according to a technique disclosed in the present invention.

圖6B是根據本發明所揭露的技術,表示根據圖6A利用影像中最多張人臉的輪廓的平均寬度與平均高度來調整在顯示裝置上所顯示的畫面比例的示意圖。 FIG. 6B is a schematic diagram illustrating a technique for adjusting the proportion of a picture displayed on a display device according to FIG. 6A by using the average width and average height of the contours of the most human faces in an image according to FIG. 6A.

首先請參考圖1。圖1是根據本發明所揭露的技術,表示顯示裝置的方塊圖。在圖1中,顯示裝置1包括取像單元10、顯示模組20以及處理單元30,其中處理單元30分別與取像單元10及顯示模組20電性連接。另外,處理單元30還包括人臉辨識模組302、運算模組304以及調整模組306,其中運算模組304分別與人臉辨識模組302及調整模組306電性連接。更具體的來說,顯示模組20與處理單元30中的調整模組306電性連接。 Please refer to Figure 1 first. FIG. 1 is a block diagram showing a display device according to the disclosed technology. In FIG. 1, the display device 1 includes an image capturing unit 10, a display module 20, and a processing unit 30. The processing unit 30 is electrically connected to the image capturing unit 10 and the display module 20, respectively. In addition, the processing unit 30 further includes a face recognition module 302, a calculation module 304, and an adjustment module 306. The calculation module 304 is electrically connected to the face recognition module 302 and the adjustment module 306, respectively. More specifically, the display module 20 is electrically connected to the adjustment module 306 in the processing unit 30.

同樣請參考圖1。圖1中的取像單元10是用來擷取在顯示裝置1前的影像,其取像單元10是攝像鏡頭或是不具有傳感器(sensor)的攝像鏡頭。處理單元30根據取像單元10所擷取的影像來對影像進行處理與分析,並且根據分析的結果來調整顯示裝置1的顯示畫面比例。具體來說,處理單元30中的人臉辨識模組302用以辨識影像中是否具有人臉。運算模組304則是用來計算人臉與顯示裝置1之間的距離,藉由計算後的結果,將此結果傳送至顯示模組20,藉由調整模組306來調整並控制顯示模組20要在顯示裝置1所顯示的畫面比例。 Please also refer to Figure 1. The image capturing unit 10 in FIG. 1 is used to capture an image in front of the display device 1. The image capturing unit 10 is a camera lens or a camera lens without a sensor. The processing unit 30 processes and analyzes the image according to the image captured by the image capturing unit 10, and adjusts the display screen ratio of the display device 1 according to the analysis result. Specifically, the face recognition module 302 in the processing unit 30 is used to identify whether there is a human face in the image. The computing module 304 is used to calculate the distance between the human face and the display device 1. Based on the calculated result, this result is transmitted to the display module 20, and the adjustment module 306 is used to adjust and control the display module. 20 The ratio of the screen to be displayed on the display device 1.

接著,請參考圖2。圖2是根據本發明所揭露的技術,表示擷取在顯示裝置前的影像,以判斷是否具有人臉而調整顯示裝置的顯示畫面比例的步驟流程圖。並配合圖1來說明。首先,步驟40,擷取影像。在此步驟中,利用取像單元10來擷取在顯示裝置1前的影像。接著,步驟42,分析影像並判斷在此影像中是否具有人臉。在步驟42,人臉辨識模組302利用人臉辨識演算法來找出在影像中的人臉,若辨識出具有人臉,則進行步驟44;若辨識出沒有人臉,則返回步驟40,重新擷取影像。在此,要說明的是,利用人臉辨識演算法來判斷影像是否具有人臉或者是人臉的位置已經在相關技術領域中被廣泛應用,且如何在影像中辨識出是否具有人臉並非為本發明的技術特徵,因此,不多加陳述人臉辨識演算法的計算原理。 Please refer to FIG. 2. FIG. 2 is a flowchart illustrating steps for capturing an image in front of a display device to determine whether a human face is present and adjusting a display screen ratio of the display device according to the technology disclosed in the present invention. It will be explained with reference to FIG. 1. First, step 40, capturing an image. In this step, the image capturing unit 10 is used to capture an image in front of the display device 1. Next, step 42 analyzes the image and determines whether there is a human face in the image. In step 42, the face recognition module 302 uses the face recognition algorithm to find the face in the image. If it is recognized that it has a face, it proceeds to step 44; if it does not recognize a face, it returns to step 40 and restarts Capture image. Here, it should be explained that using a face recognition algorithm to determine whether an image has a human face or the position of a human face has been widely used in related technical fields, and how to recognize whether a human face is recognized in an image is not The technical features of the present invention, therefore, do not state the calculation principle of the face recognition algorithm.

根據上述步驟42,若分析出影像中具有人臉,則進行步驟44,計算並判斷人臉的輪廓的大小與顯示裝置之間的距離是符合標準距離,若人臉的輪廓的大小與顯示裝置之間的距離不符合標準距離,則進行步驟48,調整顯示裝置的顯示畫面比例。此外,若人臉的輪廓的大小與顯示裝置之間的距離符合標準距離符合標準距離,則進行步驟46,維持螢幕目前的顯示畫面比例。在此要說明的是,人臉與顯示裝置1之間的標準距離指的是顯 示裝置1的畫面縱向長度的三倍。舉例來說,若顯示裝置1為43吋的液晶顯示螢幕,其顯示裝置1的畫面縱向長度為571釐米(mm),因此標準距離為顯示裝置1的畫面縱向長度的三倍,則是571x3,其標準距離為1713釐米。又以顯示裝置1為49吋的液晶顯示螢幕為例,其49吋的顯示裝置1的畫面縱向長度為646釐米,則標準距離為646x3,則是1938釐米。也就是說,在本發明中所定義的標準距離會隨著不同尺寸大小的顯示裝置1來改變,這也是因為不同尺寸大小的顯示裝置1所顯示的畫面比例不同,所以需要隨著顯示裝置1的大小來改變。另外,要說明的是,雖然是相同尺寸的顯示裝置1,例如49吋液晶顯示裝置1,但是由於不同廠牌的液晶顯示螢幕所設定的畫面縱向長度也有所不同,因此,在本發明中是以顯示裝置1的畫面縱向長度的三倍來做為人臉與顯示裝置1之間的標準距離。 According to the above step 42, if it is analyzed that there is a human face in the image, step 44 is performed to calculate and judge that the distance between the size of the outline of the human face and the display device is in accordance with the standard distance. If the distance between them does not meet the standard distance, step 48 is performed to adjust the display screen ratio of the display device. In addition, if the size of the contour of the human face and the distance between the display device and the standard distance match the standard distance, step 46 is performed to maintain the current display screen ratio of the screen. It should be noted here that the standard distance between the human face and the display device 1 refers to the display distance. The vertical length of the screen of the display device 1 is three times. For example, if the display device 1 is a 43-inch liquid crystal display screen, the vertical length of the display device 1 is 571 centimeters (mm), so the standard distance is three times the vertical length of the display device 1, which is 571x3. Its standard distance is 1713 cm. Taking the display device 1 as a 49-inch liquid crystal display screen as an example, the vertical length of the 49-inch display device 1 is 646 cm, and the standard distance is 646x3, which is 1938 cm. That is to say, the standard distance defined in the present invention will change with the display device 1 of different sizes. This is also because the ratio of the screen displayed by the display devices 1 of different sizes is different. The size to change. In addition, it should be noted that although the display devices 1 of the same size, for example, a 49-inch liquid crystal display device 1, the vertical length of the screen set by the liquid crystal display screens of different manufacturers is also different, so in the present invention Three times the vertical length of the screen of the display device 1 is used as the standard distance between the human face and the display device 1.

當運算模組304計算並且判斷在顯示裝置1前的人臉與顯示裝置1之間的距離不符合標準距離,即不符合顯示裝置1的畫面縱向長度的三倍的定義時,則調整模組306對於要顯示在顯示裝置1上的畫面比例進行調整,然後顯示模組20再將調整後的畫面比例顯示在顯示裝置1上。舉例來說,若運算模組304計算並判斷出所擷取到的影像中的人臉與顯示裝置1之間的距離小於標準距離,即是人與顯示裝置1之間的距離D2較短,如圖3B所示。為了讓人臉及或人臉之外的其他影像也可以清楚的顯示在顯示裝置1上,則調整模組306將要顯示在顯示裝置1上的畫面比例予以調整縮小,使得顯示模組20在顯示裝置1上所顯示的影像中的人臉不至於整個顯示裝置1就只看得到一張人臉或者是人臉的大小超過了顯示的畫面比例。如果運算模組304計算並判斷出所擷取到的影像中的人臉與顯示裝置1之間的距離大於標準距離,這意味著人與顯示裝置1之間的距離D1較遠,如圖3A所示。為了讓人臉可以清楚的顯示在顯示裝置1上,則調整模組306將顯示在顯示裝置1 上的畫面比例放大,使得顯示模組20在顯示裝置1上可以將影像中的人臉予以清楚的顯示,而不至於因為人臉與顯示裝置1之間的距離較遠,使得在顯示裝置1上所顯示出的人臉非常小。 When the computing module 304 calculates and determines that the distance between the face in front of the display device 1 and the display device 1 does not conform to the standard distance, that is, does not meet the definition of three times the vertical length of the screen of the display device 1, the adjustment module 306 adjusts the screen ratio to be displayed on the display device 1, and then the display module 20 displays the adjusted screen ratio on the display device 1. For example, if the computing module 304 calculates and determines that the distance between the face in the captured image and the display device 1 is less than the standard distance, the distance D2 between the person and the display device 1 is shorter, such as Figure 3B. In order that the human face and / or other images other than the human face can also be clearly displayed on the display device 1, the adjustment module 306 adjusts and reduces the ratio of the screen to be displayed on the display device 1, so that the display module 20 is displayed on the display. If the human face in the image displayed on the device 1 is less than the entire display device 1, only one human face can be seen or the size of the human face exceeds the displayed screen ratio. If the computing module 304 calculates and determines that the distance between the face in the captured image and the display device 1 is greater than the standard distance, this means that the distance D1 between the person and the display device 1 is far, as shown in FIG. 3A Show. In order that the human face can be clearly displayed on the display device 1, the adjustment module 306 will be displayed on the display device 1. The screen ratio on the display is enlarged so that the display module 20 can clearly display the human face in the image on the display device 1, because the distance between the human face and the display device 1 is far, which makes the display device 1 The face shown above is very small.

接著請參考圖4A。圖4A是根據本發明所揭露的技術,表示利用距離權重來調整顯示裝置的顯示畫面比例的步驟流程圖。在圖4A中,步驟60,擷取影像。接著步驟62,分析影像並判斷影像中是否具有人臉。緊接著於步驟64,取得影像中多張人臉與顯示裝置之間的距離。接著,步驟66,根據影像中與顯示裝置之間具有相同距離的最多張的人臉影像以計算距離權重。步驟68,根據距離權重來調整顯示裝置的顯示畫面比例。 Please refer to FIG. 4A. FIG. 4A is a flowchart illustrating a step of adjusting a display screen ratio of a display device by using a distance weight according to the technology disclosed in the present invention. In FIG. 4A, in step 60, an image is captured. Then, step 62 is performed to analyze the image and determine whether there is a human face in the image. Immediately after step 64, the distances between the multiple faces in the image and the display device are obtained. Next, in step 66, the distance weight is calculated based on the most facial images with the same distance from the display device in the image. Step 68: Adjust the display screen ratio of the display device according to the distance weight.

舉例來說,如圖4B所示,在圖4B中有多個人站在顯示裝置1前,有些距離顯示裝置1較近、有些較遠,而有多個人與顯示裝置1之間的距離相同,為了要將在與顯示裝置1之間具有相同距離的最多張的人臉做為顯示的對象顯示在顯示裝置1上,取像單元10(如圖1所示)對在顯示裝置1前的影像進行擷取。接著,人臉辨識模組302分析影像中是否具有人臉。以此實施例來說,在影像中有多張人臉,而且與顯示裝置1之間的距離有遠有近。接著,運算模組304(如圖1所示)就會根據影像中的這些人臉來計算每張人臉與顯示裝置1之間的距離,如圖4B中所表示的D1。然後,找出與顯示裝置1之間具有相同距離的最多張的人臉影像,如圖4B中所表示的P。然後以與顯示裝置1之間具有相同距離的最多張的人臉則對一距離權重來相乘。然後,調整模組306(如圖1所示)利用相乘之後的距離權重來調整顯示在顯示裝置1上的畫面比例。在此要說明的是,若在顯示裝置1前,有多個距離權重,則以距離權重的最大值來做為調整顯示裝置1的顯示畫面比例的主要依據。最後,顯示模組20(如圖1所示)根據調整後的畫面比例,將具有相同距離的多張人臉做為主要顯示的畫面,而顯示在顯示裝置1上。 For example, as shown in FIG. 4B, in FIG. 4B, there are multiple people standing in front of the display device 1, some are closer to the display device 1, and some are farther away, and multiple people are at the same distance from the display device 1. In order to display on the display device 1 the largest number of human faces with the same distance from the display device 1, the image capturing unit 10 (as shown in FIG. 1) Capture. Next, the face recognition module 302 analyzes whether there is a human face in the image. According to this embodiment, there are multiple human faces in the image, and the distance from the display device 1 is far or near. Then, the computing module 304 (as shown in FIG. 1) calculates the distance between each face and the display device 1 according to the faces in the image, as shown by D1 in FIG. 4B. Then, find the most facial image with the same distance from the display device 1 as P shown in FIG. 4B. Then, a distance weight is used to multiply the most human faces with the same distance from the display device 1. Then, the adjustment module 306 (as shown in FIG. 1) uses the distance weight after the multiplication to adjust the screen ratio displayed on the display device 1. It should be explained here that if there are multiple distance weights before the display device 1, the maximum value of the distance weights is used as the main basis for adjusting the display screen ratio of the display device 1. Finally, the display module 20 (as shown in FIG. 1) displays a plurality of human faces with the same distance as the main display screen according to the adjusted screen ratio, and displays the pictures on the display device 1.

接著請參考圖5A。圖5A是根據本發明所揭露的技術,表示利用最大張的人臉的輪廓的寬度與高度來調整在顯示裝置上的顯示畫面比例的步驟流程圖。在圖5A中,步驟70,擷取影像。接著步驟72,分析影像並判斷影像中是否具有人臉。接著於步驟74,取得影像中最大張的人臉的輪廓的寬度與高度。在此步驟中,是以影像中最大張的人臉做為主要顯示的對象,因此,利用人臉辨識模組302在影像中找尋最大張的人臉。接著步驟76,根據此最大張的人臉的輪廓的寬度與高度來調整顯示裝置的顯示畫面比例。在此步驟中,由於主要顯示的對象以影像中最大張的人臉為主,因此要以影像中最大張的人臉來調整在顯示裝置1上所顯示的畫面比例。 Please refer to FIG. 5A. FIG. 5A is a flowchart illustrating a procedure for adjusting a display screen ratio on a display device by using a width and a height of a contour of a human face according to the technology disclosed in the present invention. In FIG. 5A, in step 70, an image is captured. Then, step 72 is performed to analyze the image and determine whether there is a human face in the image. Then, in step 74, the width and height of the contour of the largest face in the image are obtained. In this step, the largest face in the image is used as the main display object. Therefore, the face recognition module 302 is used to find the largest face in the image. Following step 76, the display screen ratio of the display device is adjusted according to the width and height of the contour of the largest face. In this step, since the main displayed object is mainly the largest human face in the image, the largest human face in the image is used to adjust the proportion of the screen displayed on the display device 1.

舉例來說,如圖5B所示,有多個人站在顯示裝置1前,取像單元10(如圖1所示)擷取顯示裝置1前的影像之後,人臉辨識模組302(如圖1所示)即判斷在此影像中是否具有人臉。然後利用運算模組304(如圖1所示)來取得在影像中最大張的人臉的輪廓的寬度W及高度L。以此實施例來說,人臉的輪廓有大有小,每個人對於臉的輪廓大小的定義都不同,因此在本實施例中是以影像中的每一張人臉的輪廓的寬度W及高度L來做判斷。接著,調整模組306(如圖1所示)藉由運算模組304(如圖1所示)所計算的結果,根據此最大張的人臉的輪廓的寬度W與高度L來調整要顯示在顯示裝置1的顯示畫面比例。最後,顯示模組20(如圖1所示)以具有最大張的人臉做為主要顯示對象,而顯示在顯示裝置1上。 For example, as shown in FIG. 5B, there are multiple people standing in front of the display device 1, and after the image capturing unit 10 (as shown in FIG. 1) captures the image in front of the display device 1, the face recognition module 302 (as shown in FIG. 5) (Shown in 1) to determine whether there is a human face in this image. Then, the computing module 304 (as shown in FIG. 1) is used to obtain the width W and height L of the contour of the largest human face in the image. In this embodiment, the contours of a human face are different, and each person has a different definition of the size of the face. Therefore, in this embodiment, the width of the contour of each face in the image is Height L to judge. Next, the adjustment module 306 (as shown in FIG. 1) adjusts the display to be displayed according to the width W and height L of the contour of the largest face by the calculation result of the operation module 304 (as shown in FIG. 1). The display screen ratio on the display device 1. Finally, the display module 20 (shown in FIG. 1) uses the human face with the largest image as a main display object and displays it on the display device 1.

接著請參考圖6A。圖6A是根據本發明所揭露的技術,表示利用人臉的輪廓的平均寬度與平均高度來調整顯示裝置的顯示畫面比例的步驟流程圖。同時一併參考圖1。在圖6A中,步驟80,擷取影像。接著步驟82,分析影像並判斷影像中是否具有人臉。緊接著於步驟84,取得影像中多張人臉的輪廓的寬度及高度。步驟86,將多張人臉的輪廓的寬度與高度相加 之後除以人臉的數量以得到多張人臉的輪廓的平均寬度與高度。接著,步驟88,根據多張人臉的輪廓的平均寬度與高度來調整顯示裝置的顯示畫面比例。 Please refer to FIG. 6A. FIG. 6A is a flowchart illustrating a step of adjusting a display screen ratio of a display device by using an average width and an average height of a contour of a human face according to a technique disclosed in the present invention. Refer to FIG. 1 together. In FIG. 6A, in step 80, an image is captured. Then, step 82 is performed to analyze the image and determine whether there is a human face in the image. Immediately after step 84, the widths and heights of the contours of multiple faces in the image are obtained. Step 86: Add the width and height of the contours of multiple faces Then divide by the number of faces to get the average width and height of the contours of multiple faces. Next, in step 88, the display screen ratio of the display device is adjusted according to the average width and height of the contours of the multiple human faces.

舉例來說,如圖6B所示,在圖6B中有多個人站在顯示裝置1前,有些距離顯示裝置1較近、有些較遠,而且有多個人與顯示裝置1之間的距離相同,此時為了要將在顯示裝置1前的所有出現的影像都顯示在顯示裝置1上,取像單元10(如圖1所示)對在顯示裝置1前的影像進行擷取。接著,人臉辨識模組302(如圖1所示)分析影像中是否具有人臉。以此實施例來說,在影像中有多張人臉,而且與顯示裝置1之間的距離有遠有近。接著,運算模組304就會根據影像中的這些人臉的輪廓的寬度W1、W2...Wn及高度L1、L2...Ln相加並且除以人臉的數量(n個),來得到多張人臉的輪廓的平均高度與平均寬度。然後,調整模組306(如圖1所示)利用多張人臉的平均高度與平均寬度來調整在顯示裝置1上的顯示畫面比例,最後,顯示模組20(如圖1所示)根據調整後的畫面比例,也就是以這些在顯示裝置1前的多張人臉做為主要顯示的畫面,而顯示在顯示裝置1上。 For example, as shown in FIG. 6B, in FIG. 6B, there are multiple people standing in front of the display device 1, some are closer to the display device 1, some are farther away, and more than one person is at the same distance from the display device 1. At this time, in order to display all the images appearing in front of the display device 1 on the display device 1, the image capturing unit 10 (as shown in FIG. 1) captures the images in front of the display device 1. Next, the face recognition module 302 (as shown in FIG. 1) analyzes whether there is a human face in the image. According to this embodiment, there are multiple human faces in the image, and the distance from the display device 1 is far or near. Then, the operation module 304 adds the widths W1, W2 ... Wn and the heights L1, L2 ... Ln of the contours of the faces in the image and divides them by the number of faces (n). Get the average height and average width of the contours of multiple faces. Then, the adjustment module 306 (as shown in FIG. 1) uses the average height and average width of multiple faces to adjust the display screen ratio on the display device 1. Finally, the display module 20 (as shown in FIG. 1) The adjusted picture ratio is displayed on the display device 1 by using a plurality of human faces in front of the display device 1 as a main display screen.

根據上述的實施例,本發明是利用取像單元10來取得在顯示裝置1前的影像,並且利用人臉辨識模組302來分析及判斷在影像中是否具有人臉,若有,則依據人臉與顯示裝置1的遠近、人臉的多寡、人臉的輪廓的大小或是平均寬度及平均高度,依使用者的需要來調整顯示裝置1的顯示畫面比例。 According to the above embodiment, the present invention uses the image capturing unit 10 to obtain an image in front of the display device 1, and uses a face recognition module 302 to analyze and determine whether there is a human face in the image. The distance between the face and the display device 1, the size of the human face, the size or the average width and average height of the face contour, the display screen ratio of the display device 1 is adjusted according to the needs of the user.

Claims (5)

一種自動調整顯示裝置顯示畫面比例的方法,包括:擷取一位於該顯示裝置前的影像;分析該影像,以判斷該影像中是否具有多張人臉;計算該些人臉的一平均寬度與一平均高度,其中該平均寬度是表示將該些人臉的寬度相加並且除以該些人臉的數量,該平均高度是表示將該些人臉的高度相加並且除以該些人臉的數量;以及根據該平均寬度與該平均高度,計算該些人臉與該顯示裝置之間的一距離是否符合一標準距離,若否,則調整該顯示裝置的一顯示畫面比例。A method for automatically adjusting the display screen ratio of a display device includes: capturing an image in front of the display device; analyzing the image to determine whether there are multiple faces in the image; and calculating an average width and An average height, where the average width is the sum of the widths of the faces and divided by the number of the faces, and the average height is the sum of the heights of the faces and divided by the faces And calculate whether a distance between the faces and the display device conforms to a standard distance according to the average width and the average height, and if not, adjust a display screen ratio of the display device. 如申請專利範圍第1項所述的方法,其中該標準距離是該顯示裝置的一畫面縱向長度的三倍。The method according to item 1 of the scope of patent application, wherein the standard distance is three times the vertical length of a screen of the display device. 一種可自動調整顯示畫面比例的顯示裝置,包括:一取像單元,用以取得一位於該顯示裝置前的影像;一人臉辨識模組,根據該影像以判斷該影像中是否具有多張人臉;一運算模組,計算該些人臉的一平均寬度與一平均高度;一調整模組,根據該運算模組所計算出的該些人臉的該平均寬度與該平均高度來調整該顯示裝置的一顯示畫面比例;以及一顯示模組,根據該調整模組所調整的該顯示畫面比例在該顯示裝置上顯示調整後的該影像。A display device capable of automatically adjusting a display screen ratio includes: an image capturing unit for obtaining an image in front of the display device; and a face recognition module for determining whether there are multiple faces in the image based on the image An arithmetic module that calculates an average width and an average height of the faces; an adjustment module that adjusts the display based on the average width and the average height of the faces calculated by the arithmetic module A display screen ratio of the device; and a display module, which displays the adjusted image on the display device according to the display screen ratio adjusted by the adjustment module. 如申請專利範圍第3項所述的可自動調整顯示畫面比例的顯示裝置,其中該取像單元為一攝像鏡頭。The display device capable of automatically adjusting the display screen ratio as described in item 3 of the scope of patent application, wherein the image capturing unit is a camera lens. 如申請專利範圍第3項所述的可自動調整顯示畫面比例的顯示裝置,其中該取像單元為不具有感測器的一攝像鏡頭。According to the display device capable of automatically adjusting the display frame ratio according to item 3 of the scope of the patent application, the image capturing unit is a camera lens without a sensor.
TW106103932A 2016-11-03 2017-02-07 Method for adjusting the aspect ratio of the display and display device thereof TWI671712B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201610957733.3 2016-11-03
CN201610957733.3A CN106529449A (en) 2016-11-03 2016-11-03 Method for automatically adjusting the proportion of displayed image and its display apparatus

Publications (2)

Publication Number Publication Date
TW201820263A TW201820263A (en) 2018-06-01
TWI671712B true TWI671712B (en) 2019-09-11

Family

ID=58325484

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106103932A TWI671712B (en) 2016-11-03 2017-02-07 Method for adjusting the aspect ratio of the display and display device thereof

Country Status (2)

Country Link
CN (1) CN106529449A (en)
TW (1) TWI671712B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107633398A (en) 2017-08-24 2018-01-26 阿里巴巴集团控股有限公司 Method for displaying image and device and electronic equipment
CN110851032A (en) * 2019-11-06 2020-02-28 北京字节跳动网络技术有限公司 Display style adjustment method and device for target device
CN114327216B (en) * 2020-09-25 2023-08-22 宏碁股份有限公司 Image display device and its resolution adjustment method
CN114816641B (en) * 2022-05-09 2023-05-02 海信视像科技股份有限公司 Display device, multimedia content display method, and storage medium
CN117953834B (en) * 2024-03-27 2024-05-28 安徽触威电子科技有限公司 Display control method and system for fireproof display screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130286049A1 (en) * 2011-12-20 2013-10-31 Heng Yang Automatic adjustment of display image using face detection
CN103839534A (en) * 2012-11-27 2014-06-04 英业达科技有限公司 Font adjusting system and adjusting method
CN103903591A (en) * 2012-12-25 2014-07-02 扬智科技股份有限公司 Screen adjustment method and device, and display device
TWI512537B (en) * 2014-02-24 2015-12-11 Pegatron Corp Method for adjusting screen display effect and handheld electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415103B (en) * 2007-10-19 2010-08-11 英华达(南京)科技有限公司 Method for regulating video signal picture
CN101499253B (en) * 2008-01-28 2011-06-29 宏达国际电子股份有限公司 Output screen adjustment method and device
CN102073436A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Screen operation method and electronic device using the method
TW201237773A (en) * 2011-03-15 2012-09-16 Wistron Corp An electronic system, image adjusting method and computer program product thereof
CN102955664A (en) * 2011-08-19 2013-03-06 鸿富锦精密工业(深圳)有限公司 Method and system for electronic book display adjustment
CN103491230B (en) * 2013-09-04 2016-01-27 三星半导体(中国)研究开发有限公司 Can the mobile terminal of automatic regulating volume and font and Automatic adjustment method thereof
CN104536566A (en) * 2014-12-22 2015-04-22 深圳市金立通信设备有限公司 Page content processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130286049A1 (en) * 2011-12-20 2013-10-31 Heng Yang Automatic adjustment of display image using face detection
CN103839534A (en) * 2012-11-27 2014-06-04 英业达科技有限公司 Font adjusting system and adjusting method
CN103903591A (en) * 2012-12-25 2014-07-02 扬智科技股份有限公司 Screen adjustment method and device, and display device
TWI512537B (en) * 2014-02-24 2015-12-11 Pegatron Corp Method for adjusting screen display effect and handheld electronic device

Also Published As

Publication number Publication date
TW201820263A (en) 2018-06-01
CN106529449A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
TWI671712B (en) Method for adjusting the aspect ratio of the display and display device thereof
TWI497247B (en) Data processing device and method for realizing brightness adjustment
CN102917232B (en) Face recognition based 3D (three dimension) display self-adaptive adjusting method and face recognition based 3D display self-adaptive adjusting device
US9508005B2 (en) Method for warning a user about a distance between user' s eyes and a screen
US9934573B2 (en) Technologies for adjusting a perspective of a captured image for display
CN104980646A (en) Blocking detection method and electronic device
CN107992187B (en) Display method and system thereof
EP2894851B1 (en) Image processing device, image processing method, program, and computer-readable storage medium
WO2018072598A1 (en) Human body height measurement method and device, and smart mirror
TWI631506B (en) Method and system for whirling view on screen
US20180184065A1 (en) Method, apparatus, and non-transitory computer readable medium for generating depth maps
TW201405445A (en) True face recognition system and method based on dual camera
US10212331B2 (en) Imaging device and method for automatic focus in an imaging device as well as a corresponding computer program
WO2018235198A1 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
US20190004613A1 (en) Gesture position correctiing method and augmented reality display device
TW201710833A (en) Face expression operating system
CN104333709B (en) Method, device and the electronic equipment being controlled to flash lamp
CN106200916B (en) Augmented reality image control method, device and terminal device
JP6977823B2 (en) Information processing equipment, control methods, and programs
TW201513661A (en) Photography device and adjusting system and adjusting method thereof
JP7161684B2 (en) Data acquisition device and data processing method
US10942575B2 (en) 2D pointing indicator analysis
US20130181894A1 (en) Display device and method for large screen
CN104122978A (en) Display frame adjusting system and method
KR20100081099A (en) Apparatus and method for out-focasing