Lateral shooting angle detecting method, inclined shooting angle detecting method and mobile phone
A technology for shooting angle and detection of mobile phones, applied in the direction of measuring inclination, measuring angle, camera, etc., can solve the problem of hand-held mobile phone tilting, affecting the shooting effect, photo or video angle deviation, etc., to achieve good shooting effect, prevent deviation, The effect of increasing the experience
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2012-02-15
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of mobile phones, in particular to a method for detecting a lateral shooting angle, a method for detecting an oblique shooting angle, and a mobile phone. Background technique
[0002] Mobile phones are becoming more and more popular in people's daily life. As a major multimedia device of mobile phones, the camera can take pictures, video and other actions. In addition, during video calls, the camera can be used to have face-to-face conversations with the caller in real time. Because the mobile phone is convenient to carry and use, and users can use the camera in the mobile phone to take pictures at any time in life, travel, work and study, more users will tend to use the shooting function of the mobile phone.
[0003] However, in the process of shooting with the mobile phone camera of the prior art, there are often deviations in the angles of the photos or videos taken, which affects the shooting effect. For...
Examples
Embodiment Construction
[0034] see first Figure 1-2 , figure 1 It is a flow chart of a preferred embodiment of the lateral shooting angle detection method disclosed in the present invention, figure 2 A schematic diagram of a mobile phone on an x-y coordinate system in a preferred embodiment of the sideways shooting angle detection method disclosed in the present invention. sideways. Such as figure 1 As shown, the lateral shooting angle detection method disclosed in the present invention includes the following steps:
[0035] Step 101: Set the x-axis, y-axis, and z-axis that constitute the three-dimensional coordinate system on the mobile phone, wherein the plane formed by the x-axis and y-axis is parallel to the plane where the display screen of the mobile phone is located, and the y-axis is when the user holds the mobile phone vertically to the ground In line with the acceleration of gravity g;
[0036] Step 102: Sensing the gravitational acceleration component A of the gravitational accelera...