WO2013071826A1 - 一种屏幕横竖显示模式切换的方法和终端 - Google Patents
一种屏幕横竖显示模式切换的方法和终端 Download PDFInfo
- Publication number
- WO2013071826A1 WO2013071826A1 PCT/CN2012/084044 CN2012084044W WO2013071826A1 WO 2013071826 A1 WO2013071826 A1 WO 2013071826A1 CN 2012084044 W CN2012084044 W CN 2012084044W WO 2013071826 A1 WO2013071826 A1 WO 2013071826A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- straight line
- points
- screen
- acquiring
- coordinate system
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/165—Detection; Localisation; Normalisation using facial parts and geometric relationships
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0464—Positioning
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
Definitions
- the present invention relates to the field of communication technologies, and has a method and terminal for switching a screen horizontal and vertical display mode.
- portable terminals such as smartphones, tablets, and personal digital assistants have become an indispensable tool for people.
- portable terminals In order to provide users with more comfortable enjoyment, portable terminals generally provide users with a larger display screen, and at the same time, in order to facilitate carrying, the screen is generally designed to have a long shape.
- the portable terminal For different functions of the portable terminal, or for reading modes of different users, the portable terminal is required to intelligently switch the horizontal and vertical display manner of the screen.
- Step 1 The portable terminal acquires a facial image of the user
- the portable terminal in step 1 can obtain the user's facial image through the camera provided by the terminal. It should also be noted that the condition for triggering the execution of step 1 may be a switching of the user interface, a startup application, or an exit of the application.
- Step 2 Obtain a facial contour of the user according to the color value of each point in the acquired facial image;
- Step 3 Compare the acquired facial contour of the user with a preset standard facial contour according to a display mode of the current portable terminal;
- the preset standard facial contours include: a standard lateral facial contour and a standard longitudinal facial contour;
- the obtained user facial contour is compared with the preset standard facial contour, which includes: if the current display mode is the vertical display mode, the obtained user facial The contour is compared to a standard lateral facial contour; if the current display mode is the landscape display mode, the acquired user facial contour is compared to a standard longitudinal facial contour.
- Figures 2a and 2b show a standard longitudinal facial contour and a standard lateral facial contour, wherein the longitudinal direction of the terminal means that the short side of the terminal screen is parallel to the horizontal plane, and the lateral direction of the terminal refers to the length of the terminal screen. The sides are parallel to the horizontal plane.
- Step 4 According to the comparison result in step 3, the display mode of the screen of the portable terminal is switched.
- the step 4 may specifically include: if the obtained similarity between the facial contour of the user and the standard facial contour is greater than the threshold, switching the display mode of the terminal to the display mode corresponding to the standard facial contour; if the acquired facial contour and standard of the user The similarity of the facial contour is not greater than the threshold, keeping the current display mode unchanged.
- the inventors have found that in the prior art, it is necessary to obtain the color value of each point on the face image, and then the facial contour of the face can be obtained, and the facial contour and the standard facial contour are also required. For comparison, the similarity is calculated and the implementation method is complicated.
- a high requirement is placed on the posture of the user, such as whether the posture of the user is correct, whether the distance between the user and the camera is preserved, and the image conforming to the requirements is obtained, thereby reducing the switching mode. Accuracy.
- Embodiments of the present invention provide a method and a terminal for switching between screen horizontal and vertical display modes, which are simple in implementation and improve the accuracy of the switching mode.
- the embodiment of the invention provides a method for switching the screen horizontal and vertical display modes, including:
- the horizontal and vertical display mode of the screen is switched.
- An embodiment of the present invention provides a terminal, including: a first acquiring unit, an extracting unit, a second acquiring unit, and a switching unit,
- the first acquiring unit is configured to acquire a face image
- the extracting unit is configured to extract, according to the acquired face image, a position of two points on the face of the person, where the straight line determined by the two points is used to reflect the position of the straight line determined by the double eyes;
- the second acquiring unit is configured to acquire an angle between a straight line formed by two points and a preset coordinate system, where an origin of the coordinate system is a point on the straight line;
- the switching unit is configured to switch a display mode of the screen according to a comparison result between the included angle and preset information.
- FIG. 1 is a schematic flow chart of a method for utilizing face contour comparison in the prior art
- Figure 2a is a standard longitudinal facial contour in the prior art
- Figure 2b is a standard transverse facial contour in the prior art
- FIG. 3 is a schematic flow chart of a method for switching a horizontal and vertical display mode of a screen according to Embodiment 1 of the present invention
- FIG. 4 is a schematic flow chart of a method for switching a screen horizontal and vertical display mode according to Embodiment 2 of the present invention.
- Figure 5 is a schematic view showing the relationship between the position of the two pupil positions and the coordinate system
- Figure 6a is a schematic view showing the angle between the straight line determined by the pupil position and the coordinate system X axis;
- Figure 6b is a schematic view showing the angle between the straight line determined by the pupil position and the X-axis of the coordinate system
- Figure 7 is a schematic diagram showing the position of the terminal screen and the coordinate system
- Figure 8 is a schematic view showing the angle between the straight line and the coordinate system determined by the position of the pupil
- FIG. 9 is a schematic diagram of a terminal according to Embodiment 3 of the present invention.
- the embodiment of the invention provides a method for switching the screen horizontal and vertical display mode. As shown in FIG. 3, the method includes:
- Step 301 Acquire a face image
- the acquiring the face image in step 301 can be specifically obtained by using the camera captured by the terminal.
- Step 302 Extract, according to the acquired face image, a position of two points on the face of the person, where the straight line determined by the two points is used to reflect the position of the line determined by the double eyes;
- the two points mentioned in step 302 can be understood as points on the symmetrical organs of the face, such as the eyes, or the eyebrows, or the ears.
- the straight lines determined by the two points can directly reflect the position of the straight line determined by the two eyes, such as the straight line determined by the most direct eyes; or, the straight line determined by the two points is parallel to the line determined by the two eyes
- a straight line determined by a pair of ears or a pair of eyebrows that indirectly reflects the position of the line determined by both eyes, that is, parallel to the line determined by the eyes. That is, in the embodiment of the present invention, the straight line determined by the two points is used to reflect the position of the straight line determined by the two eyes, and the straight line determined by the two points may be substantially parallel to the position of the straight line determined by the two eyes.
- the two points can also be an asymmetrical organ on the human face, such as two points determined by one eye and one ear, or two points determined by one eye and one eyebrow.
- the straight line determined by two points determined by one eye and one ear is parallel with the line determined by both eyes; the two points can also be the point of the eyebrow and the center point of the mouth, and the straight line determined by the two points can reflect the point of the eyes. It is vertical, and the straight line determined by these two points also indirectly reflects the position of the straight line determined by both eyes.
- the embodiment of the present invention has low accuracy requirements for the points at which the extracted organs are located, that is, the position of the points is determined.
- Step 303 Obtain an angle between a straight line formed by two points and a preset coordinate system, where an origin of the coordinate system is a point on a straight line formed by two points;
- Step 304 Switch the display mode of the screen according to the comparison result between the angle and the preset information.
- the X axis of the coordinate system is consistent with the longitudinal direction of the screen, and the Y axis of the coordinate system is consistent with the lateral direction of the screen;
- the angle between the straight line and the preset coordinate system specifically includes: an angle between the straight line and the positive direction of the X axis;
- the horizontal and vertical display modes of the screen are switched, which specifically include: if the range of the included angle is [- ex , ⁇ ], the screen is switched to the vertical display mode; if the range of the included angle is [- 90 , - ⁇ ] , or [ ⁇ , 90] , the screen switches to the landscape display mode, where ⁇ is less than or equal to ⁇ .
- ⁇ is in the range of [-45. , 45. ]
- ⁇ can range from [45. , 90. ]
- ⁇ can range from [-90. , -45. ].
- the preset information is different according to the difference between the two points extracted in step 302. Taking the position of the pupil as an example, the preset information can be:
- the eye is suitable for reading the screen through the longitudinal direction of the screen;
- the eyes are suitable for reading the screen through the horizontal direction of the screen.
- the two points extracted are two points in the vertical direction of the line where the pupil is located, such as the two points of the eyebrow and the highest point of the nose, correspondingly, the content of the preset information for comparing whether to switch the screen is different.
- the preset information is different from the range information of the aforementioned angle a.
- the preset information can directly or indirectly pass through the range of the angle a, and map the correspondence between the eyes and the horizontal and vertical display of the screen.
- the terminal When the acquired angle is compared with the preset information, the terminal switches the display mode to a mode suitable for eye reading.
- the method obtains the position of two points formed on the face of the person and obtains a clip between the straight line formed by the two points and the preset coordinate system. Angle, according to the comparison result of the angle and the preset information, switching the display mode of the screen; and obtaining the color value of the user's face by acquiring the color value of each point in the facial image in the prior art, and then acquiring the facial contour and the standard Compared with the technical means for comparing the facial contours, the embodiment of the present invention extracts only the positions of the two points on the face, the algorithm is simple, and the user posture is not required, so that the accuracy of the screen switching is improved.
- the method further includes: Step 300: Acquire a trigger condition.
- the step 301 specifically includes: acquiring a face image according to the obtained trigger condition.
- the obtaining the triggering condition in step 300 may specifically include:
- button command triggering may include a physical button command trigger and a virtual button command trigger;
- the virtual key command triggering is mainly for the current smart terminal without a button, and the corresponding program is triggered by the icon command on the screen. For example, the user only needs to touch the phone icon in the screen.
- the application scenario information is obtained, and the step 301 is triggered, where the application scenario includes, but is not limited to, image browsing, text reading, page turning, and the like;
- the triggering execution step 301 is repeated, and the preset time information may be several seconds.
- the terminal repeatedly triggers the execution step 301 to perform image collection in real time.
- acquiring the triggering condition includes: acquiring a key command, acquiring application scenario information, or acquiring information about a change in the center of gravity of the terminal.
- the switching of the horizontal and vertical display modes can be triggered in real time, and a very short time interval can be set, and the triggering execution step 301 is repeated, such as opening the game function.
- the terminal can enable the switching of the screen horizontal and vertical display mode according to the acquisition trigger condition; and increase the intelligence level of the terminal to meet the user's use requirements for different applications.
- the embodiment of the present invention provides a method for switching the screen horizontal and vertical display modes.
- the two points determined by the two pupil centers are taken as two points on the face of the extractor in the second embodiment.
- the description is made, and the second embodiment is described by taking an application scenario triggering execution screen horizontal and vertical display mode switching operation as an example.
- the method includes:
- Step 400 Obtain application scenario information.
- the step 400 may specifically include: the terminal finds that the text reading function is used, triggering execution.
- Next step 401 may specifically include: the terminal finds that the text reading function is used, triggering execution.
- Step 401 Acquire a face image according to the acquired application scenario information.
- the obtaining the face image may be implemented by an image capturing device provided by the terminal.
- Step 402 Extract a position of two pupil center points according to the acquired face image
- the position of the two pupil center points extracted in step 402 directly reflects the angular relationship between the eye and the coordinate system determined by the screen.
- the location of the two pupil center points extracted in step 402 may utilize the prior art methods based on "integral image” and AdaBoost training.
- the position of the two pupil center points can also be extracted by other mature techniques, and should not be construed as limiting the embodiments of the present invention.
- Step 403 Obtain an angle between a line determined by a center point of the pupil and a preset coordinate system, where an origin of the coordinate system is a point on the line;
- the two pupil positions extracted by step 402 are two points of eight and two, respectively, and a straight line L can be determined. Take any point on the straight line L as the coordinate origin, and set the coordinate system to the positive direction of the X axis in the horizontal right direction and the positive direction in the Y axis direction. Calculate the angle between the line L and the X axis a, set the angle of the clamp in the first quadrant of the coordinate system to be positive, and the angle in the fourth quadrant of the coordinate system to be negative.
- the straight line L1 determined by the pupil position forms an angle a1 with the coordinate system X axis, and al is a positive value; as shown in Fig. 6b, the straight line L2 determined by the pupil position forms an angle a2 with the coordinate system X axis. And a2 is a negative value.
- the direction of the coordinate system X coordinate axis is set to coincide with the longitudinal direction of the screen of the portable terminal, and the direction of the coordinate system Y coordinate axis coincides with the lateral direction of the screen of the portable terminal.
- Step 404 Switch the display mode of the screen according to the comparison result between the angle and the preset information.
- Step 404 determines whether the eye is in a parallel relationship or a vertical relationship according to the value of the angle a and the preset information, that is, whether the current user is looking at the screen horizontally or vertically.
- ⁇ is -45° to +45°
- ⁇ is 45° to 90°
- ⁇ is -90° to -45°
- ⁇ is -30.
- ⁇ is 60. To 90. , or ⁇ is -90° To -60. .
- the method obtains the angle between the line formed by the two points and the preset coordinate system by extracting the positions of the two pupils. According to the comparison result of the angle and the preset information, the current display mode of the screen is switched; and the color value of each point in the facial image is obtained by the prior art, thereby obtaining the facial contour of the user, and then acquiring the facial contour and the standard facial contour Compared with the technical means for comparing, the embodiment of the present invention only extracts the positions of the two pupils at the point where the algorithm is simple, and does not require the user posture, so that the accuracy of the screen switching is improved.
- the two points determined by the two points being the two pupils are described in detail as an example, if the points on the two eyebrows, or the points on the two ears are extracted, or Other positions that reflect the line in which the human eye is located (for example, the straight line where the eyebrows are located and the line in which the eye is located are similarly used for the processing operation of the second embodiment described above, and are easily obtained by the description of the second embodiment.
- the embodiment of the present invention provides a terminal.
- the terminal includes: a first acquiring unit 901, an extracting unit 902, a second acquiring unit 903, and a switching unit 904.
- the first obtaining unit 901 is configured to acquire a face image; the first acquiring unit 901 may be a camera that is provided by the terminal.
- the extracting unit 902 is configured to extract the positions of two points on the face of the person according to the acquired face image, and the determined line of the two points is used to reflect the position of the line determined by the double eyes.
- the two points mentioned can be understood as points on the symmetrical organs of the face, such as the eyes, or the eyebrows, or the ears.
- the straight lines determined by the two points can directly reflect the position of the straight line determined by the two eyes, such as the straight line determined by the most direct eyes; or, the straight line determined by the two points is parallel to the line determined by the two eyes
- the straight line determined by the two points is used to reflect the position of the straight line determined by the two eyes, and the straight line determined by the two points may be substantially parallel to the position of the straight line determined by the two eyes.
- the two points can also be an asymmetrical organ on the human face, such as an eye and an ear. Point, or two points determined by one eye and one eyebrow. For the case where the accuracy is not high, it can also be considered that the straight line determined by two points determined by one eye and one ear is parallel with the line determined by both eyes; The point can also be the point of the eyebrow and the center point of the mouth.
- the line determined by the two points can reflect that the point where the eyes are perpendicular is vertical, and the straight line determined by the two points also indirectly reflects the position of the line determined by both eyes.
- the embodiment of the present invention has low accuracy requirements for the points at which the extracted organs are located, that is, the position of the points is determined.
- a second acquiring unit 903 configured to acquire an angle between a straight line formed by two points and a preset coordinate system, where an origin of the coordinate system is a point on a straight line formed by two points;
- the switching unit 904 is configured to switch the display mode of the screen according to the comparison result between the angle and the preset information.
- the X axis of the coordinate system coincides with the longitudinal direction of the screen, and the Y axis of the coordinate system coincides with the lateral direction of the screen;
- the angle between the straight line and the preset coordinate system specifically includes: an angle between the straight line and the positive direction of the X axis; the switching unit is specifically used to switch the screen to the vertical display mode if the range of the included angle is [- ⁇ , ⁇ ]; If the angle is in the range [-90 , - ⁇ ], or [ ⁇ , 90], the screen switches to the landscape display mode, where ⁇ is less than or equal to ⁇ . Where ⁇ is in the range of [-45. , 45. ] , ⁇ can range from [45. , 90. ] , or ⁇ can range from [-90. , -45° ].
- the preset information is also different.
- the preset information can be:
- the eye is adapted to use the screen in the longitudinal direction of the screen;
- the eye is suitable for using the screen in the horizontal direction of the screen.
- the extracting unit 902 extracts the position of at least two points on the face of the person, and the second acquiring unit 903 acquires the straight line formed by the two points and the preset coordinate system.
- the angle of the switching unit 904 switches the display mode of the screen according to the comparison result between the angle and the preset information; and obtains the color value of each point in the facial image by the prior art, thereby acquiring the contour of the user's face, and then acquiring the image
- the embodiment of the present invention extracts only the positions of the two points of the face, the algorithm is simple, and the user posture is not required, so that the accuracy of the screen switching is improved.
- the terminal further includes: a third obtaining unit 900, configured to acquire a trigger condition.
- the terminal can enable the terminal to switch the horizontal and vertical display mode according to the acquisition trigger condition, and increase the intelligence level of the terminal to meet the user's use requirements for different application programs.
- the third obtaining unit 900 is configured to acquire a triggering condition, and specifically includes:
- the trigger is mainly for the current smart terminal without a button, and the corresponding program is triggered by the icon command on the screen, such as making a call, the user only needs to touch the phone icon in the screen.
- the information about the change of the center of gravity of the terminal is obtained, and the first acquiring unit 901 is triggered to perform the acquiring of the face image.
- the application scenario includes, but is not limited to, image browsing, text reading, page turning, and the like;
- the first acquiring unit 901 is repeatedly triggered to perform the acquiring of the face image; it is understood that the time set by the interval is repeatedly triggered to perform image collection in real time, and the display mode of the screen is adjusted in real time. demand.
- the extracting unit 902 is specifically configured to extract the positions of the two pupil center points according to the acquired face image
- the second obtaining unit 903 is specifically configured to acquire an angle formed by a line formed by two points where the pupil is located and a preset coordinate system, wherein an origin of the coordinate system is a point on the straight line, and a preset coordinate system
- the X axis is consistent with the longitudinal direction of the screen
- the Y axis of the preset coordinate system is consistent with the lateral direction of the screen;
- the extracting unit 902 extracts the position of the two pupils
- the second acquiring unit 903 acquires the angle between the straight line formed by the two points and the preset coordinate system, and switches the screen according to the comparison result between the angle and the preset information.
- the current display mode makes the terminal screen switching process simple and fast.
- the medium can be a read only memory, a magnetic disk or a compact disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Geometry (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
本发明实施例公开了一种屏幕横竖显示模式切换的方法和终端,该实施例方法包括:获取人脸图像;根据获取的人脸图像,提取人脸上两个点的位置,所述两个点确定的直线用于反映双眼睛所确定直线的位置;获取两个点所形成的直线与预置的坐标系的夹角,其中,所述坐标系的原点是所述直线上的点;根据所述夹角与预置信息的比对结果,切换屏幕的横竖显示模式。本发明实施例仅提取面部两个点的位置,算法简单,对用户姿态不作要求,使得屏幕切换的准确度提高。
Description
说 明 书 一种屏幕横竖显示模式切换的方法和终端
技术领域
本发明涉及通信技术领域,具有涉及一种屏幕横竖显示模式切换的方法和 终端。
背景技术
随着移动通信技术的快速发展, 智能手机, 平板电脑, 个人数字助理等便 携式终端已经成为人们必备工具。 为了给用户提供更舒适的享受,便携式终端 普遍为用户提供更大的显示屏幕, 同时, 为了便于携带, 普遍将屏幕设计为细 长的形状。 对于便携式终端不同的功能, 或者对于不同用户的阅读方式, 要求 便携式终端能够智能切换屏幕的横竖显示方式。
现有技术中利用人脸轮廓对比的方法, 确定便携式终端的横竖显示模式。 参照图 1 , 具体步骤包括:
步骤 1、 便携式终端获取用户面部图像;
其中,步骤 1中便携式终端可以具体通过终端自带的摄像头获取用户面部 图像。还需要说明的是触发执行步骤 1的条件可以是用户界面的切换, 也可以 是启动应用程序, 也可以是退出应用程序等。
步骤 2、 根据获取的面部图像中的每个点色彩值, 获取用户面部轮廓; 步骤 3、 根据当前便携式终端的显示模式, 将获取的用户面部轮廓与预置 的标准面部轮廓进行对比; 其中, 预置的标准面部轮廓包括: 标准横向面部轮 廓和标准纵向面部轮廓;
其中, 步骤 3中所说的根据当前便携式终端的显示模式, 将获取的用户面 部轮廓与预置的标准面部轮廓进行对比, 具体包括: 如果当前的显示模式为纵 向显示模式,将获取的用户面部轮廓与标准横向面部轮廓进行比较; 如果当前 显示模式为横向显示模式,将获取的用户面部轮廓与标准纵向面部轮廓进行比 较。
为了便于理解,图 2a和图 2b所示为标准纵向面部轮廓和标准横向面部轮 廓, 其中, 所说的终端的纵向是指终端屏幕的短边与水平面平行, 终端的横向 是指终端屏幕的长边与水平面平行。
步骤 4、 根据步骤 3中的对比结果, 切换便携式终端屏幕的显示模式。
其中, 步骤 4具体可以包括: 如果获取的用户面部轮廓与标准面部轮廓的 相似度大于阔值, 将终端的显示模式切换为与标准面部轮廓相对应的显示模 式; 如果获取的用户面部轮廓与标准面部轮廓的相似度不大于阔值,保持当前 的显示模式不变。
通过上述对现有技术的说明,发明人发现现有技术中需要对获取人脸图像 上得每个点得色彩值, 才可以获得人脸的面部轮廓,还需要将面部轮廓与标准 的面部轮廓进行比较, 计算相似度, 实现方法复杂。 同时, 为了获取用户面部 轮廓,在获取图像时,对用户的姿态提出了较高要求,如用户的姿态是否端正、 用户与摄像头的距离是否保值获取到符合要求的图像等,降低了切换模式的准 确度。
发明内容
本发明实施例提供了一种屏幕横竖显示模式切换的方法和终端,其实现过 程简单, 同时提高了切换模式的准确度。
本发明实施例提供一种屏幕横竖显示模式切换的方法, 包括:
获取人脸图像;
根据获取的人脸图像,提取人脸上两个点的位置, 所述两个点确定的直线 用于反映双眼睛所确定直线的位置;
获取两个点所形成的直线与预置的坐标系的夹角, 其中, 所述坐标系的原 点是所述直线上的点;
根据所述夹角与预置信息的比对结果, 切换屏幕的横竖显示模式。
本发明实施例提供一种终端, 包括: 第一获取单元, 提取单元, 第二获取 单元, 和切换单元,
所述第一获取单元, 用于获取人脸图像;
所述提取单元, 用于根据获取的人脸图像, 提取人脸上两个点的位置, 所 述两个点确定的直线用于反映双眼睛所确定直线的位置;
所述第二获取单元, 用于获取两个点所形成的直线与预置的坐标系的夹 角, 其中, 所述坐标系的原点是所述直线上的点;
所述切换单元, 用于根据所述夹角与预置信息的比对结果,切换屏幕的显 示模式。
从以上技术方案可以看出, 本发明实施例通过提取人脸上两个点的位置, 获取其中两个点所形成的直线与预置的坐标系的夹角,才艮据夹角与预置信息的 对比结果, 切换屏幕的显示模式; 与现有技术中通过获取面部图像中每个点得 色彩值,从而获取用户面部轮廓, 再将获取的面部轮廓与标准面部轮廓进行对 比的技术手段相比, 本发明实施例仅提取面部两个点的位置, 算法简单, 对用 户姿态不作要求, 使得屏幕切换的准确度提高。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1现有技术中利用人脸轮廓对比的方法流程示意图;
图 2a是现有技术中标准纵向面部轮廓;
图 2b是现有技术中标准横向面部轮廓;
图 3 是本发明实施例一提供的一种屏幕横竖显示模式切换的方法流程示 意图;
图 4 是本发明实施例二提供的一种屏幕横竖显示模式切换的方法流程示 意图;
图 5是两个瞳孔位置确定直线与坐标系的位置关系示意图;
图 6a是瞳孔位置确定的直线与坐标系 X轴形成夹角示意图;
图 6b是瞳孔位置确定的直线与坐标系 X轴形成夹角示意图;
图 7是终端屏幕与坐标系的位置示意图;
图 8是瞳孔位置确定的直线与坐标系夹角示意图;
图 9是本发明实施例三提供的一种终端的示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
实施例一、
本发明实施例提供了一种屏幕横竖显示模式切换的方法, 如图 3所示, 该 方法包括:
步骤 301、 获取人脸图像;
其中,步骤 301中所说的获取人脸图像具体可以釆用终端自带的摄像头拍 摄获取。
步骤 302、 根据获取的人脸图像, 提取人脸上两个点的位置, 所说的两个 点确定的直线用于反映双眼睛所确定直线的位置;
其中, 步骤 302中所说的两个点, 可以理解是人脸对称器官上的点, 如眼 睛, 或者眉毛, 或者耳朵。 这些对称的器官上提取的两点, 该两点确定的直线 可以直接反映出双眼确定的直线的位置, 如最直接的双眼确定的直线; 或者, 该两点确定的直线与双眼确定的直线平行,如由双耳、或一对眉毛确定的直线, 该两点间接的反映出双眼确定的直线的位置, 即与双眼确定的直线平行。 即本 发明实施例中, 两个点确定的直线用于反映双眼睛所确定直线的位置, 可以是 两点所确定的直线与双眼所确定直线的位置大致平行。
该两点也可以是人脸上不对称的器官,如一个眼睛和一个耳朵确定的两个 点, 或者是一个眼睛和一个眉毛确定的两个点, 对于精度要求不高的情况下, 也可以认为一个眼睛和一个耳朵确定的两个点所确定的直线与双眼确定的直 线平行; 该两点也可以眉心所在点和嘴巴中心点, 通过这两点确定的直线, 可 以反映出于双眼所在点是垂直的,这两点确定的直线也间接的反映出双眼确定 的直线的位置。
还需要说明的是, 本发明实施例对提取的各器官所在点的精度要求低, 即 大概确定点的位置即可。
步骤 303、 获取两个点所形成的直线与预置的坐标系的夹角, 其中, 坐标 系的原点是两个点所形成的直线上的点;
步骤 304、 根据夹角与预置信息的对比结果, 切换屏幕的显示模式。
其中, 为了便于理解步骤 304需要说明的是, 可以假设坐标系的 X轴与 屏幕的纵向方向一致, 坐标系的 Y轴与屏幕的横向方向一致;
直线与预置的坐标系的夹角具体包括: 直线与 X轴正方向的夹角;
根据夹角与预置信息的对比结果, 切换屏幕的横竖显示模式, 具体包括: 若夹角的范围在 [- ex , α ] , 屏幕切换为竖向显示模式; 若夹角的范围在 [-90 , - β ] , 或者 [ β , 90] , 屏幕切换为横向显示模式, 其中, α小于或者等于 β。 其中, α取值范围为可以是 [-45。 , 45。 ] , β取值范围可以是 [45。 , 90。 ] , 或者 β取值范围可以是 [-90。 , -45。 ]。
还需要说明的是,根据步骤 302中提取的两个的点代表的不同,预置信息 是不同的。 以提取瞳孔的位置为例, 预置信息可以是:
当夹角 a的范围为: -45° <a<= 45° 时, 眼睛适合通过屏幕的纵向方向阅 读屏幕;
或者当 -90° <a<= -45° , 或者, 45° <a<= 90° 时, 眼睛适合通过屏幕的 横向方向阅读屏幕。
当提取的两个点是瞳孔所在直线垂直方向上的两个点,如眉心和鼻子的最 高点这两个点时,相应的, 用于对比判断是否切换屏幕的预置信息的内容也不 同。 当步骤 302中提取的两个的点不同时,预置信息与前述的夹角 a的范围信 息不同。预置信息能够直接或者间接通过夹角 a的范围, 映射出眼睛与屏幕的 横竖显示的对应关系。
因此, 此处关于预置信息的举例不应理解为对发明实施例的限制。
当获取的夹角与预置信息对比后,终端将显示模式切换为适合眼睛阅读的 模式。
其中,全文关于数字的描述仅是为例便于理解本发明实施例的举例, 不应 理解为对发明的限制。
通过上述对本发明实施例提供的一种屏幕横竖显示模式切换的方法的说 明, 该方法通过提取人脸上两个点的位置, 获取其中两个点所形成的直线与预 置的坐标系的夹角, 根据夹角与预置信息的对比结果, 切换屏幕的显示模式; 与现有技术中通过获取面部图像中每个点得色彩值, 从而获取用户面部轮廓, 再将获取的面部轮廓与标准面部轮廓进行对比的技术手段相比,本发明实施例 仅提取面部两个点的位置, 算法简单, 对用户姿态不作要求, 使得屏幕切换的 准确度提高。
优选的, 在步骤 301之前, 该方法还包括:
步骤 300、 获取触发条件;
那么, 步骤 301具体包括: 根据获取到的触发条件, 获取人脸图像。 其中, 步骤 300中所说的获取触发条件, 具体可以包括:
获取按键命令, 触发执行步骤 301 , 这里的按键命令触发可以包括物理按 键命令触发和虚拟按键命令触发;
其中, 需要说明的是, 该虚拟按键命令触发主要是针对当前智能终端没有 按键, 通过屏幕上得图标命令触发执行相应程序, 如打电话, 用户仅需要触摸 屏幕中的电话图标。
或者, 获取应用场景信息, 触发执行步骤 301 , 所说的应用场景包括但不 限于图片浏览, 文本阅读, 翻页等;
或者, 获取终端重心变化的信息, 触发执行步骤 301 ;
或者, 间隔设定的时间后, 重复触发执行步骤 301 , 预置的时间信息可以 是几秒, 终端在间隔设定的时间后, 重复触发执行步骤 301 , 从而实时的进行 图像釆集。
其中, 对于考虑终端低功耗要求时, 获取触发条件包括: 获取按键命令, 获取应用场景信息, 或者获取终端重心变化的信息。对于功耗没有要求的情况 下, 可以实时的触发执行横竖显示模式的切换, 可以设定非常短的时间间隔, 重复触发执行步骤 301 , 如打开游戏功能
通过增加步骤 300, 使得终端能够根据获取触发条件; 选择何时进行屏幕 横竖显示模式的切换,增加了终端的智能程度, 满足用户对不同应用程序的使 用需求。
实施例二、
本发明实施例提供了一种屏幕横竖显示模式切换的方法,与上述实施例一 相比,实施例二中将两个瞳孔中心所确定的两个点作为提取人脸上的两个点为 例进行说明,且实施例二以应用场景触发执行屏幕横竖显示模式切换操作为例 进行说明的。
如图 4所示, 该方法包括:
步骤 400: 获取应用场景信息;
其中, 步骤 400具体可以包括: 终端发现文本阅读功能被使用, 触发执行
下一步骤 401。
步骤 401 : 根据获取的应用场景信息, 获取人脸图像;
其中, 获取人脸图像可以是通过终端自带的摄像设备实现的。
步骤 402: 根据获取的人脸图像, 提取两个瞳孔中心点的位置;
其中,步骤 402中提取的两个瞳孔中心点的位置最直接反映出眼睛与屏幕 所确定坐标系的角度关系。
还需要理解的是,步骤 402中提取两个瞳孔中心点的位置可以釆用现有技 术中基于"积分图像"和 AdaBoost训练的方法。 也可以釆用其他的成熟技术提 取两个瞳孔中心点的位置, 此处不应理解为对本发明实施例的限制。
步骤 403、 获取瞳孔中心点所确定的直线与预置的坐标系的夹角, 其中, 坐标系的原点是该直线上的点;
其中, 图 5所示, 通过步骤 402提取出的两个瞳孔位置分别为八、 B两点, 可以确定一条直线 L。取直线 L上的任意一点为坐标原点, 以水平向右方向为 X 轴正方向, 竖直向上方向为 Y轴正方向, 建立坐标系。 计算直线 L与 X轴的夹角 a, 设定在坐标系第一象限的夹角度数为正, 在坐标系第四象限的夹角为负。 夹角 a的取值范围为: -90。 <a<= 90。 。 如图 6a所示为瞳孔位置确定的直线 L1 与坐标系 X轴形成夹角 al , 且 al为正值; 如图 6b所示为瞳孔位置确定的直线 L2 与坐标系 X轴形成夹角 a2, 且 a2为负值。
如图 7所示, 该实施例中设定坐标系 X坐标轴的方向与便携式终端屏幕 的纵向方向一致, 坐标系 Y坐标轴的方向与便携式终端屏幕的横向方向一致。
步骤 404、 根据夹角与预置信息的对比结果, 切换屏幕的显示模式。
其中, 步骤 404根据夹角 a的值, 和预置的信息, 判断出眼睛与屏幕之间 是平行关系, 还是垂直关系, 即当前用户是横着看屏幕还是竖着看屏幕。
如图 8所示, 当夹角 - a <a< a时, 判定眼睛与屏幕处于平行状态, 屏幕选 择竖向显示模式; 当夹角 <- β或 > β时, 判定眼睛与屏幕处于垂直状态, 屏 幕选择横向显示模式; 夹角 a取其他值时, 不能确定眼睛与屏幕是平行关系, 还是垂直关系, 屏幕将保持原有状态, 或依据其他预置的信息进行判断。 优选 的, α取值为 -45° 至 +45° , β取值为 45° 至 90° ,或者 β取值为 -90° 至 -45° ; 或者优选的 α取值 -30。 至 +30。 , β取值为 60。 至 90。 , 或者 β取值为 -90°
至 -60。 。
通过上述对本发明实施例二提供的一种屏幕横竖显示模式切换的方法的 说明, 该方法通过提取两个瞳孔所在点位置, 获取两个点所形成的直线与预置 的坐标系的夹角, 根据夹角与预置信息的对比结果, 切换屏幕当前显示模式; 与现有技术中通过获取面部图像中每个点得色彩值, 从而获取用户面部轮廓, 再将获取的面部轮廓与标准面部轮廓进行对比的技术手段相比,本发明实施例 仅提取两个瞳孔所在点的位置, 算法简单, 对用户姿态不作要求, 使得屏幕切 换的准确度提高。
上述实施例二中详细对提取的两个点为两个瞳孔所确定的两个点为例进 行说明, 若提取的是两个眉毛上的各一点, 或者两个耳朵上的各一点, 或者是 其它能够反映出人眼所在的直线的位置(例如: 眉毛所在直线与眼睛所在直线 以釆用用于上述实施例二相似的处理操作, 通过实施例二的描述是容易获得 的。
实施例三、
本发明实施例提供了一种终端, 如图 9所示, 该终端包括: 第一获取单元 901 , 提取单元 902, 第二获取单元 903 , 和切换单元 904。
其中, 第一获取单元 901 , 用于获取人脸图像; 该第一获取单元 901可以 是终端自带的摄像头。
提取单元 902 , 用于根据获取的人脸图像, 提取人脸上两个点的位置, 所 说的两个点确定的直线用于反映双眼睛所确定直线的位置。
还需要说明的是, 所说的两个点, 可以理解是人脸对称器官上的点, 如眼 睛, 或者眉毛, 或者耳朵。 这些对称的器官上提取的两点, 该两点确定的直线 可以直接反映出双眼确定的直线的位置, 如最直接的双眼确定的直线; 或者, 该两点确定的直线与双眼确定的直线平行,如由双耳、或一对眉毛确定的直线, 该两点间接的反映出双眼确定的直线的位置, 即与双眼确定的直线平行。 本发 明实施例中, 两个点确定的直线用于反映双眼睛所确定直线的位置, 可以是两 点所确定的直线与双眼所确定直线的位置大致平行。
该两点也可以是人脸上不对称的器官,如一个眼睛和一个耳朵确定的两个
点, 或者是一个眼睛和一个眉毛确定的两个点, 对于精度要求不高的情况下, 也可以认为一个眼睛和一个耳朵确定的两个点所确定的直线与双眼确定的直 线平行; 该两点也可以眉心所在点和嘴巴中心点, 通过这两点确定的直线, 可 以反映出于双眼所在点是垂直的,这两点确定的直线也间接的反映出双眼确定 的直线的位置。
还需要说明的是, 本发明实施例对提取的各器官所在点的精度要求低, 即 大概确定点的位置即可。
第二获取单元 903 , 用于获取两个点所形成的直线与预置的坐标系的夹 角, 其中, 坐标系的原点是两个点所形成的直线上的点;
切换单元 904 , 用于根据夹角与预置信息的对比结果, 切换屏幕的显示模 式。
还需要说明的是, 坐标系的 X轴与屏幕的纵向方向一致, 坐标系的 Y轴 与屏幕的横向方向一致;
直线与预置的坐标系的夹角具体包括: 直线与 X轴正方向的夹角; 切换单元,具体用于若夹角的范围在 [- α , α ] ,屏幕切换为竖向显示模式; 若夹角的范围在 [-90 , - β ] , 或者 [ β , 90] , 屏幕切换为横向显示模式, 其中, α小于或者等于 β。 其中, α取值范围为可以是 [-45。 , 45。 ] , β取值范围可 以是 [45。 , 90。 ] , 或者 β取值范围可以是 [-90。 , -45° ]。
其中,提取单元 902中提取的两个的点代表的不同器官时,预置信息是也 不同的。 以提取瞳孔的位置为例, 预置信息可以是:
当夹角 a的范围为: -45° <a<= 45° 时, 眼睛适合通过屏幕的纵向方向使 用屏幕;
或者档 -90° <a<= -45° , 或者, 45° <a<= 90° 时, 眼睛适合通过屏幕的 横向方向使用屏幕。
当提取的两个点是瞳孔所在直线垂直方向上的两个点,如眉心和鼻子的最 高点这两个点时,相应的, 用于对比判断是否切换屏幕的预置信息的内容也不 同。 当步骤 302中提取的两个的点不同时,预置信息与前述的夹角 a的范围信 息不同。预置信息能够直接或者间接通过夹角 a的范围, 映射出眼睛与屏幕的 横竖显示的对应关系。
通过上述对本发明实施例提供的一种终端的说明 ,提取单元 902通过提取 人脸上至少两个点的位置,第二获取单元 903获取其中两个点所形成的直线与 预置的坐标系的夹角,切换单元 904根据夹角与预置信息的对比结果, 切换屏 幕的显示模式; 与现有技术中通过获取面部图像中每个点得色彩值,从而获取 用户面部轮廓, 再将获取的面部轮廓与标准面部轮廓进行对比的技术手段相 比,本发明实施例仅提取面部两个点的位置,算法简单,对用户姿态不作要求, 使得屏幕切换的准确度提高。
进一步, 该终端还包括: 第三获取单元 900, 用于获取触发条件。
通过增加第三获取单元 900 , 使得终端能够根据获取触发条件; 选择何时 进行屏幕横竖显示模式的切换, 增加了终端的智能程度, 满足用户对不同应用 程序的使用需求。
进一步, 第三获取单元 900用于获取触发条件, 具体包括:
获取按键命令, 触发第一获取单元 901执行获取人脸图像;
或者, 获取应用场景信息, 触发第一获取单元 901执行获取人脸图像; 需 要理解的是, 按键命令触发可以包括物理按键命令触发和虚拟按键命令触发; 其中,需要说明的是,该虚拟按键命令触发主要是针对当前智能终端没有按键, 通过屏幕上得图标命令触发执行相应程序,如打电话, 用户仅需要触摸屏幕中 的电话图标。
或者, 获取终端重心变化的信息, 触发第一获取单元 901执行获取人脸图 像; 需要理解的是, 所说的应用场景包括但不限于图片浏览, 文本阅读, 翻页 等;
或者,间隔设定的时间后,重复触发第一获取单元 901执行获取人脸图像; 需要理解的是, 间隔设定的时间重复触发从而实时的进行图像釆集, 达到实时 调整屏幕的显示模式的需求。
进一步, 提取单元 902 , 具体用于根据获取的人脸图像, 提取两个瞳孔中 心点的位置;
那么, 第二获取单元 903 , 具体用于获取瞳孔所在的两个点所形成的直线 与预置的坐标系的夹角, 其中, 坐标系的原点是该直线上的点, 预置的坐标系 的 X轴与屏幕的纵向方向一致,预置的坐标系的 Y轴与屏幕的横向方向一致;
提取单元 902通过提取两个瞳孔所在点位置,第二获取单元 903获取两个 点所形成的直线与预置的坐标系的夹角,才艮据夹角与预置信息的对比结果,切 换屏幕当前显示模式 , 使得终端屏幕切换过程简单快捷。
关于本发明实施例三提供的一种终端的详细说明还可以参考实施例一、二 种关于一种屏幕横竖显示模式切换的方法的说明, 此处不重述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上对本发明所提供的一种屏幕横竖显示模式切换的方法和终端进行了 详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实 施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对 本发明的限制。
Claims
1、 一种屏幕横竖显示模式切换的方法, 其特征在于, 包括:
获取人脸图像;
根据获取的人脸图像,提取人脸上两个点的位置, 所述两个点确定的直线 用于反映双眼睛所确定直线的位置;
获取两个点所形成的直线与预置的坐标系的夹角, 其中, 所述坐标系的原 点是所述直线上的点;
根据所述夹角与预置信息的比对结果, 切换屏幕的横竖显示模式。
2、 根据权利要求 1所述的方法, 其特征在于, 所述两个点确定的直线用 于反映双眼睛所确定直线的位置, 具体包括: 所述两点所确定的直线与双眼所 确定直线的位置大致平行。
3、 根据权利要求 1所述的方法, 其特征在于, 所述坐标系的 X轴与屏幕 的纵向方向一致, 所述坐标系的 Y轴与屏幕的横向方向一致;
所述直线与预置的坐标系的夹角具体包括: 所述直线与 X轴正方向的夹 角;
所述根据所述夹角与预置信息的对比结果,切换屏幕的横竖显示模式, 具 体包括: 若所述夹角的范围在 [- α , α ] , 屏幕切换为竖向显示模式; 若所述夹 角的范围在 [-90, - β ] , 或者 [ β , 90] , 屏幕切换为横向显示模式, 其中, α小 于或者等于 β。
4、 根据权利要求 3所述的方法, 其特征在于, 所述 α取值范围为
[•45° , 45° ] , 所述 β取值范围为 [45° , 90° ] , 或者所述 β取值范围为 [_90。 , -45。 ]。
5、 根据权利要求 3所述的方法, 其特征在于, 所述提取人脸上两个点的 位置具体包括: 提取两个瞳孔的中心点;
所述获取两个点所形成的直线与预置的坐标系的夹角, 具体包括: 获取瞳孔的中心点所形成的直线与预置的坐标系的夹角。
6、 根据权利要求 5所述的方法, 其特征在于, 所述提取人脸上两个点的 位置进一步包括: 两个眉毛上的各一点, 或者两个耳朵上的各一点。
7、 根据权利要求 1所述的方法, 其特征在于, 所述获取人脸图像之前, 所述方法进一步包括:
获取触发条件;
所述获取人脸图像, 具体包括: 根据获取的触发条件, 获取人脸图像。
8、 根据权利要求 7所述的方法, 其特征在于, 所述获取触发条件, 具体 包括:
获取按键命令, 触发执行所述获取人脸图像;
或者, 获取应用场景信息, 触发执行所述获取人脸图像;
或者, 获取终端重心变化的信息, 触发执行所述获取人脸图像; 或者, 间隔设定的时间后, 重复触发执行所述获取人脸图像。
9、 一种终端, 其特征在于, 包括: 第一获取单元, 提取单元, 第二获取 单元, 和切换单元,
所述第一获取单元, 用于获取人脸图像;
所述提取单元, 用于根据获取的人脸图像, 提取人脸上两个点的位置, 所 述两个点确定的直线用于反映双眼睛所确定直线的位置;
所述第二获取单元, 用于获取两个点所形成的直线与预置的坐标系的夹 角, 其中, 所述坐标系的原点是所述直线上的点;
所述切换单元, 用于根据所述夹角与预置信息的比对结果,切换屏幕的显 示模式。
10、 根据权利要求 9所述的终端, 其特征在于, 所述两个点确定的直线用 于反映双眼睛所确定直线的位置, 具体包括: 所述两点所确定的直线与双眼所 确定直线的位置大致平行。
11、 根据权利要求 9所述的终端, 其特征在于, 所述坐标系的 X轴与屏 幕的纵向方向一致, 所述坐标系的 Y轴与屏幕的横向方向一致;
所述直线与预置的坐标系的夹角具体包括: 所述直线与 X轴正方向的夹 角;
所述切换单元, 具体用于若所述夹角的范围在 [- α , α ] , 屏幕切换为竖向 显示模式; 若所述夹角的范围在 [-90, - β ] , 或者 [ β , 90] , 屏幕切换为横向显 示模式, 其中, α小于或者等于 β 。
12、 根据权利要求 11所述的终端, 其特征在于, 所述 α取值范围为 [•45° , 45° ] , 所述 β取值范围为 [45° , 90° ] , 或者所述 β取值范围为 [_90。 , -45。 ]。
13、 根据权利要求 11所述的终端, 其特征在于, 所述提取单元, 具体用 于根据获取的人脸图像, 提取两个瞳孔的中心点;
所述第二获取单元,具体用于获取瞳孔的中心点所形成的直线与预置的坐 标系的夹角, 其中, 所述坐标系的原点是所述直线上的点。
14、 根据权利要求 9所述的终端, 其特征在于, 所述终端进一步包括: 第三获取单元, 用于获取触发条件;
所述第一获取单元, 具体用于根据获取的触发条件, 获取人脸图像。
15、 根据权利要求 14所述的终端, 其特征在于, 所述第三获取单元, 具 体用于获取按键命令, 触发所述第一获取单元执行获取人脸图像;
或者, 获取应用场景信息, 触发所述第一获取单元执行获取人脸图像; 或者, 获取终端重心变化的信息, 触发所述第一获取单元执行获取人脸图 像;
或者,间隔设定的时间后,重复触发所述第一获取单元执行获取人脸图像。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110358983.2A CN102436304B (zh) | 2011-11-14 | 2011-11-14 | 一种屏幕横竖显示模式切换的方法和终端 |
CN201110358983.2 | 2011-11-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013071826A1 true WO2013071826A1 (zh) | 2013-05-23 |
Family
ID=45984400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/084044 WO2013071826A1 (zh) | 2011-11-14 | 2012-11-05 | 一种屏幕横竖显示模式切换的方法和终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102436304B (zh) |
WO (1) | WO2013071826A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679225A (zh) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | 移动终端的屏幕调节方法、屏幕调节装置及移动终端 |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436304B (zh) * | 2011-11-14 | 2015-04-08 | 华为技术有限公司 | 一种屏幕横竖显示模式切换的方法和终端 |
CN103581423A (zh) * | 2012-08-09 | 2014-02-12 | 中兴通讯股份有限公司 | 屏幕翻转方法及装置、移动终端 |
CN103024191A (zh) * | 2012-12-21 | 2013-04-03 | 广东欧珀移动通信有限公司 | 一种屏幕旋转方法、装置以及移动终端 |
CN103092345B (zh) * | 2013-01-11 | 2015-12-23 | 广东欧珀移动通信有限公司 | 一种移动终端的模式切换方法及装置 |
CN103092344A (zh) * | 2013-01-11 | 2013-05-08 | 深圳市金立通信设备有限公司 | 一种控制终端屏幕画面旋转的方法及终端 |
CN103116400B (zh) * | 2013-01-16 | 2016-08-31 | 广州市动景计算机科技有限公司 | 一种屏幕显示状态的控制方法及电子设备 |
EP2950180B1 (en) | 2013-01-24 | 2020-09-02 | Huawei Device Co., Ltd. | Method for determining screen display mode and terminal device |
CN103176693B (zh) * | 2013-02-18 | 2016-02-10 | 联宝(合肥)电子科技有限公司 | 一种自动变换终端屏幕画面方向的方法及装置 |
CN104122983A (zh) * | 2013-04-27 | 2014-10-29 | 中国移动通信集团公司 | 一种屏幕显示方向调整方法及装置 |
CN104122985A (zh) * | 2013-04-29 | 2014-10-29 | 鸿富锦精密工业(深圳)有限公司 | 屏幕影像画面调整系统及方法 |
CN104125327A (zh) * | 2013-04-29 | 2014-10-29 | 深圳富泰宏精密工业有限公司 | 屏幕旋转控制方法及系统 |
JP6161400B2 (ja) * | 2013-05-17 | 2017-07-12 | キヤノン株式会社 | 動画再生装置及びその制御方法 |
CN103412647B (zh) * | 2013-08-13 | 2016-07-06 | 广东欧珀移动通信有限公司 | 一种人脸识别的页面显示控制方法及移动终端 |
CN103472915B (zh) * | 2013-08-30 | 2017-09-05 | 深圳Tcl新技术有限公司 | 基于瞳孔跟踪的阅读控制方法、阅读控制装置及显示设备 |
CN104598136B (zh) * | 2013-10-31 | 2018-07-31 | 纬创资通(昆山)有限公司 | 移动装置及移动装置的显示画面旋转方法 |
CN103760980A (zh) * | 2014-01-21 | 2014-04-30 | Tcl集团股份有限公司 | 根据双眼位置进行动态调整的显示方法、系统及显示设备 |
CN103777760A (zh) * | 2014-02-26 | 2014-05-07 | 北京百纳威尔科技有限公司 | 屏幕显示方向的切换方法及装置 |
CN104881107B (zh) * | 2014-02-27 | 2018-08-10 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN103941985A (zh) * | 2014-04-02 | 2014-07-23 | 百度在线网络技术(北京)有限公司 | 用于屏幕模式切换的方法和装置 |
CN105630135A (zh) * | 2014-10-27 | 2016-06-01 | 中兴通讯股份有限公司 | 一种智能终端的控制方法和装置 |
CN105867780A (zh) * | 2015-01-23 | 2016-08-17 | 中兴通讯股份有限公司 | 一种显示方法及其装置 |
CN106293014B (zh) * | 2015-05-08 | 2019-06-18 | 北京智谷睿拓技术服务有限公司 | 可变形显示屏幕控制方法、控制装置及用户设备 |
CN106293015B (zh) * | 2015-05-08 | 2019-06-18 | 北京智谷睿拓技术服务有限公司 | 可变形显示屏幕控制方法、控制装置及用户设备 |
CN104992103B (zh) * | 2015-08-10 | 2019-01-15 | 联想(北京)有限公司 | 一种控制方法及装置 |
CN106371575B (zh) * | 2015-12-11 | 2020-10-23 | 北京智谷睿拓技术服务有限公司 | 形变控制方法、形变控制装置及用户设备 |
CN105827872A (zh) * | 2016-06-07 | 2016-08-03 | 维沃移动通信有限公司 | 一种移动终端的控制方法及移动终端 |
CN106371785B (zh) * | 2016-08-30 | 2019-11-08 | Tcl移动通信科技(宁波)有限公司 | 一种显示模式的处理方法、系统及终端 |
CN106339092B (zh) * | 2016-08-31 | 2019-08-13 | 北京小米移动软件有限公司 | 横竖屏切换方法和装置 |
CN110853523A (zh) * | 2019-11-30 | 2020-02-28 | 捷开通讯(深圳)有限公司 | 一种柔性显示模组 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196777A (zh) * | 2006-12-05 | 2008-06-11 | 联想(新加坡)私人有限公司 | 便携式电子设备、画面显示方向的变更方法以及程序 |
CN102043576A (zh) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | 显示器画面自动调整系统及方法 |
CN102436304A (zh) * | 2011-11-14 | 2012-05-02 | 华为技术有限公司 | 一种屏幕横竖显示模式切换的方法和终端 |
-
2011
- 2011-11-14 CN CN201110358983.2A patent/CN102436304B/zh active Active
-
2012
- 2012-11-05 WO PCT/CN2012/084044 patent/WO2013071826A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196777A (zh) * | 2006-12-05 | 2008-06-11 | 联想(新加坡)私人有限公司 | 便携式电子设备、画面显示方向的变更方法以及程序 |
CN102043576A (zh) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | 显示器画面自动调整系统及方法 |
CN102436304A (zh) * | 2011-11-14 | 2012-05-02 | 华为技术有限公司 | 一种屏幕横竖显示模式切换的方法和终端 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679225A (zh) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | 移动终端的屏幕调节方法、屏幕调节装置及移动终端 |
CN104679225B (zh) * | 2013-11-28 | 2018-02-02 | 上海斐讯数据通信技术有限公司 | 移动终端的屏幕调节方法、屏幕调节装置及移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN102436304A (zh) | 2012-05-02 |
CN102436304B (zh) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013071826A1 (zh) | 一种屏幕横竖显示模式切换的方法和终端 | |
WO2018166399A1 (zh) | 一种显示控制方法及移动终端 | |
CN106558025B (zh) | 一种图片的处理方法和装置 | |
WO2016177154A1 (zh) | 一种切换移动终端工作模式的方法及装置 | |
CN106156730B (zh) | 一种人脸图像的合成方法和装置 | |
TWI678099B (zh) | 視頻處理方法、裝置和儲存介質 | |
Wang et al. | Human computer interaction with head pose, eye gaze and body gestures | |
WO2019148968A1 (zh) | 移动终端、人脸解锁方法及相关产品 | |
CN110942501B (zh) | 虚拟形象切换方法、装置、电子设备及存储介质 | |
WO2017070971A1 (zh) | 一种面部验证的方法和电子设备 | |
CN104731307B (zh) | 一种体感动作识别方法及人机交互装置 | |
WO2015078240A1 (zh) | 一种视频控制方法及用户终端 | |
CN105072327A (zh) | 一种防闭眼的人像拍摄处理的方法和装置 | |
CN106203254B (zh) | 一种调整拍照方向的方法及装置 | |
CN103413268B (zh) | 一种自动优化脸型的拍照方法 | |
WO2011117836A1 (en) | Method and apparatus for determining interaction mode | |
TW201113743A (en) | Method, electronic apparatus and computer program product for creating biologic feature data | |
TW201243823A (en) | Screen image rotation method and system | |
CN103412647A (zh) | 一种人脸识别的页面显示控制方法及移动终端 | |
WO2016011649A1 (zh) | 终端设备屏幕显示模式的切换方法、装置及终端设备 | |
CN108108604A (zh) | 一种控制屏幕显示的方法和装置 | |
CN105068646A (zh) | 终端的控制方法和系统 | |
WO2021120626A1 (zh) | 一种图像处理方法、终端及计算机存储介质 | |
WO2021232875A1 (zh) | 一种驱动数字人的方法、装置及电子设备 | |
CN102932596A (zh) | 一种拍照的方法、装置及移动终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12850522 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12850522 Country of ref document: EP Kind code of ref document: A1 |