IP Library Granted Patent US 10,951,833
Granted Patent B2
US 10,951,833 · App. 16/003,984 · Granted Mar 16, 2021

Method and device for switching between cameras, and terminal

Inventor: Quan Yuan (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N5/247G06T7/50H04N5/2257H04N5/2351H04N5/23229H04N5/23296H04N9/735H04N5/2252H04N5/23238
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,951,833
App. No.
16/003,984
Granted
Mar 16, 2021
Kind
B2
Abstract

The present disclosure provides a method and a device for switching between cameras and a terminal. When it is determined that a current zoom factor satisfies a first switching condition, a distance between a current object to be photographed and the camera and/or current illumination is obtained. It is determined whether the distance between the current object to be photographed and the camera and/or the current illumination satisfies a second switching condition. When the distance between the current object to be photographed and the camera and/or the current illumination satisfies the second switching condition, a switch is performed between the cameras.

Claims (57)

1. A method for switching between cameras, applied in a terminal having at least a first camera and a second camera, comprising:

when the first camera is currently used and it is determined that a current zoom factor satisfies a first switching condition for switching the first camera to the second camera, obtaining current illumination via the first camera currently used;

under a same illumination condition to that of the current illumination obtained by the first camera, calculating illumination sensed by the second camera based on an aperture size of the second camera, a shutter time of the second camera and a sensitivity parameter of the second camera;

determining whether the illuminance sensed by the second camera is greater than illumination required by the second camera; and

when the illuminance sensed by the second camera is greater than the illumination required by the second camera, switching from the first camera to the second camera.

2. The method according to claim 1 , before it is determined that the current zoom factor satisfies the first switching condition, further comprising:

determining the current zoom factor according to an obtained zooming instruction; or

determining the current zoom factor according to an obtained image adjusting instruction.

3. The method according to claim 1 , before it is determined that the current zoom factor satisfies the first switching condition, further comprising:

determining a type of a camera currently used in the terminal; and

determining whether the current zoom factor satisfies the first switching condition according to the type of the camera currently used in the terminal and the current zoom factor.

4. The method according to claim 1 , before switching from the first camera to the second camera, further comprising:

recording a white balance gain value of the first camera; and

after switching from the first camera to the second camera, further comprising:

performing white balance adjusting on an image photographed by the second camera by taking the white balance gain value as an initial value.

5. The method according to claim 1 , further comprising:

determining a distance between a current object to be photographed and the cameras; and

determining whether the distance between the current object to be photographed and the cameras satisfies a second switching condition for switching between the first camera and the second camera;

when the distance between the current object to be photographed and the cameras satisfies the second switching condition for switching between the first camera and the second camera, controlling to switch between the first camera and the second camera.

6. A terminal, comprising: one or more of following components: a housing, at least a first camera and a second camera, a processor, a memory, a power circuit, and a communication component, wherein the cameras, the processor, the memory, the power circuit and the communication component are arranged in a space enclosed by the housing; the power circuit is configured to provide power for respective circuits or components of the terminal; the memory is configured to store executable program codes; the processor is configured to run a program corresponding to the executable program codes by reading the executable program codes stored in the memory, to perform following operations:

when the first camera is currently used and it is determined that a current zoom factor satisfies a first switching condition for switching the first camera to the second camera, obtaining current illumination via the first camera currently used;

under a same illumination condition to that of the current illumination obtained by the first camera, calculating illumination sensed by the second camera based on an aperture size of the second camera, a shutter time of the second camera and a sensitivity parameter of the second camera;

determining whether the illuminance sensed by the second camera is greater than illumination required by the second camera; and

when the illuminance sensed by the second camera is greater than the illumination required by the second camera, switching from the first camera to the second camera.

7. The terminal according to claim 6 , the processor is configured to perform:

determining the current zoom factor according to an obtained zooming instruction; or

determining the current zoom factor according to an obtained image adjusting instruction.

8. The terminal according to claim 6 , the processor is configured to perform:

determining a type of a camera currently used in the terminal; and

determining whether the current zoom factor satisfies the first switching condition according to the type of the camera currently used in the terminal and the current zoom factor.

9. The terminal according to claim 6 , the processor is configured to perform:

recording a white balance gain value of a camera currently used camera; and

after controlling to switch between the cameras, the method further comprising:

performing white balance adjusting on an image photographed by the target camera by taking the white balance gain value as an initial value.

10. The terminal according to claim 6 , wherein the processor is further configured to perform:

determining a distance between a current object to be photographed and the cameras; and

determining whether the distance between the current object to be photographed and the cameras satisfies a second switching condition for switching between the first camera and the second camera;

when the distance between the current object to be photographed and the cameras satisfies the second switching condition for switching between the first camera and the second camera, controlling to switch between the first camera and the second camera.

11. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal, causes the terminal to perform a method for switching between cameras, the method comprising:

when a first camera is currently used and it is determined that a current zoom factor satisfies a first switching condition for switching the first camera to the second camera, obtaining current illumination via the first camera currently used;

under a same illumination condition to that of the current illumination obtained by the first camera, calculating illumination sensed by the second camera based on an aperture size of the second camera, a shutter time of the second camera and a sensitivity parameter of the second camera;

determining whether the illuminance sensed by the second camera is greater than illumination required by the second camera; and

when the illuminance sensed by the second camera is greater than the illumination required by the second camera, switching from the first camera to the second camera.

12. The storage medium according to claim 11 , before it is determined that the current zoom factor satisfies the first switching condition, the method further comprising:

determining the current zoom factor according to an obtained zooming instruction; or

determining the current zoom factor according to an obtained image adjusting instruction.

13. The storage medium according to claim 11 , before it is determined that the current zoom factor satisfies the first switching condition, the method further comprising:

determining a type of a camera currently used in the terminal; and

determining whether the current zoom factor satisfies the first switching condition according to the type of the camera currently used in the terminal and the current zoom factor.

14. The storage medium according to claim 11 , before switching from the first camera to the second camera, the method further comprising:

recording a white balance gain value of the first camera; and

after switching from the first camera to the second camera, further comprising:

performing white balance adjusting on an image photographed by the second camera by taking the white balance gain value as an initial value.

15. The storage medium according to claim 11 , wherein the method further comprises:

determining a distance between a current object to be photographed and the cameras; and

determining whether the distance between the current object to be photographed and the cameras satisfies a second switching condition for switching between the first camera and the second camera;

when the distance between the current object to be photographed and the cameras satisfies the second switching condition for switching between the first camera and the second camera, controlling to switch between the first camera and the second camera.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 8, 2018
From: QUAN, YUAN
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 046031/0965 →
Priority Claims (1)
CN 201710557982.8 · Jul 10, 2017 · national
Continuity (1)
Related Publication 20190014270A1 · Jan 10, 2019
Cited By (2)
US 12,563,291 US 12,598,383