1. A method of controlling a digital photographing apparatus, the method comprising: generating a first image signal by photographing a face of a subject; performing a face recognition algorithm by using the first image signal; adjusting an exposure value when the face cannot be recognized from the first image signal; generating a second image signal by photographing the face of the subject under the adjusted exposure value; and performing the face recognition algorithm by using the second image signal.