A Canon XSI Digital SLR was mounted onto a tripod as shown below. A desk lamp was used for additional lighting. More specifically an 18-55mm zoom lens was used at the 18mm (fully zoomed out), the onboard flash was used on manual settings. Handwriting was standardized to half an inch in height with a pilot ballpoint pen to help simplify the subsequent image processing procedure.
One time manual cropping
The algorithm used requires one line of handwritten digits at a time thus once the image was captured using the camera it was loaded into matlab using the uigetfile –(fancy gui to get filepath and filename) and Imread- (use filepath/filename to load in actual image into matlab workspace) commands. To finish off this step use the imcrop() command to manually crop one line of digits from the image with final product below. Note: this is the only time that there is manually cropping of the image from here on we complete the process algorithmically. Please see improvements on how we could of taken out all manual cropping entirely.