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 plurality of faces present in an imaged scene, the plurality of faces being at different focal lengths; recognizing an identity of an individual having a face from among the plurality of detected faces by determining, with the processing device, that the face is the face of an individual having a social relationship with the user of the electronic device; recognizing an identity of an additional individual as having another face from among the plurality of faces by determining, with the processing device, that the another face is the face of an additional individual having a social relationship with the user of the electronic device; setting, with the processing device, the focus of the camera to a first focal length to focus on the face of the recognized individual; capturing, with the camera, a first image with the focus on the face of the recognized individual; setting, with the processing device, the focus of the camera to a second focal length different than the first focal length to focus on the face of the recognized additional individual; capturing, with the camera, a second image with the focus on the face of the recognized additional individual; and combining the first image and the second image to create the digital image with focus on the face of the recognized individual and focus on the face of the recognized additional individual.