1. A method of processing data, the method comprising: detecting image data comprising an image of a license plate; examining the image data to localize a region of the license plate within the image; processing, by a processor, the region of the license plate to determine a set of distortion parameters for the license plate; and applying the set of distortion parameters to the image data to enhance the image of the license plate.