An input image is received from a mobile device. A portion of the input image is determined to correspond to a test card and an image transformation is applied to that portion of the input image. The image transformation rectifies the portion of the input image. Based on the rectified image, a specific test for which the test card includes a result and the result of that test are both identified.