CN106303260A - Photographic head changing method, device and terminal unit - Google Patents
Photographic head changing method, device and terminal unit Download PDFInfo
- Publication number
- CN106303260A CN106303260A CN201610909411.1A CN201610909411A CN106303260A CN 106303260 A CN106303260 A CN 106303260A CN 201610909411 A CN201610909411 A CN 201610909411A CN 106303260 A CN106303260 A CN 106303260A
- Authority
- CN
- China
- Prior art keywords
- photographic head
- mode
- action
- sensor
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
- 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/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The disclosure is directed to a kind of photographic head changing method, device and terminal unit, belong to terminal unit manufacturing technology field.Wherein, method includes: when the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;If user action mates with deliberate action, then switching photographic head mode of operation, wherein, photographic head mode of operation includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.The method achieve the intellectuality of photographic head switching, facilitate the switching of photographic head, enrich the mode of photographic head switching.
Description
Technical field
It relates to terminal unit manufacturing technology field, particularly relate to a kind of photographic head changing method, device and terminal
Equipment.
Background technology
In order to meet the demand that user autodynes and shoots other scenery etc., on terminal unit (such as smart mobile phone), generally
Can be provided with front-facing camera and post-positioned pick-up head, photographic head can be switched to by related key by user according to the demand of taking pictures
Front-facing camera mode of operation or post-positioned pick-up head mode of operation.
In the related, in order to meet user, photographic head is switched fast, face can be gathered by front-facing camera
Image, duplicate detection also records the position of human eye in each facial image, whether judges human eye according to the position of human eye of record
Watch photographic head attentively.When judging people's eye fixation photographic head, it is judged that whether the duration of people's eye fixation front-facing camera reaches certain
Duration, if reaching certain time length, controlling photographic head and being operated the switching of state.
Summary of the invention
For overcoming problem present in correlation technique, disclosure embodiment provides a kind of photographic head changing method, device
And terminal unit.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of photographic head changing method, the method includes:
When the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;
If described user action mates with described deliberate action, then switching photographic head mode of operation, described photographic head work
Operation mode includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
Method as above, the user action implemented described terminal unit described detection user with deliberate action is
Before no coupling, also include:
Described deliberate action is recorded by described photographic head.
Method as above, the user action implemented described terminal unit described detection user with deliberate action is
Before no coupling, also include:
When the photographic head of terminal unit starts, obtain current described user action by photographic head;
Determine whether described user action mates with described deliberate action.
Method as above, also includes:
Obtaining user operation based on described terminal unit by sensor, wherein, described sensor includes that acoustic control senses
One or more in device, touch sensing, light control sensor;
Determine whether described user operation mates with predetermined registration operation;
If described user operation is mated with described predetermined registration operation, then switching photographic head mode of operation.
Method as above, also includes:
When described sensor is described touch sensing, described determine whether described user operation mates with predetermined registration operation
Including:
Determine that touch control operation number of times that described touch sensing obtains is whether in the range of preset times.
Method as above, also includes:
When described sensor is described voice operated sensor, described determine whether described user operation mates with predetermined registration operation
Including:
Determine whether acoustic control operation that described voice operated sensor obtains exceedes default threshold with the matching degree of default acoustic control operation
Value.
Method as above, described switching photographic head mode of operation, including:
Described switching photographic head mode of operation, including:
Described photographic head is switched to post-positioned pick-up head mode of operation by front-facing camera mode of operation, or,
Described photographic head is switched to front-facing camera mode of operation by post-positioned pick-up head mode of operation.
Second aspect according to disclosure embodiment, it is provided that a kind of photographic head switching device, described device includes:
Detection module, for when the photographic head of terminal unit starts, detects whether current user action moves with presetting
Work mates;
Handover module, for when described user action mates with described deliberate action, switches photographic head mode of operation, institute
State photographic head mode of operation and include front-facing camera mode of operation and post-positioned pick-up head mode of operation.
Device as above, also includes:
Record module, for recording described deliberate action by photographic head.
Device as above, also includes:
First acquisition module, for when the photographic head of terminal unit starts, obtaining current described use by photographic head
Family action;
Described detection module is used for determining whether described user action mates with described deliberate action.
Device as above, also includes:
Second acquisition module, for obtaining user operation based on described terminal unit, wherein, described biography by sensor
Sensor includes one or more in voice operated sensor, touch sensing, light control sensor;
Described detection module is used for determining whether described user action mates with described deliberate action;
Described handover module is additionally operable to when described user operation is mated with described predetermined registration operation, switches photographic head Working mould
Formula.
Device as above, when described sensor is described touch sensing, described detection module includes:
First detection sub-module, determines that whether touch control operation number of times that described touch sensing obtains is in preset times scope
In.
Device as above, when described sensor is described voice operated sensor, described detection module includes:
Second detection sub-module, for determine acoustic control operation that described voice operated sensor obtains and default acoustic control operation
Whether degree of joining exceedes predetermined threshold value.
Device as above, described handover module is used for:
Described photographic head is switched to post-positioned pick-up head mode of operation by front-facing camera mode of operation, or,
Described photographic head is switched to front-facing camera mode of operation by post-positioned pick-up head mode of operation.
The third aspect according to disclosure embodiment, it is provided that a kind of terminal unit, including disclosure second aspect embodiment
Disclosed photographic head switching device.
Fourth aspect according to disclosure embodiment, it is provided that a kind of photographic head switching device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;
If described user action mates with described deliberate action, then switching photographic head mode of operation, described photographic head work
Operation mode includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
The technical scheme that disclosure embodiment provides can include following beneficial effect:
When the photographic head of terminal unit starts, detect whether current user action matches with deliberate action, if
Coupling then switches the mode of operation of photographic head.The method realizes the switching of terminal unit photographic head by implementing relevant action, real
Show the intellectuality of photographic head switching, facilitated the switching of photographic head, enrich the mode of photographic head switching.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe
The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure
Example, and it is configured to explain the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of photographic head changing method shown in the disclosure one exemplary embodiment;
Fig. 2 is the flow chart according to a kind of photographic head changing method shown in disclosure another exemplary embodiment;
Fig. 3 is the flow chart according to a kind of photographic head changing method shown in disclosure further example embodiment;
Fig. 4 is the flow chart according to a kind of photographic head changing method shown in a disclosure also exemplary embodiment;
Fig. 5 is the block diagram according to a kind of photographic head switching device shown in the disclosure one exemplary embodiment;
Fig. 6 is the block diagram according to a kind of photographic head switching device shown in the specific illustrative embodiment of the disclosure one;
Fig. 7 is the block diagram according to a kind of photographic head switching device shown in disclosure another exemplary embodiment;
Fig. 8 is the block diagram according to a kind of photographic head switching device shown in disclosure further example embodiment;
Fig. 9 is the block diagram according to a kind of photographic head switching device shown in a disclosure also exemplary embodiment;
Figure 10 is the block diagram according to a kind of photographic head switching device shown in the another exemplary embodiment of the disclosure;
Figure 11 is the block diagram according to a kind of photographic head switching device shown in the also another exemplary embodiment of the disclosure.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, hereinafter will be described in more detail.These accompanying drawings
With word, the scope being not intended to be limited disclosure design by any mode is described, but by with reference to specific embodiment being
Those skilled in the art illustrate the concept of the disclosure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended
The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Fig. 1 is the flow chart according to a kind of photographic head changing method shown in the disclosure one exemplary embodiment, such as Fig. 1 institute
Showing, this photographic head changing method includes:
In step s 110, when the photographic head of terminal unit starts, detect whether current user action moves with presetting
Work mates.
It is appreciated that and records deliberate action for photographic head mode of operation handover event in advance, and this deliberate action is entered
Row storage, thus user can realize being switched fast photographic head by performing this deliberate action.
Wherein, deliberate action can be recorded by photographic head, and deliberate action can be the system hardware according to terminal unit
Configuration is arranged, it is also possible to be that user is arranged according to individual's operating habit.
It should be noted that the difference according to application scenarios, above-mentioned deliberate action can have multiple, such as can include touching
Control operation, pressing operation, acoustic control operation, shading operation etc..
Specifically, when the photographic head of terminal unit starts, application program launching of taking pictures the most on the terminal device is taken the photograph
During as head, detect whether current user action mates with the deliberate action of storage, to judge whether user has switching photographic head
The intention of mode of operation.
Wherein it is desired to it is emphasized that according to the concrete operations content of deliberate action of storage, different detections can be arranged
Strategy judges whether user action mates with deliberate action.
Such as, if the deliberate action content of storage includes the type of deliberate action, then can be by detection user to terminal
The action type of the user action that equipment is implemented judges whether to mate with deliberate action.
The most such as, if the deliberate action of storage had both included the action type of deliberate action, each deliberate action is included again
The concrete operations behavior that type is corresponding, the deliberate action type such as stored is push action and concrete operation behavior is pressing
Time is more than 3 seconds, then can be implemented terminal unit by detection user, the action type of user action and concrete operation
Behavior, detects whether the user action implementing terminal unit mates with deliberate action.
In the step s 120, if user action mates with deliberate action, then switching photographic head mode of operation, photographic head work
Operation mode includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
It is appreciated that if user action matches with deliberate action, then it is assumed that user wishes to switch photographic head Working mould
Formula, wherein, photographic head mode of operation can include front-facing camera mode of operation and post-positioned pick-up head mode of operation.
In sum, the photographic head changing method of disclosure embodiment, when the photographic head of terminal unit starts, detection is worked as
Whether front user action matches with deliberate action, if coupling, switches photographic head mode of operation.The method is by implementing
Relevant action realizes the switching of terminal unit photographic head, it is achieved that the intellectuality of photographic head switching, facilitates the switching of photographic head,
Enrich the mode of photographic head switching.
Based on above example, it is emphasized that, if concrete corresponding on terminal unit of the deliberate action arranged
By related sensor, sensor function, then can detect whether current user action mates with deliberate action, to guarantee standard
True detects current user action.It is specifically described below in conjunction with Fig. 2:
In step S210, obtaining user operation based on terminal unit by sensor, wherein, sensor includes acoustic control
One or more in sensor, touch sensing, light control sensor.
In step S220, determine whether user operation mates with predetermined registration operation.
The first example, if predetermined registration operation corresponding be acoustic control operation, then detection user operation whether meet default
Before operation, in addition it is also necessary to the voice operated sensor of opening terminal apparatus, to ensure that terminal unit can obtain voice in real time, it is judged that user
Input is correlated with acoustic control operation, it is intended that switching photographic head mode of operation.
The second example, if predetermined registration operation corresponding be touch control operation, then detection user operation whether meet default
Before operation, need the touch sensing of opening terminal apparatus, to ensure that terminal unit can user in real touch control device
Whether the number of times etc. of frame, meet the touch-control number of times preset according to this touch-control number of times, it is judged that whether user is intended to switch photographic head
Mode of operation.
The third example, if predetermined registration operation corresponding be light control operations, then detection user operation whether meet default
Before operation, need the light control sensor of opening terminal apparatus, to ensure that terminal unit sensitivity can know whether user blocks
Live photosensitive device etc., with according to whether shelter from photosensitive device, it is judged that whether user is intended to switch photographic head mode of operation.
In step S230, if user operation is mated with predetermined registration operation, then switching photographic head mode of operation.
It is appreciated that if user operation matches with predetermined registration operation, then it is assumed that user wishes to switch photographic head, thus cuts
Change photographic head mode of operation.
As a kind of example, if current photographic head mode of operation is front-facing camera mode of operation, if then user
Operation is mated with predetermined registration operation, then the front-facing camera mode of operation of photographic head is switched to post-positioned pick-up head mode of operation.
As a kind of example, if current photographic head mode of operation is post-positioned pick-up head mode of operation, if then user
Operation is mated with predetermined registration operation, then the post-positioned pick-up head mode of operation of photographic head is switched to front-facing camera mode of operation.
It should be noted that the mode obtaining user operation is not restricted to, the mode obtained above by sensor,
May also include other any one modes that can realize obtaining user action function, be exemplified below:
In an example of the disclosure, can be obtained current by photographic head when the photographic head of terminal unit starts
User action, and after identifying user action, determine whether user action mates with deliberate action, thus when coupling, cut
Change photographic head mode of operation.
In sum, the photographic head changing method of disclosure embodiment, can pass through related sensor, detect current user
Action, it is ensured that user action can be detected in real time, adds the practicality of the photographic head changing method of disclosure embodiment.
In order to more clearly describe in step S110, how according to the particular content of the deliberate action of storage, it is judged that use
Whether family action mates with deliberate action, below in conjunction with Fig. 3 and Fig. 4 respectively with inspection policies be detection deliberate action type,
And inspection policies is to say as a example by whether the type detecting deliberate action mates with deliberate action with corresponding operational order
Bright, wherein operational order can be understood as concrete operation behavior, is described as follows:
Fig. 3 is the flow chart according to a kind of photographic head changing method shown in disclosure further example embodiment, at this
In example, the strategy of detection is whether the action type of detection user action mates with the action type of deliberate action:
In step S310, when the photographic head of terminal unit starts, detect whether current user action moves with presetting
The action type coupling made.
In step s 320, if user action mates with the action type of deliberate action, then switching photographic head Working mould
Formula.
It is appreciated that and in advance deliberate action is stored according to action type, such as deliberate action can be divided into and shake one
Shake operation.
As a kind of example, if the action type of the deliberate action of storage is to shake operation, then at terminal unit
When photographic head starts, if be detected that terminal unit is shaken operation by user, then it is assumed that user wishes to switch photographic head
Mode of operation, thus the photographic head mode of operation of switching terminal equipment.
Fig. 4 is the flow chart according to a kind of photographic head changing method shown in a disclosure also exemplary embodiment, at this
In example, the strategy of detection is the action type of the detection action type of user action and operational order and the deliberate action of storage
Whether mate with operational order:
In step S410, when the photographic head of terminal unit starts, detect current user operation whether with default behaviour
The action type made and corresponding operational order coupling.
In the step s 420, if user operation is mated, then with the action type of predetermined registration operation and corresponding operational order
Switching photographic head mode of operation.
It is appreciated that the operational order of action type and the correspondence thereof prestoring predetermined registration operation, such as to action type
For the predetermined registration operation of acoustic control operation, the operational order storing its correspondence is the phonetic order " switched " with keyword;The most such as,
Being the predetermined registration operation of touch control operation for action type, the control operational order storing its correspondence is touch control terminal equipment in 5 seconds
The number of times at edge is 3 inferior.
As a kind of example, if predetermined registration operation is touch control operation, and the touch control operation of correspondence is touch control terminal in 5 seconds
The number of times of device end is 3 times, then, when the photographic head of terminal unit starts, if touch sensing detects, user was at 5 seconds
The number of times of interior touch control terminal device end is 3 times, then it is assumed that user wishes to switch photographic head mode of operation, thus switches photographic head
Mode of operation.
As another kind of example, if predetermined registration operation is acoustic control operation, and the acoustic control operation instruction of correspondence is to send " to cut
Change " phonetic order, then when the photographic head of terminal unit starts, if be detected that the phonetic order that sends of user and " switching "
Matching degree more than predetermined threshold value, such as more than 99%, then it is assumed that user wishes to switch photographic head mode of operation, thus switching is taken the photograph
As head mode of operation.
In sum, the photographic head changing method of disclosure embodiment, when the photographic head of terminal unit starts, according to tool
The application scenarios of body, uses different inspection policies, detects user's particular user action to terminal unit, if with storage
The content matching of deliberate action, thus when coupling, the photographic head mode of operation of switching terminal equipment.Ensured accurately according to
The intention switching photographic head mode of operation at family, it is to avoid maloperation.
Following for disclosure device embodiment, can be configured to perform method of disclosure embodiment.The disclosure is filled
Put the details not disclosed in embodiment, refer to method of disclosure embodiment.
Fig. 5 is the block diagram according to a kind of photographic head switching device shown in the disclosure one exemplary embodiment, this photographic head
Switching device can pass through software, hardware or both be implemented in combination with.
As it is shown in figure 5, this photographic head switching device includes:
Detection module 110, is configured to when the photographic head of terminal unit starts, detect current user action whether with
Deliberate action is mated.
Handover module 120, is configured to when user action mates with deliberate action, switches photographic head mode of operation, takes the photograph
As head mode of operation includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
Fig. 6 is the block diagram according to a kind of photographic head switching device shown in the specific illustrative embodiment of the disclosure one, such as Fig. 6
Shown in, on the basis of as shown in Figure 5, this photographic head switching device also includes recording module 130.
Record module 130 and be configured to photographic head recording deliberate action.
I.e. record the module 130 handover event in advance for photographic head mode of operation and record deliberate action, and this is preset
Action stores, thus user can realize being switched fast photographic head by performing this deliberate action, wherein deliberate action
Can be that system is arranged according to the hardware configuration of terminal unit, it is also possible to be that user is arranged according to individual's operating habit.
It should be noted that the difference according to application scenarios, above-mentioned deliberate action can have multiple, such as can include touching
Control operation, pressing operation, acoustic control operation etc..
Application program launching shooting of taking pictures specifically, when the photographic head of terminal unit starts, on such as terminal unit
During head, detection module 110 detects whether current user action mates with the deliberate action of storage, it is judged that whether user has switching
The intention of photographic head mode of operation.
Wherein it is desired to it is emphasized that according to the concrete operations content of deliberate action of storage, different detections can be arranged
Strategy judges whether user action mates with deliberate action.
Such as, if the deliberate action content of storage includes the type of deliberate action, then detection module 110 can be by detection
Whether current user action mates with the action type of deliberate action.
The most such as, if the deliberate action of storage had both included the type of deliberate action, each deliberate action type is included again
Corresponding concrete operations behavior, the deliberate action type such as stored is push action and concrete operation behavior is compressing time
More than 3 seconds.
Then detection module 110 can be by detecting the action type of current user action and concrete operation behavior, inspection
Whether action type and the operational order of surveying user action mate with action type and the operational order of deliberate action.
Further, if user action matches with deliberate action, then it is assumed that user wishes to switch photographic head Working mould
Formula, thus handover module 120 switches photographic head mode of operation.Wherein, photographic head mode of operation includes the preposition shooting of photographic head
Head mode of operation and post-positioned pick-up head mode of operation.
In sum, the photographic head switching device of disclosure embodiment, when the photographic head of terminal unit starts, detection is worked as
Whether front user action matches with deliberate action, if coupling, switches photographic head mode of operation.This device is by implementing
Relevant action realizes the switching of terminal unit photographic head, it is achieved that the intellectuality of photographic head switching, facilitates the switching of photographic head,
Enrich the mode of photographic head switching.
Based on above example, it is emphasized that, if concrete corresponding on terminal unit of the deliberate action arranged
Sensor function, then by related sensor, detection module 110 can detect whether current user action mates with deliberate action,
To guarantee current user action to be detected accurately.
Fig. 7 is the block diagram according to a kind of photographic head switching device shown in disclosure another exemplary embodiment, such as Fig. 7 institute
Showing, on the basis of as shown in Figure 5, this photographic head switching device also includes:
Second acquisition module 140, is configured to sensor and obtains user operation based on terminal unit, wherein, pass
Sensor includes one or more in voice operated sensor, touch sensing, light control sensor.
In the example of the disclosure, detection module 110 determines whether user action mates with deliberate action.
Handover module 120, when user operation is mated with predetermined registration operation, switches photographic head mode of operation.
The first example, if predetermined registration operation corresponding be acoustic control operation, then detecting user operation at detection module 110 is
No meet predetermined registration operation before, in addition it is also necessary to the voice operated sensor of opening terminal apparatus, to ensure that the second acquisition module 140 terminal sets
For obtaining voice in real time, it is judged that whether user inputs relevant acoustic control operation, it is intended that switching photographic head mode of operation.
The second example, if predetermined registration operation corresponding be touch control operation, then detecting user operation at detection module 110 is
No meet predetermined registration operation before, need the touch sensing of opening terminal apparatus, to ensure that the second acquisition module 140 can be real-time
Obtain the number of times etc. of user's touch control device frame, whether meet the touch-control number of times preset according to this touch-control number of times, it is judged that Yong Hushi
No intention switches photographic head mode of operation.
The third example, if predetermined registration operation corresponding be light control operations, then detecting user operation at detection module 110 is
No meet predetermined registration operation before, need the light control sensor of opening terminal apparatus, to ensure that the second acquisition module 140 can be sensitive
Know whether user shelters from photosensitive device etc., with according to whether shelter from photosensitive device, it is judged that whether user is intended to switching is taken the photograph
As head mode of operation.
And then, it will be understood that if user operation matches with predetermined registration operation, then it is assumed that user wishes to switch photographic head,
Thus handover module 120 switches photographic head mode of operation.
As a kind of example, if current photographic head mode of operation is front-facing camera mode of operation, if then user
Operation is mated with predetermined registration operation, and the front-facing camera mode of operation of photographic head is switched to post-positioned pick-up head work by handover module 120
Operation mode.
As a kind of example, if current photographic head mode of operation is post-positioned pick-up head mode of operation, if then user
Operation is mated with predetermined registration operation, and the post-positioned pick-up head mode of operation of handover module 120 photographic head is switched to front-facing camera work
Pattern.
It should be noted that the mode obtaining user operation is not restricted to, the mode obtained above by sensor,
May also include other any one modes that can realize obtaining user action function, be exemplified below:
Fig. 8 is the block diagram according to a kind of photographic head switching device shown in disclosure further example embodiment, such as Fig. 8 institute
Showing, on the basis of as shown in Figure 5, this photographic head switching device also includes the first acquisition module 150.
Wherein, the first acquisition module 150, it is configured to, when the photographic head of terminal unit starts, be obtained by photographic head
Current user action.
In an example of the disclosure, can be when the photographic head of terminal unit start, the first acquisition module 150 is by taking the photograph
As head obtains current user action, and then detection module 110 is after identifying user action, determines user action and moves with presetting
Whether mate, thus when coupling, handover module 120 switches the mode of operation of photographic head.
It should be noted that the aforementioned explanation to photographic head changing method embodiment, it is also applied for the disclosure and implements
The photographic head switching device of example, the details not disclosed in disclosure photographic head switching device embodiment, do not repeat them here.
In sum, the photographic head switching device of disclosure embodiment, related sensor can be passed through, detect current user
Action, it is ensured that user action detected in real time, adds the practicality of the photographic head changing method of disclosure embodiment.
In order to more clearly describe the particular content of how deliberate action according to storage, use different inspection policies
Judging whether user action mates with deliberate action, 9 and 10 respectively with inspection policies for detection user action below in conjunction with the accompanying drawings
Action type and operational order that inspection policies is the detection action type of user action and correspondence whether with deliberate action
Illustrating as a example by coupling, wherein operational order can be understood as concrete operation behavior, is described as follows:
It is appreciated that and in advance deliberate action is stored according to action type, such as deliberate action can be divided into and shake one
Shake operation.
As a kind of example, if the action type of the deliberate action of storage is to shake operation, then at terminal unit
When shooting starts, if detection module 110 detects that terminal unit is shaken operation by user, then it is assumed that user wishes to cut
Change photographic head mode of operation, thus the photographic head mode of operation of handover module 120 switching terminal equipment.
Fig. 9 is the block diagram according to a kind of photographic head switching device shown in a disclosure also exemplary embodiment, such as Fig. 9 institute
Showing, on the basis of as shown in Figure 5, this detection module 110 includes the first detection sub-module 111, and this first detection sub-module
111 are configured to determine that touch control operation number of times that touch sensing obtains is whether in the range of preset times.
In this example, if predetermined registration operation is touch control operation, and the operational order of correspondence is that touch control terminal sets in 5 seconds
The number of times at standby edge is 3 times, then when the photographic head of terminal unit starts, if the first detection sub-module 111 detects, and user
In 5 seconds, the number of times of touch control terminal device end is 3 times, then it is assumed that user wishes to switch photographic head mode of operation, thus switches
Module 120 switches photographic head mode of operation.
Figure 10 is the block diagram according to a kind of photographic head switching device shown in the another exemplary embodiment of the disclosure, such as Figure 10
Shown in, on the basis of as shown in Figure 5, this detection module 110 includes the second detection sub-module 112.
Wherein, the second detection sub-module 112, it is configured to determine that acoustic control operation and default acoustic control that voice operated sensor obtains
Whether the matching degree of operation exceedes predetermined threshold value.
In this example, if predetermined registration operation is acoustic control operation, and the acoustic control operation instruction of correspondence sends " switching "
Phonetic order, then when the photographic head of terminal unit starts, if the second detection sub-module 112 detects the acoustic control that user sends
Operational order is more than predetermined threshold value, such as more than 99% with the matching degree of " switching ", then it is assumed that user wishes to switch photographic head work
Operation mode, thus switch photographic head mode of operation.
It should be noted that the aforementioned explanation to photographic head changing method embodiment, it is also applied for the disclosure and implements
The photographic head switching device of example, the details not disclosed in disclosure photographic head switching device embodiment, do not repeat them here.
In sum, the photographic head switching device of disclosure embodiment, when the photographic head of terminal unit starts, according to tool
The application scenarios of body, uses different inspection policies, detects user's particular user action to terminal unit, if with storage
Deliberate action is mated, thus when coupling, the photographic head mode of operation of switching terminal equipment.Ensure the meaning accurately according to user
Figure switching photographic head mode of operation, it is to avoid maloperation.
Disclosure terminal unit embodiment is described below in detail, the photographic head switching device described including the disclosure is permissible
For performing disclosure photographic head switching device embodiment.For details the most disclosed in disclosure terminal unit embodiment,
Refer to disclosure photographic head switching device embodiment.
It should be noted that the terminal unit in disclosure embodiment can be used for performing photographic head switching device in the disclosure
Embodiment, the most aforementioned explanation to photographic head changing method is also applied for the terminal unit of this embodiment, at this no longer
Repeat.
In sum, the terminal unit of disclosure embodiment, when the photographic head of terminal unit starts, detects current use
Whether family action matches with deliberate action, if coupling, switches photographic head mode of operation.Realize by implementing relevant action
The switching of photographic head, it is achieved that the intellectuality of photographic head switching, facilitates the switching of photographic head, enriches the side of photographic head switching
Formula.
Figure 11 is the block diagram according to a kind of photographic head switching device 1000 shown in the also another exemplary embodiment of the disclosure.
Such as, device 1000 can be mobile phone, computer, tablet device, personal digital assistant etc..
Processor 1002, for storing the memorizer 1004 of processor executable.
With reference to Figure 10, device 1000 can include following one or more assembly: processes assembly 1002, memorizer 1004,
Power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of input/output (I/O), sensor cluster
1014, and communications component 1016.
Process assembly 1002 and generally control the integrated operation of device 1000, such as with display, call, data communication,
The operation that camera operation and record operation are associated.Process assembly 1002 and can include that one or more processor 1020 performs
Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1002 can include one or more mould
Block, it is simple to process between assembly 1002 and other assemblies is mutual.Such as, process assembly 1002 and can include multi-media module,
With facilitate multimedia groupware 1008 and process between assembly 1002 mutual.
Memorizer 1004 is configured to store various types of data to support the operation at device 1000.These data
Example includes any application program or the instruction of method, contact data, the telephone directory being configured on device 1000 operation
Data, message, picture, video etc..Memorizer 1004 can by any kind of volatibility or non-volatile memory device or
Combinations thereof realizes, such as static RAM (SRAM), and Electrically Erasable Read Only Memory (EEPROM), can
Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory,
Flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can include power management
System, one or more power supplys, and other generate, manage and distribute, with for device 1000, the assembly that electric power is associated.
The touch-control of one output interface of offer that multimedia groupware 1008 is included between described device 1000 and user shows
Display screen.In certain embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).Touch panel
Including one or more touch sensors with the gesture on sensing touch, slip and touch panel.Described touch sensor is permissible
Not only sensing touches or the border of sliding action, but also detects the persistent period relevant to described touch or slide and pressure
Power.In certain embodiments, multimedia groupware 1008 includes a front-facing camera and/or post-positioned pick-up head.When device 1000
Being in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside many
Media data.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and light
Learn zoom capabilities.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1010 includes a wheat
Gram wind (MIC), when device 1000 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt
It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1004 or via communication
Assembly 1016 sends.In certain embodiments, audio-frequency assembly 1010 also includes a speaker, is configured to export audio frequency letter
Number.
I/O interface 1012 provides interface, above-mentioned peripheral interface module for processing between assembly 1002 and peripheral interface module
Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and
Locking press button.
Sensor cluster 1014 includes one or more sensor, is configured to provide the shape of various aspects for device 1000
State is assessed.Such as, what sensor cluster 1014 can detect device 1000 opens/closed mode, the relative localization of assembly, example
Such as display that described assembly is device 1000 and keypad, sensor cluster 1014 can also detect device 1000 or device
The position change of 1000 1 assemblies, the presence or absence that user contacts with device 1000, device 1000 orientation or acceleration/subtract
Speed and the variations in temperature of device 1000.Sensor cluster 1014 can include proximity transducer, is configured to the most any
Physical contact time detection near the existence of object.Sensor cluster 1014 can also include optical sensor, as CMOS or CCD schemes
As sensor, it is configured in imaging applications use.In certain embodiments, this sensor cluster 1014 can also include adding
Velocity sensor, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to facilitate the communication of wired or wireless mode between device 1000 and other equipment.Dress
Put 1000 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one
In embodiment, broadcast singal or broadcast that communications component 1016 receives from external broadcasting management system via broadcast channel are relevant
Information.In one exemplary embodiment, described communications component 1016 also includes near-field communication (NFC) module, to promote short distance
Communication.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband
(UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realize, be configured to perform cutting of above-mentioned photographic head
Change method (method shown in Fig. 1 to Fig. 4).
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided
As included the memorizer 1004 of instruction, above-mentioned instruction can have been performed said method by the processor 1020 of device 1000.Example
As, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of terminal
Time so that device is able to carry out the changing method of a kind of photographic head, and method includes:
When the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;
If described user action mates with described deliberate action, then switching photographic head mode of operation, described photographic head work
Operation mode includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or
Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (16)
1. a photographic head changing method, it is characterised in that comprise the following steps:
When the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;
If described user action mates with described deliberate action, then switching photographic head mode of operation, described photographic head Working mould
Formula includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
2. the method for claim 1, it is characterised in that described method also includes:
Described deliberate action is recorded by described photographic head.
3. the method for claim 1, it is characterised in that when the described photographic head at terminal unit starts, detection is current
User action whether mate with deliberate action, including:
When the photographic head of terminal unit starts, obtain current described user action by photographic head;
Determine whether described user action mates with described deliberate action.
4. the method for claim 1, it is characterised in that described method also includes:
Obtaining user operation based on described terminal unit by sensor, wherein, described sensor includes voice operated sensor, touches
One or more in control sensor, light control sensor;
Determine whether described user operation mates with predetermined registration operation;
If described user operation is mated with described predetermined registration operation, then switching photographic head mode of operation.
5. method as claimed in claim 4, it is characterised in that
When described sensor is described touch sensing, described determine that whether described user operation mates bag with predetermined registration operation
Include:
Determine that touch control operation number of times that described touch sensing obtains is whether in the range of preset times.
6. method as claimed in claim 4, it is characterised in that when described sensor is described voice operated sensor, described really
Whether fixed described user operation is mated with predetermined registration operation and is included:
Determine whether acoustic control operation that described voice operated sensor obtains exceedes predetermined threshold value with the matching degree of default acoustic control operation.
7. the method as described in claim 1-6 is arbitrary, it is characterised in that described switching photographic head mode of operation, including:
Described photographic head is switched to post-positioned pick-up head mode of operation by front-facing camera mode of operation, or,
Described photographic head is switched to front-facing camera mode of operation by post-positioned pick-up head mode of operation.
8. a photographic head switching device, it is characterised in that including:
Detection module, for when the photographic head of terminal unit starts, detect current user action whether with deliberate action
Join;
Handover module, for when described user action mates with described deliberate action, switching photographic head mode of operation, described in take the photograph
As head mode of operation includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
9. device as claimed in claim 8, it is characterised in that described device also includes:
Record module, for recording described deliberate action by photographic head.
10. device as claimed in claim 8, it is characterised in that described device also includes:
First acquisition module, for when the photographic head of terminal unit starts, obtains current described user by photographic head and moves
Make;
Described detection module is used for determining whether described user action mates with described deliberate action.
11. devices as claimed in claim 8, it is characterised in that also include:
Second acquisition module, for obtaining user operation based on described terminal unit, wherein, described sensor by sensor
Including one or more in voice operated sensor, touch sensing, light control sensor;
Described detection module is used for determining whether described user action mates with described deliberate action;
Described handover module is additionally operable to when described user operation is mated with described predetermined registration operation, switches photographic head mode of operation.
12. devices as claimed in claim 11, it is characterised in that when described sensor is described touch sensing, described
Detection module includes:
First detection sub-module, determines that touch control operation number of times that described touch sensing obtains is whether in the range of preset times.
13. devices as claimed in claim 11, it is characterised in that when described sensor is described voice operated sensor, described
Detection module includes:
Second detection sub-module, is used for determining acoustic control operation and the matching degree of default acoustic control operation that described voice operated sensor obtains
Whether exceed predetermined threshold value.
14. devices as described in claim 8-13 is arbitrary, it is characterised in that described handover module is used for:
Described photographic head is switched to post-positioned pick-up head mode of operation by front-facing camera mode of operation, or,
Described photographic head is switched to front-facing camera mode of operation by post-positioned pick-up head mode of operation.
15. 1 kinds of terminal units, it is characterised in that include the photographic head switching device as described in any one of claim 8-14.
16. 1 kinds of photographic head switching devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When the photographic head of terminal unit starts, detect whether current user action mates with deliberate action;
If described user action mates with described deliberate action, then switching photographic head mode of operation, described photographic head Working mould
Formula includes front-facing camera mode of operation and post-positioned pick-up head mode of operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610909411.1A CN106303260A (en) | 2016-10-18 | 2016-10-18 | Photographic head changing method, device and terminal unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610909411.1A CN106303260A (en) | 2016-10-18 | 2016-10-18 | Photographic head changing method, device and terminal unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303260A true CN106303260A (en) | 2017-01-04 |
Family
ID=57718903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610909411.1A Pending CN106303260A (en) | 2016-10-18 | 2016-10-18 | Photographic head changing method, device and terminal unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303260A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899765A (en) * | 2017-03-10 | 2017-06-27 | 上海传英信息技术有限公司 | Mobile terminal dual camera changing method and device |
CN109151296A (en) * | 2017-06-19 | 2019-01-04 | 北京小米移动软件有限公司 | Electronic equipment, switching method and device, computer readable storage medium |
CN110798617A (en) * | 2019-10-25 | 2020-02-14 | 深圳传音控股股份有限公司 | Mobile terminal, control method of mobile terminal, and computer storage medium |
CN112199016A (en) * | 2020-09-30 | 2021-01-08 | 北京字节跳动网络技术有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
CN113840092A (en) * | 2021-11-25 | 2021-12-24 | 荣耀终端有限公司 | Camera switching method and electronic equipment |
CN114257737A (en) * | 2021-11-29 | 2022-03-29 | 荣耀终端有限公司 | Camera shooting mode switching method and related equipment |
EP4231622A4 (en) * | 2021-12-27 | 2024-04-03 | Beijing Honor Device Co Ltd | Video processing method and electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037083A (en) * | 2012-12-10 | 2013-04-10 | 广东欧珀移动通信有限公司 | Switching method and device of front-and-rear camera |
CN104092932A (en) * | 2013-12-03 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Acoustic control shooting method and device |
CN104182173A (en) * | 2014-08-15 | 2014-12-03 | 小米科技有限责任公司 | Camera switching method and device |
CN104866227A (en) * | 2015-05-28 | 2015-08-26 | 小米科技有限责任公司 | Screen control method and screen control apparatus |
CN105072349A (en) * | 2015-09-10 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Method and system for improving experience of user in photographing of intelligent terminal |
CN105095117A (en) * | 2014-04-29 | 2015-11-25 | 国基电子(上海)有限公司 | Electronic device and camera module switching method thereof |
CN105516587A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Method for switching cameras and mobile terminal |
US20160119544A1 (en) * | 2013-03-14 | 2016-04-28 | Microsoft Technology Licensing, Llc | Camera Non-Touch Switch |
CN105959554A (en) * | 2016-06-01 | 2016-09-21 | 努比亚技术有限公司 | Video shooting apparatus and method |
-
2016
- 2016-10-18 CN CN201610909411.1A patent/CN106303260A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037083A (en) * | 2012-12-10 | 2013-04-10 | 广东欧珀移动通信有限公司 | Switching method and device of front-and-rear camera |
US20160119544A1 (en) * | 2013-03-14 | 2016-04-28 | Microsoft Technology Licensing, Llc | Camera Non-Touch Switch |
CN104092932A (en) * | 2013-12-03 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Acoustic control shooting method and device |
CN105095117A (en) * | 2014-04-29 | 2015-11-25 | 国基电子(上海)有限公司 | Electronic device and camera module switching method thereof |
CN104182173A (en) * | 2014-08-15 | 2014-12-03 | 小米科技有限责任公司 | Camera switching method and device |
CN104866227A (en) * | 2015-05-28 | 2015-08-26 | 小米科技有限责任公司 | Screen control method and screen control apparatus |
CN105072349A (en) * | 2015-09-10 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Method and system for improving experience of user in photographing of intelligent terminal |
CN105516587A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Method for switching cameras and mobile terminal |
CN105959554A (en) * | 2016-06-01 | 2016-09-21 | 努比亚技术有限公司 | Video shooting apparatus and method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899765A (en) * | 2017-03-10 | 2017-06-27 | 上海传英信息技术有限公司 | Mobile terminal dual camera changing method and device |
CN109151296A (en) * | 2017-06-19 | 2019-01-04 | 北京小米移动软件有限公司 | Electronic equipment, switching method and device, computer readable storage medium |
CN110798617A (en) * | 2019-10-25 | 2020-02-14 | 深圳传音控股股份有限公司 | Mobile terminal, control method of mobile terminal, and computer storage medium |
CN112199016A (en) * | 2020-09-30 | 2021-01-08 | 北京字节跳动网络技术有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
WO2022068479A1 (en) * | 2020-09-30 | 2022-04-07 | 北京字节跳动网络技术有限公司 | Image processing method and apparatus, and electronic device and computer-readable storage medium |
CN113840092A (en) * | 2021-11-25 | 2021-12-24 | 荣耀终端有限公司 | Camera switching method and electronic equipment |
CN113840092B (en) * | 2021-11-25 | 2022-04-15 | 荣耀终端有限公司 | Camera switching method and electronic equipment |
CN114257737A (en) * | 2021-11-29 | 2022-03-29 | 荣耀终端有限公司 | Camera shooting mode switching method and related equipment |
EP4231622A4 (en) * | 2021-12-27 | 2024-04-03 | Beijing Honor Device Co Ltd | Video processing method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303260A (en) | Photographic head changing method, device and terminal unit | |
CN106454336B (en) | The method and device and terminal that detection terminal camera is blocked | |
CN106951884A (en) | Gather method, device and the electronic equipment of fingerprint | |
CN105430262A (en) | Photographing control method and photographing control device | |
CN104243819A (en) | Photo acquiring method and device | |
CN104717366A (en) | Method and device for recommending contact photos | |
CN106202194A (en) | The storage method and device of screenshot picture | |
CN109557999A (en) | Bright screen control method, device and storage medium | |
CN105117033A (en) | Connection method and device of external equipment | |
CN104182313A (en) | Photographing delay method and device | |
CN104284240A (en) | Video browsing method and device | |
US20170032805A1 (en) | Method and device for collecting sounds corresponding to surveillance images | |
CN105069426A (en) | Similar picture determining method and apparatus | |
CN104460185A (en) | Automatic focusing method and device | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN105516587A (en) | Method for switching cameras and mobile terminal | |
CN105487786A (en) | Application icon management method and device | |
CN104980662A (en) | Method for adjusting imaging style in shooting process, device thereof and imaging device | |
CN104216525A (en) | Method and device for mode control of camera application | |
CN105224171A (en) | icon display method, device and terminal | |
CN104020628A (en) | Flash lamp prompting method and device thereof | |
CN104156993A (en) | Method and device for switching face image in picture | |
CN105301183A (en) | Air quality detecting method and device | |
CN106791394A (en) | Image processing method and device | |
CN105744169A (en) | Image shooting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
RJ01 | Rejection of invention patent application after publication |