This patent protects the invention to automatically capture the best quality document images using mobile or tablet devices with the help of real]time calibration of parameters, such as distance ofcapture, ideal resolution, etc. An analysis and relevant enhancement/correction of the document image quality is done, and an acknowledgment is sent. It also establishes the validity of the document through photos, signatures, etc.