Digitize data from an image