Versatile night/day framework for longitudinal Pi-based Imaging (VeNFLoPi) is an open-source camera setup for behavioral assays
Quantitative behavioral analysis increasingly relies on video-based approaches combined with machine-learning tools to capture posture, locomotion, and complex behaviors that cannot be easily quantified manually. Commercial camera systems are often expensive, inflexible, and difficult to scale, while existing open-source solutions can be limited in low-light performance, multi-camera integration, and long-term stability. Here, we present VeNFLoPi (versatile night/day framework for longitudinal Pi-based Imaging), an open-source Raspberry Pi-based video acquisition system optimized for longitudinal behavioral recordings across light and dark conditions. VeNFLoPi integrates Raspberry Pi cameras, custom infrared illumination, and centralized recording through Open Broadcaster Software (OBS), enabling real-time monitoring, high-resolution and high-frame-rate acquisition, robust file management, and automated local or cloud storage. Flexible 3D-printed mounts allow cameras and IR lighting to be positioned for top-down or angled views in compact behavioral chambers, with wide-angle lenses and fisheye correction ensuring distortion-free recording. The system is plug-and-play, requires no custom coding, and produces video formats immediately compatible with machine-learning workflows such as DeepLabCut, LabGym, and other pipelines. Optional scripts allow timestamping, preprocessing, and stitching of long-duration recordings. A full setup guide is provided in the Supplementary Materials, which we strongly urge readers to consult before beginning assembly. Together, these resources make VeNFLoPi a flexible, affordable, and widely applicable platform for diverse behavioral experiments across various species.
Authors
- Ryan W. Logan (ORCID: https://orcid.org/0000-0001-8579-015X)
- Mackenzie C. Gamble (ORCID: https://orcid.org/0000-0003-2540-2631)
- Tara C. Delorme
Institutions
- University of Massachusetts Chan Medical School (US)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-08-24
- DOI
- https://doi.org/10.1038/s41598-026-67334-y
- Primary Topic
- Zebrafish Biomedical Research Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Institutes of Health
- National Heart, Lung, and Blood Institute
- National Institute on Drug Abuse