A camera phone and method for automatically adjusting the exposure of a
camera in order to improve image of an object is previewed with a current
exposure, data is extracted from frames of the previewed image and
analyzed to determine illumination of the previewed object, and an
exposure is adjusted according to the analyzed result.