<< Chapter < Page Chapter >> Page >
The module covers the techniques and challenges associated with image acquisition

Overview

High quality images are a necessary component of any object recognition system. Factors such as lighting,background, and motion all contribute to the instability of any imaging environment. As soon as one of these factors changes, evenslightly, the ability for a computer to detect an object from an image may be severely hampered. However, pursuing a controlledenvironment is most likely a dead-end. In the context of real world object recognition, environment is often not controlled andsometimes is rapidly changing. For this project, though, we need to create a special imaging environment to minimize the complexity ofimage acquisition.

Lighting

We need to create a semi-ideal environment in which to image the coins. The apparatus is composed of a tough black plastic milk crate, a semi-reflectivewhite foam board piece, and a matte black foam board piece for the imaging base. It is important to create a contained system becauseit allows us to remove, to the best of our ability, the environment variable. Once the box is constructed, we need to determine thebest way to light the coins. Even and consistent lighting is a necessity. To achieve this we need to sufficiently diffuse thelighting as to avoid specular highlighting. We hang the lights from the top of the box at an angle to the outside edges of the box.Doing so allows the incident light to “bounced” off the walls of the box thus diffusing the rays. However, we you will find this to beinsufficient. It became apparent that using cloth, or even a milk jug, is a more effective approach. You can use any materials you have lying around. For example, if you cut out small squares of a white undershirt and strategically place them between the lights and the coins, you can achieve a sufficient level of light diffusion. The process may be time intensive but keep tweaking until you find agreeable results.

Image acquisition apparatus

A picture of the hardware apparatus used to image the coins.

Camera

The camera, a Canon PowerShot S410, suspended from the top of the box, is able to image the coins from a fixed distance and locationfor each take. Because we must image multiple coins at the same time, the camera cannot adjust its shutter speed based on thebrightness of just one coin. Thus, if there are specular highlights on one coin, and not on another, our image would reflect this. Disparities among the coins, due to lighting, are unacceptable. This provides the motivation fortaking great pains to place the lights in a manner provides even lighting conditions.

While we used a Canon camera, any camera should be sufficient as long as it has the ability to take quality images.

Image capture software

We need to be able to quickly capture images without any human intervention. Minute changes in the angle or location of the camera might interfere with the settings in our software. It would also remove the consistency in images we obtain by fixing the camera. We can accomplish this easily using Canon’s Remote Capture software on the computer. With the software, you have controlover exposure, white balance, and ISO levels. On the subject of quality: it needs to be mentioned that any JPEGcompression could result in less reliable results. Because the algorithms used for this project are dependent on recognizingthe unique details of each coin, throwing out any of that information could have drastic effects.

The Canon Remote Capture software comes standard with many Canon cameras. It is available on the Canon website free of charge.

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 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask