This is very, VERY cool... but I can't help but think that an Arduino and some color sensors might be easier. Or some small RFID stickers and basic readers as long as the stickers didn't mess with the weight/spin of the balls, since color sensors might have problems with striped balls depending on spin.
Actually, figuring out how to do this without a webcam sounds like a pretty snazzy hurricane project.
Actually, figuring out how to do this without a webcam sounds like a pretty snazzy hurricane project.