Image Processing with Arduino?

Hi all,

I was wondering, if I were to use a small camera to take a photo of an object using an Arduino, would the Arduino be able to process that image and make sense of it.

So basically what I'm trying to do, is hold up a ruler next to an object, snap a photo of it (low res), and then allow the Arduino to be able to tell me how size of the measurement I made. Is this feasible, and if so, is it actually practical?

Thank you.

Arduino has only 2kb of sram and 16mhz speed. It is not even close to process images.

The only way to do this would be with some external storage such as an SD card.
Even then, as mart pointed out, it would be horribly slow, and RAM management would be tough. You'd have to recycle variables.

Thank you for the responses.

I had a feeling it wouldn't work.

Alternatively, is there another way I can measure the length of an object easily then? I don't mean the distance to an object, but rather the length of a side of an object (like a brick).

@ mart256

Arduino has only 2kb of sram and 16mhz speed. It is not even close to process images.

Wrong - there are many different Arduinos. You do NOT need to read a complete image in to ram to process it. It depends on the type of image and the processing.

@Digitalis

The only way to do this would be with some external storage such as an SD card.
Even then, as mart pointed out, it would be horribly slow, and RAM management would be tough. You'd have to recycle variables.

Again wrong. Just add a web/USB cam to the Yun. The Due and the Zero are also worth a look.

Mark

Holmes4, you are right. Im talking about a Uno but didnt mention it. Also I assumed op was talking about Uno or similar. Arduino Yun is capable of image processing, but Id rather use a raspberry pi b+ for that, its cheaper and has more mhz and ram.

holmes4:
@ mart256

Wrong - there are many different Arduinos. You do NOT need to read a complete image in to ram to process it. It depends on the type of image and the processing.

@Digitalis

Again wrong. Just add a web/USB cam to the Yun. The Due and the Zero are also worth a look.

Mark

Forgot about the Arduino Zero's infinite* Read/Write cycles on its memory.