1. A method of setting a focus of a digital image based on social relationship to a user of an electronic device, comprising: imaging a scene with a camera of the electronic device; detecting, with a processing device of the electronic device, a face present in an imaged scene; recognizing an identity of an individual having the detected face by determining, with the processing device, that the detected face is the face of an individual having a social relationship with the user of the electronic device; setting, with the processing device, the focus of the camera to focus on the face of the recognized individual; and capturing, with the camera, the digital image with the focus on the face of the recognized individual.