ARDUINO - how to take photo and measure to pixels of specific color : I am a PhD student in Faculty of Agriculture in Turkey. We are measure the leaf area of some plants in our studies. I have used a method that accepted and give almost realistic result.

I cut off leaves from plants and put them on A4 size white paper as don't touching each other. Then, take pictures vertically from A4 paper with leaves. Later, I get the pictures to Photoshop programme. Select the leaves by color range tool and check the pixel numbers of leaves from histogram. So I have A4 paper real size and pixel number, and I have leaves pixel numbers. I can calculate to realistic leaf area by using these components.

So this manual method is so effective from old methods, but if you have to measure lot of sample, It is also take time a lot. I need to make my own device that arduino based and It has to take pictures and analyse leaf area by pixel counting method as I explain above.

Is it possible to do it with arduino? Any idea will be beneficial for me.

Best regards.