1. A method for processing an image, comprising: acquiring the image, wherein the image contains a plurality of faces; recognizing the plurality of faces contained in the image; matching the recognized faces with faces prestored in a database; retrieving, according to a preset correspondence between information of character features and the faces prestored in the database, information of character features on the recognized faces, wherein the information of character features comprises an age and a gender of a person for each of the plurality of faces respectively; acquiring a preset cosmetic process mode corresponding to the retrieved information of character features without manual setting, wherein the preset cosmetic process mode is acquired by querying a corresponding table between a plurality of pieces of information of character features and a plurality of preset cosmetic process modes, and comprises a preset cosmetic process option and a cosmetic process level regarding the cosmetic process option; processing each of the plurality of faces in the image with the preset cosmetic process mode corresponding to the age and the gender of the person for each of the plurality of faces respectively; and obtaining a processed image.