short link: http://bit.ly/libcount
From: <firstname.lastname@example.org> on behalf of Mark Sandford <email@example.com> Reply-To: “firstname.lastname@example.org” <email@example.com> Date: Monday, February 5, 2018 at 7:32 AM To: “firstname.lastname@example.org” <email@example.com> Subject: Re: [lita-l] Using Raspberry Pi(s) w/ Sensors to Obtain Counts on Occupancy in a Library Space
We’re currently experimenting/piloting with RPis, the RPi camera module, and this code:
It’s working, generally, but it does require a good bit of config tweaking to get it to accurately count. It also needs (I’ve discovered) a certain amount of distance between the door and the camera. We have very low ceilings at our doorways and a single person can span the entire frame which appears to confuse the software. All that being said, it’s very much worth looking into.
Analytics out of the box aren’t great. The only built in report is only the current day’s numbers, but it’s pretty easy to export data. We have Libinsight from Springshare and I’m working on pumping that data into their system. It is tricky because the system basically records two things: a timestamp, and a positive or negative integer depending on whether or not the traffic was going in or out. By default, no generic analytics system seems to understand that well enough to display it the way I’d like, so I may have to create some custom reports using d3.js or similar.
I’m using the Pi 2 and standard camera module from Adafruit. I’d be happy to answer questions.
Mark Sandford Systems Librarian Assistant Professor in the Libraries Colgate University Libraries
On Thu, Feb 1, 2018 at 1:23 PM, <firstname.lastname@example.org> wrote:
We are trying to automate counting the number of people entering and leaving a
specific floor of our library. (The library is located in a multi-use
We’ve looked at the awesome “Measure the Future” code but we need analytics
more akin to a gate count versus tracking movement of people utilizing the
Have any of you used raspberry pis or other technologies to do this type of
If so, would you be willing to share your hardware/software setup with us and
also what type of data/analytics you’re getting back from the system?
Research and Instruction
Emerging Technologies and Web Librarian
Hirsh Health Sciences Library/ Tufts University
145 Harrison Ave, Boston MA 02111
- 617 636-2454