Patent ID: 9338347
Filing Date: 2016-05-10
CPC Classification: H04N

Claim Text:
1. A method for adjusting a photographic lamp of an electronic device, the electronic device comprising a camera device, a processor, the method comprising: predetermining a plurality of first output power values corresponding to a plurality of brightness values, for the photographic lamp used when the camera device is used to capture an image including a human face; predetermining a plurality of second output power values corresponding to the plurality of brightness values, for the photographic lamp used when no human face needs to be captured by the camera device; obtaining a preview image from the camera device; determining whether the human face is detected in the obtained preview image by using the processor; obtaining a brightness value of an ambient environment of the electronic device; and determining a first output power value of the photographic lamp corresponding to the obtained brightness value when the human face is detected in the obtained preview image, and changing a current output power value of the photographic lamp to be the determined first output power value, wherein the determined first output power value is one of the plurality of first output power values; or determining a second output power value of the photographic lamp corresponding to the obtained brightness value when no human face is detected in the obtained preview image, and changing the current output power value of the photographic lamp to be the determined second output power value, wherein the determined second output power value is one of the plurality of second output power values, wherein the determined second output power value is different from the determined first output power value.