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 or eye 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 a 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 on the 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; calculating a focus position based on the location of the face of the living being, the estimating of the blur kernel being based in part on the optimal focus position and/or the calculated focus position; and processing the produced image to determine an identity of the living being.