CN104238669B - A kind of method, device and mobile terminal for controlling mobile terminal camera rotation - Google Patents
A kind of method, device and mobile terminal for controlling mobile terminal camera rotation Download PDFInfo
- Publication number
- CN104238669B CN104238669B CN201410449198.1A CN201410449198A CN104238669B CN 104238669 B CN104238669 B CN 104238669B CN 201410449198 A CN201410449198 A CN 201410449198A CN 104238669 B CN104238669 B CN 104238669B
- Authority
- CN
- China
- Prior art keywords
- camera
- control
- rotation
- control model
- 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.)
- Active
Links
Landscapes
- Studio Devices (AREA)
Abstract
The present invention is applied to electronic technology field, there is provided and a kind of method, device and mobile terminal for controlling mobile terminal camera rotation, methods described are applied to the mobile terminal that the back side sets contactor control device, including:After camera startup, camera control model is obtained;When camera control model is the first control model, according to sliding trace control camera rotation of the user's finger on contactor control device;When camera control model is the second control model, the camera is controlled to rotate by predetermined manner;When detecting in the image that camera currently collects comprising image is specified, then the camera is controlled to rotate to the position of object face corresponding with the specified image.On the one hand the above method realizes back touch control camera rotation, user cannot see that complete image on mobile phone screen or cause maloperation when solving the problems, such as to touch the screen of mobile phone by finger;On the other hand realize and camera rotation is automatically controlled by way of detecting specified object.
Description
Technical field
The invention belongs to electronic technology field, more particularly to a kind of method, apparatus for controlling mobile terminal camera rotation
And mobile terminal.
Background technology
At present, occurred the product of controllable camera rotation on mobile phone market, but the controlling party of this kind of product
Method is generally user and controlled manually.When user controls manually, because finger needs to touch the touch screen of mobile phone, often lead to
User cannot see that complete image shown on mobile phone screen, and easily cause some maloperations.On the other hand, at present also
Not over specified object to be shot and detect the orientation of object to be shot with realize automatically control the method for camera rotation with
Product.
The content of the invention
It is an object of the invention to provide it is a kind of control mobile terminal camera rotation method, device and mobile terminal,
By realize back touch control camera rotation and by detecting specified object in a manner of control camera to rotate.
The present invention is achieved in that a kind of method for controlling mobile terminal camera rotation, the back of the body of the mobile terminal
Face is provided with contactor control device;Methods described includes:
After camera startup, the camera control model of user's selection is obtained, the camera control model includes the
One control model and the second control model;
When the camera control model is the first control model, slip rail of the user on the contactor control device is obtained
Mark, the camera is controlled to rotate according to the sliding trace;
When the camera control model is the second control model, the camera is controlled to rotate by predetermined manner, and
The image that camera collects described in detection rotary course;Specified when detecting to include in the image that camera currently collects
During image, then the camera is controlled to rotate to the position of object face corresponding with the specified image.
Further, the sliding trace includes sliding distance, sliding time and activity direction;
It is described to control the camera rotation to include according to the sliding trace:
The angular velocity of rotation of the camera is calculated according to the sliding distance and sliding time;
The camera is controlled to be rotated according to the angular velocity of rotation along the glide direction.
Further, the angular velocity of rotation that the camera is calculated according to the sliding distance and sliding time
Formula is specially:
Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are user's hand to S
Refer to the sliding distance on the contactor control device, t is sliding time of the user's finger on the contactor control device, and H takes the photograph to be described
As the maximum angle rotatable of head, H' is that camera corresponding to sliding distance S' of the user's finger on the contactor control device rotates
Angle, V' are the angular velocity of rotation of camera.
Further, it is described when the camera control model is the second control model, as described in controlling predetermined manner
Camera rotates, and detects the image that camera described in rotary course collects;When detecting what camera currently collected
When in image comprising image is specified, then the camera is controlled to rotate to the position of object face corresponding with the specified image
Including:
When the camera control model is the second control model, the camera is controlled to be rotated with scheduled rate;
The image that camera collects described in detection rotary course;
When detect include people or animal painting in the image that camera currently collects when, according to the people or dynamic
People described in position acquisition of the object image in the image currently gathered or animal relative to the camera deviation angle and
Offset direction;
Control camera is controlled to be rotated along the offset direction according to the deviation angle, to cause postrotational camera
People described in face or animal.
Another aspect of the present invention, there is provided a kind of device for controlling mobile terminal camera rotation, described device include
Contactor control device, the contactor control device are located at the back side of the mobile terminal;Described device also includes:
Control model acquisition module, it is described for after camera starts, obtaining the camera control model of user's selection
Camera control model includes the first control model and the second control model;
First control module, for when the camera control model is the first control model, obtaining user described
Sliding trace on contactor control device, the camera is controlled to rotate according to the sliding trace;
Second control module, for when the camera control model is the second control model, being controlled by predetermined manner
The camera rotation, and detect the image that camera described in rotary course collects;When detecting that camera currently gathers
To image in comprising image is specified when, then control the camera to rotate to object face corresponding with the specified image
Position.
Further, the sliding trace includes sliding distance, sliding time and activity direction;
First control module also includes:
Computing unit, for calculating the angular velocity of rotation of the camera according to the sliding distance and sliding time,
First control unit, for controlling the camera to be rotated according to the angular velocity of rotation along the glide direction.
Further, the formula of the angular velocity of rotation that camera is calculated according to the sliding distance and sliding time
Specially:
Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are user's hand to S
Refer to the sliding distance on the contactor control device, t is sliding time of the user's finger on the contactor control device, and H takes the photograph to be described
As the maximum angle rotatable of head, H' is that camera corresponding to sliding distance S' of the user's finger on the contactor control device rotates
Angle, V' are the angular velocity of rotation of camera.
Further, second control module includes:
First control unit, for when the camera control model is the second control model, controlling the camera
Rotated with scheduled rate;
Detection unit, the image collected for detecting camera described in rotary course;
Acquiring unit, for when detect include people or animal painting in the image that camera currently collects when, root
According to the people either people or animal described in position acquisition of the animal painting in the image currently gathered relative to the shooting
The deviation angle of head and offset direction;
Second control unit, for controlling control camera to be rotated along the offset direction according to the deviation angle, with
So that people or animal described in postrotational camera face.
The third aspect of the present invention, there is provided a kind of mobile terminal, the mobile terminal include control as described above and moved
The device of dynamic terminal camera rotation.
Compared with prior art, the present invention is by setting a contactor control device at the back side of mobile terminal, and there is provided two
Kind camera control model, the camera control model include the first control model and the second control model;In the shooting
When head control model is the first control model, the shooting is controlled according to sliding trace of the user's finger on the contactor control device
Head rotation, it is achieved thereby that back touch control camera rotation, solves touch of the prior art due to finger touching mobile phone
The problem of screen causes user to cannot see that complete image shown on mobile phone screen and cause maloperation;In the shooting
When head control model is the second control model, the camera is controlled to rotate by predetermined manner, and detect described in rotary course
The image that camera collects;When detecting in the image that camera currently collects comprising image is specified, then described in control
Camera rotates to the position of object face corresponding with the specified image, it is achieved thereby that the side by detecting specified object
Formula control camera rotation, greatly improves experience sense during user's shooting.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings
Fig. 1 is the implementation process figure of the method for the control mobile terminal camera rotation that the embodiment of the present invention one provides;
Fig. 2 is the specific of step S102 in the method that the control mobile terminal camera that the embodiment of the present invention two provides rotates
Implementation process figure;
Fig. 3 is the composition structure chart of the device for the control mobile terminal camera rotation that the embodiment of the present invention three provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiments of the invention provide a kind of method for controlling mobile terminal camera rotation, pass through the back of the body in mobile terminal
Face sets a contactor control device, and is provided with two kinds of camera control models, and the camera control model includes the first control
Pattern and the second control model;When the camera control model is the first control model, touched according to user's finger described
The sliding trace control camera rotation on device is controlled, it is achieved thereby that back touch control camera rotation;In the shooting
When head control model is the second control model, the camera is controlled to rotate by predetermined manner, and detect described in rotary course
The image that camera collects;When detecting in the image that camera currently collects comprising image is specified, then described in control
Camera rotates to the position of object face corresponding with the specified image, it is achieved thereby that the side by detecting specified object
Formula automatically controls camera rotation, greatly improves experience sense during user's shooting;The embodiment of the present invention additionally provides accordingly
Control mobile terminal camera rotation device, be described in detail individually below.
Embodiment one
Fig. 1 shows the implementation process of the method for the control mobile terminal camera rotation that the embodiment of the present invention one provides.
In the present embodiment, methods described is applied to mobile terminal, and the mobile terminal includes but is not limited to mobile phone, flat board
The smart machines such as computer, ipad.The mobile terminal is internally provided with camera, the motor of control camera rotation, main control
Device and a contactor control device.Preferably, the contactor control device also includes a Trackpad, and the Trackpad is arranged on described mobile whole
The back side at end, that is, it is arranged on the another side opposite with the mobile terminal touch screen curtain.
In the present embodiment, the touch pad is a kind of on smooth Trackpad, is controlled using the slide of finger
The input unit of camera rotation processed.Touch pad makes the array of row and column with printed circuit;Printed panel and surface plastic materials overlay film
With strong double-face glue, it is capacitance sensing that it, which senses Cleaning Principle,.It can make capacitance when the finger of user is close to touch pad
Change, touch pad itself will detect that capacitance change, be converted into controlling the instruction of camera rotation.Touch pad is by electric capacity
Sense to know finger sliding condition, the heat to finger is simultaneously insensitive, and power consumption is few.
As shown in figure 1, methods described includes:
In step S101, after camera startup, the camera control model of user's selection is obtained.
The present embodiment is provided with a variety of camera control models, including the first control model and the second control model.Taking the photograph
After starting as head, alternative camera control model is shown to user in a manner of list, user is received and passes through such as point
The selection instruction that mode inputs such as hit, slide, to obtain the camera control model of user's selection.
In step s 102, when the camera control model is the first control model, user is obtained in the touch-control
Sliding trace on device, the camera is controlled to rotate according to the sliding trace.
After user have selected the first control model, first control model of the mobile terminal by entrance to camera.By institute
The back side that touch pad is arranged on mobile terminal is stated, therefore, user can hold mobile terminal and be touched by forefinger or middle finger etc.
The touch pad, the touch pad will sense the sliding trace of finger, and convert thereof into the instruction of control camera rotation
It is sent to motor so that revolution drives camera rotation, to realize back touch control camera rotation;Wherein, it is described
Sliding trace includes sliding distance, sliding time and the glide direction of finger.Because the touch pad is set in the present embodiment
In the back side of mobile terminal, thus can farthest front liberation mobile terminal touch screen, solve existing take the photograph
As head rotates control technology because finger touches the touch screen of mobile phone and shown by causing user to cannot see that on mobile phone screen
Complete image, and the problem of cause maloperation.
Control camera rotation in the back side will be described in detail in subsequent embodiment, not repeat herein.
In step S103, when the camera control model is the second control model, taken the photograph as described in controlling predetermined manner
As head rotation, and detect the image that camera described in rotary course collects;When the figure for detecting camera and currently collecting
When as in comprising image is specified, then the camera is controlled to rotate to the position of object face corresponding with the specified image.
In the present embodiment, after user have selected the second control model, mobile terminal will enter the second control model.Institute
State under control model, obtain the specified object of user's input first.The specified object be preferably personage, animal (including but not
It is limited to bird, dog, cat etc.).After the specified object of user's input is got, control camera is at the uniform velocity upper and lower with default angular speed
Or left rotation and right rotation.During rotation, the image that the camera collects is detected;When detecting that camera currently gathers
To image in include people or animal painting when, according to the position of the people or animal painting in the image currently gathered
Obtain the deviation angle and offset direction of the people or animal relative to the camera;Controlled further according to the deviation angle
Control camera rotates along the offset direction, to cause people or animal described in postrotational camera face.So as to realize
Camera rotation is automatically controlled by way of detecting specified object, user oneself need not remove control adjustment camera, only
Need by inputting simple instruction, it is possible to rotate to and refer to identifying etc. that mode automatically controls camera by image detection
The position that earnest body faces, experience sense during user's shooting is greatly improved.
Preferably, by step S103 automatically control camera rotation after, if user think control not accurate enough, this reality
Example is applied to additionally provide from the second control mode switch to the first control model to carry out the manual control of back touch.
Therefore, also include after the step S103:
The control mode switch instruction of user's input is responded, by camera control model from the second control mode switch to the
One control model, return to step S101, sliding trace of the user on the contactor control device is obtained, according to the sliding trace control
Make the camera rotation.
In embodiments of the present invention, by setting a contactor control device at the back side of mobile terminal, and there is provided two kinds to take the photograph
As head control model, including the first control model and the second control model;It is the first control mould in the camera control model
During formula, the camera is controlled to rotate according to sliding trace of the user's finger on the contactor control device, it is achieved thereby that the back side
Touch-control control camera rotation, solves prior art because the touch screen of finger touching mobile phone causes user to cannot see that hand
Shown complete image and the problem of cause maloperation on machine screen;It is the second control mould in the camera control model
During formula, the camera is controlled to rotate by predetermined manner, and detect the image that camera described in rotary course collects;Work as inspection
When measuring in the image that camera currently collects comprising image is specified, then the camera is controlled to rotate to and the specified figure
The position of object face as corresponding to, it is achieved thereby that automatically controlling camera rotation by way of detecting specified object, greatly
The big experience sense improved when user shoots.
Embodiment two
Fig. 2 shows step S102 in the method that the control mobile terminal camera that the embodiment of the present invention one provides rotates
Implement flow.
In the present embodiment, the glide direction of user's finger includes being slidable in the vertical direction and/or sliding in left-right direction.
As shown in Fig. 2 step S102 is specifically included:
In step s 201, under the first control model, obtain sliding distance of the user's finger on the contactor control device,
Sliding time and glide direction.
When user's finger is being slided on the touch pad of contactor control device, the capacitance on touch pad will be made to change, this
Embodiment senses and obtained sliding distance, sliding time of the finger on the touch pad by detecting the knots modification of capacitance
And glide direction.
In step S202, the angular velocity of rotation of the camera is calculated according to the sliding distance and sliding time.
Preferably, the public affairs of the angular velocity of rotation that the camera is calculated according to the sliding distance and sliding time
Formula is specially:
Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are user's hand to S
Refer to the sliding distance on the contactor control device, t is sliding time of the user's finger on the contactor control device, and H takes the photograph to be described
As the maximum angle rotatable of head, H' is that camera corresponding to sliding distance S' of the user's finger on the contactor control device rotates
Angle, V' are the angular velocity of rotation of camera.
User's finger on a touchpad slidable maximum length or width S and camera maximum angle rotatable
H is set when mobile terminal dispatches from the factory.
As shown from the above formula, after the sliding distance and sliding time of user's finger on a touchpad is got, first
According to user's finger sliding distance S' on a touchpad and the finger slidable maximum length of institute or width S on a touchpad
Ratio, calculate rotation angle of camera H' corresponding to sliding distance S' of the user's finger on the Trackpad.Then root
According to rotation angle of camera H' corresponding to sliding distance S' of the user's finger on the Trackpad and finger on a touchpad
Sliding time t ratio, obtain the angular velocity of rotation V' of camera.
In step S203, judge whether the glide direction is to be slidable in the vertical direction.
If so, then perform step S204;Otherwise, step S205 is performed.
In step S204, control camera rotates along the vertical direction according to the angular velocity of rotation being calculated.
In step S205, judge whether the glide direction is to slide in left-right direction.
If so, then perform step S206;Otherwise, any operation is not performed.
In step S206, control camera rotates in left-right direction according to the angular velocity of rotation being calculated.
In embodiments of the present invention, by setting a contactor control device at the back side of mobile terminal, the contactor control device is passed through
Trackpad obtain user's finger sliding distance, sliding time and glide direction, and according to the sliding distance and slide when
Between calculate the angular velocity of rotation of the camera, camera is finally controlled according to the angular velocity of rotation of camera and direction of rotation
Rotation, it is achieved thereby that back touch control camera rotation;Further, because the touch pad is arranged on mobile terminal
The back side, so as to the touch screen of farthest front liberation mobile terminal, solves prior art because finger is touched
The problem of touch-screen of mobile phone causes user to cannot see that complete image shown on mobile phone screen and cause maloperation.
Embodiment three
Fig. 3 shows the composition structure of the device for the control mobile terminal camera rotation that the embodiment of the present invention three provides,
For convenience of description, it illustrate only part related to the present invention.
In the present embodiment, the device of the control mobile terminal camera rotation is applied on mobile terminal, to reality
The method of control mobile terminal camera rotation described in existing Fig. 1 and Fig. 2 embodiments.The mobile terminal includes but is not limited to have
There are mobile phone, tablet personal computer, ipad of camera etc..
As shown in figure 3, described device includes:
Control model acquisition module 31, for after camera starts, obtaining the camera control model of user's selection, institute
Stating camera control model includes the first control model and the second control model;
First control module 32, for when the camera control model is the first control model, obtaining user in institute
The sliding trace on contactor control device is stated, controls the camera to rotate according to the sliding trace;
In the present embodiment, described device also includes a touch-control module 34, and the touch-control module includes a Trackpad, described
Trackpad is preferably disposed on the back side of the mobile terminal.
Second control module 33, for when the camera control model is the second control model, by predetermined manner control
The camera rotation is made, and detects the image that camera described in rotary course collects;When detecting that camera currently adopts
When in the image collected comprising image is specified, then the camera is controlled to rotate to object face corresponding with the specified image
Position.
First control module 32 includes:
Acquiring unit 321, for obtaining sliding trace of the user's finger on the contactor control device.
Alternatively, sliding trace of the user's finger on contactor control device includes sliding distance, sliding time and glide direction.
Computing unit 322, for calculating the anglec of rotation speed of the camera according to the sliding distance and sliding time
Degree,
First control unit 323, for controlling the camera to be revolved according to the angular velocity of rotation along the glide direction
Turn.
Preferably, the glide direction includes being slidable in the vertical direction and sliding in left-right direction.
Alternatively, the computing unit 322 calculates the rotation of the camera according to the sliding distance and sliding time
The formula of tarnsition velocity is specially:
Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are user's hand to S
Refer to the sliding distance on the contactor control device, t is sliding time of the user's finger on the contactor control device, and H takes the photograph to be described
As the maximum angle rotatable of head, H' is that camera corresponding to sliding distance S' of the user's finger on the contactor control device rotates
Angle, V' are the angular velocity of rotation of camera.
The user's finger on a touchpad slidable maximum length or width S and camera it is maximum rotatable
Angle H is set when mobile terminal dispatches from the factory.
Alternatively, the identification control module 33 includes:
First control unit 331, for when the camera control model is the second control model, controlling the shooting
Head is rotated with scheduled rate;
Detection unit 332, the image collected for detecting camera described in rotary course;
Acquiring unit 333, for when detect include people or animal painting in the image that camera currently collects when,
Taken the photograph according to people or animal described in the people either position acquisition of the animal painting in the image currently gathered relative to described
Deviation angle and offset direction as head;
Second control unit 334, for controlling control camera to be rotated along the offset direction according to the deviation angle,
To cause people or animal described in postrotational camera face.
As the implementation example of the present invention, the animal can be bird, cat, dog etc..
Preferably, after controlling camera rotation by the second control module, if user thinks to control not accurate enough, this implementation
Example is additionally provided from the second control mode switch to the first control model to carry out the function that the back side controls camera to rotate manually.
Therefore, described device also includes mode switch module.The mode switch module is specifically used for:
The control mode switch instruction of user's input is responded, by camera control model from the second control mode switch to the
One control model, the first control module is returned to, according to sliding trace control camera rotation of the user's finger on contactor control device.
In embodiments of the present invention, one contactor control device is set at the back side of mobile terminal, and is provided with two kinds of cameras
Control model, the camera control model include the first control model and the second control model;Mould is controlled in the camera
When formula is the first control model, the camera is controlled to rotate according to sliding trace of the user's finger on the contactor control device,
It is achieved thereby that back touch control camera rotation, solves prior art because the touch screen of finger touching mobile phone causes
The problem of user cannot see that complete image shown on mobile phone screen and cause maloperation;Mould is controlled in the camera
When formula is the second control model, the camera is controlled to rotate by predetermined manner, and detect camera described in rotary course and adopt
The image collected;When detecting in the image that camera currently collects comprising image is specified, then the camera is controlled to revolve
The position of object face corresponding with the specified image is gone to, it is achieved thereby that being controlled automatically by way of detecting specified object
Camera rotation processed, greatly improves experience sense during user's shooting.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can
To instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory medium
In, described storage medium, including ROM/RAM, disk, CD etc..
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention.For example, modules are only
Divided according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized;Separately
Outside, the specific name of each functional module is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
All any modification, equivalent and improvement made within the spirit and principles of the invention etc., should be included in
Within protection scope of the present invention.
Claims (9)
- A kind of 1. method for controlling mobile terminal camera rotation, it is characterised in that the back side of the mobile terminal is provided with tactile Control device;Methods described includes:After camera startup, alternative camera control model is shown to user in a manner of list, obtains user's choosing The camera control model selected, the camera control model include the first control model and the second control model;When the camera control model is the first control model, contactor control device of the user at the mobile terminal back side is obtained On sliding trace, control the camera to rotate according to the sliding trace;When the camera control model is the second control model, the camera is controlled to rotate by predetermined manner, and detect The image that camera described in rotary course collects;Image is specified when detecting to include in the image that camera currently collects When, then control the camera to rotate to the position of object face corresponding with the specified image;The control mode switch instruction of user's input is responded, camera control model is controlled from the second control mode switch to first Molding formula, the sliding trace for obtaining user on the contactor control device is returned to, taken the photograph according to sliding trace control As the step of head rotation;It is described when the camera control model is the first control model, obtain user the mobile terminal back side touch-control Sliding trace on device, it is specially according to the sliding trace control camera rotation:Into the first control model to camera, user holds mobile terminal and touches the touch-control by forefinger or middle finger Device, the contactor control device will sense the sliding trace of finger, and the instruction for converting thereof into control camera rotation is sent To motor so that revolution drives camera rotation, to realize back touch control camera rotation.
- 2. the method for control mobile terminal camera rotation as claimed in claim 1, it is characterised in that the sliding trace bag Include sliding distance, sliding time and activity direction;It is described to control the camera rotation to include according to the sliding trace:The angular velocity of rotation of the camera is calculated according to the sliding distance and sliding time;The camera is controlled to be rotated according to the angular velocity of rotation along the activity direction.
- 3. the method for control mobile terminal camera rotation as claimed in claim 2, it is characterised in that described according to the cunning The formula for the angular velocity of rotation that dynamic distance and sliding time calculate the camera is specially:<mrow> <msup> <mi>H</mi> <mo>&prime;</mo> </msup> <mo>=</mo> <mfrac> <mrow> <mi>H</mi> <mo>&times;</mo> <msup> <mi>S</mi> <mo>&prime;</mo> </msup> </mrow> <mi>S</mi> </mfrac> </mrow><mrow> <msup> <mi>V</mi> <mo>&prime;</mo> </msup> <mo>=</mo> <mfrac> <msup> <mi>H</mi> <mo>&prime;</mo> </msup> <mi>t</mi> </mfrac> </mrow>Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are that user's finger exists to S Sliding distance on the contactor control device, t are sliding time of the user's finger on the contactor control device, and H is the camera Maximum angle rotatable, H' is the camera anglec of rotation corresponding to sliding distance S' of the user's finger on the contactor control device Degree, V' are the angular velocity of rotation of camera.
- 4. the method for control mobile terminal camera rotation as claimed in claim 1, it is characterised in that described in the shooting When head control model is the second control model, the camera is controlled to rotate by predetermined manner, and detect described in rotary course The image that camera collects;When detecting in the image that camera currently collects comprising image is specified, then described in control The position that camera rotates to object face corresponding with the specified image includes:When the camera control model is the second control model, the camera is controlled to be rotated with scheduled rate;The image that camera collects described in detection rotary course;When detect include people or animal painting in the image that camera currently collects when, schemed according to the people or animal The deviation angle and skew of people or animal relative to the camera as described in the position acquisition in the image currently gathered Direction;Camera is controlled to be rotated along the offset direction according to the deviation angle, to cause described in postrotational camera face People or animal.
- 5. a kind of device for controlling mobile terminal camera rotation, it is characterised in that described device includes contactor control device, described to touch Control device is located at the back side of the mobile terminal;Described device also includes:Control model acquisition module, for after camera starts, alternative shooting to be shown to user in a manner of list Head control model, obtain user selection camera control model, the camera control model include the first control model and Second control model;First control module, for when the camera control model is the first control model, obtaining user in the movement Sliding trace on the contactor control device at the terminal back side, the camera is controlled to rotate according to the sliding trace;Second control module, for when the camera control model is the second control model, as described in controlling predetermined manner Camera rotates, and detects the image that camera described in rotary course collects;When detecting what camera currently collected When in image comprising image is specified, then the camera is controlled to rotate to the position of object face corresponding with the specified image Put;Mode switch module, for responding the control mode switch instruction of user's input, camera control model is controlled from second Molding formula is switched to the first control model, returns to the first control module;First control module is specifically used for:Into the first control model to camera, user holds mobile terminal and led to Cross forefinger or middle finger touches the contactor control device, the contactor control device will sense the sliding trace of finger, and be converted Instruction into control camera rotation is sent to motor so that revolution drives camera rotation, to realize back touch control Camera rotation processed.
- 6. the device of control mobile terminal camera rotation as claimed in claim 5, it is characterised in that the sliding trace bag Include sliding distance, sliding time and activity direction;First control module also includes:Computing unit, for calculating the angular velocity of rotation of the camera according to the sliding distance and sliding time,First control unit, for controlling the camera to be rotated according to the angular velocity of rotation along the activity direction.
- 7. the device of control mobile terminal camera rotation as claimed in claim 6, it is characterised in that described according to the cunning The formula for the angular velocity of rotation that dynamic distance and sliding time calculate camera is specially:<mrow> <msup> <mi>H</mi> <mo>&prime;</mo> </msup> <mo>=</mo> <mfrac> <mrow> <mi>H</mi> <mo>&times;</mo> <msup> <mi>S</mi> <mo>&prime;</mo> </msup> </mrow> <mi>S</mi> </mfrac> </mrow><mrow> <msup> <mi>V</mi> <mo>&prime;</mo> </msup> <mo>=</mo> <mfrac> <msup> <mi>H</mi> <mo>&prime;</mo> </msup> <mi>t</mi> </mfrac> </mrow>Wherein, for user's finger, slidable maximum length or width on the contactor control device, S' are that user's finger exists to S Sliding distance on the contactor control device, t are sliding time of the user's finger on the contactor control device, and H is the camera Maximum angle rotatable, H' is the camera anglec of rotation corresponding to sliding distance S' of the user's finger on the contactor control device Degree, V' are the angular velocity of rotation of camera.
- 8. the device of control mobile terminal camera rotation as claimed in claim 5, it is characterised in that the second control mould Block includes:First control unit, for when the camera control model is the second control model, controlling the camera with pre- If speed rotates;Detection unit, the image collected for detecting camera described in rotary course;Acquiring unit, for when detect include people or animal painting in the image that camera currently collects when, according to institute State people either people or animal described in position acquisition of the animal painting in the image currently gathered relative to the camera Deviation angle and offset direction;Second control unit, for controlling camera to be rotated along the offset direction according to the deviation angle, to rotate People or animal described in camera face afterwards.
- 9. a kind of mobile terminal, it is characterised in that the mobile terminal includes the control as described in any one of claim 5 to 8 The device of mobile terminal camera rotation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410449198.1A CN104238669B (en) | 2014-09-04 | 2014-09-04 | A kind of method, device and mobile terminal for controlling mobile terminal camera rotation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410449198.1A CN104238669B (en) | 2014-09-04 | 2014-09-04 | A kind of method, device and mobile terminal for controlling mobile terminal camera rotation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104238669A CN104238669A (en) | 2014-12-24 |
CN104238669B true CN104238669B (en) | 2018-01-16 |
Family
ID=52226939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410449198.1A Active CN104238669B (en) | 2014-09-04 | 2014-09-04 | A kind of method, device and mobile terminal for controlling mobile terminal camera rotation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238669B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052928A (en) * | 2014-06-16 | 2014-09-17 | 广东欧珀移动通信有限公司 | Method and electronic equipment for controlling camera to rotate automatically |
CN104580898A (en) * | 2014-12-26 | 2015-04-29 | 魅族科技(中国)有限公司 | Imaging device control method and imaging device |
CN104574397B (en) * | 2014-12-31 | 2017-08-29 | 广东欧珀移动通信有限公司 | The method and mobile terminal of a kind of image procossing |
CN107396000B (en) * | 2015-01-29 | 2019-07-19 | Oppo广东移动通信有限公司 | A kind of light compensation method and device of camera shooting |
CN104618658B (en) * | 2015-02-26 | 2017-11-03 | 广东欧珀移动通信有限公司 | Mobile terminal and its rotating camera control method |
CN104883492B (en) * | 2015-03-23 | 2018-02-27 | 广东欧珀移动通信有限公司 | A kind of camera method of controlling rotation and terminal |
CN104902174B (en) * | 2015-05-19 | 2017-11-24 | 广东欧珀移动通信有限公司 | A kind of camera method for controlling rotation and terminal |
CN107835375B (en) * | 2015-05-27 | 2020-03-27 | Oppo广东移动通信有限公司 | Panoramic shooting method and device |
CN105635580A (en) * | 2016-01-04 | 2016-06-01 | 上海斐讯数据通信技术有限公司 | Image acquisition method and device |
CN106101532B (en) * | 2016-06-13 | 2019-12-10 | 惠州Tcl移动通信有限公司 | Method and system for adjusting camera focal length based on multifunctional keys on side edge of mobile terminal |
CN109314731A (en) * | 2016-06-16 | 2019-02-05 | 黄工人 | Hand phone 360 degree rotation video recording finger controls rotator |
CN108769478B (en) * | 2018-06-08 | 2021-01-15 | Oppo广东移动通信有限公司 | Control method of sliding assembly, control assembly and electronic equipment |
CN110266952B (en) * | 2019-06-28 | 2021-03-12 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and storage medium |
EP3800872A4 (en) * | 2019-08-02 | 2022-01-05 | Beijing Xiaomi Mobile Software Co., Ltd. Nanjing Branch | Terminal device |
CN110572566A (en) * | 2019-08-21 | 2019-12-13 | 维沃移动通信有限公司 | Camera control method and electronic equipment |
CN111416935B (en) * | 2020-03-17 | 2021-10-19 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201054660Y (en) * | 2007-02-15 | 2008-04-30 | 联想(北京)有限公司 | Camera device |
CN102819398A (en) * | 2012-08-08 | 2012-12-12 | 许继集团有限公司 | Method for slidingly controlling camera via touch screen device |
CN103995788A (en) * | 2014-05-27 | 2014-08-20 | 广东欧珀移动通信有限公司 | Method and device for controlling camera of touch screen terminal to rotate |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005100084A (en) * | 2003-09-25 | 2005-04-14 | Toshiba Corp | Image processor and method |
KR20100081049A (en) * | 2009-01-05 | 2010-07-14 | 삼성전자주식회사 | Apparatus and method for photographing image in portable terminal |
-
2014
- 2014-09-04 CN CN201410449198.1A patent/CN104238669B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201054660Y (en) * | 2007-02-15 | 2008-04-30 | 联想(北京)有限公司 | Camera device |
CN102819398A (en) * | 2012-08-08 | 2012-12-12 | 许继集团有限公司 | Method for slidingly controlling camera via touch screen device |
CN103995788A (en) * | 2014-05-27 | 2014-08-20 | 广东欧珀移动通信有限公司 | Method and device for controlling camera of touch screen terminal to rotate |
Non-Patent Citations (1)
Title |
---|
206度旋转摄像头+背部触控 OPPO N1 测评;中关村在线;《http://tech.sina.com.cn/mobile/n/2013-10-17/08548825250.shtml》;20131017;第7-9页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104238669A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104238669B (en) | A kind of method, device and mobile terminal for controlling mobile terminal camera rotation | |
CN102662462B (en) | Electronic installation, gesture identification method and gesture application process | |
CN104956300B (en) | It is rolled using limit adjustment | |
CN105144034B (en) | Start the portable device of non-touch gesture control using passive sensor | |
CN104123024B (en) | A kind of terminal device and apparatus control method | |
US20150286281A1 (en) | Generating a screenshot | |
EP3742263A1 (en) | Terminal and method for controlling the same based on spatial interaction | |
CN103440089B (en) | The interface method of adjustment and user equipment of a kind of user equipment | |
CN106104458A (en) | For showing that the conductive trace of sensor and frame sensor connects up | |
CN106540407B (en) | Treadmill method for control speed and device | |
CN107621893A (en) | The content creating of electronic input apparatus is used on non-electronic surface | |
CN103164158A (en) | Method, system and device of creating and teaching painting on touch screen | |
CN104883492B (en) | A kind of camera method of controlling rotation and terminal | |
TW201135517A (en) | Cursor control device, display device and portable electronic device | |
CN103853442B (en) | A kind of information processing method and electronic equipment | |
KR20130124061A (en) | Control method of terminal by using spatial interaction | |
CN107346202A (en) | A kind of image pickup method and mobile terminal | |
CN102662592B (en) | A kind of data output method and device | |
CN106874044A (en) | A kind of camera changing method and mobile terminal | |
CN104063170B (en) | A kind of method moved based on gesture control screen-picture | |
US9898188B2 (en) | Information processing method and electronic device | |
CN104732570B (en) | image generation method and device | |
CN102508581A (en) | Optical touch handwriting delay solution method | |
CN106126087A (en) | A kind of based on the display picture approach of intelligent terminal and the device with touch screen | |
CN103092376B (en) | Generate the method and apparatus and electronic equipment of control command |
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 | ||
CP03 | Change of name, title or address |
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 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CP03 | Change of name, title or address |