Extract features from images of test result, and then train a classifier to classify the images automatically.