CN105049732A - Camera adjusting method and user terminal - Google Patents

Camera adjusting method and user terminal Download PDF

Info

Publication number
CN105049732A
CN105049732A CN201510535633.7A CN201510535633A CN105049732A CN 105049732 A CN105049732 A CN 105049732A CN 201510535633 A CN201510535633 A CN 201510535633A CN 105049732 A CN105049732 A CN 105049732A
Authority
CN
China
Prior art keywords
touch
control
target
camera
rotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510535633.7A
Other languages
Chinese (zh)
Other versions
CN105049732B (en
Inventor
李建林
李家达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510535633.7A priority Critical patent/CN105049732B/en
Publication of CN105049732A publication Critical patent/CN105049732A/en
Application granted granted Critical
Publication of CN105049732B publication Critical patent/CN105049732B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a camera adjusting method and a user terminal. The method comprises the following steps that: the user terminal firstly detects whether a target touch operation happens on a touch screen; the user terminal obtains a target touch parameter of the target touch operation when detecting that the target touch operation happens on the touch screen; the user terminal further judges whether the target touch parameter is matched with a preset touch parameter for controlling rotation of the camera; finally, the user terminal controls the camera to rotate according to the target touch parameter when judging that the target touch parameter is matched with the preset touch parameter for controlling rotation of the camera. In the embodiment of the invention, when the camera needs to be controlled to rotate, users can control the camera to rotate just by touching a touch screen of the user terminal instead of manually controlling the camera to rotate, moreover, the user terminal can perform adjustment according to the touch parameter. Thereby, the camera can be adjusted conveniently

Description

A kind of camera control method and user terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of camera control method and user terminal.
Background technology
Along with the fast development of electronic technology and the universal rapidly of terminal, the function of terminal is day by day perfect.Such as, user can utilize terminal access external network data resource, carry out contacting and taking pictures etc. with good friend.When user utilizes terminal to take pictures, can be that shooting center is taken with reference object for making terminal, often needing camera in control terminal to rotate.But in actual applications, when in needs control terminal, camera rotates, user needs manually to go to regulate camera, can control it and rotate, thus reduce the convenience of camera adjustment.
Summary of the invention
Embodiments provide a kind of camera control method and user terminal, can regulate camera easily.
First aspect, the embodiment of the invention discloses a kind of camera control method, comprising:
Detect touch-screen and whether target touch control operation occurs;
If detect described touch-screen described target touch control operation occurs, obtain the target touch parameter of described target touch control operation;
Judge whether described target touch parameter mates with the touch parameter rotated for controlling camera preset;
If judge, described target touch parameter mates with the described default touch parameter rotated for controlling camera, then control described camera according to described target touch parameter and rotate.
In conjunction with the implementation of first aspect, in the first possible implementation of first aspect, described touch parameter comprises at least one in touch-control force value and target touch-control direction.
In conjunction with in the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, step obtains the target touch parameter of described target touch control operation, comprising:
Obtain the touch-control force value of described target touch control operation, and obtain the target touch-control direction of described target touch control operation;
Wherein, described according to described target touch parameter control described camera rotate, comprising:
According to the mapping relations of preset pressure value and the anglec of rotation, determine the target anglec of rotation that described touch-control force value is corresponding, and according to the touch-control direction of presetting and the mapping relations of direction of rotation, determine and the direction of rotation that described target touch-control direction matches, and control described camera and rotate the described target anglec of rotation along described direction of rotation.
In conjunction with the first possible implementation of first aspect, in the third possible implementation of first aspect, step obtains the target touch parameter of described target touch control operation, comprising:
Obtain the touch-control force value of described target touch control operation;
Wherein, described according to described target touch parameter control described camera rotate, comprising:
Determine the target pressure range of the touch-control force value of described target touch control operation;
According to the mapping relations of preset pressure scope and rotation parameter, determine and the rotation parameter that described target pressure range matches;
Control described camera according to described rotation parameter to rotate.
Any one possible implementation in the implementation possible in conjunction with the second of the first possible implementation of the implementation of first aspect, first aspect, first aspect and the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, can also following steps be performed:
Obtain the facial image of target reference object;
Whether detect described facial image according to the detected rule preset is legal image;
If detecting described facial image according to the detected rule preset is described legal image, then controls user terminal and described target reference object is taken.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, can also following steps be performed:
If detecting described facial image according to the detected rule preset not is described legal image, then determine straight line formed by the iris central point of described target reference object and the central point of described camera;
Determine the target angle of the vertical line of described straight line and described camera;
Control described camera according to described target angle to rotate, and after described camera rotates stopping, described target reference object is taken.
Second aspect, the embodiment of the invention also discloses a kind of user terminal, comprising:
Whether the first detecting unit, there is target touch control operation for detecting touch-screen;
First acquiring unit, if detect described touch-screen for described first detecting unit described target touch control operation occurs, obtains the target touch parameter of described target touch control operation;
Judging unit, for judging whether described target touch parameter mates with the touch parameter rotated for controlling camera preset;
First control unit, if judge that described target touch parameter mates with the described default touch parameter rotated for controlling camera for described judging unit, then controls described camera according to described target touch parameter and rotates.
In conjunction with the user terminal of second aspect, in the first possible user terminal of second aspect, described touch parameter comprises at least one in touch-control force value and target touch-control direction.
In conjunction with the first possible user terminal of second aspect, in the user terminal that the second of second aspect is possible, described first acquiring unit specifically for obtaining the touch-control force value of described target touch control operation, and obtains the target touch-control direction of described target touch control operation;
Wherein, described first control unit comprises:
First determination module, for the mapping relations according to preset pressure value and the anglec of rotation, determines the target anglec of rotation that described touch-control force value is corresponding;
Second determination module, for the mapping relations according to the touch-control direction of presetting and direction of rotation, obtains the direction of rotation matched with described target touch-control direction;
First control module, rotates the described target anglec of rotation for controlling described camera along described direction of rotation.
In conjunction with the first possible user terminal of second aspect, in the user terminal that the second of second aspect is possible, described first acquiring unit is specifically for obtaining the touch-control force value of described target touch control operation;
Wherein, described first control unit comprises:
3rd determination module, for determining the target pressure range of the touch-control force value of described target touch control operation;
4th determination module, for the mapping relations according to preset pressure scope and rotation parameter, determines and the rotation parameter that described target pressure range matches;
Second control module, rotates for controlling described camera according to described rotation parameter.
Any one user terminal in the user terminal possible in conjunction with the second of the first possible user terminal of the user terminal of second aspect, second aspect, second aspect and the third possible user terminal of second aspect, in the 4th kind of possible user terminal of second aspect, described user terminal also comprises:
Second acquisition unit, for obtaining the facial image of target reference object;
Whether the second detecting unit is legal image for detecting described facial image according to the detected rule preset;
Second control unit, if detecting described facial image for described second detecting unit according to the detected rule preset is described legal image, then controls user terminal and takes described target reference object.
In conjunction with the 4th kind of possible user terminal of second aspect, in the 5th kind of possible user terminal of second aspect, described user terminal also comprises:
First determining unit, if detecting described facial image for described second detecting unit according to the detected rule preset not is described legal image, then determines straight line formed by the iris central point of described target reference object and the central point of described camera;
Second determining unit, for determining the target angle of the vertical line of described straight line and described camera;
Described second control unit also rotates for controlling described camera according to described target angle, and after described camera rotates stopping, taking described target reference object.
In the embodiment of the present invention, first user terminal detects touch-screen and whether target touch control operation occurs; If detect touch-screen generation target touch control operation, obtain the target touch parameter of target touch control operation; Judge whether target touch parameter mates with the touch parameter rotated for controlling camera preset again; If judge, target touch parameter mates with the touch parameter rotated for controlling camera preset, then last according to the rotation of target touch parameter control camera.In embodiments of the present invention, when needs control camera rotation, manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of camera control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of camera control method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another user terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of camera control method and user terminal.In embodiments of the present invention, when needs control camera rotation, manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of camera control method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied in the user terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 1, this camera control method can comprise the following steps:
Whether S101, detection touch-screen there is target touch control operation.
In the embodiment of the present invention, target touch control operation can be divided into dissimilar touch control operation according to different mode classifications.For example, touch control operation can be divided into clicking operation and slide according to the length of touch-control time.Wherein, clicking operation mainly comprises the touch control operation that touch-control duration is less than preset time threshold, and slide then mainly comprises the touch control operation that touch-control duration is greater than preset time threshold.The setting of time threshold can user set as required, as 1 second, 2 seconds, 3 seconds etc.Again for example, according to the touch-control force value of touch control operation touch control operation can be divided into touch operation and heavily touch operation.Wherein, touch operation and mainly comprise the touch control operation that touch-control force value is less than preset pressure threshold value; Heavily tactile operation mainly comprises the touch control operation that touch-control force value is greater than preset pressure threshold value.The setting of pressure threshold also can be that user sets, as required as 0.1N, 0.2N, 0.3N etc.
In the embodiment of the present invention, when detection user terminal starts camera application, then can detect touch-screen and whether target touch control operation occurs.
If S102 detects touch-screen generation target touch control operation, obtain the target touch parameter of target touch control operation.
In the embodiment of the present invention, if when detecting touch-screen generation target touch control operation, the target touch parameter of this target touch control operation can be obtained.Wherein, this target touch parameter is except comprising touch-control force value and touch-control direction, can also comprise at least one in the trigger position (as pointed the position contacted with touch-screen) of this target touch control operation, touch-control duration and touch trajectory etc., the embodiment of the present invention is not construed as limiting.
Particularly, when detection on the touchscreen target touch control operation occurs, then user terminal can obtain the target touch parameter of target touch control operation.
S103, judge target touch parameter with preset the touch parameter rotated for controlling camera whether mate.
In the embodiment of the present invention, the touch parameter rotated for controlling camera can be preset in the user terminal.Wherein, this touch parameter rotated for controlling camera preset can be that user sets as required; This touch parameter rotated for controlling camera preset also can be that user terminal sets according to the history setting recording of user; The present invention is not construed as limiting.
As the optional execution mode of one, when the touch parameter rotated for controlling camera preset comprises touch-control force value, then setting this touch parameter can comprise the following steps:
11) the touch-control force value of history touch control operation in user terminal is obtained;
12) mean value of the touch-control force value of above-mentioned history touch control operation in preset time period is determined;
13) according to the touch-control force value that the touch-control design of pressure being used for controlling camera rotation extremely matches with above-mentioned mean value by the setting rule preset.
In the embodiment of the present invention, touch-control design of pressure can be obtained moderate, also, the force value that the touch-control force value inputting touch control operation according to user matches.
In the embodiment of the present invention, after user terminal obtains the target touch parameter of target touch control operation, then can judge whether the target touch parameter got mates with the touch parameter rotated for controlling camera preset.For example, when target touch parameter comprises touch-control force value, then detect the target touch-control force value got whether drop on for control camera rotate range of pressure values in.
If S104 judges that target touch parameter mates with the touch parameter rotated for controlling camera preset, then control described camera according to target touch parameter and rotate.
In the embodiment of the present invention, judge that target touch parameter and the touch parameter rotated for controlling camera preset mates to comprise and judge target touch parameter and default whether consistent for controlling the touch parameter that camera rotates.For example, when the touch parameter rotated for controlling camera preset comprises touch-control force value, if when the touch-control force value rotated for controlling camera is 0.5N, the touch-control force value got if detect also for 0.5N, then can say that target touch parameter is consistent with for controlling the touch-control force value that camera rotates.
In the embodiment of the present invention, control described camera according to target touch parameter and rotate, mainly according to the rotation parameter of target touch parameter determination camera.Wherein, rotation parameter comprises at least one in rotation angle value and direction.
In the embodiment of the present invention, can be the mapping relations according to the touch parameter preset and rotation parameter according to the rotation of target touch parameter control camera, control camera rotation.
In the embodiment of the present invention, if user terminal judges that target touch parameter mates with the touch parameter rotated for controlling camera preset, then can control camera according to target touch parameter and rotate.
In FIG, first user terminal detects touch-screen whether target touch control operation occurs; If detect touch-screen generation target touch control operation, obtain the target touch parameter of target touch control operation; Judge whether target touch parameter mates with the touch parameter rotated for controlling camera preset again; If judge, target touch parameter mates with the touch parameter rotated for controlling camera preset, then last according to the rotation of target touch parameter control camera.In embodiments of the present invention, when needs control camera rotation, manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of camera control method disclosed in the embodiment of the present invention.As shown in Figure 2, this camera control method can comprise the following steps:
Whether S201, detection touch-screen there is target touch control operation.
In the embodiment of the present invention, after user terminal starts camera application, then can detect whether touch control operation occurs on the touchscreen.Also, namely, after startup camera application, before control camera rotates, the touch control operation detected all can be considered as target touch control operation.Wherein, before whether execution step detection touch-screen target touching occurs, following steps can also be performed:
21) detect user terminal and whether start touch-control rotary mode;
22) if when detecting above-mentioned user terminal startup touch-control rotary mode, then perform step and detect on touch-screen whether target touching occurs;
23) if detect above-mentioned user terminal when not starting touch-control rotary mode, then export for pointing out the information whether starting touch control operation pattern.
In the embodiment of the present invention, the way of output of information can be vibration prompt, also can be voice message, can also be text prompt, can also be at least one or multiple in vibration prompt, voice message and text prompt; The present invention is not construed as limiting.
If S202 detects touch-screen generation target touch control operation, obtain the touch-control force value of target touch control operation.
In the embodiment of the present invention, touch-control force value mainly comprises the force value of the pressing touch-screen that user terminal receives.During due to each touch-control, touch-control time sample different in size, and in touch-control process, have the change of force value.Therefore, can arrange, first force value touched is above-mentioned touch-control force value, also can be that the maximum force value that detects in touch-control process is as above-mentioned touch-control force value; The present invention is not construed as limiting.
In the embodiment of the present invention, if when detecting touch-screen generation target touch control operation, obtain the touch-control force value of target touch control operation.
S203, judge touch-control force value with preset the touch-control force value rotated for controlling camera whether mate.
In the embodiment of the present invention, the touch-control force value rotated for controlling camera can be preset in the user terminal.Wherein, this touch-control force value being used for controlling camera rotation can be that user sets as required; Also can be that user terminal sets according to the history setting recording of user; Can also be that user terminal sets according to the mean value of user's history touch-control force value; The present invention is not construed as limiting.
In the embodiment of the present invention, judge whether touch-control force value and the touch-control force value rotated for controlling camera preset mate and mainly comprise that to judge whether touch-control force value drops on default for controlling the touch-control range of pressure values that camera rotates.For example, if the touch-control range of pressure values rotated for controlling camera preset is 0.1N to 2N, if the touch-control force value detected is 0.2N, then can say that touch-control force value is mated with the touch-control force value rotated for controlling camera preset.If the touch-control force value detected is 3N, then can say that touch-control force value is not mated with the touch-control force value rotated for controlling camera preset.
If S204 judges that touch-control force value is mated with the touch-control force value rotated for controlling camera preset, determine the target pressure range of the touch-control force value of target touch control operation.
In the embodiment of the present invention, can preset pressure limit in the user terminal, wherein, the pressure difference value in pressure limit can set as required, and this difference also can be that user terminal sets according to the history setting recording of user.For example, if pressure limit is 0.1N to 0.5N; Then its pressure difference value is 0.4N.If pressure limit is 0.5N to 1N; Then its pressure difference value is 0.5N.
In the embodiment of the present invention, the pressure limit set in user terminal can comprise at least one, and pressure difference value corresponding to each pressure limit can be identical, also can not be identical.For example, the pressure limit as set at user terminal comprises 0.1N to 0.3N, 0.3N to 0.5N, 0.5N to 0.7N, then mean and set three pressure limits in this user terminal, and pressure difference value corresponding to each pressure limit is identical, is 0.2N.
In the embodiment of the present invention, when judging that touch-control force value is mated with the touch-control force value rotated for controlling camera preset, then illustrate that touch-control force value just falls and sets in the user terminal some for controlling the touch-control range of pressure values that camera rotates, then user terminal can determine the target pressure range of the touch-control force value of target touch control operation.
S205, mapping relations according to preset pressure scope and rotation parameter, determine the rotation parameter matched with target pressure range.
In the embodiment of the present invention, rotation parameter comprises at least one item in direction of rotation and the anglec of rotation.
In the embodiment of the present invention, can preset the mapping relations of pressure limit and rotation parameter in the user terminal, in these mapping relations, each pressure limit corresponds to (one group) mapping relations.For example, when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and direction of rotation is first direction; When pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and the anglec of rotation is second direction; When pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree, and the anglec of rotation is second direction.Wherein, first direction and second direction are just the opposite both direction.
In the embodiment of the present invention, the setting for direction of rotation also can corresponding pressure threshold value in the user terminal, also, when the touch-control force value detected is greater than preset pressure threshold value, its correspondence be first direction; When the touch-control force value detected is less than default pressure threshold, its correspondence be second direction.
In the embodiment of the present invention, according to the mapping relations of preset pressure scope and rotation parameter, determine the rotation parameter matched with target pressure range.For example, when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and direction of rotation is first direction; When pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and the anglec of rotation is second direction; When pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree, and the anglec of rotation is second direction.Wherein, first direction and second direction are just the opposite both direction.If detect, touch-control force value is 0.4N, then the pressure limit of its correspondence is 0.3N to 0.5N, then can control camera take second direction as direction of rotation, rotates 15 degree.
As the optional execution mode of one, when touch parameter comprises touch-control force value and target touch-control direction, then control camera according to target touch parameter to rotate, comprise: according to the mapping relations of preset pressure value and the anglec of rotation, determine the target anglec of rotation that touch-control force value is corresponding, and according to the touch-control direction of presetting and the mapping relations of direction of rotation, determine and the direction of rotation that target touch-control direction matches, and control camera along the direction of rotation rolling target anglec of rotation.
In the embodiment of the present invention, can preset the mapping relations of force value and the anglec of rotation in the user terminal, also, different force value corresponds to the different anglecs of rotation.For example, when force value is 0.1N, then the corresponding anglec of rotation is 5 degree, and when force value is 0.2N, the anglec of rotation of its correspondence is 8 degree.
In the embodiment of the present invention, the mapping relations presetting force value and the anglec of rotation in user terminal also can comprise the mapping relations of range of pressure values and the anglec of rotation, and also namely different pressures value scope corresponds to the different anglecs of rotation.As: when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and when pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and when pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree.
In the embodiment of the present invention, direction of rotation is mainly determined according to the mapping relations of the touch-control direction of presetting and direction of rotation.For example, when touch-control direction is first direction, the direction of rotation that camera is corresponding is first direction; When touch-control direction is second direction, the direction of rotation that camera is corresponding is second direction.Wherein, first direction and second direction are relative direction.
In the embodiment of the present invention, when after the touch-control force value determining touch control operation, then according to the mapping relations of preset pressure value and the anglec of rotation, then can determine the target anglec of rotation that touch-control force value is corresponding, and according to the touch-control direction of presetting and the mapping relations of direction of rotation, determine and the direction of rotation that target touch-control direction matches, and control camera along the direction of rotation rolling target anglec of rotation.
S206, according to rotation parameter control camera rotate.
In the embodiment of the present invention, after determining rotation parameter, then can control camera according to rotation parameter and rotate.For example, be 15 degree when the rotation parameter determined is the anglec of rotation, when direction of rotation is first direction, then can control camera with the first direction of rotation for direction of rotation rotates 15 degree.
As the optional execution mode of one, step after can also performing:
31) facial image of target reference object is obtained;
32) detect whether facial image is legal image according to the detected rule preset;
33) if detecting facial image according to the detected rule preset is legal image, then control user terminal and target reference object is taken.
In the embodiment of the present invention, the facial image of target reference object mainly comprises preview image, also, and the image collected before shooting.
In the embodiment of the present invention, detected rule can be that user sets as required.
In the embodiment of the present invention, detected rule can comprise and detecting according to the integrality of facial image; Also can comprise and detecting according to the integrality of human body formal structure; The present invention is not construed as limiting.
In the embodiment of the present invention, after the facial image obtaining target reference object; Then can detect whether facial image is legal image according to the detected rule preset; If detecting facial image according to the detected rule preset is legal image, then can controls user terminal and target reference object is taken.
In the embodiment of the present invention, if detecting facial image according to the detected rule preset is not legal image, then determine straight line formed by the iris central point of target reference object and the central point of camera; Determine the target angle of the vertical line of this straight line and camera; Control camera according to target angle to rotate, and after camera rotates stopping, target reference object is taken.For example, when detected rule comprises complete facial image, due under normal condition, there are two eyes, a face, a nose, if only comprise eyes in the facial image detected, then illustrate that this facial image is illegal image, then can determine straight line formed by the iris central point got of target reference object and the central point of camera; Determine the target angle of the vertical line of this straight line and camera again.
In the embodiment of the present invention, can preset an angle threshold value in the user terminal, wherein, this angle threshold value can be need to set according to user; Can also be that user terminal sets according to the history setting recording of user; Can also be that user terminal obtains moderate angle threshold from the large database concept prestored; The present invention is not construed as limiting.
Particularly, behind the target angle of vertical line determining straight line and camera, then can detect target angle and whether be greater than default angle threshold value.If detect target angle to be less than or equal to default angle threshold value, then can control user terminal and destination object is taken.If detect target angle to be greater than default angle threshold value, then can control camera according to target angle and rotate, and after camera rotates stopping, target reference object be taken.
In fig. 2, describing user terminal in detail can be different according to the touch parameter obtained, and controls camera and rotate according to different parameters.As can be seen here, in embodiments of the present invention, when needs control camera rotation, also manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
In the embodiment of the present invention, Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention, for performing above-mentioned camera control method.Wherein, user terminal shown in Fig. 3 can include but not limited to the user terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 3, this user terminal can comprise: the first detecting unit 301, first acquiring unit 302, judging unit 303 and the first control unit 304, wherein,
Whether the first detecting unit 301, there is target touch control operation for detecting touch-screen.
In the embodiment of the present invention, target touch control operation can be divided into dissimilar touch control operation according to different mode classifications.For example, touch control operation can be divided into clicking operation and slide according to the length of touch-control time.Wherein, clicking operation mainly comprises the touch control operation that touch-control duration is less than preset time threshold, and slide then mainly comprises the touch control operation that touch-control duration is greater than preset time threshold.The setting of time threshold can user set as required, as 1 second, 2 seconds, 3 seconds etc.Again for example, according to the touch-control force value of touch control operation touch control operation can be divided into touch operation and heavily touch operation.Wherein, touch operation and mainly comprise the touch control operation that touch-control force value is less than preset pressure threshold value; Heavily tactile operation mainly comprises the touch control operation that touch-control force value is greater than preset pressure threshold value.The setting of pressure threshold also can be that user sets, as required as 0.1N, 0.2N, 0.3N etc.
In the embodiment of the present invention, when detection user terminal starts camera application, then the first detecting unit 301 can detect touch-screen whether target touch control operation occurs.
First acquiring unit 302, if detect touch-screen for the first detecting unit 301 described target touch control operation occurs, obtains the target touch parameter of target touch control operation.
In the embodiment of the present invention, if when the first detecting unit 301 detects touch-screen generation target touch control operation, the first acquiring unit 302 can obtain the target touch parameter of this target touch control operation.Wherein, this target touch parameter is except comprising touch-control force value and touch-control direction, can also comprise at least one in the trigger position (as pointed the position contacted with touch-screen) of this target touch control operation, touch-control duration and touch trajectory etc., the embodiment of the present invention is not construed as limiting.
Particularly, on the touchscreen target touch control operation occurs when the first detecting unit 301 detects, then the first acquiring unit 302 can obtain the target touch parameter of target touch control operation.
Judging unit 303, for judging whether target touch parameter mates with the touch parameter rotated for controlling camera preset.
In the embodiment of the present invention, the touch parameter rotated for controlling camera can be preset in the user terminal.Wherein, this touch parameter rotated for controlling camera preset can be that user sets as required; This touch parameter rotated for controlling camera preset also can be that user terminal sets according to the history setting recording of user; The present invention is not construed as limiting.
As the optional execution mode of one, when the touch parameter rotated for controlling camera preset comprises touch-control force value, then setting this touch parameter can comprise the following steps:
11) the touch-control force value of history touch control operation in user terminal is obtained;
12) mean value of the touch-control force value of above-mentioned history touch control operation in preset time period is determined;
13) according to the touch-control force value that the touch-control design of pressure being used for controlling camera rotation extremely matches with above-mentioned mean value by the setting rule preset.
In the embodiment of the present invention, touch-control design of pressure can be obtained moderate, also, the force value that the touch-control force value inputting touch control operation according to user matches.
In the embodiment of the present invention, after the first acquiring unit 302 obtains the target touch parameter of target touch control operation, then judging unit 303 can judge whether the target touch parameter got mates with the touch parameter rotated for controlling camera preset.For example, when target touch parameter comprises touch-control force value, then detect the target touch-control force value got and whether drop on the range of pressure values rotated for controlling camera.
First control unit 304, if judge that target touch parameter mates with the touch parameter rotated for controlling camera preset for judging unit 303, then controls camera according to target touch parameter and rotates.
In the embodiment of the present invention, judging unit 303 judges that target touch parameter and the touch parameter rotated for controlling camera preset mates to comprise and judges target touch parameter and default whether consistent for controlling the touch parameter that camera rotates.For example, when the touch parameter rotated for controlling camera preset comprises touch-control force value, if when the touch-control force value rotated for controlling camera is 0.5N, the touch-control force value got if detect also for 0.5N, then can say that target touch parameter is consistent with for controlling the touch-control force value that camera rotates.
In the embodiment of the present invention, the first control unit 304 controls described camera according to target touch parameter and rotates, mainly according to the rotation parameter of target touch parameter determination camera.Wherein, rotation parameter comprises at least one in rotation angle value and direction.
In the embodiment of the present invention, the first control unit 304 can be the mapping relations according to the touch parameter preset and rotation parameter according to the rotation of target touch parameter control camera, controls camera rotation.
In the embodiment of the present invention, if judging unit 303 judges that target touch parameter mates with the touch parameter rotated for controlling camera preset, then can control camera according to target touch parameter and rotate.
In figure 3, first the first detecting unit 301 detects touch-screen whether target touch control operation occurs; If the first detecting unit 301 detects touch-screen generation target touch control operation, the first acquiring unit 302 obtains the target touch parameter of target touch control operation; Judging unit 303 judges whether target touch parameter mates with the touch parameter rotated for controlling camera preset again; If judging unit 303 judges that target touch parameter mates with the touch parameter rotated for controlling camera preset, then the first control unit 304 finally controls camera rotation according to target touch parameter.In embodiments of the present invention, when needs control camera rotation, manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
Refer to Fig. 4, Fig. 4 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention, for performing above-mentioned camera control method.Wherein, Fig. 4 obtains at the enterprising step refining in the basis of Fig. 3, except comprising all unit shown in Fig. 3, can also comprise: second acquisition unit 305, second detecting unit 306, second control unit 307, first determining unit 308 and the second determining unit 309, wherein
Second acquisition unit 305, for obtaining the facial image of target reference object.
According to the detected rule preset, second detecting unit 306, for detecting whether facial image is legal image.
Second control unit 307, if detecting facial image for the second detecting unit 306 according to the detected rule preset is legal image, then controls user terminal and takes target reference object.
First determining unit 308, if detecting facial image for the second detecting unit 306 according to the detected rule preset is not legal image, then determines straight line formed by the iris central point of target reference object and the central point of camera.
Second determining unit 309, for determining the target angle of the vertical line of straight line and camera.
In the embodiment of the present invention, the facial image of target reference object mainly comprises preview image, also, and the image collected before shooting.
In the embodiment of the present invention, detected rule can be that user sets as required.
In the embodiment of the present invention, detected rule can comprise and detecting according to the integrality of facial image; Also can comprise and detecting according to the integrality of human body formal structure; The present invention is not construed as limiting.
In the embodiment of the present invention, after second acquisition unit 305 obtains the facial image of target reference object; Then according to the detected rule preset, the second detecting unit 306 can detect whether facial image is legal image; If it is legal image that the second detecting unit 306 detects facial image according to the detected rule preset, then the second control unit 307 can control user terminal and takes target reference object.
In the embodiment of the present invention, if it is not legal image that the second detecting unit 306 detects facial image according to the detected rule preset, then the first determining unit 308 determines straight line formed by the iris central point of target reference object and the central point of camera; Second determining unit 309 determines the target angle of the vertical line of this straight line and camera; Second control unit 307 controls camera according to target angle and rotates, and after camera rotates stopping, taking target reference object.For example, when the second detecting unit 306 detected rule comprises complete facial image, due under normal condition, there are two eyes, a face, a nose, if only comprise eyes in the facial image detected, then illustrate that this facial image is illegal image, then the first determining unit 308 can determine straight line formed by the iris central point got of target reference object and the central point of camera; Second determining unit 309 determines the target angle of the vertical line of this straight line and camera again.
In the embodiment of the present invention, can preset an angle threshold value in the user terminal, wherein, this angle threshold value can be need to set according to user; Can also be that user terminal sets according to the history setting recording of user; Can also be that user terminal obtains moderate angle threshold from the large database concept prestored; The present invention is not construed as limiting.
Particularly, after the second determining unit 309 determines the target angle of the vertical line of straight line and camera, then can detect target angle and whether be greater than default angle threshold value.If detect target angle to be less than or equal to default angle threshold value, then the second control unit 307 can control user terminal and takes destination object.If detect target angle to be greater than default angle threshold value, then the second control unit 307 can control camera according to target angle and rotates, and after camera rotates and stops, taking target reference object.
As the optional execution mode of one, when touch parameter comprises touch-control force value and target touch-control direction, then the first control unit 304 comprises: the first determination module 3040, second determination module 3041 and the first control module 3042, wherein,
First determination module 3040, for the mapping relations according to preset pressure value and the anglec of rotation, determines the target anglec of rotation that touch-control force value is corresponding;
Second determination module 3041, for the mapping relations according to the touch-control direction of presetting and direction of rotation, obtains the direction of rotation matched with target touch-control direction;
First control module 3042, for controlling camera along the direction of rotation rolling target anglec of rotation.
In the embodiment of the present invention, can preset the mapping relations of force value and the anglec of rotation in the user terminal, also, different force value corresponds to the different anglecs of rotation.For example, when force value is 0.1N, then the corresponding anglec of rotation is 5 degree, and when force value is 0.2N, the anglec of rotation of its correspondence is 8 degree.
In the embodiment of the present invention, the mapping relations presetting force value and the anglec of rotation in user terminal also can comprise the mapping relations of range of pressure values and the anglec of rotation, and also namely different pressures value scope corresponds to the different anglecs of rotation.As: when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and when pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and when pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree.
In the embodiment of the present invention, direction of rotation is mainly determined according to the mapping relations of the touch-control direction of presetting and direction of rotation.For example, when touch-control direction is first direction, the direction of rotation that camera is corresponding is first direction; When touch-control direction is second direction, the direction of rotation that camera is corresponding is second direction.Wherein, first direction and second direction are relative direction.
In the embodiment of the present invention, after the first determination module 3040 determines the touch-control force value of touch control operation, then control module 3041 is according to the mapping relations of preset pressure value and the anglec of rotation, then can determine the target anglec of rotation that touch-control force value is corresponding; Second determination module 3041 is according to the touch-control direction of presetting and the mapping relations of direction of rotation, and determine and the direction of rotation that target touch-control direction matches, the first control module 3042 controls camera along the direction of rotation rolling target anglec of rotation.
As another optional execution mode, when touch parameter comprises the touch-control force value of touch control operation, the first control unit 304 comprises:
3rd determination module 3043, for determining the target pressure range of the touch-control force value of target touch control operation;
4th determination module 3044, for the mapping relations according to preset pressure scope and rotation parameter, determines the rotation parameter matched with target pressure range;
Second control module 3045, rotates for controlling camera according to rotation parameter.
In the embodiment of the present invention, touch-control force value mainly comprises the force value of the pressing touch-screen that user terminal receives.During due to each touch-control, touch-control time sample different in size, and in touch-control process, have the change of force value.Therefore, can arrange, first force value touched is above-mentioned touch-control force value, also can be that the maximum force value that detects in touch-control process is as above-mentioned touch-control force value; The present invention is not construed as limiting.
In the embodiment of the present invention, if when the first detecting unit 301 detects touch-screen generation target touch control operation, the first acquiring unit 302 obtains the touch-control force value of target touch control operation.
In the embodiment of the present invention, the touch-control force value rotated for controlling camera can be preset in the user terminal.Wherein, this touch-control force value being used for controlling camera rotation can be that user sets as required; Also can be that user terminal sets according to the history setting recording of user; Can also be that user terminal sets according to the mean value of user's history touch-control force value; The present invention is not construed as limiting.
In the embodiment of the present invention, judging unit 303 judges whether touch-control force value and the touch-control force value rotated for controlling camera preset mate and mainly comprises that to judge whether touch-control force value drops on default for controlling the touch-control range of pressure values that camera rotates.For example, if the touch-control range of pressure values rotated for controlling camera preset is 0.1N to 2N, if the touch-control force value detected is 0.2N, then can say that touch-control force value is mated with the touch-control force value rotated for controlling camera preset.If the touch-control force value detected is 3N, then can say that touch-control force value is not mated with the touch-control force value rotated for controlling camera preset.
In the embodiment of the present invention, can preset pressure limit in the user terminal, wherein, the pressure difference value in pressure limit can set as required, and this difference also can be that user terminal sets according to the history setting recording of user.For example, if pressure limit is 0.1N to 0.5N; Then its pressure difference value is 0.4N.If pressure limit is 0.5N to 1N; Then its pressure difference value is 0.5N.
In the embodiment of the present invention, the pressure limit set in user terminal can comprise at least one, and pressure difference value corresponding to each pressure limit can be identical, also can not be identical.For example, the pressure limit as set at user terminal comprises 0.1N to 0.3N, 0.3N to 0.5N, 0.5N to 0.7N, then mean and set three pressure limits in this user terminal, and pressure difference value corresponding to each pressure limit is identical, is 0.2N.
In the embodiment of the present invention, when judging unit 303 judges that touch-control force value is mated with the touch-control force value rotated for controlling camera preset, then illustrate that touch-control force value just falls and sets in the user terminal some for controlling the touch-control range of pressure values that camera rotates, then user terminal can determine the target pressure range of the touch-control force value of target touch control operation.
In the embodiment of the present invention, rotation parameter comprises at least one item in direction of rotation and the anglec of rotation.
In the embodiment of the present invention, can preset the mapping relations of pressure limit and rotation parameter in the user terminal, in these mapping relations, each pressure limit corresponds to (one group) mapping relations.For example, when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and direction of rotation is first direction; When pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and the anglec of rotation is second direction; When pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree, and the anglec of rotation is second direction.Wherein, first direction and second direction are just the opposite both direction.
In the embodiment of the present invention, the setting for direction of rotation also can corresponding pressure threshold value in the user terminal, also, when the touch-control force value detected is greater than preset pressure threshold value, its correspondence be first direction; When the touch-control force value detected is less than default pressure threshold, its correspondence be second direction.
In the embodiment of the present invention, according to the mapping relations of preset pressure scope and rotation parameter, determine the rotation parameter matched with target pressure range.For example, when pressure limit is 0.1N to 0.3N, the corresponding anglec of rotation is 10 degree, and direction of rotation is first direction; When pressure limit is 0.3N to 0.5N, the corresponding anglec of rotation is 15 degree, and the anglec of rotation is second direction; When pressure limit is 0.5N to 0.7N, the corresponding anglec of rotation is 16 degree, and the anglec of rotation is second direction.Wherein, first direction and second direction are just the opposite both direction.If detect, touch-control force value is 0.4N, then the pressure limit of its correspondence is 0.3N to 0.5N, then can control camera take second direction as direction of rotation, rotates 15 degree.
In the diagram, describe in detail when touch parameter is different, then final adjustment result is different.And the first control unit 304 is still and rotates according to different touch parameters.As can be seen here, in embodiments of the present invention, when needs control camera rotation, also manually go to control camera without the need to user and rotate, and only need can control camera rotation by the touch-screen of touch-control user terminal, and user terminal can adjust according to touch parameter.Thus can regulate camera easily.
Refer to Fig. 5, Fig. 5 is the structural representation of the embodiment of the present invention another user terminal disclosed, for performing above-mentioned camera control method.Wherein, as shown in Figure 5, this user terminal 500 can comprise: at least one processor 501, at least one pressure sensor 502, at least one user interface 503, assembly such as memory 504 grade.Wherein, these assemblies are communicated to connect by one or more bus 505.It will be appreciated by those skilled in the art that, the structure of the user terminal shown in Fig. 5 does not form the restriction to the embodiment of the present invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.Wherein:
Processor 501 is the control centre of user terminal, utilize the various piece of various interface and the whole user terminal of connection, by running or perform the program in memory 504 of being stored in and/or module, and call the data be stored in memory 504, to perform various function and the deal with data of user terminal.Processor 501 by integrated circuit (IntegratedCircuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor 501 can only comprise central processing unit (CentralProcessingUnit, be called for short CPU), also can be CPU, digital signal processor (digitalsignalprocessor, be called for short DSP), the combination of graphic process unit (GraphicProcessingUnit, be called for short GPU) and various control chip.In embodiments of the present invention, CPU can be single arithmetic core, also can comprise multioperation core.
Pressure sensor 502 is for obtaining the force value of the contact action for user terminal screen.
User interface 503 can comprise display screen (Display), keyboard (Keyboard) etc., and wherein, in the embodiment of the present invention, display screen is touch-screen, is undertaken alternately by contact action and user terminal for facilitating user.
Memory 504 can be used for storing software program and module, processor 501, pressure sensor 502 and user interface 503 are stored in software program in memory 504 and module by calling, thus perform the various functions application of user terminal and realize data processing.Memory 504 mainly comprises program storage area and data storage area, and wherein, program storage area can storage operation system, application program etc. needed at least one function; Data storage area can store the data etc. created according to the use of user terminal.In embodiments of the present invention, operating system can be android system, iOS system or Windows operating system etc.
Particularly, processor 501 calls the application program be stored in memory 504, for performing following operation:
Detect touch-screen and whether target touch control operation occurs;
If detect touch-screen generation target touch control operation, obtain the target touch parameter of target touch control operation;
Judge whether target touch parameter mates with the touch parameter rotated for controlling camera preset;
If judge, target touch parameter mates with the touch parameter rotated for controlling camera preset, then control camera according to target touch parameter and rotate.
In the present invention, touch parameter comprises at least one in touch-control force value and target touch-control direction.
In the present invention, processor 501 calls the application program be stored in memory 504, performs the target touch parameter obtaining target touch control operation, comprising:
Obtain the touch-control force value of target touch control operation, and obtain the target touch-control direction of target touch control operation;
Wherein, control camera according to target touch parameter and rotate, comprising:
According to the mapping relations of preset pressure value and the anglec of rotation, determine the target anglec of rotation that touch-control force value is corresponding, and according to the touch-control direction of presetting and the mapping relations of direction of rotation, determine and the direction of rotation that target touch-control direction matches, and control camera along the direction of rotation rolling target anglec of rotation.
In the present invention, processor 501 calls the application program be stored in memory 504, performs the target touch parameter obtaining target touch control operation, comprising:
Obtain the touch-control force value of target touch control operation;
Wherein, control camera according to target touch parameter and rotate, comprising:
Determine the target pressure range of the touch-control force value of target touch control operation;
According to the mapping relations of preset pressure scope and rotation parameter, determine the rotation parameter matched with target pressure range;
Control camera according to rotation parameter to rotate.
In the present invention, processor 501 calls the application program be stored in memory 504, also for performing following steps:
Obtain the facial image of target reference object;
Detect whether facial image is legal image according to the detected rule preset;
If detecting facial image according to the detected rule preset is legal image, then controls user terminal and target reference object is taken.
In the present invention, processor 501 calls the application program be stored in memory 504, also for performing following steps:
If detecting facial image according to the detected rule preset is not legal image, then determine straight line formed by the iris central point of target reference object and the central point of camera;
Determine the target angle of the vertical line of straight line and camera;
Control camera according to target angle to rotate, and after camera rotates stopping, target reference object is taken.
Part or all of flow process in the camera control method embodiment that in the present invention, the terminal introduced in the embodiment of the present invention can implement composition graphs 1 of the present invention, Fig. 2 introduces.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (12)

1. a camera control method, is characterized in that, comprising:
Detect touch-screen and whether target touch control operation occurs;
If detect described touch-screen described target touch control operation occurs, obtain the target touch parameter of described target touch control operation;
Judge whether described target touch parameter mates with the touch parameter rotated for controlling camera preset;
If judge, described target touch parameter mates with the described default touch parameter rotated for controlling camera, then control described camera according to described target touch parameter and rotate.
2. method according to claim 1, is characterized in that, described touch parameter comprises at least one in touch-control force value and target touch-control direction.
3. method according to claim 2, is characterized in that, the target touch parameter of the described target touch control operation of described acquisition, comprising:
Obtain the touch-control force value of described target touch control operation, and obtain the target touch-control direction of described target touch control operation;
Wherein, described according to described target touch parameter control described camera rotate, comprising:
According to the mapping relations of preset pressure value and the anglec of rotation, determine the target anglec of rotation that described touch-control force value is corresponding, and according to the touch-control direction of presetting and the mapping relations of direction of rotation, determine and the direction of rotation that described target touch-control direction matches, and control described camera and rotate the described target anglec of rotation along described direction of rotation.
4. method according to claim 2, is characterized in that, the target touch parameter of the described target touch control operation of described acquisition, comprising:
Obtain the touch-control force value of described target touch control operation;
Wherein, described according to described target touch parameter control described camera rotate, comprising:
Determine the target pressure range of the touch-control force value of described target touch control operation;
According to the mapping relations of preset pressure scope and rotation parameter, determine and the rotation parameter that described target pressure range matches;
Control described camera according to described rotation parameter to rotate.
5. according to the method in Claims 1 to 4 described in any one, it is characterized in that, described method also comprises:
Obtain the facial image of target reference object;
Whether detect described facial image according to the detected rule preset is legal image;
If detecting described facial image according to the detected rule preset is described legal image, then controls user terminal and described target reference object is taken.
6. method according to claim 5, is characterized in that, described method also comprises:
If detecting described facial image according to the detected rule preset not is described legal image, then determine straight line formed by the iris central point of described target reference object and the central point of described camera;
Determine the target angle of the vertical line of described straight line and described camera;
Control described camera according to described target angle to rotate, and after described camera rotates stopping, described target reference object is taken.
7. a user terminal, is characterized in that, comprising:
Whether the first detecting unit, there is target touch control operation for detecting touch-screen;
First acquiring unit, if detect described touch-screen for described first detecting unit described target touch control operation occurs, obtains the target touch parameter of described target touch control operation;
Judging unit, for judging whether described target touch parameter mates with the touch parameter rotated for controlling camera preset;
First control unit, if judge that described target touch parameter mates with the described default touch parameter rotated for controlling camera for described judging unit, then controls described camera according to described target touch parameter and rotates.
8. user terminal according to claim 7, is characterized in that, described touch parameter comprises at least one in touch-control force value and target touch-control direction.
9. user terminal according to claim 8, is characterized in that, described first acquiring unit specifically for obtaining the touch-control force value of described target touch control operation, and obtains the target touch-control direction of described target touch control operation;
Wherein, described first control unit comprises:
First determination module, for the mapping relations according to preset pressure value and the anglec of rotation, determines the target anglec of rotation that described touch-control force value is corresponding;
Second determination module, for the mapping relations according to the touch-control direction of presetting and direction of rotation, obtains the direction of rotation matched with described target touch-control direction;
First control module, rotates the described target anglec of rotation for controlling described camera along described direction of rotation.
10. user terminal according to claim 8, is characterized in that, described first acquiring unit is specifically for obtaining the touch-control force value of described target touch control operation;
Wherein, described first control unit comprises:
3rd determination module, for determining the target pressure range of the touch-control force value of described target touch control operation;
4th determination module, for the mapping relations according to preset pressure scope and rotation parameter, determines and the rotation parameter that described target pressure range matches;
Second control module, rotates for controlling described camera according to described rotation parameter.
11., according to the user terminal in claim 7 ~ 10 described in any one, is characterized in that, described user terminal also comprises:
Second acquisition unit, for obtaining the facial image of target reference object;
Whether the second detecting unit is legal image for detecting described facial image according to the detected rule preset;
Second control unit, if detecting described facial image for described second detecting unit according to the detected rule preset is described legal image, then controls user terminal and takes described target reference object.
12. user terminals according to claim 11, is characterized in that, described user terminal also comprises:
First determining unit, if detecting described facial image for described second detecting unit according to the detected rule preset not is described legal image, then determines straight line formed by the iris central point of described target reference object and the central point of described camera;
Second determining unit, for determining the target angle of the vertical line of described straight line and described camera;
Described second control unit also rotates for controlling described camera according to described target angle, and after described camera rotates stopping, taking described target reference object.
CN201510535633.7A 2015-08-27 2015-08-27 A kind of camera shooting head adjusting method and user terminal Expired - Fee Related CN105049732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510535633.7A CN105049732B (en) 2015-08-27 2015-08-27 A kind of camera shooting head adjusting method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510535633.7A CN105049732B (en) 2015-08-27 2015-08-27 A kind of camera shooting head adjusting method and user terminal

Publications (2)

Publication Number Publication Date
CN105049732A true CN105049732A (en) 2015-11-11
CN105049732B CN105049732B (en) 2018-05-29

Family

ID=54455897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510535633.7A Expired - Fee Related CN105049732B (en) 2015-08-27 2015-08-27 A kind of camera shooting head adjusting method and user terminal

Country Status (1)

Country Link
CN (1) CN105049732B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528157A (en) * 2015-12-10 2016-04-27 广东欧珀移动通信有限公司 Multimedia content management method and user terminal
CN106886742A (en) * 2015-12-16 2017-06-23 东莞市中控电子技术有限公司 A kind of method for collecting iris and iris collection device
WO2018018378A1 (en) * 2016-07-25 2018-02-01 深圳市大疆创新科技有限公司 Method, device and system for controlling movement of moving object
CN107682634A (en) * 2017-10-18 2018-02-09 维沃移动通信有限公司 A kind of facial image acquisition methods and mobile terminal
CN108200327A (en) * 2017-11-29 2018-06-22 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium
CN108696734A (en) * 2017-03-01 2018-10-23 中兴通讯股份有限公司 A kind of filming apparatus and its working method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739546A (en) * 2008-11-05 2010-06-16 沈阳工业大学 Image cross reconstruction-based single-sample registered image face recognition method
CN103488980A (en) * 2013-10-10 2014-01-01 广东小天才科技有限公司 Sitting posture judging method and device based on camera
CN103916579A (en) * 2012-12-30 2014-07-09 联想(北京)有限公司 Image capturing method, apparatus, and electronic equipment
CN103941991A (en) * 2013-01-21 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN104427244A (en) * 2013-08-21 2015-03-18 佳能株式会社 Imaging apparatus and imaging method
CN104573704A (en) * 2013-10-09 2015-04-29 爱信精机株式会社 Eye part detection apparatus and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739546A (en) * 2008-11-05 2010-06-16 沈阳工业大学 Image cross reconstruction-based single-sample registered image face recognition method
CN103916579A (en) * 2012-12-30 2014-07-09 联想(北京)有限公司 Image capturing method, apparatus, and electronic equipment
CN103941991A (en) * 2013-01-21 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN104427244A (en) * 2013-08-21 2015-03-18 佳能株式会社 Imaging apparatus and imaging method
CN104573704A (en) * 2013-10-09 2015-04-29 爱信精机株式会社 Eye part detection apparatus and method
CN103488980A (en) * 2013-10-10 2014-01-01 广东小天才科技有限公司 Sitting posture judging method and device based on camera

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528157A (en) * 2015-12-10 2016-04-27 广东欧珀移动通信有限公司 Multimedia content management method and user terminal
CN105528157B (en) * 2015-12-10 2019-10-25 Oppo广东移动通信有限公司 A kind of multimedia content management method and user terminal
CN106886742A (en) * 2015-12-16 2017-06-23 东莞市中控电子技术有限公司 A kind of method for collecting iris and iris collection device
WO2018018378A1 (en) * 2016-07-25 2018-02-01 深圳市大疆创新科技有限公司 Method, device and system for controlling movement of moving object
US10969946B2 (en) 2016-07-25 2021-04-06 SZ DJI Technology Co., Ltd. Methods, devices, and systems for controlling movement of a moving object
CN108696734A (en) * 2017-03-01 2018-10-23 中兴通讯股份有限公司 A kind of filming apparatus and its working method
CN108696734B (en) * 2017-03-01 2021-10-12 中兴通讯股份有限公司 Shooting device and working method thereof
CN107682634A (en) * 2017-10-18 2018-02-09 维沃移动通信有限公司 A kind of facial image acquisition methods and mobile terminal
CN108200327A (en) * 2017-11-29 2018-06-22 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium
CN108200327B (en) * 2017-11-29 2020-09-15 努比亚技术有限公司 Shooting control method, flexible screen terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN105049732B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN105049732A (en) Camera adjusting method and user terminal
US10423322B2 (en) Method for viewing message and terminal
EP3745303B1 (en) Implementation of biometric authentication with error condition detection and display of an error indication
CN105045517A (en) Flashlight adjusting method and user terminal
CN104360734A (en) Terminal operating method
CN105227759A (en) A kind of call recording method and user terminal
CN105224216A (en) A kind of user terminal control method and user terminal
KR102108695B1 (en) Method and device for identity authentication
CN105718778A (en) Terminal interface control method and terminal
CN107239166A (en) It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN105118019A (en) Image processing method and user terminal
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN104809402A (en) Fuzzy display method for information and terminal
CN104318186A (en) Code switching method, equipment and terminal
CN105204759A (en) Picture processing method and electronic terminal
CN105930076A (en) Mobile communication terminal and method thereof for hiding selected object
CN104360802A (en) Terminal
CN103761041A (en) Information processing method and electronic device
CN105246057A (en) Short message processing method and user terminal
CN105183362A (en) Input method and terminal
CN105426095A (en) Method and apparatus for turning on imaging function of mobile terminal in screen-off state
CN103809841A (en) Data processing method and electronic equipment
CN105653131A (en) Application search method and terminal
CN106325710A (en) Mobile terminal control method and device, and mobile terminal
CN105511795B (en) A kind of method and mobile terminal of operating user interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180529