CN103024191A - A screen rotation method, device and mobile terminal - Google Patents
A screen rotation method, device and mobile terminal Download PDFInfo
- Publication number
- CN103024191A CN103024191A CN201210563551XA CN201210563551A CN103024191A CN 103024191 A CN103024191 A CN 103024191A CN 201210563551X A CN201210563551X A CN 201210563551XA CN 201210563551 A CN201210563551 A CN 201210563551A CN 103024191 A CN103024191 A CN 103024191A
- Authority
- CN
- China
- Prior art keywords
- line
- sight
- angle
- horizontal
- eyes
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
本发明适用于移动终端领域,提供了一种屏幕旋转方法、装置以及移动终端,所述方法包括:获取两个眼睛的位置信息,根据所述位置信息,得到所述两个眼睛处于的正视线,根据所述正视线调整屏幕显示画面的显示方向;在使用移动终端时,本发明实现了将移动终端的屏幕显示画面调整到用户眼睛正视线的方向,以便于用户浏览,预防眼病。
The present invention is applicable to the field of mobile terminals and provides a screen rotation method, device and mobile terminal. The method comprises: obtaining position information of two eyes, obtaining the direct line of sight of the two eyes according to the position information, and adjusting the display direction of the screen display picture according to the direct line of sight; when using the mobile terminal, the present invention realizes adjusting the screen display picture of the mobile terminal to the direction of the direct line of sight of the user's eyes, so as to facilitate user browsing and prevent eye diseases.
Description
技术领域technical field
本发明属于移动终端领域,尤其涉及一种屏幕旋转方法、装置以及移动终端。The invention belongs to the field of mobile terminals, and in particular relates to a screen rotation method, device and mobile terminal.
背景技术Background technique
近年来,重力传感器在移动终端的应用相当广泛。重力传感器在移动终端的应用是:移动终端的屏幕显示画面,随着移动终端受到地心引力的方向改变,而随时调整为适合使用者观看的画面角度;然而,在应用存在如下问题:当移动终端处于其它非重力加速度方向的运动下时,则无法准确将屏幕显示画面旋转至重力方向观看屏幕显示画面的角度。In recent years, gravity sensors have been widely used in mobile terminals. The application of the gravity sensor in the mobile terminal is: the screen display screen of the mobile terminal is adjusted to the screen angle suitable for the user to watch at any time as the direction of the mobile terminal’s gravity changes; however, there are the following problems in the application: when the mobile terminal When the terminal is moving in other non-gravity acceleration directions, the screen display cannot be accurately rotated to the angle of viewing the screen display in the direction of gravity.
适合移动终端用户观看的屏幕显示画面方向不一定是与地心引力方向有绝对关系,例如:当用户躺着使用移动终端时,适合用户观看的画面角度便与地心引力无关;在该种情况下,最适合用户观看的屏幕显示画面角度应是眼睛正视的方向。The screen display direction suitable for mobile terminal users does not necessarily have an absolute relationship with the direction of gravity. For example, when the user is lying down and using a mobile terminal, the suitable screen angle for the user to watch has nothing to do with gravity; in this case Under the circumstances, the most suitable screen display angle for users to watch should be the direction in which the eyes look squarely.
发明内容Contents of the invention
本发明实施例的目的在于提供屏幕旋转方法,以解决使用移动终端时,如何实现将移动终端的屏幕显示画面调整到眼睛正视的问题。The purpose of the embodiments of the present invention is to provide a screen rotation method to solve the problem of how to adjust the screen display of the mobile terminal so that the eyes look squarely when using the mobile terminal.
本发明实施例是这样实现的,一种屏幕旋转方法,所述方法包括:The embodiment of the present invention is achieved in this way, a screen rotation method, the method comprising:
获取两个眼睛的位置信息;Obtain the position information of the two eyes;
根据所述位置信息,得到所述两个眼睛处于的正视线;According to the position information, the normal line of sight of the two eyes is obtained;
根据所述正视线调整屏幕显示画面的显示方向。The display direction of the screen display picture is adjusted according to the front line of sight.
本发明实施例的另一目的在于提供一种屏幕旋转装置,所述装置包括:Another object of the embodiments of the present invention is to provide a screen rotation device, the device comprising:
位置信息获取单元,用于获取两个眼睛的位置信息;a location information acquisition unit, configured to acquire location information of the two eyes;
正视单元,用于根据所述位置信息,得到所述两个眼睛处于的正视线;an emmetropic unit, configured to obtain the emmetropic sight of the two eyes according to the position information;
显示调整单元,用于根据所述正视线调整屏幕显示画面的显示方向。The display adjustment unit is configured to adjust the display direction of the screen display picture according to the front line of sight.
本发明实施例的另一目的在于提供一种移动终端,所述移动终端包括上述的屏幕旋转装置。Another object of the embodiments of the present invention is to provide a mobile terminal, which includes the above-mentioned screen rotation device.
本发明提供了一种屏幕旋转方法、装置以及移动终端,本发明通过获取两个眼睛的位置信息,根据所述位置信息,得到所述两个眼睛处于的正视线,根据所述正视线调整屏幕显示画面的显示方向;在使用移动终端时,本发明实现了将移动终端的屏幕显示画面调整到用户眼睛正视线的方向,以便于用户浏览,预防眼病。The present invention provides a screen rotation method, device, and mobile terminal. The present invention acquires the position information of two eyes, obtains the normal line of sight of the two eyes according to the position information, and adjusts the screen according to the normal line of sight. The display direction of the display screen; when using the mobile terminal, the present invention realizes the adjustment of the screen display screen of the mobile terminal to the direction of the user's eyes, so as to facilitate the user's browsing and prevent eye diseases.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本发明实施例一提供的屏幕旋转方法的实现流程图;FIG. 1 is a flow chart of the implementation of the screen rotation method provided by Embodiment 1 of the present invention;
图2是本发明实施例二提供的屏幕旋转装置的组成结构图。FIG. 2 is a structural diagram of a screen rotation device provided by Embodiment 2 of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
实施例一:Embodiment one:
图1示出了本发明第一实施例提供的屏幕旋转实现流程,其过程详述如下:Figure 1 shows the screen rotation implementation process provided by the first embodiment of the present invention, and the process is described in detail as follows:
步骤S101,获取两个眼睛的位置信息。Step S101, acquiring position information of two eyes.
移动终端获取两个眼睛的位置信息的方式可以为:采用移动终端的摄像头或摄像机等方式进行获取。The manner in which the mobile terminal obtains the position information of the two eyes may be: using a camera or a video camera of the mobile terminal to obtain the information.
当采用摄像头或摄像机获取到脸部图片(例如采用移动终端中的前置摄像头获取到脸部图片)时,通过图像处理技术从所述脸部图片中查找到两个眼睛,并通过平面坐标系确定所述两个眼睛的位置信息。When using a camera or a video camera to obtain a face picture (for example, using a front camera in a mobile terminal to obtain a face picture), use image processing technology to find two eyes from the face picture, and use the plane coordinate system Position information of the two eyes is determined.
所述位置信息包括但不限于两个眼睛的坐标信息。The position information includes but not limited to coordinate information of two eyes.
步骤S102,根据所述位置信息,得到所述两个眼睛处于的正视线。Step S102, according to the position information, obtain the normal line of sight of the two eyes.
所述正视线可以为:将两个眼睛所在的两点连成矢量线,所述矢量线的角度为两眼正视时的角度。The front line of sight may be: connecting two points where the two eyes are located to form a vector line, and the angle of the vector line is the angle of the two eyes when looking straight at the front.
作为本发明一实施例,所述根据所述位置信息,得到所述两个眼睛处于的正视线的步骤,可以为:As an embodiment of the present invention, the step of obtaining the normal line of sight of the two eyes according to the position information may be:
根据所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度。According to the position information, the front line of sight and the front line of sight angle of the two eyes are obtained, and the front line of sight angle is the angle of the front line of sight.
通过两个眼睛的位置点连成正视线,当所述正视线处于水平坐标系中时,获取所述正视角度,所述正视线为矢量线。The position points of the two eyes are connected to form an orthosight, and when the orthosight is in a horizontal coordinate system, the angle of the orthosight is obtained, and the orthosight is a vector line.
优选的是,在根据位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度的步骤之前,还可以包括:Preferably, before the step of obtaining the front line of sight and front view angle at which the two eyes are located according to the position information, and the front view angle is the angle of the front line of sight, it may also include:
建立平面坐标系;Establish a plane coordinate system;
根据所述平面坐标系,确定所述当前屏幕显示画面的水平线和水平角度,所述水平角度为所述水平线的角度。According to the plane coordinate system, a horizontal line and a horizontal angle of the current screen display picture are determined, and the horizontal angle is an angle of the horizontal line.
所述平面坐标系可以为普通的平面坐标系;通常情况下,所述平面坐标系采用平面直角坐标系。The plane coordinate system may be an ordinary plane coordinate system; usually, the plane coordinate system adopts a plane Cartesian coordinate system.
所述当前屏幕显示画面的水平线为,对当前屏幕显示画面从正视角进行观看时,所述当前屏幕显示画面的横坐标。The horizontal line of the current on-screen display is the abscissa of the current on-screen display when viewing the current on-screen display from a frontal perspective.
所述水平线为矢量线。The horizontal lines are vector lines.
预先确定好平面坐标系后,在所述平面坐标系中确定当前屏幕显示画面的水平线,并同时确定所述水平角度。After the plane coordinate system is determined in advance, the horizontal line of the current screen display picture is determined in the plane coordinate system, and the horizontal angle is determined at the same time.
优选的是,在根据所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度的步骤,可以为:Preferably, according to the position information, the step of obtaining the front line of sight and the front view angle at which the two eyes are located, the step of the front view angle being the angle of the front line of sight may be:
根据所述两个眼睛在所述平面坐标系中的位置信息,得到所述两个眼睛处于的所述正视线和所述正视角度。According to the position information of the two eyes in the plane coordinate system, the front sight line and the front view angle at which the two eyes are located are obtained.
在所述水平坐标系中确定好所述当前屏幕显示画面的所述水平线和所述水平角度后,在所述水平坐标系同确定两个眼睛的坐标点,根据两个眼睛的坐标点以及眼睛的正视角度,将所述两个眼睛的坐标点连成正视线,并同时获取正视角度,所述正视线为矢量线。After determining the horizontal line and the horizontal angle of the current screen display picture in the horizontal coordinate system, determine the coordinate points of the two eyes in the horizontal coordinate system, according to the coordinate points of the two eyes and the The coordinate points of the two eyes are connected to form the front line of sight, and the front line of sight is obtained at the same time, and the front line of sight is a vector line.
步骤S103,根据所述正视线调整屏幕显示画面的显示方向。Step S103, adjusting the display direction of the screen display picture according to the front line of sight.
根据所述正视线将所述屏幕显示画面调整为用户正视观看的屏幕显示画面。According to the front line of sight, the screen display picture is adjusted to a screen display picture that the user looks at squarely.
作为本发明一实施例,所述根据所述正视线调整屏幕显示画面的显示方向的步骤,可以为:As an embodiment of the present invention, the step of adjusting the display direction of the screen display picture according to the front line of sight may be:
判断当前屏幕显示画面的水平线是否与所述正视线是否方向相同,若否,则根据所述正视角度调整所述水平线到与所述正视线相同方向。Judging whether the horizontal line of the current screen display picture is in the same direction as the front line of sight, if not, adjusting the horizontal line to the same direction as the front line of sight according to the front viewing angle.
当所述水平线与所述正视线平行且方向相同时,则可以确定所述当前显示画面的水平线与所述正视线为同一方向的矢量线,则不对屏幕显示画面的显示角度做任何角度调整。When the horizontal line is parallel to the front line of sight and in the same direction, it can be determined that the horizontal line of the current display picture and the front line of sight are vector lines in the same direction, and no angle adjustment is made to the display angle of the screen display picture.
通常情况下,我们只需判断所述屏幕显示画面适合横向显示还是竖向显示,如果所述当前屏幕显示适合的方向与所述当前屏幕显示的方向不一致,则将当前屏幕显示的方向调整为所述当前屏幕显示适合的方向,如果所述当前屏幕显示适合的方向与所述当前屏幕显示的方向一致,则不作任何调整,所述当前屏幕显示适合的方向和所述当前屏幕显示的方向可以为横向显示或竖向显示;例如:当对屏幕显示做了调整后,如果当前屏幕显示的方向为横向显示,若当前屏幕显示适合的方向也为横向显示,则不作调整,若当前屏幕显示适合的方向为竖向显示,则调整为竖向显示。Normally, we only need to judge whether the screen display is suitable for horizontal display or vertical display, and if the suitable direction of the current screen display is inconsistent with the direction of the current screen display, then adjust the current screen display The direction that the current screen displays is suitable, if the direction that the current screen displays is consistent with the direction that is displayed on the current screen, no adjustment is made, the direction that is suitable for the current screen display and the direction that is displayed on the current screen can be Horizontal display or vertical display; for example: after adjusting the screen display, if the current screen display orientation is horizontal display, if the current screen display orientation is also horizontal display, no adjustment will be made; If the orientation is vertical display, adjust to vertical display.
优选的是,在判断当前屏幕显示画面的水平线是否与所述正视线是否相同,若否,则根据所述正视角度调整所述水平线到与所述正视线平行的步骤,可以为:Preferably, when judging whether the horizontal line of the current screen display picture is the same as the front line of sight, if not, the step of adjusting the horizontal line to be parallel to the front line of sight according to the front viewing angle may be:
判断当前屏幕显示画面的所述水平线与所述正视线是否平行且所述水平角度与所述正视角度是否相同,Judging whether the horizontal line of the current screen display picture is parallel to the front line of sight and whether the horizontal angle is the same as the front view angle,
若所述水平角度与所述正视角度不相同,则将所述正视角度和所述正视线分别作为当前屏幕显示画面的新水平角度和新水平线,或根据所述水平角度和所述正视角度,将所述水平线的方向调整到所述正视线的方向。If the horizontal angle is not the same as the front viewing angle, the front viewing angle and the front sight line are respectively used as the new horizontal angle and the new horizontal line of the current screen display picture, or according to the horizontal angle and the front viewing angle, Adjust the direction of the horizontal line to the direction of the front line of sight.
在平面坐标系中,当所述水平线与所述正视线平行或所述水平角度与所述正视角度相同中的任一条件不满足时,则认为所述水平线与所述正视线不为同一方向的矢量线,可以采用两种方式将当前屏幕显示画面的所述水平线的方向调整为所述正视线的方向:In the plane coordinate system, when any of the conditions in which the horizontal line is parallel to the front line of sight or the horizontal angle is the same as the front line of sight is not satisfied, it is considered that the horizontal line and the front line of sight are not in the same direction The direction of the horizontal line of the current screen display picture can be adjusted to the direction of the front line of sight in two ways:
在平面坐标系中,直接以所述正视角度和所述正视线将屏幕显示画面进行显示,即将所述正视角度和所述正视线分别作为当前屏幕显示画面的新水平角度和新水平线;In the plane coordinate system, the screen display picture is directly displayed with the front viewing angle and the front sight line, that is, the front viewing angle and the front sight line are respectively used as a new horizontal angle and a new horizontal line of the current screen display picture;
在平面坐标系中,根据所述水平角度和所述正视角度以获取所述正视角度和所述水平角度的角度差值,根据所述角度差值,将所述水平线的方向调整到所述正视线的方向。In the plane coordinate system, the angle difference between the front view angle and the horizontal angle is obtained according to the horizontal angle and the front view angle, and the direction of the horizontal line is adjusted to the front view angle according to the angle difference. The direction of sight.
本实施例提供了屏幕旋转方法,通过获取两个眼睛的位置信息,根据所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度,判断当前屏幕显示画面的水平线是否与所述正视线是否方向相同,若否,则根据所述正视角度调整所述水平线到与所述正视线相同方向;在使用移动终端时,本实施例提供了一种将移动终端的屏幕显示画面调整到眼睛正视显示的新的解决方案,以便于用户浏览,预防眼病。This embodiment provides a method for screen rotation. By acquiring the position information of the two eyes, according to the position information, the front line of sight and the front view angle of the two eyes are obtained, and the front view angle is the angle of the front line of sight. Determine whether the horizontal line of the current screen display picture is in the same direction as the front line of sight, if not, adjust the horizontal line to the same direction as the front line of sight according to the front viewing angle; when using a mobile terminal, this embodiment provides A new solution that adjusts the screen display of a mobile terminal to face up to the eyes, so as to facilitate users' browsing and prevent eye diseases.
实施例二:Embodiment two:
图2示出了本发明第二实施例提供的屏幕旋转装置的组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 2 shows the composition structure of the screen rotation device provided by the second embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
该基于屏幕旋转装置可以是运行于各终端设备(例如平板电脑、智能手机)内的软件单元、硬件单元或者软硬件相结合的单元,也可以作为独立的挂件集成到所述终端设备中或者运行于所述终端设备的应用系统中。The device based on screen rotation can be a software unit, a hardware unit, or a combination of software and hardware running in each terminal device (such as a tablet computer, a smart phone), or it can be integrated into the terminal device as an independent pendant or run in the application system of the terminal device.
本实施例提供了屏幕旋转装置,可以包括位置信息获取单元21、正视单元22以及显示调整单元23,其中各功能单元详述如下:This embodiment provides a screen rotation device, which may include a position
位置信息获取单元21,用于获取两个眼睛的位置信息。The location
移动终端获取两个眼睛的位置信息的方式可以为:采用移动终端的摄像头或摄像机等方式进行获取。The manner in which the mobile terminal obtains the position information of the two eyes may be: using a camera or a video camera of the mobile terminal to obtain the information.
当采用摄像头或摄像机获取到脸部图片(例如采用移动终端中的前置摄像头获取到脸部图片)时,位置信息获取单元21通过图像处理技术从所述脸部图片中查找到两个眼睛,并通过平面坐标系确定所述两个眼睛的位置信息。When a face picture is obtained by using a camera or a video camera (for example, a face picture is obtained by using a front-facing camera in a mobile terminal), the location
所述位置信息包括但不限于两个眼睛的坐标信息。The position information includes but not limited to coordinate information of two eyes.
正视单元22,用于根据位置信息获取单元21所述位置信息,得到所述两个眼睛处于的正视线。The
所述正视线可以为:将两个眼睛所在的两点连成矢量线,所述矢量线的角度为两眼正视时的角度。The front line of sight may be: connecting two points where the two eyes are located to form a vector line, and the angle of the vector line is the angle of the two eyes when looking straight at the front.
作为本发明一实施例,所述正视单元22,还可以用于根据位置信息获取单元21所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度。As an embodiment of the present invention, the
通过两个眼睛的位置点连成正视线,当所述正视线处于水平坐标系中时,获取所述正视角度,所述正视线为矢量线。The position points of the two eyes are connected to form an orthosight, and when the orthosight is in a horizontal coordinate system, the angle of the orthosight is obtained, and the orthosight is a vector line.
优选的是,所述装置还可以包括:Preferably, the device may also include:
坐标系单元24,用于建立平面坐标系。The coordinate
当前显示单元25,用于根据所述平面坐标系,确定所述当前屏幕显示画面的水平线和所述水平角度,所述水平角度为所述水平线的角度。The
所述平面坐标系可以为普通的平面坐标系;通常情况下,所述平面坐标系采用平面直角坐标系。The plane coordinate system may be an ordinary plane coordinate system; usually, the plane coordinate system adopts a plane Cartesian coordinate system.
所述当前屏幕显示画面的水平线为,对当前屏幕显示画面从正视角进行观看时,所述当前屏幕显示画面的横坐标。The horizontal line of the current on-screen display is the abscissa of the current on-screen display when viewing the current on-screen display from a frontal perspective.
所述水平线为矢量线。The horizontal lines are vector lines.
预先确定好平面坐标系后,当前显示单元25在所述平面坐标系中确定当前屏幕显示画面的水平线,并同时确定所述水平角度。After the plane coordinate system is determined in advance, the
优选的是,所述正视单元22,还可以用于:Preferably, the
根据所述两个眼睛在所述平面坐标系中的位置信息,得到所述两个眼睛处于的正视线和正视角度。According to the position information of the two eyes in the plane coordinate system, the normal line of sight and the normal line of sight of the two eyes are obtained.
在所述水平坐标系中确定好所述当前屏幕显示画面的所述水平线和所述水平角度后,正视单元22在所述水平坐标系同确定两个眼睛的坐标点,根据两个眼睛的坐标点以及眼睛的正视角度,将所述两个眼睛的坐标点连成正视线,并同时获取正视角度,所述正视线为矢量线。After determining the horizontal line and the horizontal angle of the current screen display picture in the horizontal coordinate system, the
显示调整单元23,用于根据正视单元22所述正视线调整屏幕显示画面的显示方向。The
本实施例中,显示调整单元23根据所述正视线将所述屏幕显示画面调整为用户正视观看的屏幕显示画面。In this embodiment, the
作为本发明一实施例,所述显示调整单元23,可以用于判断当前屏幕显示画面的水平线是否与正视单元22所述正视线是否方向相同,若否,则根据正视单元22所述正视角度调整所述水平线到与所述正视线相同方向。As an embodiment of the present invention, the
当所述水平线与所述正视线平行且方向相同时,显示调整单元23则可以确定所述当前显示画面的水平线与所述正视线为同一方向的矢量线,则不对屏幕显示画面的显示角度做任何角度调整。When the horizontal line is parallel and in the same direction as the front line of sight, the
通常情况下,我们只需判断所述屏幕显示画面适合横向显示还是竖向显示,如果所述当前屏幕显示适合的方向与所述当前屏幕显示的方向不一致,则显示调整单元23将当前屏幕显示的方向调整为所述当前屏幕显示适合的方向,如果所述当前屏幕显示适合的方向与所述当前屏幕显示的方向一致,则不作任何调整;例如:当对屏幕显示做了调整后,如果当前屏幕显示的方向为横向显示,若当前屏幕显示适合的方向也为横向显示,则显示调整单元23不作调整,若当前屏幕显示适合的方向为竖向显示,则显示调整单元23调整为竖向显示。Normally, we only need to judge whether the screen display is suitable for horizontal display or vertical display. If the suitable direction of the current screen display is inconsistent with the direction of the current screen display, the
优选的是,所述当前显示单元23可以包括:Preferably, the
判断单元231,用于判断当前屏幕显示画面的所述水平线与所述正视线是否平行且所述水平角度与所述正视角度是否相同。The judging
调整单元232,用于若所述水平角度与所述正视角度不相同,则将所述正视角度和所述正视线分别作为当前屏幕显示画面的新水平角度和新水平线,或根据所述水平角度和所述正视角度,将所述水平线调整到所述正视线的方向。The
在平面坐标系中,当所述水平线与所述正视线平行或所述水平角度与所述正视角度相同中的任一条件不满足时,判断单元231则认为所述水平线与所述正视线不为同一方向的矢量线,调整单元232可以采用两种方式将当前屏幕显示画面的所述水平线的方向调整为所述正视线的方向:In the plane coordinate system, when the horizontal line is parallel to the front line of sight or the horizontal angle is the same as the front line of sight, the judging
在平面坐标系中,直接将屏幕显示画面以所述正视角度和所述正视线进行显示,即将所述正视角度和所述正视线分别作为当前屏幕显示画面的新水平角度和新水平线;In the plane coordinate system, the screen display picture is directly displayed with the front viewing angle and the front sight line, that is, the front viewing angle and the front sight line are respectively used as a new horizontal angle and a new horizontal line of the current screen display picture;
在平面坐标系中,根据所述水平角度和所述正视角度以获取所述正视角度和所述水平角度的角度差值,根据所述角度差值,将所述水平线的方向调整到所述正视线的方向。In the plane coordinate system, the angle difference between the front view angle and the horizontal angle is obtained according to the horizontal angle and the front view angle, and the direction of the horizontal line is adjusted to the front view angle according to the angle difference. The direction of sight.
本实施例提供了一种屏幕旋转装置,位置信息获取单元获取两个眼睛的位置信息,正视单元根据所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度,显示调整单元判断当前屏幕显示画面的水平线是否与所述正视线是否方向相同,若否,则根据所述正视角度调整所述水平线到与所述正视线相同方向;本实施例实现了将移动终端的屏幕显示画面调整到眼睛正视显示,以便于用户浏览,预防眼病。This embodiment provides a screen rotation device, the position information acquisition unit acquires the position information of the two eyes, and the front view unit obtains the front line of sight and the front view angle of the two eyes according to the position information, and the front view angle is For the angle of the front line of sight, the display adjustment unit judges whether the horizontal line of the current screen display picture is in the same direction as the front line of sight, if not, adjusts the horizontal line to the same direction as the front line of sight according to the front viewing angle; The embodiment realizes that the screen display of the mobile terminal is adjusted to face up to the eyes so as to facilitate browsing by the user and prevent eye diseases.
作为本发明一实施例,本发明还提供了一种移动终端,所述移动终端包括实施例二中所述的屏幕旋转装置。As an embodiment of the present invention, the present invention also provides a mobile terminal, and the mobile terminal includes the screen rotation device described in the second embodiment.
本发明实施例提供了一种屏幕旋转方法、装置及移动终端,通过获取两个眼睛的位置信息,根据所述位置信息,得到所述两个眼睛处于的正视线和正视角度,所述正视角度为所述正视线的角度,判断当前屏幕显示画面的水平线是否与所述正视线是否方向相同,若否,则根据所述正视角度调整所述水平线到与所述正视线相同方向;在使用移动终端时,本发明提供了一种屏幕旋转方法,将移动终端的屏幕显示画面实时地调整到眼睛正视角度进行显示,以便于用户浏览,预防眼病。Embodiments of the present invention provide a screen rotation method, device, and mobile terminal. By acquiring the position information of two eyes, and according to the position information, the front line of sight and the front view angle of the two eyes are obtained, and the front view angle For the angle of the front line of sight, determine whether the horizontal line of the current screen display picture is in the same direction as the front line of sight, if not, then adjust the horizontal line to the same direction as the front line of sight according to the front viewing angle; For the terminal, the present invention provides a screen rotation method, which adjusts the screen display picture of the mobile terminal to the angle of the eyes for display in real time, so as to facilitate users to browse and prevent eye diseases.
本领域技术人员可以理解为上述实施例二包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。Those skilled in the art can understand that the various units included in the above-mentioned embodiment 2 are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are also It is only for the convenience of distinguishing each other, and is not intended to limit the protection scope of the present invention.
本领域普通技术人员还可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,包括ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can also understand that all or part of the steps in the method of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, so The storage medium mentioned above includes ROM/RAM, magnetic disk, optical disk, etc.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明由所提交的权利要求书确定的专利保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, several equivalent substitutions or obvious modifications are made without departing from the concept of the present invention, and the performance or use is the same, all should be regarded as belonging to the present invention by the submitted claims The scope of patent protection determined by the book.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210563551XA CN103024191A (en) | 2012-12-21 | 2012-12-21 | A screen rotation method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210563551XA CN103024191A (en) | 2012-12-21 | 2012-12-21 | A screen rotation method, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103024191A true CN103024191A (en) | 2013-04-03 |
Family
ID=47972302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210563551XA Pending CN103024191A (en) | 2012-12-21 | 2012-12-21 | A screen rotation method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103024191A (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103258503A (en) * | 2012-02-15 | 2013-08-21 | 上海智显光电科技有限公司 | Self-adaption display system with turnable display screen |
CN103760980A (en) * | 2014-01-21 | 2014-04-30 | Tcl集团股份有限公司 | Display method, system and device for conducting dynamic adjustment according to positions of two eyes |
CN104122983A (en) * | 2013-04-27 | 2014-10-29 | 中国移动通信集团公司 | Adjusting method and device for screen displaying direction |
CN104122985A (en) * | 2013-04-29 | 2014-10-29 | 鸿富锦精密工业(深圳)有限公司 | Screen video image adjusting system and method |
CN104503657A (en) * | 2014-12-08 | 2015-04-08 | 小米科技有限责任公司 | Image processing method and device |
CN104519291A (en) * | 2013-10-08 | 2015-04-15 | 三星电子株式会社 | Display apparatus and display method using the same |
CN104679225A (en) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | Method and device for adjusting screen of mobile terminal and mobile terminal |
WO2016011649A1 (en) * | 2014-07-24 | 2016-01-28 | 华为技术有限公司 | Method and apparatus for switching screen display mode of terminal device, and terminal device |
CN105573488A (en) * | 2014-10-30 | 2016-05-11 | 三星电子株式会社 | Method and apparatus for controlling screen display on electronic devices |
CN105759968A (en) * | 2016-02-22 | 2016-07-13 | 深圳市金立通信设备有限公司 | Display interface adjusting method and terminal |
CN106095372A (en) * | 2016-06-20 | 2016-11-09 | 联想(北京)有限公司 | A kind of display control method and electronic equipment |
WO2016179883A1 (en) * | 2015-05-12 | 2016-11-17 | 中兴通讯股份有限公司 | Method and apparatus for rotating display picture of terminal screen |
CN106851405A (en) * | 2016-12-13 | 2017-06-13 | 合网络技术(北京)有限公司 | Video broadcasting method and device based on oblique viewing angle detection |
CN107155099A (en) * | 2017-06-06 | 2017-09-12 | 苏州佳世达电通有限公司 | Display device and its control method |
CN108614634A (en) * | 2016-12-09 | 2018-10-02 | 北京视联动力国际信息技术有限公司 | A kind of mobile device shows the method and mobile device of screen rotation |
CN110264942A (en) * | 2019-06-19 | 2019-09-20 | 深圳市洲明科技股份有限公司 | Menu control method, device and the storage medium of LED display |
CN111163303A (en) * | 2018-11-08 | 2020-05-15 | 中移(苏州)软件技术有限公司 | An image display method, device, terminal and storage medium |
CN112540649A (en) * | 2020-12-11 | 2021-03-23 | 深圳市创智成科技股份有限公司 | Rotation control method of display screen and notebook computer |
WO2022042111A1 (en) * | 2020-08-26 | 2022-03-03 | 深圳创维-Rgb电子有限公司 | Video image display method and apparatus, and multimedia device and storage medium |
CN115167743A (en) * | 2022-06-10 | 2022-10-11 | 东风汽车集团股份有限公司 | Vehicle-mounted intelligent screen adjusting method and system and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020105540A1 (en) * | 2000-12-07 | 2002-08-08 | Keiichi Hayashi | Portable information terminal equipment and display method therefor |
CN101226407A (en) * | 2008-01-24 | 2008-07-23 | 北京中星微电子有限公司 | System and method for automatically adjusting display device angle |
CN101930238A (en) * | 2008-12-26 | 2010-12-29 | 宏碁股份有限公司 | Electronic device with display and method for adjusting elevation angle of display |
CN102043576A (en) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically adjusting display picture |
CN102164209A (en) * | 2011-03-23 | 2011-08-24 | 北京百纳威尔科技有限公司 | Mobile terminal screen display control method and mobile terminal |
CN102436304A (en) * | 2011-11-14 | 2012-05-02 | 华为技术有限公司 | Method and terminal for switching horizontal and vertical display modes of screen |
CN102695011A (en) * | 2012-05-08 | 2012-09-26 | 深圳Tcl新技术有限公司 | Method and video player capable of automatically adjusting image according to watching angle of user |
-
2012
- 2012-12-21 CN CN201210563551XA patent/CN103024191A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020105540A1 (en) * | 2000-12-07 | 2002-08-08 | Keiichi Hayashi | Portable information terminal equipment and display method therefor |
CN101226407A (en) * | 2008-01-24 | 2008-07-23 | 北京中星微电子有限公司 | System and method for automatically adjusting display device angle |
CN101930238A (en) * | 2008-12-26 | 2010-12-29 | 宏碁股份有限公司 | Electronic device with display and method for adjusting elevation angle of display |
CN102043576A (en) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically adjusting display picture |
CN102164209A (en) * | 2011-03-23 | 2011-08-24 | 北京百纳威尔科技有限公司 | Mobile terminal screen display control method and mobile terminal |
CN102436304A (en) * | 2011-11-14 | 2012-05-02 | 华为技术有限公司 | Method and terminal for switching horizontal and vertical display modes of screen |
CN102695011A (en) * | 2012-05-08 | 2012-09-26 | 深圳Tcl新技术有限公司 | Method and video player capable of automatically adjusting image according to watching angle of user |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103258503B (en) * | 2012-02-15 | 2016-03-09 | 上海智显光电科技有限公司 | The display system of self-adaptation display screen upset |
CN103258503A (en) * | 2012-02-15 | 2013-08-21 | 上海智显光电科技有限公司 | Self-adaption display system with turnable display screen |
CN104122983A (en) * | 2013-04-27 | 2014-10-29 | 中国移动通信集团公司 | Adjusting method and device for screen displaying direction |
CN104122985A (en) * | 2013-04-29 | 2014-10-29 | 鸿富锦精密工业(深圳)有限公司 | Screen video image adjusting system and method |
CN104519291A (en) * | 2013-10-08 | 2015-04-15 | 三星电子株式会社 | Display apparatus and display method using the same |
CN104679225B (en) * | 2013-11-28 | 2018-02-02 | 上海斐讯数据通信技术有限公司 | Screen adjustment method, screen adjustment device and the mobile terminal of mobile terminal |
CN104679225A (en) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | Method and device for adjusting screen of mobile terminal and mobile terminal |
CN103760980A (en) * | 2014-01-21 | 2014-04-30 | Tcl集团股份有限公司 | Display method, system and device for conducting dynamic adjustment according to positions of two eyes |
CN106575198A (en) * | 2014-07-24 | 2017-04-19 | 华为技术有限公司 | Method and device for switching display modes of terminal equipment screen and terminal equipment |
WO2016011649A1 (en) * | 2014-07-24 | 2016-01-28 | 华为技术有限公司 | Method and apparatus for switching screen display mode of terminal device, and terminal device |
CN105573488A (en) * | 2014-10-30 | 2016-05-11 | 三星电子株式会社 | Method and apparatus for controlling screen display on electronic devices |
CN105573488B (en) * | 2014-10-30 | 2020-11-10 | 三星电子株式会社 | Method and apparatus for controlling a screen display on an electronic device |
CN104503657A (en) * | 2014-12-08 | 2015-04-08 | 小米科技有限责任公司 | Image processing method and device |
CN104503657B (en) * | 2014-12-08 | 2017-10-03 | 小米科技有限责任公司 | Image processing method and device |
WO2016179883A1 (en) * | 2015-05-12 | 2016-11-17 | 中兴通讯股份有限公司 | Method and apparatus for rotating display picture of terminal screen |
CN105759968A (en) * | 2016-02-22 | 2016-07-13 | 深圳市金立通信设备有限公司 | Display interface adjusting method and terminal |
CN106095372A (en) * | 2016-06-20 | 2016-11-09 | 联想(北京)有限公司 | A kind of display control method and electronic equipment |
CN106095372B (en) * | 2016-06-20 | 2019-04-23 | 联想(北京)有限公司 | A kind of display control method and electronic equipment |
CN108614634A (en) * | 2016-12-09 | 2018-10-02 | 北京视联动力国际信息技术有限公司 | A kind of mobile device shows the method and mobile device of screen rotation |
CN106851405A (en) * | 2016-12-13 | 2017-06-13 | 合网络技术(北京)有限公司 | Video broadcasting method and device based on oblique viewing angle detection |
CN107155099A (en) * | 2017-06-06 | 2017-09-12 | 苏州佳世达电通有限公司 | Display device and its control method |
CN111163303A (en) * | 2018-11-08 | 2020-05-15 | 中移(苏州)软件技术有限公司 | An image display method, device, terminal and storage medium |
CN111163303B (en) * | 2018-11-08 | 2021-08-31 | 中移(苏州)软件技术有限公司 | An image display method, device, terminal and storage medium |
CN110264942A (en) * | 2019-06-19 | 2019-09-20 | 深圳市洲明科技股份有限公司 | Menu control method, device and the storage medium of LED display |
WO2022042111A1 (en) * | 2020-08-26 | 2022-03-03 | 深圳创维-Rgb电子有限公司 | Video image display method and apparatus, and multimedia device and storage medium |
US12160680B2 (en) | 2020-08-26 | 2024-12-03 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Video image display method and apparatus, multimedia device and storage medium |
CN112540649A (en) * | 2020-12-11 | 2021-03-23 | 深圳市创智成科技股份有限公司 | Rotation control method of display screen and notebook computer |
CN112540649B (en) * | 2020-12-11 | 2024-02-20 | 深圳市创智成科技股份有限公司 | Rotation control method of display screen and notebook computer |
CN115167743A (en) * | 2022-06-10 | 2022-10-11 | 东风汽车集团股份有限公司 | Vehicle-mounted intelligent screen adjusting method and system and electronic equipment |
CN115167743B (en) * | 2022-06-10 | 2024-04-02 | 东风汽车集团股份有限公司 | Vehicle-mounted intelligent screen adjusting method and system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024191A (en) | A screen rotation method, device and mobile terminal | |
AU2015307358B2 (en) | Photographing method and electronic device | |
CN106462325B (en) | Method of controlling display and electronic device providing same | |
TWI413979B (en) | Method for adjusting displayed frame, electronic device, and computer program product thereof | |
CN109743626B (en) | An image display method, image processing method and related equipment | |
CN103179278B (en) | Method and device for controlling screen to rotate | |
EP2953122A1 (en) | Method and apparatus for processing images | |
US10019220B2 (en) | Control method and apparatus thereof | |
AU2015343983A1 (en) | Electronic device and method for providing filter in electronic device | |
CN107861613B (en) | Method of displaying navigator associated with content and electronic device implementing the same | |
WO2017133475A1 (en) | Multimedia data playing method, apparatus and device, and interface rendering method, apparatus and device | |
WO2016011649A1 (en) | Method and apparatus for switching screen display mode of terminal device, and terminal device | |
CN108540718A (en) | Shooting method and device, mobile terminal and storage medium | |
CN202133993U (en) | A desktop background display processing device for a mobile terminal | |
CN104898920B (en) | The method and apparatus of moving in rotation terminal screen picture | |
HK1202174A1 (en) | Method, apparatus and electronic device for display orientation switching | |
CN102236441A (en) | Interactive three-dimensional image display system and method | |
US10592194B2 (en) | Method and system for multiple display device projection | |
CN104007811A (en) | Electronic device and image adjusting method | |
CN103634525B (en) | Rotation of mobile terminal camera display system changing method | |
US10764511B1 (en) | Image version selection based on device orientation | |
CN105867858A (en) | Control method, control device and electronic device | |
KR20130081439A (en) | Apparatus and method for displaying camera view area in a portable terminal | |
TWI603225B (en) | Viewing angle adjusting method and apparatus of liquid crystal display | |
US9536133B2 (en) | Display apparatus and control method for adjusting the eyes of a photographed user |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130403 |