Using Raspberry Pi for scientific video observation of pedestrians during a music festival

Daniel H. Biedermann, Felix Dietrich, Oliver Handel, Peter M. Kielar, Michael J. SeitzarXiv 2015 · DOI

Abstract

This paper presents a practical methodology for deploying low-cost Raspberry Pi-based camera systems to conduct scientific pedestrian observations at mass events. By combining off-the-shelf hardware with a rigorous legal and safety framework, the authors demonstrate how to collect high-quality empirical data for crowd dynamics modeling on a shoestring budget. The system's robustness was proven during a real-world deployment at a music festival, where it successfully recorded critical data even during a severe power outage.

Introduction

Designing safer public spaces and efficient transport hubs relies heavily on computer simulations of pedestrian dynamics. These models, whether macroscopic or microscopic, require high-quality empirical data for calibration. However, collecting such data in uncontrolled environments like music festivals presents significant challenges, including high equipment costs, power instability, weather risks, and stringent data privacy regulations. This study addresses these hurdles by developing a robust, low-budget methodology that satisfies both scientific requirements and legal constraints.

Methodology

The core of the observation system is a self-sufficient recording unit based on the Raspberry Pi (RPi).

Hardware and Software Stack

Each unit comprised an RPi motherboard, a camera module, a 10,400mAh power bank (providing approximately 8 hours of operation), and a 75GB external hard drive. Video was recorded in H.264 format at 25 fps with a resolution of 1600x1200. The software environment utilized a stripped-down Arch Linux distribution to minimize system overhead, with recording controlled via raspvid command-line scripts.

Deployment and Calibration

The electronics were housed in simple, duct-taped plastic boxes for weatherproofing. Units were mounted at high vantage points, such as trees and light posts, using hydraulic lifting platforms. To enable perspective calibration for subsequent trajectory analysis, four traffic cones were placed in a square on the ground within each camera's field of view.

Empirical Study: "Back to the Woods" Festival

The methodology was validated at the "Back to the Woods" music festival in Bavaria, which hosted approximately 5,000 visitors. Five camera units were strategically deployed to cover key areas of interest, including the main stage, bar areas, food stands, toilets, and the main entrance.

Detailed map of the festival site illustrating the strategic placement of the five Raspberry Pi camera units (Camera 1-5) across key functional zones.

The resulting dataset includes visitor accumulation curves, individual pedestrian trajectories, and service time metrics.

Key Insights and Results

System Resilience

A notable finding was the superior reliability of battery-powered units compared to grid-connected systems. During a severe thunderstorm that caused a festival-wide power outage, the RPi units continued to record uninterrupted, capturing invaluable data during the evacuation phase.

In regions with strict privacy laws, such as Germany, technical success must be paired with legal compliance. The authors developed a five-document "compliance package" to satisfy the Bavarian Data Protection Act, ensuring the data remained legally admissible for research.

Performance Metrics

All five systems operated successfully throughout the event despite 30°C heat and heavy rain. The footage was of sufficient quality to extract macroscopic density measurements and microscopic data, such as individual step lengths and speeds. The system identified significant bottlenecks, including 45-minute wait times at the entrance.

The festival entrance, one of the key locations monitored by the camera system where significant bottlenecks were identified.

Limitations and Future Work

While effective, the current setup requires baseline expertise in Linux and shell scripting. The resolution, while adequate for manual tracking, may limit automated feature extraction at greater distances. Future iterations could leverage the Raspberry Pi 2 for improved performance and explore infrared cameras to enhance nighttime observation while potentially increasing visitor anonymity.

Summary updated

Abstract

The document serves as a reference for researchers trying to capture a large portion of a mass event on video for several hours, while using a very limited budget.
BibTeX
@misc{biedermann2015using,
  author = {Daniel H. Biedermann and Felix Dietrich and Oliver Handel and Peter M. Kielar and Michael J. Seitz},
  title = {{Using Raspberry Pi for scientific video observation of pedestrians during a music festival}},
  year = {2015},
  eprint = {1511.00217},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.00217},
}
Figure