Project Two - Automatic Coin Counter

* j * mike * kristen * angi *
(group team)



* Intro *

Rusty's Group Team decided almost immediately to do our second project on feature extraction. We brainstormed a good deal about different projects, but settled on attempting to reproduce a project Angela once saw at National Instruments which counted coins. This project was appealing for a couple of reasons: we could create our own data images easily, and it is about money, which was on the minds of almost all graduating engineers this time of year.

We considered the physical setup of the problem to be that the coins run along on a conveyor belt and are filmed by a digital video camera from which frames are taken and analyzed at intervals to count the change on the belt. We did not considered our images for analysis to be non-blurred and taken from a fixed height. The first consideration in properly modeling our setup how to make sure the coins show up well on the conveyor belt. To test this we tested our ability to find edges of the coins when they were lying on differently colored backgrounds (since we were using black and white images, the intensity was the only important quality of the background). We found black and a shade of bright yellow which corresponded to an intesity of roughly 20% black and 80% white.


Figure 1 : Different background colors

Once we were set on how to obtain the images and the proper background to use, we faced the issue of the type of images we would get. We decided the coins could be patterned in four possible arrangements: lying flat and isolated, lying flat and touching, overlapping, and being completely overlapped. To ease the project and the chance of getting results we removed the final two possibilities by saying our coin counting machine has a mechanical sweeper arm which makes certain the coins are only lying flat, but still possibly touching each other.

Finally, we used only the four major U.S. coins - the quarter, dime, nickel, and penny. To summarize, we photographed single layers of coins on black and light gray backgrounds from a fixed height with a digital camera.

* Issues we encountered *