1. A method, comprising:capturing a first image of a scene;
detecting a face in a section of the scene from the first image;
creating a three dimensional profile of the face;
calculating an amount of infrared (IR) light to illuminate the section of the scene based on the first image and the three dimensional profile of the face;
activating an infrared (IR) light source to selectively illuminate the section of the scene with the amount of IR light, the IR light source comprising an array of IR light emitting diodes (LEDs);
capturing a second image of the scene under selective IR lighting from the IR light source;
detecting the face in the second image; and
identifying a person based on the face in the second image.