1. A method of capturing an image of a document on a mobile device, comprising: initializing an image sensor on the mobile device to detect at least one image of the document; measuring a value of at least one parameter related to quality of the at least one image being detected by the image sensor; and capturing at least one image of the document when the value of the at least one measured parameter reaches or exceeds a threshold value.