how to use image processing in arduino

guys i am trying to make a vending machine which has to use image processing for recognition of money that is deposited by the consumer. so please guys me how should i proceed in this project...
thank you.

Arduinos won't do image processing. Need to look at a Raspberry Pi or a full pc for that. Google search arduino image processing.

so can i use matlab arduino interfacing?.... i mean i know that matlab can do image processing

The widely available coin acceptors work quite well for coins. No image processing necessary!

actually the domain given to me is image processing..... so i need to use that in my project. also i am quite rasberry-pi ... so i am trying to make it on arduino.....

luv_anu:
actually the domain given to me is image processing..... so i need to use that in my project. also i am quite rasberry-pi ... so i am trying to make it on arduino.....

Processing even a small, low resolution image is very, very calculation intensive. A single pixel must be connected with pixels near it differently than pixels on the other side of the image, so multiple copies of the image are kept in memory. Realize that the average Arduino is a 16mHz machine, and only has 2 kilo bytes of RAM! This means that only parts of the image can be processed at any one time. A face or watermark on a bill would take many minutes, perhaps hours, to compare to a standard, I presume on a SD card as part of the machine.
It would be one of those projects that would be fun perhaps, but not very practical. An Arduino just lacks the speed and size to do effective image processing. If you don't want to use a RaspPi, then there are lots of new processors coming out that have faster processors and larger memory than an Arduino.