Live people counting device


7 posts
by xvi » Thu Jun 15, 2017 9:28 am
Hello,

I am new raspberry pi user and i need some advices.

So i want to build a 'live pople counting device' with raspberry pi 3 model B camera or motion sensor (doesnt matter). Also have to connect 2 or more cameras/sensors.

How I can do this?
Posts: 5
Joined: Thu Jun 15, 2017 9:20 am
by topguy » Thu Jun 15, 2017 2:23 pm
How big of an area are you going to monitor ? A singel door/gate or a large room/corridor ?
Can the people move in both directions ?

There is a huge difference between counting people moving through a one-way gate and counting the number of people present in a room.
User avatar
Posts: 3133
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway
by xvi » Thu Jun 15, 2017 2:32 pm
Hello,

Its not single door, its a corridor - width: 140cm. lenght: 420cm. I need to count how many people are go in/out.

And, i just need to count how many people moved through the camera/sensor.
Posts: 5
Joined: Thu Jun 15, 2017 9:20 am
by Moe » Thu Jun 15, 2017 10:57 pm
Myself and a fellow student actually did this as a uni project, many years ago, before cheap single board computers.

We used three IR beams, one at chest/neck height and two at roughly hip level. The top one did the 'count' and the bottom two determined direction. It was all done with logic gates. It worked, but only when the corridor was so narrow that only one human could pass at a time, which sadly doesn't apply in your case.

Depends on application really. If you need a rough population figure for marketing purposes, then it's quite easy. If you want to know the how many people are in the building for a head count in the event of fire, forget it. Use a turnstile.
Posts: 162
Joined: Sun Jan 25, 2015 2:44 pm
by xvi » Mon Jun 19, 2017 10:20 pm
I think to use this - https://github.com/WatershedArts/Footfall . Hope it will work.
Posts: 5
Joined: Thu Jun 15, 2017 9:20 am
by xvi » Tue Jun 20, 2017 12:02 pm
Someone who have expirience with that? Footfall ^
Posts: 5
Joined: Thu Jun 15, 2017 9:20 am
by supra » Fri Jun 23, 2017 2:21 pm
xvi wrote:Hello,

I am new raspberry pi user and i need some advices.

So i want to build a 'live pople counting device' with raspberry pi 3 model B camera or motion sensor (doesnt matter). Also have to connect 2 or more cameras/sensors.

How I can do this?

I merely used OpenCV 3.2.0 and webcam. Unfortunately, I haven't attempted pi-camera yet.
So no need to used sensor anymore The sensor will not work for you. So save your budget :o :o :o :o
Posts: 685
Joined: Thu Feb 28, 2013 9:21 am
Location: Ontario, Canada