How to simply analyse image with Arduino ?

Hi !
I have currently a student engineering projet. It consists of knowing the density (approximatively) of people on a video.

I thought about an Arduino Uno + a simple camera shield (costing around 10$)

I know that image analyse is very difficult on an Arduino Uno, but the code seems very simple.
I thought about just make a simple difference between the image recorded by the cam and the background (saved when there is no movement for a moment), with maybe a lower resolution.
I know that OpenCV provide open source codes in different langages for image analyse.

If someone can help me ...

Not possible with ATMega-based Arduinos. They have too little memory to store images.

but the code seems very simple.

Come off it the code is very very complex.

I thought about just make a simple difference between the image recorded by the cam and the background (saved when there is no movement for a moment)

That is called frame subtraction, it will not help you do what you want.

I know that OpenCV provide open source codes in different langages for image analyse.

Nice thing to know, know this also:-

  1. It is a bit crap
  2. You can't run it on an Arduino

You have stumbled into the wrong forum (or group thereof).

You evidently want the Raspberry Pi forums.