CN104881107A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104881107A
CN104881107A CN201410069605.6A CN201410069605A CN104881107A CN 104881107 A CN104881107 A CN 104881107A CN 201410069605 A CN201410069605 A CN 201410069605A CN 104881107 A CN104881107 A CN 104881107A
Authority
CN
China
Prior art keywords
image
display mode
parameter data
position parameter
mode
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
Application number
CN201410069605.6A
Other languages
Chinese (zh)
Other versions
CN104881107B (en
Inventor
谢晓辉
付荣耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410069605.6A priority Critical patent/CN104881107B/en
Publication of CN104881107A publication Critical patent/CN104881107A/en
Application granted granted Critical
Publication of CN104881107B publication Critical patent/CN104881107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method and an electronic device. The information processing method comprises that when a current interface in the electronic device is a first application interface corresponding to a first application, and M images which include user faces and are acquired through an image acquisition unit are obtained; the M images are processed, and M position parameter messages of M first image messages in the M images; the display mode matched with the M position parameter messages is determined to be a first display mode or a second display mode at least based on the M position parameter messages; when the display mode is the first display mode, the first application interface is controlled to display in the first display mode; when the display mode is the second display mode, the first application interface is controlled to display in the second display mode.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of information processing method and electronic equipment.
Background technology
At present, along with Mobile portable equipment function from strength to strength, the display screen of electronic equipment is also increasing.While enjoyment large display screen high resolving power brings benefit, because the change of display screen is large, singlehanded becoming in some cases has alternately been difficult to, and usually needs user's two handed input, inconvenient operation.
In prior art, by the interactive icons that design is larger, user's single-hand handling & thumb is sometimes facilitated to select and click; Or by the selection realizing multinomial content of rolling.The problem of singlehanded mutual middle inconvenient operation is improved when therefore all being designed by UI in prior art.
Only can for independently application program but carry out improved plan to UI design in prior art, and the UI of the application program of not all design all meets the one-handed performance of large-size screen monitors electronic equipment, so, in prior art, still there is the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment.
Summary of the invention
The embodiment of the present invention, by providing a kind of information processing method and electronic equipment, solves the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment in prior art.
First aspect, embodiments provides a kind of information processing method, is applied in an electronic equipment, and comprise and be arranged on a touch-display unit on described electronic equipment the same face and an image acquisition units, described method comprises:
When current interface in described electronic equipment is the first application interface of the first application correspondence, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of described user is corresponding is included in each image in a described M image, namely a described M image includes M facial feature image information, M be more than or equal to 1 positive integer;
A described M image is processed, obtains M M the position parameter data of described first image information in a described M image;
At least determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data;
When determining that described mode to be shown is described first display mode, controlling described first application interface and showing with described first display mode; When determining that described mode to be shown is described second display mode, controlling described first application interface and showing with described second display mode.
Alternatively, describedly determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, be specially:
Judge that the N number of position parameter data in a described M position parameter data is satisfied first image formation state or second image formation state different from described first image formation state;
When having N number of position parameter data to meet described first image formation state in a described M position parameter data, determine that described mode to be shown is described first display mode corresponding with described first image formation state, when described N number of position parameter data meets described second image formation state, determine that described mode to be shown is described second display mode corresponding with described second image formation state.
Alternatively, described at least determine based on a described M position parameter data that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode before, described method comprises:
When gathering i-th image in a described M image, obtain the i-th angle of rotation angle value of the first sensor of described electronic equipment, and/or
Described i-th image is processed, to determine that the first direction line of i-th range information when obtaining described i-th image between described user's face and described electronic equipment and/or described user's face is relative to i-th angle information of the second direction line of described electronic equipment;
Based on described i-th angle of rotation angle value, described i-th range information and described i-th angle information correct i-th position parameter data of described first image information in described i-th image, obtain the i-th position parameter data after correcting, i gets the positive integer of 1 to M.
Alternatively, described a described M image to be processed, obtains M M the position parameter data of described first image information in a described M image, be specially:
Process described i-th image, the i-th range information between the image border obtaining described first facial feature and described i-th image is i-th position parameter data, and i gets the integer of 1 to M.
Alternatively, describedly at least determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, comprising:
Judge whether the N number of range information in M range information meets the first distance threshold, when judged result shows that described N number of range information meets described first distance threshold, determine that described mode to be shown is right-hand operated display mode, otherwise described mode to be shown is left-handed operation display mode; Or
Judge whether described N number of range information meets second distance threshold value, when judged result shows that described N number of range information meets described second distance threshold value, determine that described mode to be shown is described left-handed operation display mode, otherwise described mode to be shown is described right-hand operated display mode.
Second aspect, embodiments provides a kind of electronic equipment, and comprise and be arranged on a touch-display unit on described electronic equipment the same face and an image acquisition units, described electronic equipment also comprises:
First obtains unit, when being the first application interface of the first application correspondence for the current interface in described electronic equipment, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of described user is corresponding is included in each image in a described M image, namely a described M image includes M facial feature image information, M be more than or equal to 1 positive integer;
Processing unit, for processing a described M image, obtains M M the position parameter data of described first image information in a described M image;
Based on a described M position parameter data, first determining unit, at least determining that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode;
Control module, for when determining that described mode to be shown is described first display mode, controlling described first application interface and showing with described first display mode; When determining that described mode to be shown is described second display mode, controlling described first application interface and showing with described second display mode.
Alternatively, described first determining unit is specially:
Judgment sub-unit, for judging that the N number of position parameter data in a described M position parameter data is satisfied first image formation state or second image formation state different from described first image formation state;
Determine subelement, during for having N number of position parameter data to meet described first image formation state in a described M position parameter data, determine that described mode to be shown is described first display mode corresponding with described first image formation state, when described N number of position parameter data meets described second image formation state, determine that described mode to be shown is described second display mode corresponding with described second image formation state.
Alternatively, described electronic equipment also comprises:
Second obtains unit, for obtaining when gathering i-th image in a described M image, obtains the i-th angle of rotation angle value of the first sensor of described electronic equipment, and/or
Second determining unit, for processing described i-th image, to determine that the first direction line of i-th range information when obtaining described i-th image between described user's face and described electronic equipment and/or described user's face is relative to i-th angle information of the second direction line of described electronic equipment;
Based on described i-th angle of rotation angle value, described i-th range information and described i-th angle information correct i-th position parameter data of described first image information in described i-th image, obtain the i-th position parameter data after correcting, i gets the positive integer of 1 to M.
Alternatively, described processing unit is used for:
Process described i-th image, the i-th range information between the image border obtaining described first facial feature and described i-th image is i-th position parameter data, and i gets the integer of 1 to M.
Alternatively, described first determining unit, comprising:
First judgment sub-unit, for judging whether the N number of range information in M range information meets the first distance threshold, when judged result shows that described N number of range information meets described first distance threshold, determine that described mode to be shown is right-hand operated display mode, otherwise described mode to be shown is left-handed operation display mode; Or
Second judgment sub-unit, for judging whether described N number of range information meets second distance threshold value, when judged result shows that described N number of range information meets described second distance threshold value, determine that described mode to be shown is described left-handed operation display mode, otherwise described mode to be shown is described right-hand operated display mode.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, the technical scheme that the embodiment of the present invention provides processes M image of image acquisition units collection owing to have employed, and obtains characteristic image information (the first image information that first facial feature is corresponding) M the position parameter data in M image in M image.Determine that the mode to be shown of mating is the first display mode or the second display mode according to M position parameter data, control application interface and show with the display mode of mating with M position parameter data.Such as, M position parameter data determines that user is left hand when holding equipment, no matter the current application interface for which application, can automatically be adjusted to the interactive placement facilitating left-handed operation.M position parameter data determines that user is that the right hand is when holding equipment, automatically the interactive placement facilitating right-hand operated is adjusted to, so, eliminate the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment, achieve and detect user right-hand man's held state fast, the interactive placement at automatic adjustment current application interface, user friendly one-handed performance.
2, further, the technical scheme provided in the embodiment of the present invention additionally use based in electronic equipment sensor detect collection i-th image time electronic equipment angle of rotation, and process i-th image, range information during acquisition collection i-th image between user and electronic equipment and angle information correct i-th position parameter data, i gets the positive integer of 1 to M successively, more accurately can judge that user's left hand holds electronic equipment or the right hand holds electronic equipment, to determine that mode to be shown should be the first display mode or the second display mode more accurately, therefore make the interactive placement of application interface more accurate.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of information processing method in the embodiment of the present invention;
Fig. 2 A is the schematic diagram of image formation state when user's left hand holds electronic equipment in the embodiment of the present invention;
Fig. 2 B is the schematic diagram of image formation state when user's right hand holds electronic equipment in the embodiment of the present invention;
Interactive placement's schematic diagram when Fig. 3 A is embodiment of the present invention inediting short message;
Interactive placement's schematic diagram when Fig. 3 B is embodiment of the present invention inediting short message;
When Fig. 3 C is embodiment of the present invention inediting short message, the interactive placement's schematic diagram generated by the method for mirror image interface operation element;
Image formation state schematic diagram when user's right hand holds electronic equipment in the optimal technical scheme that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is the module map of the electronic equipment in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of information processing method and electronic equipment, eliminate the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment in prior art.
For solving the technical matters of the singlehanded interactive operation inconvenience of above-mentioned large-size screen monitors electronic equipment, total thinking is as follows:
M image of image acquisition units collection is processed, obtains characteristic image information (the first image information that first facial feature is corresponding) M the position parameter data in M image in M image.Determine that the mode to be shown of mating is the first display mode or the second display mode according to M position parameter data, control application interface and show with the display mode of mating with M position parameter data.Such as, M position parameter data determines that user is left hand when holding equipment, no matter the current application interface for which application, can automatically be adjusted to the interactive placement facilitating left-handed operation.M position parameter data determines that user is that the right hand is when holding equipment, automatically the interactive placement facilitating right-hand operated is adjusted to, so, eliminate the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment, achieve and detect user right-hand man's held state fast, the interactive placement at automatic adjustment current application interface, user friendly one-handed performance.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of information processing method, be applied in an electronic equipment, electronic equipment comprises and is arranged on a touch-display unit on electronic equipment the same face and an image acquisition units.In embody rule process, this electronic equipment can be smart mobile phone, the electronic equipment that PDA (personal digital assistant) etc. can singlehanded hold.
Shown in figure 1, Fig. 1 is the process flow diagram of information processing method in the embodiment of the present invention, and information processing method comprises:
S101: when current interface is in the electronic device the first application interface of the first application correspondence, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of user is corresponding is included in each image in M image, namely M image include M facial feature image information, M be more than or equal to 1 positive integer.
In S101, first be applied as electronic equipment install arbitrary application program, when the current interface of electronic equipment is the first application interface, such as, the interface of the transmission fresh information of short message application, the interface etc. of the broadcasting video of such as player again, the present invention does not limit the type of the first application and the first application interface.
Image acquisition units can be the front-facing camera of electronic equipment, and when user is in use electronic equipment process, the front-facing camera of electronic equipment is relative with the face of user.When the current interface of electronic equipment is the first display interface, in real time or comprise the image of user's face with prefixed time interval collection, first facial feature can be left eye to front-facing camera, right eye, nose, mouth etc.First image information is the M of first facial feature in a M image facial feature image information.Such as, gathering image is gather once for 0.1 second, gathers 60 images, then can judge mode to be shown based on 1 second to the statistics of 60 images in 1 second.
S102: process M image, obtains M M the position parameter data of the first image information in M image.
In S102, it can be real-time for carrying out process to M image, namely when collecting i-th image in M image, i-th image is processed, obtain i-th position parameter data of i-th the first image information in i-th image, i-th position parameter data is specifically as follows the coordinate of first facial feature in i-th image, also can be first facial feature and i-th image image border between range information, i gets the integer of i to M successively.
Preferably, in embodiments of the present invention, based on facial characteristics recognition technology, in i-th image in M image, the i-th range information between the image information of left eye or right eye and the image border of i-th image is determined.
Specifically, for left eye: in i-th image, the range information of the image left edge of left eye and i-th image can be determined, for right eye: in i-th image, the range information of the image right hand edge of right eye and i-th image can be determined.
S103: at least determine that the mode to be shown of mating with M position parameter data is the first display mode or the second display mode based on M position parameter data.
Optionally, hold in process the impact of rocking the burr data that electronic equipment causes collecting in order to avoid user is just singlehanded, a part of position parameter data can be allowed not meet pre-conditioned.That is: judge that the N number of position parameter data in M position parameter data is satisfied first image formation state or second image formation state different from the first image formation state; When having N number of position parameter data to meet the first image formation state in M position parameter data, determine that mode to be shown is first display mode corresponding with the first image formation state, when N number of position parameter data meets the second image formation state, determine that mode to be shown is second display mode corresponding with the second image formation state.
Such as, the first image formation state is the left area of user's nose in the vertical halving line of image, shown in figure 2A, the second corresponding image formation state for user's nose in the right area of the vertical halving line of image with reference to shown in figure 2B.Again such as, continue with reference to figure 2A and Fig. 2 B, the first image formation state is the predeterminable area of user's left eye at image, and the second corresponding image formation state is user's left eye another predeterminable area at image.
Optionally, the first embodiment: in S103, specifically, when M position parameter data is M range information between left eye and the image border of M, judges whether the N number of range information in M range information meets the first distance threshold.When judged result shows that N number of range information meets the first distance threshold, determine that mode to be shown is right-hand operated display mode, otherwise mode to be shown is left-handed operation display mode.When M position parameter data is M range information between right eye and the image border of M, judge whether N number of range information meets second distance threshold value, when judged result shows that N number of range information meets second distance threshold value, determine that mode to be shown is left-handed operation display mode, otherwise mode to be shown is right-hand operated display mode.
In specific implementation process, the first distance threshold and second distance threshold value can be same distance threshold, and when namely the face of user is just to image acquisition units, the distance of the vertical halving line of image and image border is the first distance threshold (second distance threshold value).In specific implementation process, first distance threshold and second distance threshold value can also for different distance thresholds: the first distance threshold is that many people left hand is when holding electronic equipment, based on the experience distance threshold that multiple range informations of left eye and image border are determined, in like manner, second distance threshold value is many people right hand when holding electronic equipment, the experience distance threshold that the multiple range informations based on right eye and image border are determined.
In specific implementation process, M position parameter data is the coordinate time of first facial feature in i-th image, those skilled in the art can determine based on the enforcement principle identical with the first embodiment above-mentioned that mode to be shown is left-handed operation display mode or right-hand operated display mode, succinct in order to instructions, does not repeat them here.
S104: when determining that mode to be shown is the first display mode, controls the first application interface and shows with the first display mode; When determining that mode to be shown is the second display mode, controlling the first application interface and showing in a second display mode.
In S104, shown in figure 3A, when determining that mode to be shown is left-handed operation display mode, control the first application interface to show with display mode as shown in Figure 3A, when determining that mode to be shown is right-hand operated display mode, controlling the first application interface and showing with display mode as shown in Figure 3 B.
In specific implementation process, when user from left hand hold electronic equipment change into the right hand hold electronic equipment time, such as holding electronic equipment from left hand user changes into before the right hand holds electronic equipment, the display mode of the first application interface is left-handed operation display mode, as shown in Figure 3A, when based on S101 ~ S103, electronic equipment detects that user changes into the right hand and holds electronic equipment, generate right-hand operated display mode by the mode of mirror image interface operation element, as shown in Figure 3 C.Certainly, other modes also can be adopted to generate, than interactive placement as shown in Figure 3 B.
Optionally, the technical scheme that the embodiment of the present invention provides also comprises the steps: before at least determining based on M position parameter data that the mode to be shown of mating with M position parameter data is the first display mode or the second display mode, when gathering i-th image in M image, obtain the i-th angle of rotation angle value of the first sensor of electronic equipment, and/or i-th image is processed, to determine i-th angle information of first direction line relative to the second direction line of electronic equipment of i-th range information when acquisition i-th image between user's face and electronic equipment and/or user's face, based on the i-th angle of rotation angle value, the i-th range information and the i-th angle information correct i-th position parameter data of the first image information in i-th image, obtain the i-th position parameter data after correcting, and i gets the positive integer of 1 to M.
Specifically, the first sensor obtaining the i-th angle of rotation angle value can be rotating vector sensor (rotation vector sensor), rotation angle sensor (rotation angle sensor), angle of revolution sensor (rotationspeedsensor) etc.
I-th image is processed, to determine when acquisition i-th image, i-th range information between user's face and electronic equipment, in specific implementation process, by the distance of left eye and right eye in i-th image of calculating M image, thus M range information between user's face and the image acquisition units of electronic equipment can be calculated.
M image is processed, to determine M the angle information of the first direction line of user's face relative to the second direction line of electronic equipment.First direction line and second direction line can be equidirectional line, can be also orthogonal direction line, shown in figure 4.
The above-mentioned one or more embodiment of the present invention and accompanying drawing are all arranged on by image acquisition units and are described premised on directly over electronic equipment; when image acquisition units is arranged on the upper left corner or the upper right corner of electronic equipment; those skilled in the art can obtain embodiment based on same principle; so; all belong to protection scope of the present invention; succinct in order to instructions, is no longer described.
Use the scene of smart mobile phone message editor to be illustrated the technical scheme provided in the invention process with user below, but be not used in restriction the present invention.
When user's right hand hold smart mobile phone open short message application time,
Step (1) front-facing camera gathered frequency collection image once with 1 second, and such as first time detects the image A gathered, the position of eyes and face in detected image A;
Step (2) determines that in the image A gathered, left eye is relative to the distance of the left hand edge of image;
Step (3) determines the distance in the image A gathered between left eye and right eye;
Step (4) determine gather image A in face the anglec of rotation;
Rotating vector sensor and the Frequency Synchronization gathering image of step (5) smart mobile phone, the angle of rotation of smart mobile phone during record collection image A.
Step (6) corrects established data in (2) based on the data in step (3) (4) (4).
Elapsed time T, such as 60 seconds, judge whether 60 range data of the distance between the left eye that multiple exercise step (1) ~ step (6) obtains and the left hand edge of image meet a distance threshold, if the range data meeting setting ratio meets distance threshold, such as, the range data of 80%, 90% meets distance threshold, be then judged to be that left hand holds electronic equipment.
Based on same inventive concept, embodiments provide a kind of electronic equipment, comprise and be arranged on a touch-display unit on electronic equipment the same face and an image acquisition units.
Shown in figure 5, electronic equipment also comprises:
First obtains unit 501, when being the first application interface of the first application correspondence for current interface in the electronic device, obtain the M the comprising user's face image gathered by image acquisition units, wherein, the first image information that first facial characteristics of user is corresponding is included in each image in M image, namely M image include M facial feature image information, M be more than or equal to 1 positive integer;
Processing unit 502, for processing M image, obtains M M the position parameter data of the first image information in M image;
Based on M position parameter data, first determining unit 503, at least determining that the mode to be shown of mating with M position parameter data is the first display mode or the second display mode;
Control module 504, for when determining that mode to be shown is the first display mode, controlling the first application interface and showing with the first display mode; When determining that mode to be shown is the second display mode, controlling the first application interface and showing in a second display mode.
Preferably, the first determining unit 503 is specially:
Judgment sub-unit, the N number of position parameter data for judging in M position parameter data is different the second image formation state of satisfied first image formation state or the first image formation state;
Determine subelement, when meeting the first image formation state for there being N number of position parameter data in M position parameter data, determine that mode to be shown is first display mode corresponding with the first image formation state, when N number of position parameter data meets the second image formation state, determine that mode to be shown is second display mode corresponding with the second image formation state.
Further, in the technical scheme that the embodiment of the present invention provides, electronic equipment also comprises:
Second obtains unit, for obtaining when gathering i-th image in M image, obtains the i-th angle of rotation angle value of the first sensor of electronic equipment, and/or
Second determining unit, for processing i-th image, to determine i-th angle information of first direction line relative to the second direction line of electronic equipment of i-th range information when acquisition i-th image between user's face and electronic equipment and/or user's face;
Based on the i-th angle of rotation angle value, the i-th range information and the i-th angle information correct i-th position parameter data of the first image information in i-th image, obtain the i-th position parameter data after correcting, and i gets the positive integer of 1 to M.
In specific implementation process, processing unit 502 for:
Process i-th image, the i-th range information obtained between first facial feature and the image border of i-th image is i-th position parameter data, and i gets the integer of 1 to M.
Further, the first determining unit 503, comprising:
First judgment sub-unit, for judging whether the N number of range information in M range information meets the first distance threshold, when judged result shows that N number of range information meets the first distance threshold, determine that mode to be shown is right-hand operated display mode, otherwise mode to be shown is left-handed operation display mode; Or
Second judgment sub-unit, for judging whether N number of range information meets second distance threshold value, when judged result shows that N number of range information meets second distance threshold value, determine that mode to be shown is left-handed operation display mode, otherwise mode to be shown is right-hand operated display mode.
Due to two aspects that the electronic equipment in the embodiment of the present invention and above-mentioned information processing method are under same inventive concept, above-mentioned electronic equipment is used for realizing above-mentioned information processing method, so, the course of work of this electronic equipment is consistent with one or more embodiments of said method, succinct in order to instructions, has not just repeated one by one at this.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, the technical scheme that the embodiment of the present invention provides processes M image of image acquisition units collection owing to have employed, and obtains characteristic image information (the first image information that first facial feature is corresponding) M the position parameter data in M image in M image.Determine that the mode to be shown of mating is the first display mode or the second display mode according to M position parameter data, control application interface and show with the display mode of mating with M position parameter data.Such as, M position parameter data determines that user is left hand when holding equipment, no matter the current application interface for which application, can automatically be adjusted to the interactive placement facilitating left-handed operation.M position parameter data determines that user is that the right hand is when holding equipment, automatically the interactive placement facilitating right-hand operated is adjusted to, so, eliminate the technical matters of the singlehanded interactive operation inconvenience of large-size screen monitors electronic equipment, achieve and detect user right-hand man's held state fast, the interactive placement at automatic adjustment current application interface, user friendly one-handed performance.
2, further, the technical scheme provided in the embodiment of the present invention additionally use based in electronic equipment sensor detect collection i-th image time electronic equipment angle of rotation, and process i-th image, range information during acquisition collection i-th image between user and electronic equipment and angle information correct i-th position parameter data, i gets the positive integer of 1 to M successively, more accurately can judge that user's left hand holds electronic equipment or the right hand holds electronic equipment, to determine that mode to be shown should be the first display mode or the second display mode more accurately, therefore make the interactive placement of application interface more accurate.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that a kind of information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with this information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
When current interface in described electronic equipment is the first application interface of the first application correspondence, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of described user is corresponding is included in each image in a described M image, namely a described M image includes M facial feature image information, M be more than or equal to 1 positive integer;
A described M image is processed, obtains M M the position parameter data of described first image information in a described M image;
At least determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data;
When determining that described mode to be shown is described first display mode, controlling described first application interface and showing with described first display mode; When determining that described mode to be shown is described second display mode, controlling described first application interface and showing with described second display mode.
Alternatively, describedly determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, be specially:
Judge that the N number of position parameter data in a described M position parameter data is satisfied first image formation state or second image formation state different from described first image formation state;
When having N number of position parameter data to meet described first image formation state in a described M position parameter data, determine that described mode to be shown is described first display mode corresponding with described first image formation state, when described N number of position parameter data meets described second image formation state, determine that described mode to be shown is described second display mode corresponding with described second image formation state.
Alternatively, described at least determine based on a described M position parameter data that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode before, described method comprises:
When gathering i-th image in a described M image, obtain the i-th angle of rotation angle value of the first sensor of described electronic equipment, and/or
Described i-th image is processed, to determine that the first direction line of i-th range information when obtaining described i-th image between described user's face and described electronic equipment and/or described user's face is relative to i-th angle information of the second direction line of described electronic equipment;
Based on described i-th angle of rotation angle value, described i-th range information and described i-th angle information correct i-th position parameter data of described first image information in described i-th image, obtain the i-th position parameter data after correcting, i gets the positive integer of 1 to M.
Alternatively, described a described M image to be processed, obtains M M the position parameter data of described first image information in a described M image, be specially:
Process described i-th image, the i-th range information between the image border obtaining described first facial feature and described i-th image is i-th position parameter data, and i gets the integer of 1 to M.
Alternatively, describedly at least determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, comprising:
Judge whether the N number of range information in M range information meets the first distance threshold, when judged result shows that described N number of range information meets described first distance threshold, determine that described mode to be shown is right-hand operated display mode, otherwise described mode to be shown is left-handed operation display mode; Or
Judge whether described N number of range information meets second distance threshold value, when judged result shows that described N number of range information meets described second distance threshold value, determine that described mode to be shown is described left-handed operation display mode, otherwise described mode to be shown is described right-hand operated display mode.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. an information processing method, is applied in an electronic equipment, and comprise and be arranged on a touch-display unit on described electronic equipment the same face and an image acquisition units, described method comprises:
When current interface in described electronic equipment is the first application interface of the first application correspondence, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of described user is corresponding is included in each image in a described M image, namely a described M image includes M facial feature image information, M be more than or equal to 1 positive integer;
A described M image is processed, obtains M M the position parameter data of described first image information in a described M image;
At least determine that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data;
When determining that described mode to be shown is described first display mode, controlling described first application interface and showing with described first display mode; When determining that described mode to be shown is described second display mode, controlling described first application interface and showing with described second display mode.
2. the method for claim 1, is characterized in that, describedly determines that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, is specially:
Judge that the N number of position parameter data in a described M position parameter data is satisfied first image formation state or second image formation state different from described first image formation state;
When having N number of position parameter data to meet described first image formation state in a described M position parameter data, determine that described mode to be shown is described first display mode corresponding with described first image formation state, when described N number of position parameter data meets described second image formation state, determine that described mode to be shown is described second display mode corresponding with described second image formation state.
3. method as claimed in claim 2, is characterized in that, described at least determine based on a described M position parameter data that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode before, described method comprises:
When gathering i-th image in a described M image, obtain the i-th angle of rotation angle value of the first sensor of described electronic equipment, and/or
Described i-th image is processed, to determine that the first direction line of i-th range information when obtaining described i-th image between described user's face and described electronic equipment and/or described user's face is relative to i-th angle information of the second direction line of described electronic equipment;
Based on described i-th angle of rotation angle value, described i-th range information and described i-th angle information correct i-th position parameter data of described first image information in described i-th image, obtain the i-th position parameter data after correcting, i gets the positive integer of 1 to M.
4. the method for claim 1, is characterized in that, describedly processes a described M image, obtains M M the position parameter data of described first image information in a described M image, is specially:
Process described i-th image, the i-th range information between the image border obtaining described first facial feature and described i-th image is i-th position parameter data, and i gets the integer of 1 to M.
5. method as claimed in claim 4, is characterized in that, describedly at least determines that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode based on a described M position parameter data, comprising:
Judge whether the N number of range information in M range information meets the first distance threshold, when judged result shows that described N number of range information meets described first distance threshold, determine that described mode to be shown is right-hand operated display mode, otherwise described mode to be shown is left-handed operation display mode; Or
Judge whether described N number of range information meets second distance threshold value, when judged result shows that described N number of range information meets described second distance threshold value, determine that described mode to be shown is described left-handed operation display mode, otherwise described mode to be shown is described right-hand operated display mode.
6. an electronic equipment, comprise and be arranged on a touch-display unit on described electronic equipment the same face and an image acquisition units, described electronic equipment also comprises:
First obtains unit, when being the first application interface of the first application correspondence for the current interface in described electronic equipment, obtain the M the comprising user's face image gathered by described image acquisition units, wherein, the first image information that first facial characteristics of described user is corresponding is included in each image in a described M image, namely a described M image includes M facial feature image information, M be more than or equal to 1 positive integer;
Processing unit, for processing a described M image, obtains M M the position parameter data of described first image information in a described M image;
Based on a described M position parameter data, first determining unit, at least determining that the mode to be shown of mating with a described M position parameter data is the first display mode or the second display mode;
Control module, for when determining that described mode to be shown is described first display mode, controlling described first application interface and showing with described first display mode; When determining that described mode to be shown is described second display mode, controlling described first application interface and showing with described second display mode.
7. electronic equipment as claimed in claim 6, it is characterized in that, described first determining unit is specially:
Judgment sub-unit, for judging that the N number of position parameter data in a described M position parameter data is satisfied first image formation state or second image formation state different from described first image formation state;
Determine subelement, during for having N number of position parameter data to meet described first image formation state in a described M position parameter data, determine that described mode to be shown is described first display mode corresponding with described first image formation state, when described N number of position parameter data meets described second image formation state, determine that described mode to be shown is described second display mode corresponding with described second image formation state.
8. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment also comprises:
Second obtains unit, for obtaining when gathering i-th image in a described M image, obtains the i-th angle of rotation angle value of the first sensor of described electronic equipment, and/or
Second determining unit, for processing described i-th image, to determine that the first direction line of i-th range information when obtaining described i-th image between described user's face and described electronic equipment and/or described user's face is relative to i-th angle information of the second direction line of described electronic equipment;
Based on described i-th angle of rotation angle value, described i-th range information and described i-th angle information correct i-th position parameter data of described first image information in described i-th image, obtain the i-th position parameter data after correcting, i gets the positive integer of 1 to M.
9. electronic equipment as claimed in claim 6, it is characterized in that, described processing unit is used for:
Process described i-th image, the i-th range information between the image border obtaining described first facial feature and described i-th image is i-th position parameter data, and i gets the integer of 1 to M.
10. electronic equipment as claimed in claim 9, it is characterized in that, described first determining unit, comprising:
First judgment sub-unit, for judging whether the N number of range information in M range information meets the first distance threshold, when judged result shows that described N number of range information meets described first distance threshold, determine that described mode to be shown is right-hand operated display mode, otherwise described mode to be shown is left-handed operation display mode; Or
Second judgment sub-unit, for judging whether described N number of range information meets second distance threshold value, when judged result shows that described N number of range information meets described second distance threshold value, determine that described mode to be shown is described left-handed operation display mode, otherwise described mode to be shown is described right-hand operated display mode.
CN201410069605.6A 2014-02-27 2014-02-27 A kind of information processing method and electronic equipment Active CN104881107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410069605.6A CN104881107B (en) 2014-02-27 2014-02-27 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410069605.6A CN104881107B (en) 2014-02-27 2014-02-27 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104881107A true CN104881107A (en) 2015-09-02
CN104881107B CN104881107B (en) 2018-08-10

Family

ID=53948631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410069605.6A Active CN104881107B (en) 2014-02-27 2014-02-27 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104881107B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363603A (en) * 2018-01-29 2018-08-03 上海闻泰电子科技有限公司 Information guidance method, device, mobile terminal and storage device
CN108958603A (en) * 2018-06-26 2018-12-07 维沃移动通信有限公司 A kind of operator schema control method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163081A (en) * 2011-05-13 2011-08-24 北京新岸线软件科技有限公司 Method, electronic equipment and device for screen interaction
CN102436304A (en) * 2011-11-14 2012-05-02 华为技术有限公司 Method and terminal for switching horizontal and vertical display modes of screen
CN102945077A (en) * 2012-10-24 2013-02-27 广东欧珀移动通信有限公司 Image viewing method and device and intelligent terminal
CN103279253A (en) * 2013-05-23 2013-09-04 广东欧珀移动通信有限公司 Method and terminal device for theme setting

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163081A (en) * 2011-05-13 2011-08-24 北京新岸线软件科技有限公司 Method, electronic equipment and device for screen interaction
CN102436304A (en) * 2011-11-14 2012-05-02 华为技术有限公司 Method and terminal for switching horizontal and vertical display modes of screen
CN102945077A (en) * 2012-10-24 2013-02-27 广东欧珀移动通信有限公司 Image viewing method and device and intelligent terminal
CN103279253A (en) * 2013-05-23 2013-09-04 广东欧珀移动通信有限公司 Method and terminal device for theme setting

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363603A (en) * 2018-01-29 2018-08-03 上海闻泰电子科技有限公司 Information guidance method, device, mobile terminal and storage device
CN108958603A (en) * 2018-06-26 2018-12-07 维沃移动通信有限公司 A kind of operator schema control method and mobile terminal
CN108958603B (en) * 2018-06-26 2022-02-08 维沃移动通信有限公司 Operation mode control method and mobile terminal

Also Published As

Publication number Publication date
CN104881107B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN104471519B (en) Method and device for presenting panoramic photo in mobile terminal and mobile terminal
CN105491452B (en) A kind of more video window level switching methods and device
CN105338238B (en) A kind of photographic method and electronic equipment
JP2017518664A (en) Mount for easy placement and localization of mobile computing devices
CN104732210A (en) Target human face tracking method and electronic equipment
CN104883497A (en) Positioning shooting method and mobile terminal
EP2757771A2 (en) Image pickup apparatus, remote control apparatus, and methods of controlling image pickup apparatus and remote control apparatus
CN103414844A (en) Video dithering correction method and device
CN104994281A (en) Method for correcting face distortion and terminal
RU2656097C1 (en) Method and device for collecting images
CN104349045A (en) Image collecting method and electronic equipment
CN106851118A (en) Camera control method and device
CN104580885B (en) A kind of object tracking method and device
CN111667420A (en) Image processing method and device
CN106921883A (en) A kind of method and device of video playback treatment
CN106648344A (en) Screen content adjustment method and equipment
CN105744168A (en) Information processing method and electronic device
CN110149476A (en) A kind of time-lapse photography method, apparatus, system and terminal device
CN104869298A (en) Data processing method and electronic device
CN104461717A (en) Information processing method and electronic equipment
CN104994285A (en) Control method of wide-angle camera and electronic terminal
CN107003730B (en) Electronic equipment, photographing method and photographing device
CN103873759A (en) Shooting method and electronic equipment
CN103713849A (en) Method and device for image shooting and terminal device
CN104881107A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant