Camera switching method, terminal and device and computer readable storage medium
A camera and terminal technology, applied in image communication, TV, color TV parts, etc., can solve the problems of low learning cost, inaccurate focus, poor user experience, etc., and achieve the effect of improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] In order to improve the user's experience in terminal shooting, the embodiment of the present invention provides a camera switching method, please refer to figure 1 ,include:
[0030] S101. Obtain continuous images captured by the first camera;
[0031] S102. Record the lens position corresponding to each image captured by the first camera;
[0032] It should be noted that the lens position is a position within a movable range of the lens inside the terminal. See for example figure 2 , in this example, the lens 21 can move between point A and point B. It can be seen that point A is the closest position of the lens to the object 22 within the movable range inside the terminal, and the position of the lens reflects that the lens is between point A and point B. Which position between point B (including point A, point B).
[0033] S103. Acquiring image information of each image;
[0034] S104. When there is image information of two adjacent frames of images and the co...
example 1
[0055] Determine whether the terminal is moving, if the terminal is not moving, the following steps can be performed;
[0056] S201. Determine whether the lens positions corresponding to two adjacent frames of images are located at the position closest to the object to be photographed within the movable range of the lens inside the terminal, and if so, perform step S202;
[0057] S202. Obtain the sharpness of two adjacent frames of images, and when the sharpness of the next frame of images is lower than that of the previous frame of images, execute step S203;
[0058] S203. Switch to the second camera for shooting.
[0059] In Example 1, the terminal that does not move meets the first condition, and automatically switches to the second camera for shooting.
example 2
[0061] Determine whether the terminal is moving, if the terminal is moving, the following steps can be performed;
[0062] S301. Determine the moving direction of the terminal, and if the terminal moves in a direction close to the object to be photographed, perform step S302;
[0063] S302. Determine whether the positions of the lenses corresponding to two adjacent frames of images are located at the position closest to the object to be photographed within the movable range of the lens inside the terminal, if so, perform step S303, and if not, perform step S304;
[0064] S303. Obtain the sharpness of two adjacent frames of images, and if the sharpness of the next frame of images is lower than that of the previous frame of images, execute step S306;
[0065] S304. Determine whether the lens positions corresponding to two adjacent frames of images move toward the direction of the object to be photographed, and if so, perform step S305;
[0066] S305. Determine whether the frequ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


