A device for corneal imaging is disclosed. The device comprises a first camera and processing means. The first camera is configured for imaging a cornea of a user of the device and/or an eyewear worn by the user. The processing means is operative to acquire a first image from the first camera, identify a first reflection by the cornea and/or a second reflection by a reflective surface of the eyewear, and determine a first optical transformation representing the first reflection and/or a second optical transformation representing the second reflection. Embodiments of the invention provide an improved corneal imaging solution for user operated computing devices by taking specular reflections originating from one or more reflective surfaces of an eyewear worn by the user into consideration. Also disclosed are a corresponding method, computer program, and computer program product.