Electronic device and method of camera control
AssigneesAmbit Microsystems (Shanghai) Ltd., Hon Hai Precision Industry Co., Ltd.
InventorAi-Ning Song
Life of this patent
Estimating the term…
Abstract
An electronic device includes two cameras each with a light sensor. The electronic device uses the light sensor of one of the two cameras which is operational to detect an ambient luminance, and determines if the detected ambient luminance is less than a preset shading value. In response to the detected ambient luminance being less than the preset shading value, the electronic device interchanges the cameras to work. That is, the electronic device powers down the one of the two cameras which is operational and activating the other one of the two cameras.
Claims6
An electronic device, comprising:
- two cameras each with a light sensor, wherein one camera can be active and the other deactive, wherein the light sensor does not detect until the corresponding camera is operational;
- one or more processing modules;
- memory;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processing modules, the one or more programs comprise instructions for:
- detecting, at the active light sensor, an ambient luminance;
- determining if the detected ambient luminance is less than a preset shading value;
- and
- in response to the detected ambient luminance being less than the preset shading value, deactivating the active camera and activating the deactive camera;
- counting a number of interchange times of the two cameras within a predetermined time period;
- comparing whether the number of interchange times is greater than a preset number, and controlling the cameras according to the comparison result.
A method of controlling cameras of an electronic device, the electronic device comprising two cameras each with a light sensor, wherein the light sensor does not detect until the corresponding camera is operational, the method comprising:
- detecting, at the active light sensor, an ambient luminance;
- determining if the detected ambient luminance is less than a preset shading value;
- and
- in response to the detected ambient luminance being less than the preset shading value, deactivating the active camera and activating the deactive camera;
- counting a number of interchange times of the two cameras within a predetermined time period;
- determining whether the number of interchange times is greater than a preset number, and controlling the cameras according to the comparison result.
Dependencies are inferred from the claim text.