1. A method of identifying a living being, comprising the steps of: using a time-of-flight sensor to determine a 3D location of a face of the living being; calculating a focus position based on the location of the face of the living being; producing an image of an iris of the living being, the producing being dependent upon the location of the face as determined by the time-of-flight sensor, the producing step including the substeps of: using a camera to capture a visual representation of the iris of the living being; and modifying the captured visual representation based on an optimal focus position of the camera while capturing the visual representation and based on the location of the face of the living being during the capturing, the modifying including estimating a blur kernel based in part on the optimal focus position of the camera while capturing the visual representation and based on the calculated focus position of the face of the living being during the capturing; and processing the produced image to determine an identity of the living being.