Patent ID: 9743009
Date: 2017-08-22
CPC Classifications: H04N

Claim:
1. An image processing method, executed by a portable electronic device having an image capturer and a control unit, the method comprising: obtaining a first image by the image capturer; generating a first average brightness value of a dark part of the first image by the control unit; recognizing the first image by the control unit; when a human face is recognized from the first image, generating a first average brightness value of the human face by the control unit, and generating a first exposure value by the control unit according to the first average brightness value of the dark part of the first image, the first average brightness value of the human face and a weight array; adjusting the exposure of the first image by the control unit according to the first exposure value; generating a label value and setting the label value as a first parameter value by the control unit when the human face is recognized from the first image; obtaining a second image by the image capturer, and generating a second average brightness value of the dark part of the second image by the control unit; recognizing the second image by the control unit; generating a second exposure value by the control unit according to the second average brightness value of the dark part of the second image, the first average brightness value of the human face and the weight array when the human face is not recognized from the second image and the label value is the first parameter value; and adjusting the exposure of the second image by the control unit according to the second exposure value.