CN106572299A - Camera switching-on method and device - Google Patents
Camera switching-on method and device Download PDFInfo
- Publication number
- CN106572299A CN106572299A CN201610930539.6A CN201610930539A CN106572299A CN 106572299 A CN106572299 A CN 106572299A CN 201610930539 A CN201610930539 A CN 201610930539A CN 106572299 A CN106572299 A CN 106572299A
- Authority
- CN
- China
- Prior art keywords
- terminal
- photographic head
- attitude data
- opened
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/45—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to a camera switching-on method and a device, and belongs to the technical field of computers. The method comprises the following steps of upon detecting a camera switching-on instruction, acquiring the current attitude data of a terminal, wherein the attitude data are used for indicating the current attitude of the terminal and the attitude of the terminal is composed of at least one parameter selected from the height, the horizontal/vertical screen state, the pitch state and the tilt angle; based on the current attitude data of the terminal, determining a to-be-switched-on camera; and switching on the to-be-switched-on camera. According to the technical scheme of the invention, the camera is free from being manually switched by a user when the camera is switched on by the user for conducting the shooting operation. Therefore, the operation burden of the user is reduced.
Description
Technical field
It relates to field of computer technology, more particularly to a kind of photographic head open method and device.
Background technology
With application of the terminals such as the development of computer technology, mobile phone in people's daily life it is more and more universal.Terminal
In be commonly configured with photographic head, user can be shot by the photographic head of the terminal.And when configuration simultaneously in the terminal
When having front-facing camera and post-positioned pick-up head, if the camera applications that user is opened in the terminal are shot, the terminal will
Unlatching post-positioned pick-up head can be given tacit consent to, now, if user this be intended to be autodyned, user need manually by current bat
It is self-timer mode to take the photograph pattern switching, is shot with opening the front-facing camera of the terminal.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of photographic head open method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of photographic head open method, methods described includes:
When photographic head open command is detected, the current attitude data of terminal is obtained, the attitude data is used to indicate
The attitude that terminal is presently in, the attitude includes at least one in height, horizontal/vertical screen state, pitch attitude, angle of inclination;
Based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
The photographic head to be opened is opened.
Alternatively, the attitude data current based on the terminal, it is determined that the photographic head to be opened, including:
Based on the current attitude data of the terminal, by specifying attitude mode the current attitude data of the terminal is determined
Corresponding screening-mode;
Based on the corresponding screening-mode of the current attitude data of the terminal, it is determined that the photographic head to be opened.
Alternatively, the corresponding screening-mode of the attitude data current based on the terminal, it is determined that what is opened takes the photograph
Picture head, including:
Whether the corresponding screening-mode of attitude data for judging the terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of the terminal is not self-timer mode, it is determined that what is opened takes the photograph
As head is post-positioned pick-up head.
Alternatively, whether the corresponding screening-mode of the attitude data for judging the terminal is after self-timer mode, also
Including:
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, it is determined that the shooting to be opened
Head is front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, the bat of front-facing camera is determined
Take the photograph probability;When the shooting probability of the front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is
Front-facing camera;When the shooting probability of the front-facing camera is less than probability is specified, it is determined that after the photographic head to be opened is
Put photographic head;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, gathered by front-facing camera
Image;Based on the image for collecting, it is determined that the photographic head to be opened.
Alternatively, it is described based on the image for collecting, it is determined that the photographic head to be opened, including:
Whether include facial image in the image collected described in judging;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is rearmounted shooting
Head.
Alternatively, whether include after facial image in the image for collecting described in the judgement, also include:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is preposition shooting
Head;Or,
When facial image is included in the image for collecting, the human face expression of the facial image is recognized;Work as knowledge
The human face expression not gone out is to specify during expression, it is determined that the photographic head to be opened is front-facing camera;When the face table for identifying
Feelings are not to specify during expression, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, the attitude data current based on the terminal, by specifying attitude mode to determine, the terminal is worked as
Before the corresponding screening-mode of front attitude data, also include:
Multiple training attitude data collection are obtained, each training attitude data is concentrated includes at least one training attitude data,
A kind of described each screening-mode of training attitude data collection correspondence;
The attitude mode for treating training using the plurality of training attitude data collection is trained, and obtains the specified attitude
Model.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of photographic head opening device, described device includes:
Acquisition module, for when photographic head open command is detected, obtaining the current attitude data of terminal, the attitude
The attitude that data are presently in for instruction terminal, the attitude includes height, horizontal/vertical screen state, pitch attitude, angle of inclination
In at least one;
Determining module, for based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
Open mode, for opening to the photographic head to be opened.
Alternatively, the determining module includes:
First determination sub-module, for based on the current attitude data of the terminal, by specifying attitude mode institute being determined
State the corresponding screening-mode of the current attitude data of terminal;
Second determination sub-module, for based on the current corresponding screening-mode of attitude data of the terminal, it is determined that wanting
The photographic head of unlatching.
Alternatively, second determination sub-module is used for:
Whether the corresponding screening-mode of attitude data for judging the terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of the terminal is not self-timer mode, it is determined that what is opened takes the photograph
As head is post-positioned pick-up head.
Alternatively, second determination sub-module is additionally operable to:
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, it is determined that the shooting to be opened
Head is front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, the bat of front-facing camera is determined
Take the photograph probability;When the shooting probability of the front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is
Front-facing camera;When the shooting probability of the front-facing camera is less than probability is specified, it is determined that after the photographic head to be opened is
Put photographic head;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, gathered by front-facing camera
Image;Based on the image for collecting, it is determined that the photographic head to be opened.
Alternatively, second determination sub-module is additionally operable to:
Whether include facial image in the image collected described in judging;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is rearmounted shooting
Head.
Alternatively, second determination sub-module is additionally operable to:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is preposition shooting
Head;Or,
When facial image is included in the image for collecting, the human face expression of the facial image is recognized;Work as knowledge
The human face expression not gone out is to specify during expression, it is determined that the photographic head to be opened is front-facing camera;When the face table for identifying
Feelings are not to specify during expression, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, the determining module also includes:
Acquisition submodule, for obtaining multiple training attitude data collection, each training attitude data is concentrated and includes at least one
Individual training attitude data, a kind of described each screening-mode of training attitude data collection correspondence;
Training submodule, the attitude mode for treating training using the plurality of training attitude data collection is trained,
Obtain the specified attitude mode.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of photographic head opening device, described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When photographic head open command is detected, the current attitude data of terminal is obtained, the attitude data is used to indicate
The attitude that terminal is presently in, the attitude includes at least one in height, horizontal/vertical screen state, pitch attitude, angle of inclination;
Based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
The photographic head to be opened is opened.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:In the disclosed embodiments, when
When detecting photographic head open command, the current attitude data of terminal is obtained, and based on the current attitude data of terminal, determine institute
The photographic head to be opened, afterwards, opens to the photographic head to be opened, because the attitude data of terminal is often by user
To terminal using determining, it may therefore be assured that based on the current attitude data of terminal, it is determined that the photographic head to be opened
Meet user's request, now user is not required to again manually switch over photographic head when opening camera applications and being shot,
So as to alleviate the operating burden of user.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the present invention
Example, and be used to explain the principle of the present invention together with description.
Fig. 1 is a kind of flow chart of the photographic head open method according to an exemplary embodiment.
Fig. 2 is the flow chart of another kind of photographic head open method according to an exemplary embodiment.
Fig. 3 A are a kind of block diagrams of the photographic head opening device according to an exemplary embodiment.
Fig. 3 B are a kind of block diagrams of the determining module according to an exemplary embodiment.
Fig. 3 C are the block diagrams of another kind of determining module according to an exemplary embodiment.
Fig. 4 is the block diagram of another kind of photographic head opening device according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the present invention.
Before explanation explained in detail is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given
Explanation.In correlation technique, when front-facing camera and post-positioned pick-up head is configured with simultaneously in the terminal, if user opens the end
Camera applications in end are shot, then the terminal will give tacit consent to unlatching post-positioned pick-up head, now, if user this be intended to
Autodyned, then user needs manually current screening-mode to be switched to into self-timer mode, to open the preposition shooting of the terminal
Being shot, the operating burden of user is larger in the photographic head opening process for head, therefore, the embodiment of the present disclosure provides one kind
Photographic head open method is mitigating the operating burden of user.
Fig. 1 is a kind of flow chart of the photographic head open method according to an exemplary embodiment, and the method is used for eventually
In end.As shown in figure 1, the method is comprised the following steps.
In a step 101, when photographic head open command is detected, the current attitude data of terminal, attitude data are obtained
For the attitude that instruction terminal is presently in, attitude is included in height, horizontal/vertical screen state, pitch attitude, angle of inclination at least
It is a kind of.
In a step 102, based on the attitude data that terminal is current, it is determined that the photographic head to be opened.
In step 103, the photographic head to be opened is opened.
In the disclosed embodiments, when photographic head open command is detected, the current attitude data of terminal, and base are obtained
In the current attitude data of terminal, it is determined that the photographic head to be opened, afterwards, opens to the photographic head to be opened, by
Often what is determined is used to terminal by user in the attitude data of terminal, it may therefore be assured that based on the current appearance of terminal
State data, it is determined that the photographic head to be opened meet user's request, now user open camera applications shot
When, it is not required to again manually switch over photographic head, so as to alleviate the operating burden of user.
Alternatively, based on the attitude data that terminal is current, it is determined that the photographic head to be opened, including:
Based on the current attitude data of terminal, by specifying attitude mode the corresponding bat of the current attitude data of terminal is determined
Take the photograph pattern;
Based on the corresponding screening-mode of the current attitude data of terminal, it is determined that the photographic head to be opened.
Alternatively, based on the corresponding screening-mode of the current attitude data of terminal, it is determined that the photographic head to be opened, bag
Include:
Whether the corresponding screening-mode of attitude data for judging terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of terminal is not self-timer mode, it is determined that the photographic head to be opened
For post-positioned pick-up head.
Alternatively, whether the corresponding screening-mode of attitude data for judging terminal is after self-timer mode, also to include:
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, it is determined that the photographic head to be opened is
Front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, determine that the shooting of front-facing camera is general
Rate;When the shooting probability of front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is preposition shooting
Head;When the shooting probability of front-facing camera is less than probability is specified, it is determined that the photographic head to be opened is post-positioned pick-up head;Or
Person,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, schemed by front-facing camera collection
Picture;Based on the image for collecting, it is determined that the photographic head to be opened.
Alternatively, based on the image for collecting, it is determined that the photographic head to be opened, including:
Whether include facial image in the image that judgement is collected;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, judge whether include after facial image in the image for collecting, also include:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is front-facing camera;Or
Person,
When facial image is included in the image for collecting, the human face expression of facial image is recognized;As the people for identifying
Face expression is to specify during expression, it is determined that the photographic head to be opened is front-facing camera;When the human face expression for identifying not is finger
When expressing one's feelings surely, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, based on the attitude data that terminal is current, by specifying attitude mode the current attitude data of terminal is determined
Before corresponding screening-mode, also include:
Multiple training attitude data collection are obtained, each training attitude data is concentrated includes at least one training attitude data,
A kind of each screening-mode of training attitude data collection correspondence;
The attitude mode for treating training using multiple training attitude data collection is trained, and obtains specifying attitude mode.
Above-mentioned all optional technical schemes, can be according to the alternative embodiment for arbitrarily combining to form the disclosure, disclosure reality
Apply example no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the photographic head open method according to an exemplary embodiment, and the method is used for eventually
In end.As shown in Fig. 2 the method is comprised the following steps.
In step 201, when photographic head open command is detected, the current attitude data of terminal is obtained.
It should be noted that photographic head open command is used to indicate to open photographic head, and the photographic head open command can be with
Triggered by user, the user can be triggered by assigned operation, it is intended that operation can be single-click operation, double click operation, voice behaviour
Make etc., the embodiment of the present disclosure is not specifically limited to this.For example, the camera applications in user is opened a terminal by single-click operation
When, the single-click operation can trigger the photographic head open command to open photographic head.
In addition, the attitude that the attitude data is presently in for instruction terminal, the attitude can be including height, horizontal/vertical screen shape
At least one in state, pitch attitude, angle of inclination, the embodiment of the present disclosure is not specifically limited to this.Wherein, it is highly terminal
With the distance between closest barrier on gravity direction;Horizontal/vertical screen state include positive portrait layout, fall portrait layout, left transverse screen and
Right transverse screen;Pitch attitude includes bowing state and faces upward state, and the screen of state representation of bowing terminal faces upward the screen of state representation terminal down
Curtain is upward;Angle of inclination includes horizontal tilt angle and vertical angle of inclination, and horizontal tilt angle is between terminal and horizontal plane
Angle, vertical angle of inclination is angle between terminal and vertical plane.
Wherein, when obtaining the current attitude data of terminal, gravity sensor, the direction inductor configured in terminal can be passed through
Being obtained, the embodiment of the present disclosure is not specifically limited to this for device, three-axis gyroscope, range sensor etc..In addition, obtaining eventually
The operation of the current attitude data in end may be referred to correlation technique, and the embodiment of the present disclosure is not described in detail to this.
In step 202., based on the attitude data that terminal is current, it is determined that the photographic head to be opened.
Because front-facing camera is typically different with the purposes of post-positioned pick-up head, such as front-facing camera is generally used for autodyning, after
Put photographic head to be generally used for clapping scape, so user will have using the attitude residing for terminal when front-facing camera and post-positioned pick-up head
Institute is different, and the height such as when user is using front-facing camera residing for terminal will be typically higher than terminal when user uses post-positioned pick-up head
Residing height, then which photographic head is attitude now residing for terminal can be to a certain extent with instruction terminal unlatching, because
This, can be based on the current attitude data of terminal to determine the photographic head to be opened.And based on the current attitude number of terminal
According to it is determined that during the photographic head to be opened, terminal can be determined by specifying attitude mode based on the current attitude data of terminal
The corresponding screening-mode of current attitude data, and based on the corresponding screening-mode of the current attitude data of terminal, it is determined that wanting
The photographic head of unlatching.
It should be noted that specifying attitude mode to be used to determine the corresponding screening-mode of attitude data, and specify attitude mould
Type can distinguish various screening-modes, and various screening-modes can include self-timer mode, clap scape pattern etc., the embodiment of the present disclosure
This is not specifically limited.
In addition, based on the current attitude data of terminal, by specifying attitude mode the current attitude data of terminal is determined
Before corresponding screening-mode, specified attitude mode can also be pre-build, and when setting up specified attitude mode, can first be obtained
Multiple training attitude data collection, reuse the plurality of attitude mode for training attitude data collection to treat training and are trained, and obtain
Specified attitude mode.
It should be noted that each training attitude data that the plurality of training attitude data is concentrated is concentrated and includes at least one
Training attitude data, and a kind of each screening-mode of training attitude data collection correspondence, that is to say, each training attitude data is
Attitude data with screening-mode mark.
In addition, when obtaining multiple training attitude data collection, this terminal can be obtained when shooting operation is carried out every time
The corresponding screening-mode of photographic head that attitude data is used with this, by the screening-mode of acquisition the appearance of this acquisition is defined as
The corresponding screening-mode of state data, afterwards, the attitude data with screening-mode mark is defined as training attitude data, when
So, in practical application, it is also possible to be otherwise obtained in multiple training attitude data collection, the embodiment of the present disclosure is not done specifically to this
Limit.Wherein, front-facing camera can correspond to self-timer mode, and post-positioned pick-up head can be to scape pattern of answering the bid, the embodiment of the present disclosure
This is not specifically limited.
Furthermore, the embodiment of the present disclosure is trained in the attitude mode for treating training using the plurality of training attitude data collection
When, can be trained with the attitude mode that training is treated by the way of supervised learning, the supervised learning is referred in the given appearance
In the case that states model is input into output, the parameter in the attitude mode is constantly adjusted by specifying adjustment algorithm, make the attitude
Model reaches the process of required properties.Wherein, in the disclosed embodiments, it is input into train attitude data, is output as the instruction
Practice the corresponding screening-mode of attitude data.
It should be noted that specifying adjustment algorithm to pre-set, adjustment algorithm is such as specified to be under stochastic gradient
Drop algorithm etc., the embodiment of the present disclosure is not specifically limited to this.
Wherein, based on the corresponding screening-mode of the current attitude data of terminal, it is determined that the operation of the photographic head to be opened
Can be:Whether the corresponding screening-mode of attitude data for judging terminal is self-timer mode;When the current attitude data pair of terminal
When the screening-mode answered not is self-timer mode, it is determined that the photographic head to be opened is post-positioned pick-up head.
When the corresponding screening-mode of the current attitude data of terminal is not self-timer mode, illustrate that user is unlikely intended to
To be autodyned using front-facing camera, it is possible to it is determined that the photographic head to be opened is post-positioned pick-up head.
Further, whether the corresponding screening-mode of attitude data for judging terminal is after self-timer mode, can also to work as
When the corresponding screening-mode of attitude data of terminal is self-timer mode, the shooting to be opened is determined by following three kinds of modes
Head.
First kind of way:When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, it is determined that to be opened
The photographic head for opening is front-facing camera.
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, illustrating that user has larger may be intended to
To be autodyned using front-facing camera, it is possible to it is determined that the photographic head to be opened is front-facing camera.Now terminal
It is determined that after the corresponding screening-mode of the current attitude data of terminal, according only to the corresponding shooting mould of the current attitude data of terminal
Formula, you can it is determined that the photographic head to be opened, determines that efficiency is higher.
The second way:When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, preposition taking the photograph is determined
As the shooting probability of head;When the shooting probability of front-facing camera is more than or equal to probability is specified, it is determined that the shooting to be opened
Head is front-facing camera;When the shooting probability of front-facing camera is less than probability is specified, it is determined that after the photographic head to be opened is
Put photographic head.
It should be noted that specifying probability to pre-set, probability is such as specified to be 0.7,0.8, disclosure reality
Apply example to be not specifically limited this.
Wherein it is determined that during the shooting probability of front-facing camera, the number of times that shot using front-facing camera can be removed
With total shooting number of times of terminal, the shooting probability of front-facing camera is obtained, certainly, in practical application, it is also possible to otherwise
Determine the shooting probability of front-facing camera, the embodiment of the present disclosure is not specifically limited to this.In addition, when the shooting of front-facing camera
When probability is more than or equal to probability is specified, illustrate that the commonly used front-facing camera of user is shot, when the bat of front-facing camera
When taking the photograph probability less than probability is specified, illustrate that the rarely needed front-facing camera of user is shot.
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, if the shooting of front-facing camera is general
Rate illustrates that user is probably intended to be autodyned using front-facing camera more than or equal to probability is specified, then, then can be with
It is determined that the photographic head to be opened is front-facing camera.And if the shooting probability of front-facing camera less than probability is specified, is then said
Bright user may be less likely to be intended to be autodyned using front-facing camera, then after can determine that the photographic head to be opened is
Put photographic head.Now terminal can enter one after it is determined that the corresponding screening-mode of the current attitude data of terminal is self-timer mode
Walk and shoot probability to determine the photographic head to be opened according to front-facing camera, determine that accuracy is higher.
The third mode:When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, taken the photograph by preposition
As head gathers image;Based on the image for collecting, it is determined that the photographic head to be opened.
Wherein, the operation for gathering image by front-facing camera may be referred to correlation technique, the embodiment of the present disclosure to this not
It is described in detail.
Wherein, based on the image for collecting, it is determined that the operation of the photographic head to be opened can be:The figure that judgement is collected
Whether include facial image as in;When facial image is not included in the image for collecting, it is determined that the photographic head to be opened
For post-positioned pick-up head.
When being autodyned using front-facing camera due to user, typically the face of oneself is shot, therefore, when adopting
When not including facial image in the image for collecting, illustrate that user may be less likely to be intended to carry out using front-facing camera certainly
Clap, then can determine that the photographic head to be opened is post-positioned pick-up head.
Wherein, judge that the operation for whether including facial image in the image for collecting may be referred to correlation technique, this public affairs
Open embodiment not to be described in detail this.
Further, judge whether include after facial image in the image for collecting, the figure for collecting can also be worked as
When including facial image as in, it is determined that the photographic head to be opened is front-facing camera;Or, when bag in the image for collecting
During containing facial image, the human face expression of the facial image is recognized, when the human face expression for identifying is to specify expression, determine institute
The photographic head to be opened is front-facing camera, when the human face expression for identifying is not to specify expression, it is determined that what is opened takes the photograph
As head is post-positioned pick-up head.
On the one hand, when being autodyned using front-facing camera due to user, typically the face of oneself is shot, because
This, when facial image is included in the image for collecting, illustrates that user has larger may being intended to using front-facing camera
Autodyned, then can determine that the photographic head to be opened is front-facing camera.Now terminal is being gathered by front-facing camera
After image, according only to the presence or absence of facial image in the image, you can it is determined that the photographic head to be opened, determine efficiency compared with
It is high.
On the other hand, because user to the face of oneself using front-facing camera when being shot, facial expression is usual
More fix, such as the facial expression of user would generally to smile, therefore, when including facial image in the image for collecting
When, if the human face expression for identifying illustrates that user is probably intended to enter using front-facing camera to specify expression
Row is autodyned, then can determine that the photographic head to be opened is front-facing camera, and if the human face expression for identifying is not specified
Expression, then illustrate that user may be less likely to be intended to be autodyned using front-facing camera, then can determine what is opened
Photographic head is post-positioned pick-up head.Now terminal is in the image for collecting after it is determined that include facial image, can further root
The photographic head to be opened is determined according to the human face expression of the facial image, determines that accuracy is higher.
It should be noted that specifying expression to pre-set, expression is such as specified to be smile, the embodiment of the present disclosure
This is not specifically limited.In addition, in actually used, it is intended that expression can be arranged by terminal, and terminal is arranging specified expression
When, user can be carried out expression recognition using the facial image that front-facing camera is obtained, by the face table for recognizing
The most human face expression of occurrence number is defined as specifying expression in feelings, certainly, it is intended that expression can also be arranged by user, Yong Huke
According to self-demand specified expression is set to smile, is taken aback, the embodiment of the present disclosure is not specifically limited to this.
Wherein, when facial image is included in the image for collecting, the operation of the human face expression of the facial image is recognized
Correlation technique is may be referred to, the embodiment of the present disclosure is not described in detail to this.
It should be noted that in the embodiment of the present disclosure, terminal not only can directly according to the attitude data pair that terminal is current
The screening-mode answered, can be with it is determined that the corresponding shooting mould of the current attitude data of terminal determining the photographic head to be opened
On the basis of formula, aid in determining to be opened using the image, facial image or human face expression that collect by front-facing camera
The photographic head for opening.And directly taken the photograph determining what is opened according to the corresponding screening-mode of the current attitude data of terminal when terminal
During as head, determine that efficiency is higher.When terminal is it is determined that on the basis of the corresponding screening-mode of the current attitude data of terminal, utilize
Image, facial image or the human face expression collected by front-facing camera aid in determine the photographic head to be opened when, really
Fix exactness higher.
In step 203, the photographic head to be opened is opened.
It should be noted that may be referred to correlation technique, the disclosure to the operation that the photographic head to be opened is opened
Embodiment is not described in detail to this.
In the disclosed embodiments, when photographic head open command is detected, the current attitude data of terminal, and base are obtained
In the current attitude data of terminal, it is determined that the photographic head to be opened, afterwards, opens to the photographic head to be opened, by
Often what is determined is used to terminal by user in the attitude data of terminal, it may therefore be assured that based on the current appearance of terminal
State data, it is determined that the photographic head to be opened meet user's request, now user open camera applications shot
When, it is not required to again manually switch over photographic head, so as to alleviate the operating burden of user.
Fig. 3 A are a kind of block diagrams of the photographic head opening device according to an exemplary embodiment.Reference picture 3A, the dress
Put including acquisition module 301, determining module 302 and opening module 303.
Acquisition module 301, for when photographic head open command is detected, obtaining the current attitude data of terminal, attitude
The attitude that data are presently in for instruction terminal, attitude is included in height, horizontal/vertical screen state, pitch attitude, angle of inclination
It is at least one;
Determining module 302, for based on the current attitude data of terminal, it is determined that the photographic head to be opened;
Open mode 303, for opening to the photographic head to be opened.
Alternatively, reference picture 3B, the determining module 302 includes the first determination sub-module 3021 and the second determination sub-module
3022。
First determination sub-module 3021, for based on the current attitude data of terminal, being determined eventually by specifying attitude mode
The current corresponding screening-mode of attitude data in end;
Second determination sub-module 3022, for based on the current corresponding screening-mode of attitude data of terminal, it is determined that wanting
The photographic head of unlatching.
Alternatively, second determination sub-module 3022 is used for:
Whether the corresponding screening-mode of attitude data for judging terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of terminal is not self-timer mode, it is determined that the photographic head to be opened
For post-positioned pick-up head.
Alternatively, second determination sub-module 3022 is additionally operable to:
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, it is determined that the photographic head to be opened is
Front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, determine that the shooting of front-facing camera is general
Rate;When the shooting probability of front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is preposition shooting
Head;When the shooting probability of front-facing camera is less than probability is specified, it is determined that the photographic head to be opened is post-positioned pick-up head;Or
Person,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, schemed by front-facing camera collection
Picture;Based on the image for collecting, it is determined that the photographic head to be opened.
Alternatively, second determination sub-module 3022 is additionally operable to:
Whether include facial image in the image that judgement is collected;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, second determination sub-module 3022 is additionally operable to:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is front-facing camera;Or
Person,
When facial image is included in the image for collecting, the human face expression of facial image is recognized;As the people for identifying
Face expression is to specify during expression, it is determined that the photographic head to be opened is front-facing camera;When the human face expression for identifying not is finger
When expressing one's feelings surely, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, reference picture 3C, the determining module 302 also includes acquisition submodule 3023 and training submodule 3024.
Acquisition submodule 3023, for obtain it is multiple training attitude data collection, each training attitude data concentrate include to
Few training attitude data, a kind of each screening-mode of training attitude data collection correspondence;
Training submodule 3024, the attitude mode for treating training using multiple training attitude data collection is trained,
Obtain specifying attitude mode.
In the disclosed embodiments, when photographic head open command is detected, the current attitude data of terminal, and base are obtained
In the current attitude data of terminal, it is determined that the photographic head to be opened, afterwards, opens to the photographic head to be opened, by
Often what is determined is used to terminal by user in the attitude data of terminal, it may therefore be assured that based on the current appearance of terminal
State data, it is determined that the photographic head to be opened meet user's request, now user open camera applications shot
When, it is not required to again manually switch over photographic head, so as to alleviate the operating burden of user.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the device 400 opened for photographic head according to an exemplary embodiment.For example,
Device 400 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device is cured
Treatment equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Process assembly 402, memorizer 404, power supply
Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and
Communication component 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase
Machine operates and records the associated operation of operation.Process assembly 402 can refer to including one or more processors 420 to perform
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just
Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate
Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.These data are shown
Example includes the instruction of any application program for operating on device 400 or method, and contact data, telephone book data disappears
Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system
System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers
Body component 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 be in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and
Post-positioned pick-up head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike
Wind (MIC), when device 400 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody
It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 404 or via communication set
Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, to provide interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, release the button and lock
Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor cluster 414 can detect the opening/closed mode of device 400, and the relative localization of component is for example described
Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device
Position change, user is presence or absence of with what device 400 was contacted, the orientation of device 400 or acceleration/deceleration and device 400
Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact
The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into
As used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access based on the wireless network of communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement
In example, communication component 416 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology,
Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
Such as include the memorizer 404 of instruction, above-mentioned instruction can be performed to complete said method by the processor 420 of device 400.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of mobile terminal
When device is performed so that mobile terminal is able to carry out a kind of photographic head open method, and the method includes:
When photographic head open command is detected, the current attitude data of terminal is obtained, attitude data is used for instruction terminal
The attitude being presently in, attitude includes at least one in height, horizontal/vertical screen state, pitch attitude, angle of inclination;
Based on the current attitude data of terminal, it is determined that the photographic head to be opened;
The photographic head to be opened is opened.
Alternatively, based on the attitude data that terminal is current, it is determined that the photographic head to be opened, including:
Based on the current attitude data of terminal, by specifying attitude mode the corresponding bat of the current attitude data of terminal is determined
Take the photograph pattern;
Based on the corresponding screening-mode of the current attitude data of terminal, it is determined that the photographic head to be opened.
Alternatively, based on the corresponding screening-mode of the current attitude data of terminal, it is determined that the photographic head to be opened, bag
Include:
Whether the corresponding screening-mode of attitude data for judging terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of terminal is not self-timer mode, it is determined that the photographic head to be opened
For post-positioned pick-up head.
Alternatively, whether the corresponding screening-mode of attitude data for judging terminal is after self-timer mode, also to include:
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, it is determined that the photographic head to be opened is
Front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, determine that the shooting of front-facing camera is general
Rate;When the shooting probability of front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is preposition shooting
Head;When the shooting probability of front-facing camera is less than probability is specified, it is determined that the photographic head to be opened is post-positioned pick-up head;Or
Person,
When the corresponding screening-mode of the current attitude data of terminal is self-timer mode, schemed by front-facing camera collection
Picture;Based on the image for collecting, it is determined that the photographic head to be opened.
Alternatively, based on the image for collecting, it is determined that the photographic head to be opened, including:
Whether include facial image in the image that judgement is collected;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, judge whether include after facial image in the image for collecting, also include:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is front-facing camera;Or
Person,
When facial image is included in the image for collecting, the human face expression of facial image is recognized;As the people for identifying
Face expression is to specify during expression, it is determined that the photographic head to be opened is front-facing camera;When the human face expression for identifying not is finger
When expressing one's feelings surely, it is determined that the photographic head to be opened is post-positioned pick-up head.
Alternatively, based on the attitude data that terminal is current, by specifying attitude mode the current attitude data of terminal is determined
Before corresponding screening-mode, also include:
Multiple training attitude data collection are obtained, each training attitude data is concentrated includes at least one training attitude data,
A kind of each screening-mode of training attitude data collection correspondence;
The attitude mode for treating training using multiple training attitude data collection is trained, and obtains specifying attitude mode.
In the disclosed embodiments, when photographic head open command is detected, the current attitude data of terminal, and base are obtained
In the current attitude data of terminal, it is determined that the photographic head to be opened, afterwards, opens to the photographic head to be opened, by
Often what is determined is used to terminal by user in the attitude data of terminal, it may therefore be assured that based on the current appearance of terminal
State data, it is determined that the photographic head to be opened meet user's request, now user open camera applications shot
When, it is not required to again manually switch over photographic head, so as to alleviate the operating burden of user.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, and
And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.
Claims (15)
1. a kind of photographic head open method, it is characterised in that methods described includes:
When photographic head open command is detected, the current attitude data of terminal is obtained, the attitude data is used for instruction terminal
The attitude being presently in, the attitude includes at least one in height, horizontal/vertical screen state, pitch attitude, angle of inclination;
Based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
The photographic head to be opened is opened.
2. the method for claim 1, it is characterised in that the attitude data current based on the terminal, determines institute
The photographic head to be opened, including:
Based on the current attitude data of the terminal, by specifying attitude mode the current attitude data correspondence of the terminal is determined
Screening-mode;
Based on the corresponding screening-mode of the current attitude data of the terminal, it is determined that the photographic head to be opened.
3. method as claimed in claim 2, it is characterised in that the corresponding bat of the attitude data current based on the terminal
Pattern is taken the photograph, it is determined that the photographic head to be opened, including:
Whether the corresponding screening-mode of attitude data for judging the terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of the terminal is not self-timer mode, it is determined that the photographic head to be opened
For post-positioned pick-up head.
4. method as claimed in claim 3, it is characterised in that the corresponding shooting mould of attitude data of the judgement terminal
Whether formula is after self-timer mode, also to include:
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, it is determined that the photographic head to be opened is
Front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, determine that the shooting of front-facing camera is general
Rate;When the shooting probability of the front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is preposition
Photographic head;When the shooting probability of the front-facing camera is less than probability is specified, it is determined that the photographic head to be opened is taken the photograph for rearmounted
As head;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, schemed by front-facing camera collection
Picture;Based on the image for collecting, it is determined that the photographic head to be opened.
5. method as claimed in claim 4, it is characterised in that described based on the image for collecting, it is determined that what is opened takes the photograph
Picture head, including:
Whether include facial image in the image collected described in judging;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is post-positioned pick-up head.
6. method as claimed in claim 5, it is characterised in that whether include someone in the image collected described in the judgement
After face image, also include:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is front-facing camera;Or
Person,
When facial image is included in the image for collecting, the human face expression of the facial image is recognized;When identifying
Human face expression for specify expression when, it is determined that the photographic head to be opened be front-facing camera;When the human face expression for identifying not
To specify during expression, it is determined that the photographic head to be opened is post-positioned pick-up head.
7. the method as described in claim 2-6 any claim, it is characterised in that the appearance current based on the terminal
State data, are determined before the corresponding screening-mode of the current attitude data of the terminal by specifying attitude mode, are also included:
Multiple training attitude data collection are obtained, each training attitude data is concentrated includes at least one training attitude data, described
A kind of each screening-mode of training attitude data collection correspondence;
The attitude mode for treating training using the plurality of training attitude data collection is trained, and obtains the specified attitude mould
Type.
8. a kind of photographic head opening device, it is characterised in that described device includes:
Acquisition module, for when photographic head open command is detected, obtaining the current attitude data of terminal, the attitude data
For the attitude that instruction terminal is presently in, the attitude is included in height, horizontal/vertical screen state, pitch attitude, angle of inclination
It is at least one;
Determining module, for based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
Open mode, for opening to the photographic head to be opened.
9. device as claimed in claim 8, it is characterised in that the determining module includes:
First determination sub-module, for based on the current attitude data of the terminal, by specifying attitude mode the end being determined
The current corresponding screening-mode of attitude data in end;
Second determination sub-module, for based on the current corresponding screening-mode of attitude data of the terminal, it is determined that to be opened
Photographic head.
10. device as claimed in claim 9, it is characterised in that second determination sub-module is used for:
Whether the corresponding screening-mode of attitude data for judging the terminal is self-timer mode;
When the corresponding screening-mode of the current attitude data of the terminal is not self-timer mode, it is determined that the photographic head to be opened
For post-positioned pick-up head.
11. devices as claimed in claim 10, it is characterised in that second determination sub-module is additionally operable to:
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, it is determined that the photographic head to be opened is
Front-facing camera;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, determine that the shooting of front-facing camera is general
Rate;When the shooting probability of the front-facing camera is more than or equal to probability is specified, it is determined that the photographic head to be opened is preposition
Photographic head;When the shooting probability of the front-facing camera is less than probability is specified, it is determined that the photographic head to be opened is taken the photograph for rearmounted
As head;Or,
When the corresponding screening-mode of the current attitude data of the terminal is self-timer mode, schemed by front-facing camera collection
Picture;Based on the image for collecting, it is determined that the photographic head to be opened.
12. devices as claimed in claim 11, it is characterised in that second determination sub-module is additionally operable to:
Whether include facial image in the image collected described in judging;
When facial image is not included in the image for collecting, it is determined that the photographic head to be opened is post-positioned pick-up head.
13. devices as claimed in claim 12, it is characterised in that second determination sub-module is additionally operable to:
When facial image is included in the image for collecting, it is determined that the photographic head to be opened is front-facing camera;Or
Person,
When facial image is included in the image for collecting, the human face expression of the facial image is recognized;When identifying
Human face expression for specify expression when, it is determined that the photographic head to be opened be front-facing camera;When the human face expression for identifying not
To specify during expression, it is determined that the photographic head to be opened is post-positioned pick-up head.
14. devices as described in claim 9-13 any claim, it is characterised in that the determining module also includes:
Acquisition submodule, for obtaining multiple training attitude data collection, each training attitude data is concentrated and includes at least one instruction
Practice attitude data, a kind of described each screening-mode of training attitude data collection correspondence;
Training submodule, the attitude mode for treating training using the plurality of training attitude data collection is trained, and obtains
The specified attitude mode.
15. a kind of photographic head opening devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When photographic head open command is detected, the current attitude data of terminal is obtained, the attitude data is used for instruction terminal
The attitude being presently in, the attitude includes at least one in height, horizontal/vertical screen state, pitch attitude, angle of inclination;
Based on the current attitude data of the terminal, it is determined that the photographic head to be opened;
The photographic head to be opened is opened.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930539.6A CN106572299B (en) | 2016-10-31 | 2016-10-31 | Camera opening method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930539.6A CN106572299B (en) | 2016-10-31 | 2016-10-31 | Camera opening method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106572299A true CN106572299A (en) | 2017-04-19 |
CN106572299B CN106572299B (en) | 2020-02-28 |
Family
ID=58533792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610930539.6A Active CN106572299B (en) | 2016-10-31 | 2016-10-31 | Camera opening method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106572299B (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107105160A (en) * | 2017-04-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of method, system and mobile terminal for starting camera |
CN107168620A (en) * | 2017-04-21 | 2017-09-15 | 北京小米移动软件有限公司 | Method, device, terminal device and the computer-readable recording medium of control terminal |
CN107179871A (en) * | 2017-04-28 | 2017-09-19 | 广东欧珀移动通信有限公司 | Fingerprint recognition region display methods and Related product |
CN107333004A (en) * | 2017-07-25 | 2017-11-07 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107333067A (en) * | 2017-08-04 | 2017-11-07 | 维沃移动通信有限公司 | The control method and terminal of a kind of camera |
CN107517349A (en) * | 2017-09-07 | 2017-12-26 | 深圳支点电子智能科技有限公司 | Mobile terminal and Related product with camera function |
CN107613193A (en) * | 2017-08-24 | 2018-01-19 | 维沃移动通信有限公司 | A kind of camera control method and mobile terminal |
CN107613197A (en) * | 2017-09-07 | 2018-01-19 | 深圳支点电子智能科技有限公司 | One kind control camera photographic method and mobile terminal |
CN107741786A (en) * | 2017-10-25 | 2018-02-27 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable recording medium for starting camera |
CN108024063A (en) * | 2017-12-15 | 2018-05-11 | 苏州燕云网络技术有限公司 | The image pickup method and device of mobile terminal |
CN108076294A (en) * | 2018-01-26 | 2018-05-25 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN108156306A (en) * | 2017-12-25 | 2018-06-12 | 广东欧珀移动通信有限公司 | Unlocking method and related product |
CN108174086A (en) * | 2017-12-25 | 2018-06-15 | 广东欧珀移动通信有限公司 | Image pickup method and Related product |
CN108737631A (en) * | 2017-04-25 | 2018-11-02 | 北京小米移动软件有限公司 | The method and device of Quick Acquisition image |
CN109246284A (en) * | 2018-09-30 | 2019-01-18 | 联想(北京)有限公司 | Face unlocking method and electronic equipment |
CN109788144A (en) * | 2019-03-27 | 2019-05-21 | 维沃移动通信有限公司 | A kind of image pickup method and terminal device |
CN109922272A (en) * | 2019-04-23 | 2019-06-21 | 广东小天才科技有限公司 | Screening-mode switching method, device, wrist-watch and medium based on smartwatch |
CN110035168A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | Starting method, terminal and the storage medium of front camera |
CN110456938A (en) * | 2019-06-28 | 2019-11-15 | 华为技术有限公司 | A kind of the false-touch prevention method and electronic equipment of Curved screen |
CN111105792A (en) * | 2018-10-29 | 2020-05-05 | 华为技术有限公司 | Voice interaction processing method and device |
WO2020093371A1 (en) * | 2018-11-09 | 2020-05-14 | 深圳市柔宇科技有限公司 | Photographing control method, and electronic device and computer readable storage medium |
CN111367403A (en) * | 2018-12-29 | 2020-07-03 | 香港乐蜜有限公司 | Interaction method and device |
CN111953927A (en) * | 2019-05-17 | 2020-11-17 | 成都鼎桥通信技术有限公司 | Handheld terminal video return method and camera device |
CN113366819A (en) * | 2019-05-29 | 2021-09-07 | 深圳市欢太科技有限公司 | Camera starting method and related device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413282A (en) * | 2011-10-26 | 2012-04-11 | 惠州Tcl移动通信有限公司 | Self-shooting guidance method and equipment |
US20120229380A1 (en) * | 2011-03-09 | 2012-09-13 | Broadcom Corporation | Gyroscope control and input/output device selection in handheld mobile devices |
CN103079034A (en) * | 2013-01-06 | 2013-05-01 | 北京百度网讯科技有限公司 | Perception shooting method and system |
CN103618851A (en) * | 2013-11-08 | 2014-03-05 | 杨睿琦 | Self-photographing method and terminal |
CN103795864A (en) * | 2014-01-29 | 2014-05-14 | 华为技术有限公司 | Method for selecting front camera and back camera of mobile terminal and mobile terminal |
CN104536559A (en) * | 2014-11-25 | 2015-04-22 | 深圳市金立通信设备有限公司 | Terminal control method |
CN104935698A (en) * | 2015-06-23 | 2015-09-23 | 上海卓易科技股份有限公司 | Photographing method of smart terminal, photographing device and smart phone |
CN105282432A (en) * | 2014-07-21 | 2016-01-27 | 联想(新加坡)私人有限公司 | Camera mode selection based on context |
CN105827955A (en) * | 2016-03-14 | 2016-08-03 | 乐卡汽车智能科技(北京)有限公司 | Camera switching method and device |
-
2016
- 2016-10-31 CN CN201610930539.6A patent/CN106572299B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120229380A1 (en) * | 2011-03-09 | 2012-09-13 | Broadcom Corporation | Gyroscope control and input/output device selection in handheld mobile devices |
CN102413282A (en) * | 2011-10-26 | 2012-04-11 | 惠州Tcl移动通信有限公司 | Self-shooting guidance method and equipment |
CN103079034A (en) * | 2013-01-06 | 2013-05-01 | 北京百度网讯科技有限公司 | Perception shooting method and system |
CN103618851A (en) * | 2013-11-08 | 2014-03-05 | 杨睿琦 | Self-photographing method and terminal |
CN103795864A (en) * | 2014-01-29 | 2014-05-14 | 华为技术有限公司 | Method for selecting front camera and back camera of mobile terminal and mobile terminal |
CN105282432A (en) * | 2014-07-21 | 2016-01-27 | 联想(新加坡)私人有限公司 | Camera mode selection based on context |
CN104536559A (en) * | 2014-11-25 | 2015-04-22 | 深圳市金立通信设备有限公司 | Terminal control method |
CN104935698A (en) * | 2015-06-23 | 2015-09-23 | 上海卓易科技股份有限公司 | Photographing method of smart terminal, photographing device and smart phone |
CN105827955A (en) * | 2016-03-14 | 2016-08-03 | 乐卡汽车智能科技(北京)有限公司 | Camera switching method and device |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168620A (en) * | 2017-04-21 | 2017-09-15 | 北京小米移动软件有限公司 | Method, device, terminal device and the computer-readable recording medium of control terminal |
CN108737631A (en) * | 2017-04-25 | 2018-11-02 | 北京小米移动软件有限公司 | The method and device of Quick Acquisition image |
CN107105160A (en) * | 2017-04-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of method, system and mobile terminal for starting camera |
CN107179871A (en) * | 2017-04-28 | 2017-09-19 | 广东欧珀移动通信有限公司 | Fingerprint recognition region display methods and Related product |
CN107333004A (en) * | 2017-07-25 | 2017-11-07 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107333067A (en) * | 2017-08-04 | 2017-11-07 | 维沃移动通信有限公司 | The control method and terminal of a kind of camera |
CN107613193A (en) * | 2017-08-24 | 2018-01-19 | 维沃移动通信有限公司 | A kind of camera control method and mobile terminal |
CN107517349A (en) * | 2017-09-07 | 2017-12-26 | 深圳支点电子智能科技有限公司 | Mobile terminal and Related product with camera function |
CN107613197A (en) * | 2017-09-07 | 2018-01-19 | 深圳支点电子智能科技有限公司 | One kind control camera photographic method and mobile terminal |
CN107741786A (en) * | 2017-10-25 | 2018-02-27 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable recording medium for starting camera |
CN108024063A (en) * | 2017-12-15 | 2018-05-11 | 苏州燕云网络技术有限公司 | The image pickup method and device of mobile terminal |
CN108156306B (en) * | 2017-12-25 | 2020-06-02 | Oppo广东移动通信有限公司 | Unlocking method and related product |
CN108156306A (en) * | 2017-12-25 | 2018-06-12 | 广东欧珀移动通信有限公司 | Unlocking method and related product |
CN108174086A (en) * | 2017-12-25 | 2018-06-15 | 广东欧珀移动通信有限公司 | Image pickup method and Related product |
CN110035168A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | Starting method, terminal and the storage medium of front camera |
CN108076294B (en) * | 2018-01-26 | 2019-11-19 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN108076294A (en) * | 2018-01-26 | 2018-05-25 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
WO2019144815A1 (en) * | 2018-01-26 | 2019-08-01 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN109246284A (en) * | 2018-09-30 | 2019-01-18 | 联想(北京)有限公司 | Face unlocking method and electronic equipment |
WO2020087895A1 (en) * | 2018-10-29 | 2020-05-07 | 华为技术有限公司 | Voice interaction processing method and apparatus |
CN111105792A (en) * | 2018-10-29 | 2020-05-05 | 华为技术有限公司 | Voice interaction processing method and device |
US11620995B2 (en) | 2018-10-29 | 2023-04-04 | Huawei Technologies Co., Ltd. | Voice interaction processing method and apparatus |
WO2020093371A1 (en) * | 2018-11-09 | 2020-05-14 | 深圳市柔宇科技有限公司 | Photographing control method, and electronic device and computer readable storage medium |
CN111367403A (en) * | 2018-12-29 | 2020-07-03 | 香港乐蜜有限公司 | Interaction method and device |
CN109788144A (en) * | 2019-03-27 | 2019-05-21 | 维沃移动通信有限公司 | A kind of image pickup method and terminal device |
CN109922272A (en) * | 2019-04-23 | 2019-06-21 | 广东小天才科技有限公司 | Screening-mode switching method, device, wrist-watch and medium based on smartwatch |
CN111953927A (en) * | 2019-05-17 | 2020-11-17 | 成都鼎桥通信技术有限公司 | Handheld terminal video return method and camera device |
CN113366819A (en) * | 2019-05-29 | 2021-09-07 | 深圳市欢太科技有限公司 | Camera starting method and related device |
CN113366819B (en) * | 2019-05-29 | 2022-08-16 | 深圳市欢太科技有限公司 | Camera starting method, related device, electronic equipment and storage medium |
CN110456938A (en) * | 2019-06-28 | 2019-11-15 | 华为技术有限公司 | A kind of the false-touch prevention method and electronic equipment of Curved screen |
CN110456938B (en) * | 2019-06-28 | 2021-01-29 | 华为技术有限公司 | False touch prevention method for curved screen and electronic equipment |
US11782554B2 (en) | 2019-06-28 | 2023-10-10 | Huawei Technologies Co., Ltd. | Anti-mistouch method of curved screen and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106572299B (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106572299A (en) | Camera switching-on method and device | |
CN104850828B (en) | Character recognition method and device | |
CN106651955A (en) | Method and device for positioning object in picture | |
CN106295511B (en) | Face tracking method and device | |
US10115019B2 (en) | Video categorization method and apparatus, and storage medium | |
CN105069083B (en) | The determination method and device of association user | |
CN106951884A (en) | Gather method, device and the electronic equipment of fingerprint | |
CN106355573A (en) | Target object positioning method and device in pictures | |
CN106355549A (en) | Photographing method and equipment | |
CN107832036A (en) | Sound control method, device and computer-readable recording medium | |
CN106408603A (en) | Camera method and device | |
CN107832741A (en) | The method, apparatus and computer-readable recording medium of facial modeling | |
CN105528078B (en) | The method and device of controlling electronic devices | |
CN106778531A (en) | Face detection method and device | |
CN106600530B (en) | Picture synthesis method and device | |
CN107766820A (en) | Image classification method and device | |
CN106980840A (en) | Shape of face matching process, device and storage medium | |
CN106250921A (en) | Image processing method and device | |
CN108668080A (en) | Prompt method and device, the electronic equipment of camera lens degree of fouling | |
CN103955274B (en) | Application control method and apparatus | |
CN107463903A (en) | Face key independent positioning method and device | |
WO2021047069A1 (en) | Face recognition method and electronic terminal device | |
CN104867112B (en) | Photo processing method and device | |
CN106557755A (en) | Fingerprint template acquisition methods and device | |
CN107704190A (en) | Gesture identification method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |