Patent ID: 8582000

Claim:
An electronic device comprising: an illumination module including a first light source configured to emit a first light of a first intensity and a second light source configured to emit a second light of a second intensity; a camera module configured to capture image data and detect a color spectrum of at least one type of ambient light; and a processing module coupled to the first light source, the second light source and the camera module, the processing module adapted to: receive image data from the camera module; determine an intensity of a first light matching the color spectrum of the ambient light when combined with a second light; determine an intensity of the first light when combined with the intensity of the second light, wherein a resulting color spectrum of the combination of the first light and second light intensities substantially matches the color spectrum of the ambient light; adjust the intensity of the first light based on the determined intensity of the first light; and adjust the intensity of the second light based on the determined intensity of first light.