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.