CN102436304A - Method and terminal for switching horizontal and vertical display modes of screen - Google Patents
Method and terminal for switching horizontal and vertical display modes of screen Download PDFInfo
- Publication number
- CN102436304A CN102436304A CN2011103589832A CN201110358983A CN102436304A CN 102436304 A CN102436304 A CN 102436304A CN 2011103589832 A CN2011103589832 A CN 2011103589832A CN 201110358983 A CN201110358983 A CN 201110358983A CN 102436304 A CN102436304 A CN 102436304A
- Authority
- CN
- China
- Prior art keywords
- straight line
- screen
- angle
- coordinate system
- facial image
- 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.)
- Granted
Links
Images
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
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 Analysis (AREA)
- Image Processing (AREA)
Abstract
An embodiment of the invention discloses a method and a terminal for switching horizontal and vertical display modes of a screen. The method of the embodiment includes that human face images are obtained; positions of two points on the human face are drawn according to the obtained human face images, and a straight line determined by the two points is used for reflecting the position of the straight line determined by two eyes; the included angle formed by the straight line which is formed by the two points and a preset coordinate system is obtained, wherein the original point of the coordinate system is a point on the straight line; and the horizontal and vertical display modes of the screen are switched according to the comparison result of the included angle and preset information. The method and the terminal for switching horizontal and vertical display modes of the screen draw the positions of only two points on the face, are simple in algorithm, have no requirements on postures of users, and enable switching accuracy of the screen to be improved.
Description
Technical field
The present invention relates to communication technical field, have and relate to a kind of screen display mode method and terminal of switching anyhow.
Background technology
Along with the fast development of mobile communication technology, smart mobile phone, panel computer, portable terminals such as personal digital assistant have become the indispensable instrument of people.For more comfortable enjoyment is provided to the user, portable terminal is commonly the user bigger display screen is provided, and simultaneously, for the ease of carrying, is elongated shape with screen design generally.For the portable terminal different functions,, require the display mode anyhow that portable terminal can intelligent toggle screen perhaps for the reading method of different user.
Utilize the method for facial contour contrast in the prior art, confirm the display mode anyhow of portable terminal.With reference to Fig. 1, concrete steps comprise:
Step 1, portable terminal obtain user's face-image;
Wherein, the camera that portable terminal can specifically carry through the terminal in the step 1 obtains user's face-image.Need to prove that also the condition that triggers execution in step 1 can be the switching of user interface, also can be to start application program, also can be to withdraw from application program etc.
Each some color-values in step 2, the basis face-image that obtains is obtained the user plane contouring;
Wherein, Said display mode in the step 3 according to current portable terminal; User plane contouring that obtains and the index plane contouring that presets are compared; Specifically comprise:, user plane contouring that obtains and standard lateral face contour are compared if current display mode is vertical display mode; If current display mode is horizontal display mode, user plane contouring that obtains and standard longitudinal surface contouring are compared.
For the ease of understanding, Fig. 2 a and Fig. 2 b are depicted as standard longitudinal surface contouring and standard lateral face contour, and wherein, the minor face that vertically is meant terminal screen at said terminal is parallel with surface level, and the long limit that laterally is meant terminal screen at terminal is parallel with surface level.
Wherein, step 4 specifically can comprise: if the similarity of user plane contouring that obtains and index plane contouring greater than threshold value, switches to the display mode at terminal and the corresponding display mode of index plane contouring; If the similarity of user plane contouring that obtains and index plane contouring is not more than threshold value, keep current display mode constant.
Through above-mentioned explanation to prior art; The inventor find in the prior art need to obtain on the facial image each put color-values, just can obtain the face contour of people's face, also need the face contour of face contour and standard be compared; Calculate similarity, implementation method is complicated.Simultaneously; In order to obtain the user plane contouring, when obtaining image, high requirement has been proposed for user's attitude; As user's attitude whether rectify, whether the distance of user and camera preserve value and get access to satisfactory image etc., reduced the accuracy of switch mode.
Summary of the invention
The embodiment of the invention provides a kind of screen method and the terminal of display mode switching anyhow, and its implementation procedure is simple, has improved the accuracy of switch mode simultaneously.
The embodiment of the invention provides a kind of screen method of display mode switching anyhow, comprising:
Obtain facial image;
According to the facial image that obtains, extract the people position of two points on the face, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line;
The angle of the coordinate system that obtains two formed straight lines of point and preset, wherein, the initial point of said coordinate system is the point on the said straight line;
According to the comparison result of said angle and preset information, the display mode anyhow of toggle screen.
The embodiment of the invention provides a kind of terminal, comprising: first acquiring unit, and extraction unit, second acquisition unit, and switch unit,
Said first acquiring unit is used to obtain facial image;
Said extraction unit is used for according to the facial image that obtains, extracts the people position of two points on the face, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line;
Said second acquisition unit is used to obtain the angle of two formed straight lines of point and the coordinate system that presets, and wherein, the initial point of said coordinate system is the point on the said straight line;
Said switch unit is used for the comparison result according to said angle and preset information, the display mode of toggle screen.
Can find out that from above technical scheme the embodiment of the invention is through extracting the people position of two points on the face, obtain wherein the angle of two formed straight lines of point and the coordinate system that presets, according to the comparing result of angle and preset information, the display mode of toggle screen; With in the prior art through obtain in the face-image each put color-values; Thereby obtain the user plane contouring; The face contour that obtains is compared with the technological means that the index plane contouring compares, the embodiment of the invention is only extracted the position of facial two points again, and algorithm is simple; User's attitude is not done requirement, and the accuracy that makes screen switch improves.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Utilize the method flow synoptic diagram of facial contour contrast in Fig. 1 prior art;
Fig. 2 a is a standard longitudinal surface contouring in the prior art;
Fig. 2 b is a standard athwartship plane contouring in the prior art;
Fig. 3 is a kind of screen of providing of the embodiment of the invention one method flow synoptic diagram of switching of display mode anyhow;
Fig. 4 is a kind of screen of providing of the embodiment of the invention two method flow synoptic diagram of switching of display mode anyhow;
Fig. 5 is that two pupil positions confirm that the position of straight line and coordinate system concerns synoptic diagram;
Fig. 6 a is that straight line and the coordinate system X axle that pupil position is confirmed forms the angle synoptic diagram;
Fig. 6 b is that straight line and the coordinate system X axle that pupil position is confirmed forms the angle synoptic diagram;
Fig. 7 is the position view of terminal screen and coordinate system;
Fig. 8 is straight line and the coordinate system angle synoptic diagram that pupil position is confirmed;
Fig. 9 is the synoptic diagram at a kind of terminal of providing of the embodiment of the invention three.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one,
The embodiment of the invention provides a kind of screen method of display mode switching anyhow, and as shown in Figure 3, this method comprises:
Wherein, the said facial image that obtains specifically can adopt camera that the terminal carries to take to obtain in the step 301.
Wherein, said two points in the step 302 are appreciated that it is the point on the people's face symmetry organ, like eyes, and perhaps eyebrow, perhaps ear.2 points that extract on these symmetrical organs, these 2 definite straight lines can directly reflect the position of the straight line that eyes are confirmed, like the definite straight line of the most direct eyes; Perhaps, the straight line parallel that these 2 definite straight lines and eyes are confirmed, like the straight line of confirming by ears or a pair of eyebrow, the position that reflects the straight line that eyes are confirmed that this point-to-point transmission connects, promptly definite straight line parallel with eyes.Be in the embodiment of the invention, the straight line that two points are confirmed be used to reflect the eyes eyeball the position of definite straight line, can be 2 determined straight lines and eyes the position almost parallel of definite straight line.
These 2 also can be the asymmetric on the face organ of people; Like eyes and two points that ear is confirmed; Or eyes and two points that eyebrow is confirmed; Under the not high situation of accuracy requirement, also can think two determined straight lines of some straight line parallel definite that eyes and ear are confirmed with eyes; These 2 also can place between the eyebrows loca and face central point, through these 2 definite straight lines, can reflect that from the eyes loca be vertical, the position that reflects the straight line that eyes are confirmed that these 2 definite straight lines are also indirect.
Need to prove that also the embodiment of the invention is low to the accuracy requirement of each organ loca of extraction, promptly the position of general definite point gets final product.
Wherein, need to prove for the ease of understanding step 304, can false coordinate the X axle of system consistent with the longitudinal direction of screen, the Y axle of coordinate system is consistent with the horizontal direction of screen;
Straight line specifically comprises with the angle of the coordinate system that presets: the angle of straight line and X axle positive dirction;
According to the comparing result of angle and preset information, the display mode anyhow of toggle screen specifically comprises: if the scope of angle is at [α, α], screen switches to vertical display mode; If the scope of angle is in [90 ,-β], perhaps [β, 90], screen switches to horizontal display mode, and wherein, α is less than or equal to β.Wherein, the α span is for being [45 °, 45 °], and the β span can be [45 °, 90 °], and perhaps the β span can be [90 ° ,-45 °].
Need to prove that also according to the difference of two that extract in the step 302 some representatives, preset information is different.Position to extract pupil is an example, and preset information can be:
When the scope of angle a is: in the time of-45 °<a<=45 °, eyes are fit to read screen through the longitudinal direction of screen;
Perhaps when-90 °<a<=-45 °, perhaps, in the time of 45 °<a<=90 °, eyes are fit to read screen through the horizontal direction of screen.
When two points that extract are two points on the straight line vertical direction of pupil place, corresponding during like these two points of peak of place between the eyebrows and nose, the content that is used to contrast the preset information that judges whether toggle screen is difference also.Two the point that in step 302, extracts not simultaneously, preset information is different with the range information of aforesaid angle a.Preset information can be directly or turned cross the scope of angle a, shine upon the corresponding relation of demonstration anyhow of eyes and screen.
Therefore, should not be construed as restriction for example about preset information here to inventive embodiments.
After angle that obtains and preset information contrast, the terminal switches to display mode and is fit to the pattern that eyes are read.
Wherein, the description about numeral only is to be convenient to understand giving an example of the embodiment of the invention for example in full, should not be construed as the restriction to invention.
Through the explanation of the method for display mode switching anyhow of above-mentioned a kind of screen that the embodiment of the invention is provided; This method is through extracting the people position of two points on the face; Obtain wherein the angle of two formed straight lines of point and the coordinate system that presets; According to the comparing result of angle and preset information, the display mode of toggle screen; With in the prior art through obtain in the face-image each put color-values; Thereby obtain the user plane contouring; The face contour that obtains is compared with the technological means that the index plane contouring compares, the embodiment of the invention is only extracted the position of facial two points again, and algorithm is simple; User's attitude is not done requirement, and the accuracy that makes screen switch improves.
Preferably, before step 301, this method also comprises:
So, step 301 specifically comprises: according to the trigger condition that gets access to, obtain facial image.
Wherein, the said trigger condition of obtaining in the step 300 specifically can comprise:
Obtain key commands, trigger execution in step 301, the key commands here triggers can comprise physical button command triggers and virtual key command triggers;
Wherein, need to prove that this virtual key command triggers mainly is not have button to current intelligent terminal, carry out corresponding program through getting the icon command triggers on the screen, as make a phone call that the user only needs the phone icon in the touch screen.
Perhaps, obtain application scenarios information, trigger execution in step 301, said application scenarios includes but not limited to picture browsing, text reading, page turning etc.;
Perhaps, obtain the information that the terminal center of gravity changes, trigger execution in step 301;
Perhaps, after the time of setting at interval, repeated trigger execution in step 301, the temporal information that presets can be several seconds, the terminal after the time of setting at interval, repeated trigger execution in step 301, thereby the real-time IMAQ that carries out.
Wherein, when requiring, obtain trigger condition and comprise: obtain key commands, obtain application scenarios information, perhaps obtain the information that the terminal center of gravity changes for consideration terminal low-power consumption.Under the situation about not requiring for power consumption, can real-time triggering carry out the switching of display mode anyhow, can set the very short time interval, repeated trigger execution in step 301, as open game function
Through increasing step 300, make that the terminal can be according to obtaining trigger condition; Select when carry out the screen switching of display mode anyhow, increased the degree of intelligence at terminal, satisfy the user demand of user different application.
Embodiment two,
The embodiment of the invention provides a kind of screen method of display mode switching anyhow; Compare with the foregoing description one; Be that example describes with two determined two points of pupil center as extracting people's two points on the face among the embodiment two, and embodiment two with application scenarios trigger carry out screen anyhow the display mode blocked operation be that example describes.
As shown in Figure 4, this method comprises:
Step 400: obtain application scenarios information;
Wherein, step 400 specifically can comprise: the terminal finds that the text reading function is used, and triggers and carries out next step 401.
Step 401:, obtain facial image according to the application scenarios information of obtaining;
Wherein, obtaining facial image can be to realize through the picture pick-up device that the terminal carries.
Step 402:, extract the position of two pupil center's points according to the facial image that obtains;
The position of two pupil center's points that wherein, extract in the step 402 the most directly reflect eyes and screen the angular relationship of definite coordinate system.
It will be appreciated that also the method for training based on " integral image " and AdaBoost can be adopted in the prior art in the position of extracting two pupil center points in the step 402.Also can adopt the position of other two pupil center's points of mature technology extraction, should not be construed as restriction here the embodiment of the invention.
Wherein, shown in Figure 5, two pupil positions that extract through step 402 are respectively A, B 2 points, can confirm straight line L.On the cut-off line L is true origin arbitrarily a bit, with level to the right direction be X axle positive dirction, direction is a Y axle positive dirction straight up, sets up coordinate system.The angle a of calculated line L and X axle, the angle number of degrees that are set in the coordinate system first quartile are negative for just at the four-quadrant angle of coordinate system.The span of angle a is :-90 °<a<=90 °.Be depicted as the straight line L1 and coordinate system X axle formation angle a1 that pupil position is confirmed like Fig. 6 a, and a1 be on the occasion of; Be depicted as straight line L2 and the coordinate system X axle formation angle a2 that pupil position is confirmed like Fig. 6 b, and a2 is a negative value.
As shown in Figure 7, the direction of setting coordinate system X coordinate axis among this embodiment is consistent with the longitudinal direction of portable terminal screen, and the direction of coordinate system Y coordinate axis is consistent with the horizontal direction of portable terminal screen.
Wherein, step 404 is according to the value of angle a and the information that presets, and judging between eyes and the screen is parallel relation, or vertical relation, and promptly the active user sees screen or the endways screen of seeing sidewards.
As shown in Figure 8, when angle-α<a<α, judge that eyes and screen are in parastate, screen is selected vertical display mode; When angle a<-when β or a>β, judge that eyes and screen are in plumbness, screen is selected horizontal display mode; When angle a got other values, being not sure of eyes and screen was parallel relation, or vertical relation, and screen will keep original state, or judge according to the information that other preset.Preferably, the α value is-45 ° to+45 °, and the β value is 45 ° to 90 °, and perhaps the β value is-90 ° to-45 °; Perhaps preferred α value-30 ° is to+30 °, and the β value is 60 ° to 90 °, and perhaps the β value is-90 ° to-60 °.
Through the explanation of the method for display mode switching anyhow of above-mentioned a kind of screen that the embodiment of the invention two is provided; This method is through extracting two pupil loca positions; The angle of the coordinate system that obtains two formed straight lines of point and preset; According to the comparing result of angle and preset information, the toggle screen current display mode; With in the prior art through obtain in the face-image each put color-values; Thereby obtain the user plane contouring; The face contour that obtains is compared with the technological means that the index plane contouring compares, the embodiment of the invention is only extracted the position of two pupil locas again, and algorithm is simple; User's attitude is not done requirement, and the accuracy that makes screen switch improves.
Be that two determined two points of pupil are that example describes to two points that extract in detail in the foregoing description two; If extract be on two eyebrows each a bit; Perhaps each on two ears a bit; Or other can reflect that (for example: eyebrow place straight line and eyes place straight line can be thought parallel, and ear place straight line and eyes belong to straight line and can think parallel etc. for the position of the straight line at human eye place.) can adopt and be used for handling like the foregoing description two-phase operation, the description through embodiment two is to obtain easily.
Embodiment three,
The embodiment of the invention provides a kind of terminal, and is as shown in Figure 9, and this terminal comprises: first acquiring unit 901, extraction unit 902, second acquisition unit 903 and switch unit 904.
Wherein, first acquiring unit 901 is used to obtain facial image; This first acquiring unit 901 can be the camera that the terminal carries.
Extraction unit 902 is used for according to the facial image that obtains, extracts the people position of two points on the face, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line.
Need to prove also said two points are appreciated that it is the point on the people's face symmetry organ, like eyes, perhaps eyebrow, perhaps ear.2 points that extract on these symmetrical organs, these 2 definite straight lines can directly reflect the position of the straight line that eyes are confirmed, like the definite straight line of the most direct eyes; Perhaps, the straight line parallel that these 2 definite straight lines and eyes are confirmed, like the straight line of confirming by ears or a pair of eyebrow, the position that reflects the straight line that eyes are confirmed that this point-to-point transmission connects, promptly definite straight line parallel with eyes.In the embodiment of the invention, the straight line that two points are confirmed be used to reflect the eyes eyeball the position of definite straight line, can be 2 determined straight lines and eyes the position almost parallel of definite straight line.
These 2 also can be the asymmetric on the face organ of people; Like eyes and two points that ear is confirmed; Or eyes and two points that eyebrow is confirmed; Under the not high situation of accuracy requirement, also can think two determined straight lines of some straight line parallel definite that eyes and ear are confirmed with eyes; These 2 also can place between the eyebrows loca and face central point, through these 2 definite straight lines, can reflect that from the eyes loca be vertical, the position that reflects the straight line that eyes are confirmed that these 2 definite straight lines are also indirect.
Need to prove that also the embodiment of the invention is low to the accuracy requirement of each organ loca of extraction, promptly the position of general definite point gets final product.
Second acquisition unit 903 is used to obtain the angle of two formed straight lines of point and the coordinate system that presets, and wherein, the initial point of coordinate system is two points on the formed straight line of point;
Switch unit 904 is used for the comparing result according to angle and preset information, the display mode of toggle screen.
Need to prove that also the X axle of coordinate system is consistent with the longitudinal direction of screen, the Y axle of coordinate system is consistent with the horizontal direction of screen;
Straight line specifically comprises with the angle of the coordinate system that presets: the angle of straight line and X axle positive dirction;
Switch unit, specifically be used for if the scope of angle at [α, α], screen switches to vertical display mode; If the scope of angle is in [90 ,-β], perhaps [β, 90], screen switches to horizontal display mode, and wherein, α is less than or equal to β.Wherein, the α span is for being [45 °, 45 °], and the β span can be [45 °, 90 °], and perhaps the β span can be [90 ° ,-45 °].
Wherein, during the Different Organs of two the some representative of extracting in the extraction unit 902, preset information is also different.Position to extract pupil is an example, and preset information can be:
When the scope of angle a is: in the time of-45 °<a<=45 °, eyes are fit to use screen through the longitudinal direction of screen;
Perhaps-90 °<a<=-45 ° of shelves, perhaps, in the time of 45 °<a<=90 °, eyes are fit to use screen through the horizontal direction of screen.
When two points that extract are two points on the straight line vertical direction of pupil place, corresponding during like these two points of peak of place between the eyebrows and nose, the content that is used to contrast the preset information that judges whether toggle screen is difference also.Two the point that in step 302, extracts not simultaneously, preset information is different with the range information of aforesaid angle a.Preset information can be directly or turned cross the scope of angle a, shine upon the corresponding relation of demonstration anyhow of eyes and screen.
Explanation through above-mentioned a kind of terminal that the embodiment of the invention is provided; Extraction unit 902 is through extracting the people position of at least two points on the face; Second acquisition unit 903 obtains wherein the angle of two formed straight lines of point and the coordinate system that presets; Switch unit 904 is according to the comparing result of angle and preset information, the display mode of toggle screen; With in the prior art through obtain in the face-image each put color-values; Thereby obtain the user plane contouring; The face contour that obtains is compared with the technological means that the index plane contouring compares, the embodiment of the invention is only extracted the position of facial two points again, and algorithm is simple; User's attitude is not done requirement, and the accuracy that makes screen switch improves.
Further, this terminal also comprises: the 3rd acquiring unit 900 is used to obtain trigger condition.
Through increasing by the 3rd acquiring unit 900, make that the terminal can be according to obtaining trigger condition; Select when carry out the screen switching of display mode anyhow, increased the degree of intelligence at terminal, satisfy the user demand of user different application.
Further, the 3rd acquiring unit 900 is used to obtain trigger condition, specifically comprises:
Obtain key commands, trigger 901 execution of first acquiring unit and obtain facial image;
Perhaps, obtain application scenarios information, trigger 901 execution of first acquiring unit and obtain facial image; It will be appreciated that key commands triggers can comprise physical button command triggers and virtual key command triggers; Wherein, need to prove that this virtual key command triggers mainly is not have button to current intelligent terminal, carry out corresponding program through getting the icon command triggers on the screen, as make a phone call that the user only needs the phone icon in the touch screen.
Perhaps, obtain the information that the terminal center of gravity changes, trigger 901 execution of first acquiring unit and obtain facial image; It will be appreciated that said application scenarios includes but not limited to picture browsing, text reading, page turning etc.;
Perhaps, after the time of setting at interval, repeated trigger first acquiring unit 901 is carried out and is obtained facial image; It will be appreciated that, thus the time repeated trigger of setting at interval real-time carry out IMAQ, reach the demand of the display mode of real-time adjustment screen.
Further, extraction unit 902 specifically is used for extracting the position of two pupil center's points according to the facial image that obtains;
So; Second acquisition unit 903; The angle of the coordinate system that specifically is used to obtain two formed straight lines of point at pupil place and presets, wherein, the initial point of coordinate system is the point on this straight line; The X axle of the coordinate system that presets is consistent with the longitudinal direction of screen, and the Y axle of the coordinate system that presets is consistent with the horizontal direction of screen;
Extraction unit 902 is through extracting two pupil loca positions; Second acquisition unit 903 obtains the angle of two formed straight lines of point and the coordinate system that presets; According to the comparing result of angle and preset information, the toggle screen current display mode makes terminal screen handoff procedure simple and fast.
The detailed description at a kind of terminal that provides about the embodiment of the invention three can also reference implementation example one, two kind about the explanation of the method switched of display mode anyhow of a kind of screen, does not repeat here.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
More than a kind of screen provided by the present invention has been carried out detailed introduction in the display mode method and the terminal of switching anyhow; For one of ordinary skill in the art; Thought according to the embodiment of the invention; The part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.
Claims (15)
1. the screen method switched of display mode anyhow is characterized in that, comprising:
Obtain facial image;
According to the facial image that obtains, extract the people position of two points on the face, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line;
The angle of the coordinate system that obtains two formed straight lines of point and preset, wherein, the initial point of said coordinate system is the point on the said straight line;
According to the comparison result of said angle and preset information, the display mode anyhow of toggle screen.
2. method according to claim 1 is characterized in that, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line, specifically comprise: said 2 determined straight lines and eyes the position almost parallel of definite straight line.
3. method according to claim 1 is characterized in that, the X axle of said coordinate system is consistent with the longitudinal direction of screen, and the Y axle of said coordinate system is consistent with the horizontal direction of screen;
Said straight line specifically comprises with the angle of the coordinate system that presets: the angle of said straight line and X axle positive dirction;
Said comparing result according to said angle and preset information, the display mode anyhow of toggle screen specifically comprises: if the scope of said angle is at [α, α], screen switches to vertical display mode; If the scope of said angle is in [90 ,-β], perhaps [β, 90], screen switches to horizontal display mode, and wherein, α is less than or equal to β.
4. method according to claim 3 is characterized in that, said α span does
[45 °, 45 °], said β span are [45 °, 90 °], and perhaps said β span is [90 ° ,-45 °].
5. method according to claim 3 is characterized in that, said extraction people specifically comprises the position of two points on the face: the central point that extracts two pupils;
The angle of the said coordinate system that obtains two formed straight lines of point and preset specifically comprises:
Obtain the formed straight line of central point of pupil and the angle of the coordinate system that presets.
6. method according to claim 5 is characterized in that, the people further comprises the position of two points on the face for said extraction: each on two eyebrows a bit, perhaps each on two ears is a bit.
7. method according to claim 1 is characterized in that, said obtaining before the facial image, and said method further comprises:
Obtain trigger condition;
The said facial image that obtains specifically comprises: according to the trigger condition of obtaining, obtain facial image.
8. method according to claim 7 is characterized in that, the said trigger condition of obtaining specifically comprises:
Obtain key commands, trigger and carry out the said facial image that obtains;
Perhaps, obtain application scenarios information, trigger and carry out the said facial image that obtains;
Perhaps, obtain the information that the terminal center of gravity changes, trigger and carry out the said facial image that obtains;
Perhaps, after the time of setting at interval, repeated trigger is carried out the said facial image that obtains.
9. a terminal is characterized in that, comprising: first acquiring unit, and extraction unit, second acquisition unit, and switch unit,
Said first acquiring unit is used to obtain facial image;
Said extraction unit is used for according to the facial image that obtains, extracts the people position of two points on the face, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line;
Said second acquisition unit is used to obtain the angle of two formed straight lines of point and the coordinate system that presets, and wherein, the initial point of said coordinate system is the point on the said straight line;
Said switch unit is used for the comparison result according to said angle and preset information, the display mode of toggle screen.
10. terminal according to claim 9 is characterized in that, the straight line that said two points are confirmed be used to reflect the eyes eyeball the position of definite straight line, specifically comprise: said 2 determined straight lines and eyes the position almost parallel of definite straight line.
11. terminal according to claim 9 is characterized in that, the X axle of said coordinate system is consistent with the longitudinal direction of screen, and the Y axle of said coordinate system is consistent with the horizontal direction of screen;
Said straight line specifically comprises with the angle of the coordinate system that presets: the angle of said straight line and X axle positive dirction;
Said switch unit, specifically be used for if the scope of said angle at [α, α], screen switches to vertical display mode; If the scope of said angle is in [90 ,-β], perhaps [β, 90], screen switches to horizontal display mode, and wherein, α is less than or equal to β.
12. terminal according to claim 11 is characterized in that, said α span does
[45 °, 45 °], said β span are [45 °, 90 °], and perhaps said β span is [90 ° ,-45 °].
13. terminal according to claim 11 is characterized in that, said extraction unit specifically is used for extracting the central point of two pupils according to the facial image that obtains;
Said second acquisition unit specifically is used to obtain the formed straight line of central point of pupil and the angle of the coordinate system that presets, and wherein, the initial point of said coordinate system is the point on the said straight line.
14. terminal according to claim 9 is characterized in that, said terminal further comprises:
The 3rd acquiring unit is used to obtain trigger condition;
Said first acquiring unit specifically is used for obtaining facial image according to the trigger condition of obtaining.
15. terminal according to claim 14 is characterized in that, said the 3rd acquiring unit specifically is used to obtain key commands, triggers said first acquiring unit execution and obtains facial image;
Perhaps, obtain application scenarios information, trigger said first acquiring unit execution and obtain facial image;
Perhaps, obtain the information that the terminal center of gravity changes, trigger said first acquiring unit execution and obtain facial image;
Perhaps, after the time of setting at interval, said first acquiring unit of repeated trigger is carried out and is obtained facial image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110358983.2A CN102436304B (en) | 2011-11-14 | 2011-11-14 | Method and terminal for switching horizontal and vertical display modes of screen |
PCT/CN2012/084044 WO2013071826A1 (en) | 2011-11-14 | 2012-11-05 | Method and terminal for switching horizontal and vertical display modes of screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110358983.2A CN102436304B (en) | 2011-11-14 | 2011-11-14 | Method and terminal for switching horizontal and vertical display modes of screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102436304A true CN102436304A (en) | 2012-05-02 |
CN102436304B CN102436304B (en) | 2015-04-08 |
Family
ID=45984400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110358983.2A Active CN102436304B (en) | 2011-11-14 | 2011-11-14 | Method and terminal for switching horizontal and vertical display modes of screen |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102436304B (en) |
WO (1) | WO2013071826A1 (en) |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024191A (en) * | 2012-12-21 | 2013-04-03 | 广东欧珀移动通信有限公司 | Screen rotating method, screen rotating device and mobile terminal |
CN103092345A (en) * | 2013-01-11 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device for mobile terminal mode switching |
CN103092344A (en) * | 2013-01-11 | 2013-05-08 | 深圳市金立通信设备有限公司 | Method of controlling terminal screen to rotate and terminal |
CN103116400A (en) * | 2013-01-16 | 2013-05-22 | 广州市动景计算机科技有限公司 | Screen display state control method and electronic device |
WO2013071826A1 (en) * | 2011-11-14 | 2013-05-23 | 华为技术有限公司 | Method and terminal for switching horizontal and vertical display modes of screen |
CN103176693A (en) * | 2013-02-18 | 2013-06-26 | 联宝(合肥)电子科技有限公司 | Method and device for changing terminal screen picture direction automatically |
CN103412647A (en) * | 2013-08-13 | 2013-11-27 | 广东欧珀移动通信有限公司 | Face recognition page display control method and mobile terminal |
CN103581423A (en) * | 2012-08-09 | 2014-02-12 | 中兴通讯股份有限公司 | Method and device for turning over screen and mobile terminal |
CN103718148A (en) * | 2013-01-24 | 2014-04-09 | 华为终端有限公司 | Screen display module determining method and terminal device |
CN103760980A (en) * | 2014-01-21 | 2014-04-30 | Tcl集团股份有限公司 | Display method, system and device for conducting dynamic adjustment according to positions of two eyes |
CN103777760A (en) * | 2014-02-26 | 2014-05-07 | 北京百纳威尔科技有限公司 | Method and device for switching screen display direction |
CN103941985A (en) * | 2014-04-02 | 2014-07-23 | 百度在线网络技术(北京)有限公司 | Method and device used for switching screen modes |
CN104122983A (en) * | 2013-04-27 | 2014-10-29 | 中国移动通信集团公司 | Adjusting method and device for screen displaying direction |
CN104125327A (en) * | 2013-04-29 | 2014-10-29 | 深圳富泰宏精密工业有限公司 | Screen rotation control method and system |
CN104168415A (en) * | 2013-05-17 | 2014-11-26 | 佳能株式会社 | Moving image reproducing apparatus and method for controlling the same |
CN104598136A (en) * | 2013-10-31 | 2015-05-06 | 纬创资通股份有限公司 | Mobile device and display image rotating method of mobile device |
CN104881107A (en) * | 2014-02-27 | 2015-09-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104992103A (en) * | 2015-08-10 | 2015-10-21 | 联想(北京)有限公司 | Control method and device |
WO2016065706A1 (en) * | 2014-10-27 | 2016-05-06 | 中兴通讯股份有限公司 | Intelligent terminal control method and apparatus, and computer storage medium |
CN105827872A (en) * | 2016-06-07 | 2016-08-03 | 维沃移动通信有限公司 | Control method of mobile terminal and mobile terminal |
CN105867780A (en) * | 2015-01-23 | 2016-08-17 | 中兴通讯股份有限公司 | Display method and apparatus |
CN106293014A (en) * | 2015-05-08 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and subscriber equipment |
CN106293015A (en) * | 2015-05-08 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and subscriber equipment |
CN106339092A (en) * | 2016-08-31 | 2017-01-18 | 北京小米移动软件有限公司 | Method and device for switching transverse and vertical screens |
CN106371575A (en) * | 2015-12-11 | 2017-02-01 | 北京智谷睿拓技术服务有限公司 | Deformation control method, deformation control apparatus and user equipment |
CN106371785A (en) * | 2016-08-30 | 2017-02-01 | 捷开通讯(深圳)有限公司 | Processing method of display mode, system and terminal |
CN103472915B (en) * | 2013-08-30 | 2017-09-05 | 深圳Tcl新技术有限公司 | reading control method based on pupil tracking, reading control device and display device |
CN110853523A (en) * | 2019-11-30 | 2020-02-28 | 捷开通讯(深圳)有限公司 | Flexible display module |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104122985A (en) * | 2013-04-29 | 2014-10-29 | 鸿富锦精密工业(深圳)有限公司 | Screen video image adjusting system and method |
CN104679225B (en) * | 2013-11-28 | 2018-02-02 | 上海斐讯数据通信技术有限公司 | Screen adjustment method, screen adjustment device and the mobile terminal of mobile terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080129666A1 (en) * | 2006-12-05 | 2008-06-05 | Susumu Shimotono | Method and Apparatus for Changing a Display Direction of a Screen of a Portable Electronic Device |
CN102043576A (en) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically adjusting display picture |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436304B (en) * | 2011-11-14 | 2015-04-08 | 华为技术有限公司 | Method and terminal for switching horizontal and vertical display modes of screen |
-
2011
- 2011-11-14 CN CN201110358983.2A patent/CN102436304B/en active Active
-
2012
- 2012-11-05 WO PCT/CN2012/084044 patent/WO2013071826A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080129666A1 (en) * | 2006-12-05 | 2008-06-05 | Susumu Shimotono | Method and Apparatus for Changing a Display Direction of a Screen of a Portable Electronic Device |
CN102043576A (en) * | 2009-10-26 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | System and method for automatically adjusting display picture |
Cited By (42)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013071826A1 (en) * | 2011-11-14 | 2013-05-23 | 华为技术有限公司 | Method and terminal for switching horizontal and vertical display modes of screen |
CN103581423A (en) * | 2012-08-09 | 2014-02-12 | 中兴通讯股份有限公司 | Method and device for turning over screen and mobile terminal |
CN103024191A (en) * | 2012-12-21 | 2013-04-03 | 广东欧珀移动通信有限公司 | Screen rotating method, screen rotating device and mobile terminal |
CN103092345A (en) * | 2013-01-11 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device for mobile terminal mode switching |
CN103092344A (en) * | 2013-01-11 | 2013-05-08 | 深圳市金立通信设备有限公司 | Method of controlling terminal screen to rotate and terminal |
CN103092345B (en) * | 2013-01-11 | 2015-12-23 | 广东欧珀移动通信有限公司 | A kind of mode switching method of mobile terminal and device |
CN103116400A (en) * | 2013-01-16 | 2013-05-22 | 广州市动景计算机科技有限公司 | Screen display state control method and electronic device |
CN103116400B (en) * | 2013-01-16 | 2016-08-31 | 广州市动景计算机科技有限公司 | The control method of a kind of screen display state and electronic equipment |
WO2014113951A1 (en) * | 2013-01-24 | 2014-07-31 | 华为终端有限公司 | Method for determining screen display mode and terminal device |
US9589325B2 (en) | 2013-01-24 | 2017-03-07 | Huawei Device Co., Ltd. | Method for determining display mode of screen, and terminal device |
CN103718148A (en) * | 2013-01-24 | 2014-04-09 | 华为终端有限公司 | Screen display module determining method and terminal device |
CN103718148B (en) * | 2013-01-24 | 2019-09-20 | 华为终端有限公司 | Screen display mode determines method and terminal device |
CN103176693A (en) * | 2013-02-18 | 2013-06-26 | 联宝(合肥)电子科技有限公司 | Method and device for changing terminal screen picture direction automatically |
CN104122983A (en) * | 2013-04-27 | 2014-10-29 | 中国移动通信集团公司 | Adjusting method and device for screen displaying direction |
CN104125327A (en) * | 2013-04-29 | 2014-10-29 | 深圳富泰宏精密工业有限公司 | Screen rotation control method and system |
CN104168415A (en) * | 2013-05-17 | 2014-11-26 | 佳能株式会社 | Moving image reproducing apparatus and method for controlling the same |
CN103412647A (en) * | 2013-08-13 | 2013-11-27 | 广东欧珀移动通信有限公司 | Face recognition page display control method and mobile terminal |
CN103412647B (en) * | 2013-08-13 | 2016-07-06 | 广东欧珀移动通信有限公司 | The page display control method of a kind of recognition of face and mobile terminal |
CN103472915B (en) * | 2013-08-30 | 2017-09-05 | 深圳Tcl新技术有限公司 | reading control method based on pupil tracking, reading control device and display device |
CN104598136A (en) * | 2013-10-31 | 2015-05-06 | 纬创资通股份有限公司 | Mobile device and display image rotating method of mobile device |
CN104598136B (en) * | 2013-10-31 | 2018-07-31 | 纬创资通(昆山)有限公司 | The display picture spinning solution of mobile device and mobile device |
CN103760980A (en) * | 2014-01-21 | 2014-04-30 | Tcl集团股份有限公司 | Display method, system and device for conducting dynamic adjustment according to positions of two eyes |
CN103777760A (en) * | 2014-02-26 | 2014-05-07 | 北京百纳威尔科技有限公司 | Method and device for switching screen display direction |
CN104881107A (en) * | 2014-02-27 | 2015-09-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104881107B (en) * | 2014-02-27 | 2018-08-10 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN103941985A (en) * | 2014-04-02 | 2014-07-23 | 百度在线网络技术(北京)有限公司 | Method and device used for switching screen modes |
WO2016065706A1 (en) * | 2014-10-27 | 2016-05-06 | 中兴通讯股份有限公司 | Intelligent terminal control method and apparatus, and computer storage medium |
CN105867780A (en) * | 2015-01-23 | 2016-08-17 | 中兴通讯股份有限公司 | Display method and apparatus |
CN106293014A (en) * | 2015-05-08 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and subscriber equipment |
CN106293015A (en) * | 2015-05-08 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and subscriber equipment |
CN106293014B (en) * | 2015-05-08 | 2019-06-18 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and user equipment |
CN106293015B (en) * | 2015-05-08 | 2019-06-18 | 北京智谷睿拓技术服务有限公司 | Deformable display screen control method, control device and user equipment |
CN104992103A (en) * | 2015-08-10 | 2015-10-21 | 联想(北京)有限公司 | Control method and device |
CN104992103B (en) * | 2015-08-10 | 2019-01-15 | 联想(北京)有限公司 | A kind of control method and device |
CN106371575A (en) * | 2015-12-11 | 2017-02-01 | 北京智谷睿拓技术服务有限公司 | Deformation control method, deformation control apparatus and user equipment |
US11669157B2 (en) | 2015-12-11 | 2023-06-06 | Beijing Zhigu Rui Tuo Tech Co., Ltd. | Deformation control method, deformation control apparatus, and user equipment (UE) |
CN105827872A (en) * | 2016-06-07 | 2016-08-03 | 维沃移动通信有限公司 | Control method of mobile terminal and mobile terminal |
CN106371785A (en) * | 2016-08-30 | 2017-02-01 | 捷开通讯(深圳)有限公司 | Processing method of display mode, system and terminal |
CN106371785B (en) * | 2016-08-30 | 2019-11-08 | Tcl移动通信科技(宁波)有限公司 | A kind of processing method of display pattern, system and terminal |
CN106339092A (en) * | 2016-08-31 | 2017-01-18 | 北京小米移动软件有限公司 | Method and device for switching transverse and vertical screens |
CN106339092B (en) * | 2016-08-31 | 2019-08-13 | 北京小米移动软件有限公司 | Horizontal/vertical screen switching method and apparatus |
CN110853523A (en) * | 2019-11-30 | 2020-02-28 | 捷开通讯(深圳)有限公司 | Flexible display module |
Also Published As
Publication number | Publication date |
---|---|
CN102436304B (en) | 2015-04-08 |
WO2013071826A1 (en) | 2013-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102436304A (en) | Method and terminal for switching horizontal and vertical display modes of screen | |
CN109063560B (en) | Image processing method, image processing device, computer-readable storage medium and terminal | |
US11678734B2 (en) | Method for processing images and electronic device | |
CN103412643B (en) | Terminal and its method for remote control | |
CN107622243B (en) | Unlocking control method and related product | |
CN110942501B (en) | Virtual image switching method and device, electronic equipment and storage medium | |
CN103116400B (en) | The control method of a kind of screen display state and electronic equipment | |
CN103412647A (en) | Face recognition page display control method and mobile terminal | |
CN103456008A (en) | Method for matching face and glasses | |
CN107590474B (en) | Unlocking control method and related product | |
CN105759959A (en) | Method for controlling user terminal and user terminal | |
CN105072327A (en) | Eye-closing-preventing person photographing method and device thereof | |
CN108154121A (en) | Cosmetic auxiliary method, smart mirror and storage medium based on smart mirror | |
CN105808997A (en) | Control method and electronic equipment | |
CN103116403A (en) | Screen switching method and mobile intelligent terminal | |
WO2021120626A1 (en) | Image processing method, terminal, and computer storage medium | |
CN103186240A (en) | High-pixel camera-based method for detecting eye movement | |
US20220382380A1 (en) | Local perspective method and device of virtual reality equipment and virtual reality equipment | |
CN104991723A (en) | Transverse and vertical screen switching system and method | |
CN111857910A (en) | Information display method and device and electronic equipment | |
CN104793732A (en) | Intelligent glasses operation method and intelligent glasses | |
US20180352168A1 (en) | Omnidirectional camera display image changing system, omnidirectional camera display image changing method, and program | |
KR101839515B1 (en) | Service systembased on face recognition inference, and face recognition inference method and storage medium thereof | |
CN111915479B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
KR101820503B1 (en) | Service systembased on face recognition inference, and face recognition inference method and storage medium thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |