Method and device for resetting rotary camera of mobile terminal
A technology for rotating cameras and mobile terminals, applied in the field of cameras, can solve problems such as manual reset of rotating cameras, achieve the effect of safe and fast reset, and improve overall lifespan
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Please refer to figure 1 , figure 1 It is an implementation flowchart of a method for resetting a rotating camera of a mobile terminal provided in Embodiment 1 of the present invention, starting from figure 1 It can be seen that a method for resetting a rotating camera of a mobile terminal according to the present invention includes the following steps:
[0040] Step S101: Obtain the real-time rotation angle of the rotating camera, where the real-time rotation angle is the angle formed by the current position of the rotating camera and the reset end position.
[0041] In this step, the real-time rotation angle changes as the rotation camera is reset, and the reset end position is the position where the rotation angle of the rotation camera is zero.
[0042] Step S102: Determine whether the real-time rotation angle is greater than a preset angle threshold.
[0043] In this step, the preset angle threshold is set based on experience. In the range where the real-time ro...
Embodiment 2
[0050] Please refer to figure 2 , figure 2 It is an implementation flowchart of a method for resetting a rotating camera of a mobile terminal provided in Embodiment 2 of the present invention, starting from figure 2It can be seen that a method for resetting a rotating camera of a mobile terminal according to the present invention includes the following steps:
[0051] Step S201: Determine whether the real-time rotation angle of the rotating camera is greater than zero angle, the real-time rotation angle being the angle formed by the current position of the rotating camera and the reset end position.
[0052] In this step, judging whether the real-time rotation angle of the rotating camera is greater than zero angle is to determine whether the rotating camera is at the reset end position, that is, whether the real-time rotation angle is zero angle, if the real-time rotation angle is zero angle, there is no need for a reset operation.
[0053] Step S202: If the real-time r...
Embodiment 3
[0069] Please refer to image 3 , image 3 It is a frame structure diagram of a reset device for a rotating camera of a mobile terminal provided in Embodiment 3 of the present invention, from image 3 It can be seen that a reset device for a mobile terminal rotating camera in this embodiment includes:
[0070] The angle obtaining module 10 is configured to obtain the real-time rotation angle of the rotating camera, and the real-time rotating angle is the angle formed by the current position of the rotating camera and the reset terminal position.
[0071] In this embodiment, the real-time rotation angle changes as the rotation camera is reset, and the reset end point is a position where the rotation angle of the rotation camera is zero.
[0072] The third judging module 20 is configured to judge whether the real-time rotation angle is greater than a preset angle threshold.
[0073] In this embodiment, the preset angle threshold is set based on experience. In the range where ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 