1. A barcode scanner comprising: a photo detector; a variable focus element situated such that light incident on the photo detector passes through the variable focus element; and a processor coupled to the photo detector to process an image of a barcode captured by the photo detector to at least partially deblur the image.