<< Chapter < Page Chapter >> Page >
Experimental setup for acquiring images.

Give me your digits!: image acquisition

Camera setup

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.

Camera setup

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.

Photographed and manually cropped image of digits.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2008. OpenStax CNX. Jan 22, 2009 Download for free at http://cnx.org/content/col10633/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2008' conversation and receive update notifications?

Ask