CN108111766A - A kind of camera method of controlling rotation and terminal and medium product - Google Patents
A kind of camera method of controlling rotation and terminal and medium product Download PDFInfo
- Publication number
- CN108111766A CN108111766A CN201810061336.7A CN201810061336A CN108111766A CN 108111766 A CN108111766 A CN 108111766A CN 201810061336 A CN201810061336 A CN 201810061336A CN 108111766 A CN108111766 A CN 108111766A
- Authority
- CN
- China
- Prior art keywords
- camera
- slide
- target
- speed
- touch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000001514 detection method Methods 0.000 claims abstract description 39
- 230000001105 regulatory effect Effects 0.000 claims description 31
- 230000001276 controlling effect Effects 0.000 claims description 26
- 238000003860 storage Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- 230000006399 behavior Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 210000003128 head Anatomy 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 3
- 230000002045 lasting effect Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Landscapes
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a kind of camera method of controlling rotation, including:Detection user touches slide in the target that camera is controlled to rotate that is used for that camera preview interface inputs;Determine that the target touches the sliding speed of slide;Corresponding rotary speed is determined according to the sliding speed;Control camera is rotated with the rotary speed.The embodiment of the invention also discloses a kind of terminals.Using the embodiment of the present invention, it can realize that camera is rotated with friction speed.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of camera method of controlling rotation and terminals and medium to produce
Product.
Background technology
With the continuous progress and development of electronic technology, electronic rotation camera has been configured in more and more terminals,
Such as mobile phone, tablet computer intelligent terminal.When being shot by being configured with the intelligent terminal of electronic rotation camera, user
It can be rotated by gesture control camera, and then adjust shooting visual angle in real time.
However practice is found, in current camera rotation implementation, is only capable of realizing that camera is carried out with single speed
Rotation.
The content of the invention
The embodiment of the invention discloses a kind of camera method of controlling rotation and terminals, and camera can be realized with not synchronized
Degree is rotated.
First aspect of the embodiment of the present invention discloses a kind of camera method of controlling rotation, including:
Detection user touches slide in the target that camera is controlled to rotate that is used for that camera preview interface inputs;
Determine that the target touches the sliding speed of slide;
Corresponding rotary speed is determined according to the sliding speed;
Control camera is rotated with the rotary speed.
Wherein, the sliding speed for determining the target and touching slide, including:
At the end of detecting that the target touches slide, according to the target touch slide it is lasting when
Between and the target touch the corresponding sliding distance of slide, determine that the target touches the sliding speed of slide.
Wherein, after the control camera is rotated with the rotary speed, further include:
Detect the first operational order input by user for camera to be controlled to stop rotating;
First operational order is responded, the camera is controlled to stop rotating.
Wherein, the sliding speed for determining the target and touching slide, including:
Before detecting that the target touch slide terminates, obtain the target every predetermined time period and touch
Sliding distance of the slide in the predetermined time period;
According to the sliding distance in the predetermined time period, determine that the target touches slide when described default
Between sliding speed in length.
Wherein, it is described that corresponding rotary speed is determined according to the sliding speed, including:
According to the sliding speed in current preset time span, the rotation speed in adjacent next predetermined time period is determined
Degree;Wherein, the initial rotation speed of the camera is 0 or default rotary speed.
Wherein, it is described that corresponding rotary speed is determined according to the sliding speed, including:
Using the sliding speed as foundation, the correspondence of pre-set sliding speed and rotary speed is inquired about, with true
Determine the corresponding rotary speed of the sliding speed.
Wherein, it is described that corresponding rotary speed is determined according to the sliding speed, including:
Using the sliding speed as foundation, the default sliding speed set pass corresponding with rotary speed regulatory factor is inquired about
System, determines the corresponding rotary speed regulatory factor of the sliding speed;
According to default rotary speed and the rotary speed regulatory factor, the corresponding rotation speed of the sliding speed is determined
Degree.
Wherein, the detection user is slided what camera preview interface inputted for the target that camera rotates to be controlled to touch
Before dynamic operation, further include:
Detect the second operational order of unlatching camera input by user;
Second operational order is responded, camera preview interface is exported in touch-screen.
Wherein, the detection user is slided what camera preview interface inputted for the target that camera rotates to be controlled to touch
Dynamic operation, including:
When detecting that user's both hands refer in camera preview interface touch slip, judge that user's both hands refer to just
Whether the touch point for beginning to touch the camera preview interface meets preset condition;
If satisfied, it is for controlling camera to determine that user's both hands refer in camera preview interface touch slip
The target of rotation touches slide.
Wherein, the detection user is slided what camera preview interface inputted for the target that camera rotates to be controlled to touch
After dynamic operation, further include:
Determine that the target touches the corresponding rotary mode of slide;
The control camera is rotated with the rotary speed, including:
The camera is controlled to be rotated with the rotary speed and the rotary mode.
Second aspect of the embodiment of the present invention discloses a kind of terminal, including:
Detection module touches for detecting user in the target for being used to that camera to be controlled to rotate that camera preview interface inputs
Touch slide;
First determining module, for determining that the target touches the sliding speed of slide;
Second determining module, for determining corresponding rotary speed according to the sliding speed;
Control module, for camera to be controlled to be rotated with the rotary speed.
Wherein, first determining module detects that the target touches slip behaviour specifically for working as the detection module
At the end of work, slide duration is touched according to the target and the target touches the corresponding cunning of slide
Dynamic distance determines that the target touches the sliding speed of slide.
Wherein, the detection module is additionally operable to detect the first behaviour input by user for camera to be controlled to stop rotating
It instructs;
The control module is additionally operable to respond first operational order, the camera is controlled to stop rotating.
Wherein, first determining module slides behaviour specifically for detecting that the target touches in the detection module
Before work terminates, obtain the target every predetermined time period and touch slip of the slide in the predetermined time period
Distance;According to the sliding distance in the predetermined time period, determine that the target touches slide in the preset time
Sliding speed in length.
Wherein, second determining module, specifically for according to the sliding speed in current preset time span, determining phase
Rotary speed in adjacent next predetermined time period;Wherein, the initial rotation speed of the camera is 0 or default rotation speed
Degree.
Wherein, second determining module, specifically for using the sliding speed as foundation, inquiring about pre-set slip
The correspondence of speed and rotary speed, to determine the corresponding rotary speed of the sliding speed.
Wherein, second determining module, specifically for using the sliding speed as foundation, inquiring about the default slip set
Speed and the correspondence of rotary speed regulatory factor, determine the corresponding rotary speed regulatory factor of the sliding speed;According to
Default rotary speed and the rotary speed regulatory factor, determine the corresponding rotary speed of the sliding speed.
Wherein, the detection module is additionally operable to detect the second operational order of unlatching camera input by user;
The terminal further includes:
Output module for responding second operational order, exports camera preview interface in touch-screen.
Wherein, the detection module detects that user's both hands refer in camera preview interface touch specifically for working as
During slip, judge that user's both hands refer to the touch point of camera preview interface described in initial touch and whether meet preset condition;
If satisfied, it is for controlling the mesh that camera rotates to determine that user's both hands refer in camera preview interface touch slip
Mark touches slide.
Wherein, first determining module is additionally operable to when detection module detection user is defeated in camera preview interface
What is entered is used for after the target that camera is controlled to rotate touch slide, determines that the target touches the corresponding rotation of slide
Rotary-die type;
The control module, specifically for control the camera with the rotary speed and the rotary mode into
Row rotation.
Implement the embodiment of the present invention, have the advantages that:
When detect user camera preview interface input for control camera rotate target touch slide behaviour
When making, the sliding speed that slide can be touched according to the target determine corresponding rotary speed, so control camera with
The rotary speed is rotated, and so as to realize that camera is rotated with friction speed, improves camera rotation control
Flexibility.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of configuration diagram of camera method of controlling rotation provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another camera method of controlling rotation provided in an embodiment of the present invention;
Fig. 2A is a kind of schematic diagram of coordinate system provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another camera method of controlling rotation provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of another terminal provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of another terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only the part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of camera method of controlling rotation and terminals, and camera can be realized with not synchronized
Degree is rotated.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of camera method of controlling rotation disclosed by the embodiments of the present invention.
As shown in Figure 1, the camera method of controlling rotation may comprise steps of:
S101, detection user slide behaviour what camera preview interface inputted for the target that camera rotates to be controlled to touch
Make.
In the embodiment of the present invention, the above method can be applied to be configured with (such as electronic rotation camera shooting of rotatable camera
Head) and touch-screen intelligent terminal, such as smart mobile phone, tablet computer, palm PC.It for ease of understanding and describes, below
Method described above is applied to exemplified by smart mobile phone (hereinafter referred to as mobile phone).
In the embodiment of the present invention, when user is shot by mobile phone, user can be by specifying operating gesture to control
Camera rotates, to adjust shooting visual angle.
For example, user can be referred to by both hands in camera preview interface touch slide control camera rotate or
Person, user can touch slip camera to be controlled to rotate by single finger in camera preview interface.
S102, determine that the target touches the sliding speed of slide.
In optional embodiment one, determine that target touches the sliding speed of slide, can include:
At the end of the target slide is detected, according to the target slide duration and the target
The corresponding sliding distance of slide is touched, determines that the target touches the sliding speed of slide.
In the optional embodiment one, mobile phone detects that user images what camera preview interface inputted for controlling
When the target of head rotation touches slide, camera rotation can be just controlled at the end of the target touches slide.
Specifically, when mobile phone detect user camera preview interface input for control camera rotate target
When touching slide, mobile phone can count the target and touch slide duration and target touch slip behaviour
Make corresponding sliding distance;At the end of mobile phone detects target slide, mobile phone can be touched according to the target counted
Slide duration and the target touch the corresponding sliding distance of slide, determine that the target touches and slide behaviour
The sliding speed of work.
For example, it is assumed that at the end of mobile phone detects that target touches slide, the target of mobile phone statistics, which touches, slides behaviour
Make duration as t, it is s that target, which touches the corresponding sliding distance of slide, then the target touches the slip of slide
Speed v=s/t.
In optional embodiment two, determine that target touches the sliding speed of slide, can include:
Before detecting that target touch slide terminates, obtain the target every predetermined time period and touch slip behaviour
Make the sliding distance in the predetermined time period;
According to the sliding distance in the predetermined time period, determine that the target touches slide in the predetermined time period
Interior sliding speed.
In the optional embodiment two, mobile phone detects that user images what camera preview interface inputted for controlling
When the target of head rotation touches slide, in the time-continuing process that slide can be touched in the target, control camera shooting in real time
Head rotation.
Specifically, when mobile phone detect user camera preview interface input for control camera rotate target
When touching slide, mobile phone can be before target touch slide terminates, every predetermined time period (preset time
Length can be set according to actual scene, such as 100ms, 200ms) obtain cunning of the target touch slide in preset time
Dynamic distance, and according to the sliding distance in the preset time, determine that target touches slip of the slide in the preset time
Speed.
For example, mobile phone detect user camera preview interface input for control camera rotate target touch
When touching slide, target can be obtained every 200ms and touch sliding distance of the slide in the preset time, it is assumed that hand
The sliding distance of the target slide in certain 200ms that machine is got is △ s, then mobile phone can determine that the target touches cunning
Dynamic operation is △ s/200ms in the sliding speed of the preset time.
S103, corresponding rotary speed is determined according to the sliding speed.
As an alternative embodiment, in embodiments of the present invention, in order to realize that camera is rotated with friction speed,
Correspondence (the i.e. sliding speed and rotation of the sliding speed for touching slide and the rotary speed of camera can be pre-set
The correspondence of rotary speed).After mobile phone determines that target touches the sliding speed of slide, mobile phone can be according to setting in advance
The sliding speed and the correspondence of rotary speed put determine that target touches the corresponding rotation speed of sliding speed of slide
Degree.Preferably, the sliding speed for touching slide is directly proportional to the rotary speed of camera.
As an example it is assumed that the correspondence of pre-set sliding speed and rotary speed (wherein, v3 as shown in table 1
> v2 > v1, the rotary speed are motor of camera rotating speed, similarly hereinafter):
Table 1
Sliding speed (mm/s, millimeter are per second) | Rotary speed (r/s, revolution per second) |
(0, v1] | n1 |
(v1, v2] | n2 |
(v2, v3] | n3 |
… | … |
If mobile phone determines that target touches the sliding speed of slide as v2, mobile phone can be inquired about according to the sliding speed
The correspondence of sliding speed and rotary speed shown in table 1, it is n2 to determine the corresponding rotary speed of sliding speed (v2).
As another optional embodiment, in embodiments of the present invention, in order to realize that camera is revolved with friction speed
Turn, the default rotary speed of camera can be pre-set, and the sliding speed for touching slide and camera is set to rotate
The correspondence (i.e. the correspondence of sliding speed and regulatory factor) of speed regulatory factor.It is slided when mobile phone determines that target touches
After the sliding speed of operation, mobile phone can determine mesh according to pre-set sliding speed and the correspondence of regulatory factor
Mark touches the corresponding target regulatory factor of sliding speed of slide, and then according to the target regulatory factor and default rotation
Speed determines that target touches the corresponding rotary speed of sliding speed of slide.
As an example it is assumed that pre-set sliding speed and the correspondence of regulatory factor (R) are as shown in table 2 (wherein,
V3 > v2 > v1):
Table 2
Sliding speed (mm/s) | R |
(0, v1] | R1 |
(v1, v2] | R2 |
(v2, v3] | R3 |
… | … |
If mobile phone determines that target touches the sliding speed of slide as v1, mobile phone can be inquired about according to the sliding speed
The correspondence of sliding speed and regulatory factor shown in table 2 determines the corresponding regulatory factor of sliding speed (v1) as R1, then
Mobile phone can determine target touch slide the corresponding rotary speed of sliding speed for v0*R1 (assuming that default rotary speed
For v0).
S104, control camera are rotated with the rotary speed.
In the embodiment of the present invention, after mobile phone determines the corresponding rotary speed of sliding speed that target touches slide,
Camera can be controlled to be rotated with the rotary speed.
As an alternative embodiment, if mobile phone, at the end of detecting that target touches slide, just control is taken the photograph
Picture head rotates (corresponding to the optional embodiment one in above-mentioned steps S102), then mobile phone detects that target touches slide knot
Shu Shi, the sliding speed that the target that can be determined according to itself touches slide determine that (target rotates corresponding rotary speed
Speed), control camera is rotated with the target rotational speed.
In the optional embodiment, after above-mentioned steps S104, it can also comprise the following steps:
Detect the first operational order input by user for camera to be controlled to stop rotating;
First operational order is responded, the camera is controlled to stop rotating.
Wherein, which can include but is not limited to click any region of touch-screen, double-clicks touch-screen
Any region is clicked and function button etc. is specified in touch-screen.
Specifically, in the optional embodiment, when user is shot using mobile phone, user can be existed with finger
It is touched in camera preview interface and slides that camera is controlled to rotate.Mobile phone detects what user inputted in camera preview interface
During for controlling the target touch-control slide of camera rotation, target touch-control slide duration can be counted, with
And the corresponding sliding distance of target touch-control slide;At the end of mobile phone detects target touch-control slide, mobile phone can be with
The target touch-control slide duration and target counted according to itself touches the corresponding sliding distance of slide,
It determines the sliding speed of target touch-control slide, and then corresponding rotary speed is determined according to the sliding speed, and with the rotation
Rotary speed control camera is rotated.When user determines that camera has had rotated to suitable position, user can lead to
It crosses and clicks the operational order that touch-screen to mobile phone inputs that camera is controlled to stop rotating;Mobile phone receives the operational order
When, the operational order can be responded, control camera stops rotating.
As another optional embodiment, if mobile phone is detecting that user is used for what camera preview interface inputted
When the target of camera rotation being controlled to touch slide, in the time-continuing process for touching slide in target, control in real time is taken the photograph
Picture head rotates (corresponding to the optional embodiment two in above-mentioned steps S102), then mobile phone detects user in camera preview circle
When the target of face input touches slide, can the slide of monitoring objective touch in real time sliding speed, and then according to this
Sliding speed determines corresponding rotary speed, and camera is controlled to be rotated with the rotary speed, until detecting that target is touched
At the end of touching slide, control camera stops rotating.
In the optional embodiment, in above-mentioned steps S103, determine that target touches the sliding speed of slide, it can
To include:
Before detecting that target touch slide terminates, obtain target every predetermined time period and touch slide
Sliding distance in the predetermined time period;
According to the sliding distance in the predetermined time period, determine that the target touches slide in the predetermined time period
Interior sliding speed.
Correspondingly, in above-mentioned steps S104, corresponding rotary speed is determined according to sliding speed, can be included:
According to the sliding speed in current preset time span, the rotation speed in adjacent next predetermined time period is determined
Degree;Wherein, the initial rotation speed of camera is 0 or default rotary speed.
Specifically, in the optional embodiment, mobile phone detects that user is used to control what camera preview interface inputted
During the target touch-control slide of camera rotation processed, mobile phone can first control camera (can basis with default rotary speed
Practical application scene is set, such as 5r/s) it is rotated, meanwhile, mobile phone can be with the slip of real-time statistics target touch-control slide
Distance, and obtain the target every predetermined time period and touch sliding distance of the slide in the predetermined time period, and
According to the sliding distance in the predetermined time period, determine that target touches slip speed of the slide in the predetermined time period
Degree, and then, mobile phone can control camera to be rotated with the sliding speed in next predetermined time period.
As an example it is assumed that predetermined time period is 200ms, it is 5r/s to preset rotary speed, then when mobile phone detects use
Family camera preview interface input for control camera rotate target touch slide when, in first 200ms
(it is the 0ms of initial time (0ms) at the time of to detect that the target touches slide to the 200ms times in time
It is interior), mobile phone can control camera to be rotated with 5r/s, meanwhile, mobile phone can touch slide with real-time statistics target and exist
Sliding distance in the 200ms determines that target touches sliding speed of the slide in the 200ms according to the sliding distance,
And corresponding rotary speed (being assumed to be 10r/s) is determined according to the sliding speed, and then, 200ms to 400ms this
In the 200ms times, mobile phone can control camera to be rotated with 10r/s, meanwhile, mobile phone is further determined that in the 200ms
Sliding speed, and (400ms to 600ms) controls camera with the corresponding rotation speed of the sliding speed in next 200ms
Degree is rotated, until at the end of mobile phone detects that target touches slide, control camera stops rotating.
Wherein, in embodiments of the present invention, user is used to control what camera rotated what camera preview interface inputted
Target touch slide can include single finger touch slip or both hands refer to touch slip.
Correspondingly, when target touch slide touched for single finger slide when, target touches that slide terminates can be with
Finger including being used to touch slip leaves touch-screen;
When target, which touches slide, refers to touch slip for both hands, target touches slide and terminates to include at least
One is left touch-screen for touching the finger slided.
As it can be seen that in the described method flows of Fig. 1, when detect user camera preview interface input for controlling
When the target of camera rotation processed touches slide, the sliding speed that slide can be touched according to the target determines to correspond to
Rotary speed, and then control camera rotated with the rotary speed, so as to realize camera with friction speed into
Row rotation improves the flexibility of camera rotation control.
Referring to Fig. 2, Fig. 2 is the flow signal of another camera method of controlling rotation disclosed by the embodiments of the present invention
Figure.As shown in Fig. 2, the camera method of controlling rotation may comprise steps of:
S201, detection the second operational order input by user for opening camera.
S202, second operational order is responded, camera preview interface is exported in touch-screen.
In the embodiment of the present invention, when user wants to be shot by mobile phone, user can open in mobile phone to be had
The application (such as camera application) of shooting function, e.g., user can click the icon of " camera " application installed in mobile phone, to hand
The operational order of camera is opened in machine input.It, can be with when mobile phone detects the operational order of unlatching camera input by user
The operational order is responded, camera preview interface is exported in touch-screen.
S203, detection user slide behaviour what camera preview interface inputted for the target that camera rotates to be controlled to touch
Make.
In the embodiment of the present invention, mobile phone is exported according to the operational order of unlatching camera input by user in touch-screen
After camera preview interface, the mesh for being used to that camera to be controlled to rotate that user inputs in the camera preview interface can be detected
Mark touches slide.
In the embodiment of the present invention, user touches in the target that camera is controlled to rotate that is used for that camera preview interface inputs
Slide can touch slip on the touchscreen including user's single finger or user's both hands refer to touch on the touchscreen and slide.
As an alternative embodiment, in the embodiment of the present invention, what detection user inputted in camera preview interface
Target for camera to be controlled to rotate touches slide, including:
When detecting that user's both hands refer in the touch slip of camera preview interface, judge that the user's both hands refer to initial touch
Whether the touch point of the camera preview interface meets preset condition;
If satisfied, determining that the user's both hands refer to touch in camera preview interface slides what is rotated for controlling camera
Target touches slide.
Specifically, in the optional embodiment, when the target touch slide bag for camera to be controlled to rotate
When including both hands and referring to touch and slide, it is contemplated that in existing many applications with shooting function, both hands refer in camera preview circle
It is digital zoom that usually corresponding function is slided in touch close to each other or being located remotely from each other in face, in order to which mobile phone is enable to identify use
Family both hands, which refer to touch in camera preview interface, slides corresponding operational order (digital zoom or the rotation of control camera), can be with
Digital zoom functions and the corresponding trigger condition of camera spinfunction are pre-set, are being taken the photograph when mobile phone detects that user's both hands refer to
As when head preview interface, which touches, to be slided, can determine that the both hands refer to according to the trigger condition and touch the corresponding operation of slide
Instruction.
As an example it is assumed that the corresponding trigger condition of pre-set camera spinfunction refers to initial touch for both hands and takes the photograph
As the difference of the abscissa of the touch point (two touch points) of head preview interface is less than first threshold, digital zoom functions are corresponding
The difference that trigger condition refers to the abscissa of the touch point of initial touch camera preview interface for both hands is greater than or equal to the first threshold
Value;Then when mobile phone detect user's both hands refer to touch camera preview interface when, user's both hands can be obtained refer to initial touch and take the photograph
As the coordinate of two touch points of head preview interface, and judge whether the difference of the abscissa of two touch points is less than the first threshold
Value, if being less than, controls mobile phone to enter camera rotary mode, and it is for controlling camera to determine that user's both hands refer to touch to slide
The operating gesture of rotation;Otherwise, control mobile phone enters digital zoom pattern, and it is for number to determine that user's both hands refer to touch to slide
The operating gesture of zoom.
Wherein, the abscissa of above-mentioned touch point is using plane where touch-screen as coordinate system, and the schematic diagram of the coordinate system can be with
As shown in Figure 2 A.
It should be appreciated that the abscissa described above for referring to the initial touch point in camera preview interface with both hands
Difference whether to be less than first threshold as the trigger condition of digital zoom functions or camera spinfunction be only of the invention
A kind of specific example of embodiment, and be not limiting the scope of the present invention, i.e., in embodiments of the present invention, camera
The trigger condition of spinfunction or including other situations, for example, can be referred to both hands in camera preview interface
Whether the difference of the ordinate of initial touch point is less than second threshold as the tactile of digital zoom functions or camera spinfunction
Clockwork spring part etc., specific implementation repeat no more herein.
S204, determine that the target touches the sliding speed of slide.
S205, corresponding rotary speed is determined according to the sliding speed.
S206, control camera are rotated with the rotary speed.
In the embodiment of the present invention, the specific implementation of above-mentioned steps S204~S205 may refer to above-mentioned steps S102~S104
In associated description, details are not described herein.
Referring to Fig. 3, Fig. 3 is the flow signal of another camera method of controlling rotation disclosed by the embodiments of the present invention
Figure.As shown in figure 3, the camera method of controlling rotation may comprise steps of:
S301, detection user slide behaviour what camera preview interface inputted for the target that camera rotates to be controlled to touch
Make.
S302, determine that the target touches the corresponding sliding speed of slide and the target touches slide and corresponds to
Rotary mode.
S303, corresponding rotary speed is determined according to the sliding speed.
S304, control camera are rotated with the rotary speed and the rotary mode.
In the embodiment of the present invention, when mobile phone detect user camera preview interface input for camera to be controlled to revolve
When the target turned touches slide, mobile phone on the one hand can be according to the realization method described in above-mentioned steps S102~S103
Determine that the target touches the corresponding rotary speed of slide;On the other hand, mobile phone can also touch according to the target and slide behaviour
Make to determine the rotary mode that camera rotates, for example, rotate forward, invert etc..
As an example it is assumed that the above-mentioned target touch slide for camera to be controlled to rotate is slided for single finger touch
It is dynamic, then when the target, which touches slide, touches slip upward from the lower section of mobile phone screen for single finger, corresponding rotation
Pattern is rotating forward;It is corresponding when the target, which touches slide, touches slip downwards above mobile phone screen for single finger
Rotary mode is reversion.
Again as an example it is assumed that above-mentioned slide for the target touch slide of camera rotation to be controlled to refer to touch for both hands
Dynamic, then when target touch slide refers to for both hands is located remotely from each other touch slip, corresponding rotary mode is rotating forward;When this
When target touch slide refers to touch slip close to each other for both hands, corresponding rotary mode is to invert.
In the embodiment of the present invention, when mobile phone determines that target touches the corresponding rotary speed of slide and rotating mould
After formula, camera can be controlled to be rotated with the rotary speed and the rotary mode.
For example, it is 5r/s that the target that mobile phone determines, which touches the corresponding rotary speed of slide, rotary mode is rotates forward, then
Mobile phone can control camera to be rotated forward with the rotating speed of 5r/s.
As can be seen from the above description, in embodiments of the present invention, when detecting what user inputted in camera preview interface
When target for camera to be controlled to rotate touches slide, it may be determined that the target touches the sliding speed of slide,
And corresponding rotary speed is determined according to the sliding speed, and then camera is controlled to be rotated with the rotary speed, so as to
To realize that camera is rotated with friction speed, the flexibility of camera rotation control is improved.
It is below apparatus of the present invention embodiment, apparatus of the present invention embodiment belongs to same structure with the method for the present invention embodiment
Think, for performing the method described in the method for the present invention embodiment.For convenience of description, apparatus of the present invention embodiment only show with
The relevant part of apparatus of the present invention embodiment, particular technique details do not disclose, refer to the description of the method for the present invention embodiment,
It no longer repeats one by one herein.
Referring to Fig. 4, it is a kind of structure diagram of terminal disclosed by the embodiments of the present invention.As shown in figure 4, the terminal can
To include:
Detection module 401, for detecting the mesh for being used to that camera to be controlled to rotate that user inputs in camera preview interface
Mark touches slide;
First determining module 402, for determining that the target touches the sliding speed of slide;
Second determining module 403, for determining corresponding rotary speed according to the sliding speed;
Control module 404, for camera to be controlled to be rotated with the rotary speed.
In the embodiment of the present invention, above-mentioned terminal can be configured with rotatable camera (such as electronic rotation camera) with
And the intelligent terminal of touch-screen, such as smart mobile phone, tablet computer, palm PC.It for ease of understanding and describes, below the terminal
Exemplified by smart mobile phone (hereinafter referred to as mobile phone).
In a kind of alternative embodiment, first determining module 402 can be specifically used for when the detection module 401
At the end of detecting that the target touches slide, slide duration and described is touched according to the target
Target touches the corresponding sliding distance of slide, determines that the target touches the sliding speed of slide.
Correspondingly, the detection module 401 can be also used for detecting input by user for camera to be controlled to stop rotating
The first operational order;
The control module 404 can be also used for responding first operational order, and the camera is controlled to stop rotation
Turn.
In the alternative embodiment, mobile phone detects that the target input by user for camera to be controlled to rotate touches slip
During operation, camera rotation can be just controlled at the end of the target touches slide.
Specifically, when mobile phone detect it is input by user for control camera rotate target touch slide when,
Mobile phone can count the target touch slide duration and the target touch slide it is corresponding slide away from
From;At the end of mobile phone detects target slide, it is lasting that mobile phone can touch slide according to the target counted
Time and the target touch the corresponding sliding distance of slide, determine that the target touches the sliding speed of slide.
For example, it is assumed that at the end of mobile phone detects that target touches slide, the target of mobile phone statistics, which touches, slides behaviour
Make duration as t, it is s that target, which touches the corresponding sliding distance of slide, then the target touches the slip of slide
Speed v=s/t.
In another alternative embodiment, first determining module 402 can be specifically used in the detection module
Before 401 detect that the target touch slide terminates, obtain the target every predetermined time period and touch slip behaviour
Make the sliding distance in the predetermined time period;According to the sliding distance in the predetermined time period, the mesh is determined
Mark touches sliding speed of the slide in the predetermined time period.
Correspondingly, second determining module 403 can be specifically used for according to the slip speed in current preset time span
Degree, determines the rotary speed in adjacent next predetermined time period;Wherein, the initial rotation speed of the camera is 0 or pre-
If rotary speed.
In the alternative embodiment, mobile phone detect user camera preview interface input for camera to be controlled to revolve
When the target turned touches slide, in the time-continuing process that slide can be touched in the target, camera rotation is controlled in real time
Turn.
Specifically, when mobile phone detect user camera preview interface input for control camera rotate target
When touching slide, mobile phone can be before target touch slide terminates, every predetermined time period (preset time
Length can be set according to actual scene, such as 100ms, 200ms) obtain cunning of the target touch slide in preset time
Dynamic distance, and according to the sliding distance in the preset time, determine that target touches slip of the slide in the preset time
Speed.
For example, mobile phone detect user camera preview interface input for control camera rotate target touch
When touching slide, target can be obtained every 200ms and touch sliding distance of the slide in the preset time, it is assumed that hand
The sliding distance of the target slide in certain 200ms that machine is got is △ s, then mobile phone can determine that the target touches cunning
Dynamic operation is △ s/200ms in the sliding speed of the preset time.
In a kind of alternative embodiment, second determining module 403, can be specifically used for using the sliding speed as according to
According to the correspondence of pre-set sliding speed and rotary speed being inquired about, to determine the corresponding rotation speed of the sliding speed
Degree.
In the alternative embodiment, in order to realize that camera is rotated with friction speed, touch can be pre-set and slide behaviour
The correspondence of the sliding speed of work and the rotary speed of camera (i.e. the correspondence of sliding speed and rotary speed).Work as hand
After machine determines the sliding speed that target touches slide, mobile phone can be according to pre-set sliding speed and rotary speed
Correspondence, determine target touch slide the corresponding rotary speed of sliding speed.Preferably, slide is touched
Sliding speed is directly proportional to the rotary speed of camera.
In another alternative embodiment, second determining module 403, can be specifically used for using the sliding speed as
Foundation inquires about the default sliding speed set and the correspondence of rotary speed regulatory factor, determines that the sliding speed corresponds to
Rotary speed regulatory factor;According to default rotary speed and the rotary speed regulatory factor, the sliding speed is determined
Corresponding rotary speed.
In the alternative embodiment, in order to realize that camera is rotated with friction speed, lacking for camera can be pre-set
Rotary speed is saved, and the correspondence of the sliding speed for touching slide and camera rotary speed regulatory factor is set (i.e.
The correspondence of sliding speed and regulatory factor).After mobile phone determines that target touches the sliding speed of slide, mobile phone can
With the correspondence according to pre-set sliding speed and regulatory factor, determine that target touches the sliding speed pair of slide
The target regulatory factor answered, and then according to the target regulatory factor and default rotary speed, determine that target touches slide
The corresponding rotary speed of sliding speed.
In an alternative embodiment, the detection module 401 can be also used for detecting the of unlatching camera input by user
Two operational orders;
Correspondingly, please refer to fig. 5, Fig. 5 is the structure diagram of another terminal disclosed by the embodiments of the present invention.Its
In, the terminal shown in Fig. 5 is that terminal as shown in Figure 4 optimizes, compared with terminal shown in Fig. 4, shown in Fig. 5
Terminal can also include:
Output module 405 for responding second operational order, exports camera preview interface in touch-screen.
In an alternative embodiment, the detection module 401, can be specifically used for ought detect that user's both hands refer to takes the photograph described
As when head preview interface, which touches, to be slided, judging that the touch point that user's both hands refer to camera preview interface described in initial touch is
It is no to meet preset condition;If satisfied, it is for controlling to determine that user's both hands refer in camera preview interface touch slip
The target of camera rotation processed touches slide.
In an alternative embodiment, first determining module 402 can be also used for existing as detection module detection user
Being used for after the target that camera is controlled to rotate touch slide for camera preview interface input, determines that the target touches
The corresponding rotary mode of slide;
The control module 404 can be specifically used for controlling the camera with the rotary speed and the rotation
Pattern is rotated.
Referring to Fig. 6, Fig. 6 is the structure diagram of another terminal provided in the embodiment of the present invention.As shown in fig. 6,
The terminal includes:At least one processor, 601, for example (,) CPU, user interface 603, memory 604, camera 605, at least one
A communication bus 602.Wherein, communication bus 602 is used to implement the connection communication between these components.Wherein, user interface 603
It can include touch-screen, optional user interface 603 can also include standard wireline interface and wireless interface.Memory 604 can be with
It is high-speed RAM memory or non-labile memory (non-volatile memory), for example, at least a magnetic
Disk storage.Memory 604 optionally can also be at least one storage device for being located remotely from aforementioned processor 601.Wherein
Batch processing code is stored in memory 604, and processor 601 calls the program code stored in memory 604, for performing
It operates below:
Detection user slides behaviour what camera preview interface inputted for the target that camera 605 rotates to be controlled to touch
Make;
Determine that the target touches the sliding speed of slide;
Corresponding rotary speed is determined according to the sliding speed;
Control camera 605 is rotated with the rotary speed.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to determine that the target touches
The sliding speed of slide can specifically include:
At the end of detecting that the target touches slide, according to the target touch slide it is lasting when
Between and the target touch the corresponding sliding distance of slide, determine that the target touches the sliding speed of slide.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to control camera with described
After rotary speed is rotated, following operation can also carry out:
Detect the first operational order input by user for camera 605 to be controlled to stop rotating;
First operational order is responded, the camera 605 is controlled to stop rotating.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to determine that the target touches
The sliding speed of slide can specifically include:
Before detecting that the target touch slide terminates, obtain the target every predetermined time period and touch
Sliding distance of the slide in the predetermined time period;
According to the sliding distance in the predetermined time period, determine that the target touches slide when described default
Between sliding speed in length.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 according to the sliding speed
It determines corresponding rotary speed, can specifically include:
According to the sliding speed in current preset time span, the rotation speed in adjacent next predetermined time period is determined
Degree;Wherein, the initial rotation speed of the camera is 0 or default rotary speed.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 according to the sliding speed
It determines corresponding rotary speed, can specifically include:
Using the sliding speed as foundation, the correspondence of pre-set sliding speed and rotary speed is inquired about, with true
Determine the corresponding rotary speed of the sliding speed.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 according to the sliding speed
It determines corresponding rotary speed, can specifically include:
Using the sliding speed as foundation, the default sliding speed set pass corresponding with rotary speed regulatory factor is inquired about
System, determines the corresponding rotary speed regulatory factor of the sliding speed;
According to default rotary speed and the rotary speed regulatory factor, the corresponding rotation speed of the sliding speed is determined
Degree.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to detect user in camera
Being used for before the target that camera is controlled to rotate touch slide for preview interface input, can also carry out following operation:
Detect the second operational order of unlatching camera 605 input by user;
Second operational order is responded, camera preview interface is exported in touch-screen.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to detect user in camera
The target that camera is controlled to rotate that is used for of preview interface input touches slide, can specifically include:
When detecting that user's both hands refer in camera preview interface touch slip, judge that user's both hands refer to just
Whether the touch point for beginning to touch the camera preview interface meets preset condition;
If satisfied, it is for controlling camera to determine that user's both hands refer in camera preview interface touch slip
The target of rotation touches slide.
In an alternative embodiment, processor 601 calls the program code stored in memory 604 to detect user in camera
Being used for after the target that camera is controlled to rotate touch slide for preview interface input, can also carry out following operation:
Determine that the target touches the corresponding rotary mode of slide;
Processor 601 calls the program code stored in memory 604 control camera 605 to be carried out with the rotary speed
Rotation, can specifically include:
The camera 605 is controlled to be rotated with the rotary speed and the rotary mode.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not
Must must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be
It is combined in an appropriate manner in any one or more embodiments or example.In addition, without conflicting with each other, this field
Technical staff can carry out the different embodiments described in this specification or example and different embodiments or exemplary feature
With reference to and combination.
Those skilled in the art can be by the different embodiments described in this specification and the feature of different embodiments
It is combined and combines.Module or unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU
(Central Processing Unit, central processing unit) or pass through ASIC (Application Specific
Integrated Circuit, application-specific integrated circuit) it realizes.
Step in all embodiments of the invention method can be sequentially adjusted, merged and deleted according to actual needs;
Module or unit in all embodiments of the invention device can be combined, divided and deleted according to actual needs.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
Row system, device or equipment instruction fetch and the system executed instruction) it uses or combines these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
It puts.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or if necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be employed in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and is independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although it has been shown and retouches above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
The above disclosed right for being only presently preferred embodiments of the present invention, the present invention cannot being limited with this certainly
Scope, one of ordinary skill in the art will appreciate that realize all or part of flow of above-described embodiment, and according to right of the present invention
It is required that the equivalent variations made, still fall within and invent covered scope.
Claims (22)
1. a kind of camera method of controlling rotation, which is characterized in that including:
Detection user touches slide in the target that camera is controlled to rotate that is used for that camera preview interface inputs;
Determine that the target touches the sliding speed of slide;
Corresponding rotary speed is determined according to the sliding speed;
Control camera is rotated with the rotary speed.
2. the according to the method described in claim 1, it is characterized in that, slip speed for determining the target and touching slide
Degree, including:
At the end of detecting that the target touches slide, slide duration is touched according to the target, with
And the target touches the corresponding sliding distance of slide, determines that the target touches the sliding speed of slide.
3. according to the method described in claim 2, it is characterized in that, the control camera is rotated with the rotary speed
Afterwards, further include:
Detect the first operational order input by user for camera to be controlled to stop rotating;
First operational order is responded, the camera is controlled to stop rotating.
4. the according to the method described in claim 1, it is characterized in that, slip speed for determining the target and touching slide
Degree, including:
Before detecting that the target touch slide terminates, obtain the target every predetermined time period and touch slip
Operate the sliding distance in the predetermined time period;
According to the sliding distance in the predetermined time period, it is long in the preset time to determine that the target touches slide
Sliding speed in degree.
5. according to the method described in claim 4, it is characterized in that, described determine corresponding rotation speed according to the sliding speed
Degree, including:
According to the sliding speed in current preset time span, the rotary speed in adjacent next predetermined time period is determined;Its
In, the initial rotation speed of the camera is 0 or default rotary speed.
6. method according to any one of claims 1 to 4, which is characterized in that described to be determined according to the sliding speed
Corresponding rotary speed, including:
Using the sliding speed as foundation, the correspondence of pre-set sliding speed and rotary speed is inquired about, to determine institute
State the corresponding rotary speed of sliding speed.
7. method according to any one of claims 1 to 4, which is characterized in that described to be determined according to the sliding speed
Corresponding rotary speed, including:
Using the sliding speed as foundation, the default sliding speed set and the correspondence of rotary speed regulatory factor are inquired about,
Determine the corresponding rotary speed regulatory factor of the sliding speed;
According to default rotary speed and the rotary speed regulatory factor, the corresponding rotary speed of the sliding speed is determined.
8. according to the method described in claim 1 to 7 any one, which is characterized in that the detection user is in camera preview
Being used for before the target that camera is controlled to rotate touch slide for interface input, further includes:
Detect the second operational order of unlatching camera input by user;
Second operational order is responded, camera preview interface is exported in touch-screen.
9. according to the method described in claim 1 to 8 any one, which is characterized in that the detection user is in camera preview
The target that camera is controlled to rotate that is used for of interface input touches slide, including:
When detecting that user's both hands refer in camera preview interface touch slip, judge that user's both hands refer to initial touch
Whether the touch point for touching the camera preview interface meets preset condition;
If satisfied, it is for camera to be controlled to rotate to determine that user's both hands refer in camera preview interface touch slip
Target touch slide.
10. according to the method described in claim 1 to 9 any one, which is characterized in that the detection user is in camera preview
Being used for after the target that camera is controlled to rotate touch slide for interface input, further includes:
Determine that the target touches the corresponding rotary mode of slide;
The control camera is rotated with the rotary speed, including:
The camera is controlled to be rotated with the rotary speed and the rotary mode.
11. a kind of terminal, which is characterized in that including:
Detection module is slided for detecting user what camera preview interface inputted for the target that camera rotates to be controlled to touch
Dynamic operation;
First determining module, for determining that the target touches the sliding speed of slide;
Second determining module, for determining corresponding rotary speed according to the sliding speed;
Control module, for camera to be controlled to be rotated with the rotary speed.
12. terminal according to claim 11, which is characterized in that
First determining module, specifically for working as at the end of the detection module detects that the target touches slide,
Slide duration is touched according to the target and the target touches the corresponding sliding distance of slide, really
The fixed target touches the sliding speed of slide.
13. terminal according to claim 12, which is characterized in that
The detection module is additionally operable to detect the first operational order input by user for camera to be controlled to stop rotating;
The control module is additionally operable to respond first operational order, the camera is controlled to stop rotating.
14. terminal according to claim 11, which is characterized in that
First determining module, specifically for detecting that the target touches slide and terminates it in the detection module
Before, it obtains the target every predetermined time period and touches sliding distance of the slide in the predetermined time period;Root
According to the sliding distance in the predetermined time period, determine that the target touches slide in the predetermined time period
Sliding speed.
15. terminal according to claim 14, which is characterized in that
Second determining module, specifically for according to the sliding speed in current preset time span, determining adjacent next pre-
If the rotary speed in time span;Wherein, the initial rotation speed of the camera is 0 or default rotary speed.
16. according to the terminal described in claim 11 to 14 any one, which is characterized in that
Second determining module, specifically for using the sliding speed as foundation, inquiring about pre-set sliding speed and rotation
The correspondence of rotary speed, to determine the corresponding rotary speed of the sliding speed.
17. according to the terminal described in claim 11 to 14 any one, which is characterized in that
Second determining module, specifically for using the sliding speed as foundation, inquiring about the default sliding speed set and rotation
The correspondence of rotary speed regulatory factor determines the corresponding rotary speed regulatory factor of the sliding speed;According to default rotation
Speed and the rotary speed regulatory factor, determine the corresponding rotary speed of the sliding speed.
18. according to the terminal described in claim 11 to 17 any one, which is characterized in that
The detection module is additionally operable to detect the second operational order of unlatching camera input by user;
The terminal further includes:
Output module for responding second operational order, exports camera preview interface in touch-screen.
19. according to the terminal described in claim 11 to 18 any one, which is characterized in that
The detection module, specifically for when detecting that user's both hands refer in camera preview interface touch slip, sentencing
Whether the touch point that the user's both hands that break refer to camera preview interface described in initial touch meets preset condition;If satisfied, really
Fixed user's both hands, which refer to touch in the camera preview interface, to be slided to slide for the target that camera rotates to be controlled to touch
Dynamic operation.
20. according to the terminal described in claim 11 to 19 any one, which is characterized in that
First determining module is additionally operable to be used to control what camera preview interface inputted as detection module detection user
After the target of camera rotation processed touches slide, determine that the target touches the corresponding rotary mode of slide;
The control module, specifically for the camera is controlled to be revolved with the rotary speed and the rotary mode
Turn.
21. a kind of terminal, which is characterized in that the terminal includes:At least one processor, user interface, memory, camera shooting
Head, at least one communication bus, wherein, communication bus is used to implement the connection communication between these components;
Wherein, batch processing code is stored in the memory, and processor calls the program code stored in memory, is used for
Perform claim requires the method described in 1 to 10 any one.
22. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has program,
In, described program is used to instruct relevant hardware to complete method as described in any one of claim 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810061336.7A CN108111766B (en) | 2015-03-23 | 2015-03-23 | Camera rotation control method, terminal and medium product |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129999.4A CN104883492B (en) | 2015-03-23 | 2015-03-23 | A kind of camera method of controlling rotation and terminal |
CN201810061336.7A CN108111766B (en) | 2015-03-23 | 2015-03-23 | Camera rotation control method, terminal and medium product |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129999.4A Division CN104883492B (en) | 2015-03-23 | 2015-03-23 | A kind of camera method of controlling rotation and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111766A true CN108111766A (en) | 2018-06-01 |
CN108111766B CN108111766B (en) | 2020-12-15 |
Family
ID=53950816
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129999.4A Expired - Fee Related CN104883492B (en) | 2015-03-23 | 2015-03-23 | A kind of camera method of controlling rotation and terminal |
CN201810061336.7A Expired - Fee Related CN108111766B (en) | 2015-03-23 | 2015-03-23 | Camera rotation control method, terminal and medium product |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129999.4A Expired - Fee Related CN104883492B (en) | 2015-03-23 | 2015-03-23 | A kind of camera method of controlling rotation and terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104883492B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120179B (en) * | 2015-09-22 | 2019-01-11 | 三星电子(中国)研发中心 | A kind of photographic method and device |
CN105306820A (en) * | 2015-10-15 | 2016-02-03 | 广东欧珀移动通信有限公司 | Method and device for controlling rotation of camera in mobile terminal and mobile terminal |
CN105763794B (en) * | 2016-02-25 | 2018-12-14 | 广东欧珀移动通信有限公司 | Camera spinning solution and camerahead rotating device |
CN106027907B (en) * | 2016-06-30 | 2019-08-20 | 维沃移动通信有限公司 | A kind of method and mobile terminal of adjust automatically camera |
WO2018152773A1 (en) * | 2017-02-24 | 2018-08-30 | SZ DJI Technology Co., Ltd. | Multi-gimbal assembly |
CN108924286B (en) * | 2018-06-08 | 2020-12-04 | Oppo广东移动通信有限公司 | Electronic device and control method and device of sliding assembly of electronic device |
CN110177217A (en) * | 2019-06-28 | 2019-08-27 | Oppo广东移动通信有限公司 | Image capturing method, device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561723A (en) * | 2009-05-18 | 2009-10-21 | 苏州瀚瑞微电子有限公司 | Operation gesture of virtual game |
US20120069231A1 (en) * | 2010-09-21 | 2012-03-22 | Altek Corporation | Unlocking method of a touch screen and electronic device with camera function thereof |
CN102722331A (en) * | 2012-05-30 | 2012-10-10 | 华为技术有限公司 | Touch unlocking method and device and electronic equipment |
CN104238669A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling rotation of camera of mobile terminal and mobile terminal |
CN104349064A (en) * | 2014-10-28 | 2015-02-11 | 广东欧珀移动通信有限公司 | Terminal and camera control method, device, and system thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309599A (en) * | 2012-03-15 | 2013-09-18 | 华为终端有限公司 | Touch screen sliding finding method and touch screen equipment |
CN103365577A (en) * | 2012-03-28 | 2013-10-23 | 联想(北京)有限公司 | Control method and electronic device with touch screen |
CN103034451B (en) * | 2012-12-21 | 2016-04-06 | 广东欧珀移动通信有限公司 | A kind of page positioning method of mobile terminal and device |
CN103995788B (en) * | 2014-05-27 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of method and device of touch screen terminal control camera rotation |
-
2015
- 2015-03-23 CN CN201510129999.4A patent/CN104883492B/en not_active Expired - Fee Related
- 2015-03-23 CN CN201810061336.7A patent/CN108111766B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561723A (en) * | 2009-05-18 | 2009-10-21 | 苏州瀚瑞微电子有限公司 | Operation gesture of virtual game |
US20120069231A1 (en) * | 2010-09-21 | 2012-03-22 | Altek Corporation | Unlocking method of a touch screen and electronic device with camera function thereof |
CN102722331A (en) * | 2012-05-30 | 2012-10-10 | 华为技术有限公司 | Touch unlocking method and device and electronic equipment |
CN104238669A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling rotation of camera of mobile terminal and mobile terminal |
CN104349064A (en) * | 2014-10-28 | 2015-02-11 | 广东欧珀移动通信有限公司 | Terminal and camera control method, device, and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104883492B (en) | 2018-02-27 |
CN104883492A (en) | 2015-09-02 |
CN108111766B (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104883492B (en) | A kind of camera method of controlling rotation and terminal | |
CN109508093B (en) | Virtual reality interaction method and device | |
CN102566918B (en) | Display control apparatus and control method therefore | |
TWI490771B (en) | Programmable display unit and screen operating and processing program thereof | |
EP3096216B1 (en) | Information processing device, information processing program, and information processing method | |
TWI705361B (en) | Control method, electronic device and non-transitory computer readable storage medium device | |
CN103853492B (en) | Carry information processor of the touch panel as user interface | |
CN108064368A (en) | The control method and device of flexible display device | |
JP2015041271A5 (en) | ||
CN104793887B (en) | The dual camera control method and device of mobile terminal | |
CN103412720A (en) | Method and device for processing touch-control input signals | |
KR101891306B1 (en) | Method and Apparatus for Realizaing Human-Machine Interaction | |
CN108803986A (en) | A kind of method of adjustment and device of mobile terminal virtual key | |
EP3508966A1 (en) | Household appliance control method and device, and washing machine | |
CN104750412A (en) | Method for controlling display interfaces | |
CN108762626B (en) | Split-screen display method based on touch all-in-one machine and touch all-in-one machine | |
CN111796746B (en) | Volume adjusting method, volume adjusting device and electronic equipment | |
CN109960454B (en) | User parameter input method and device of electrical equipment and electrical equipment using method | |
WO2023143460A1 (en) | Method and device for controlling flight assembly, terminal, and readable storage medium | |
CN104750356A (en) | Mobile terminal | |
CN111059719B (en) | Control method, system, device, equipment and medium of air conditioner | |
CN113986080A (en) | Multimedia file editing method and device and electronic equipment | |
CN108475166A (en) | Information processing unit and its control method and program | |
CN117835044B (en) | Debugging method and device of motion capture camera | |
JP7147807B2 (en) | Engineering device, host control device, engineering method, processing execution method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201215 |
|
CF01 | Termination of patent right due to non-payment of annual fee |