Patent ID: 9521308
Filing Date: 2016-12-13
CPC Classification: H04N

Claim Text:
1. An electronic device comprising: a camera, a red green blue (RGB) sensor, a flash comprising a high color temperature light-emitting diode (LED) and a low color temperature LED, and at least one processor; and a storage device that stores one or more programs, which when executed by the at least one processor, cause the at least one processor to: obtain an illumination intensity and a color temperature of a current environment from the RGB sensor; turn on a pre-flash of the flash when the illumination intensity is lower than a first predetermined value; control a color temperature of the pre-flash to be equal to the color temperature by adjusting a ratio between current of the high color temperature LED and current of the low color temperature LED when the color temperature is lower than a second predetermined value; obtain a distance between a target object and the camera; adjust the current of the high color temperature LED and the current of the low color temperature LED simultaneously according to the obtained distance after turning on a main-flash of the flash; and capture an image of the target object while keeping the ratio between the current of the high color temperature LED and the current of the low color temperature LED unchanged.