Salem Ghadi, Krynitsky Jonathan, Cubert Noah, Pu Alex, Anfinrud Simeon, Pedersen Jonathan, Lehman Joshua, Kanuri Ajith, Pohida Thomas
Signal Processing and Instrumentation Section, Office of Intramural Research, Center for Information Technology, National Institutes of Health, USA.
Division of Veterinary Services, Center for Biologics Evaluation and Research, U. S. Food and Drug Administration, USA.
HardwareX. 2020 Nov 26;8:e00160. doi: 10.1016/j.ohx.2020.e00160. eCollection 2020 Oct.
Video acquisition and analysis have become integral parts of scientific research. Two major components of a video acquisition system are the choice of camera and the acquisition software. A vast variety of cameras are available on the market. Turnkey multi-camera synchronous acquisition software, however, is not as widely available. For prototyping applications, the Raspberry Pi (RPi) has been widely utilized due to many factors, including cost. There are implementations for video acquisition and preview from a single RPi camera, including one implementation released by the RPi organization itself. However, there are no multi-camera acquisition solutions for the RPi. This paper presents an open-source digital video recorder (DVR) system for the popular RPi camera. The DVR is simple to setup and use for acquisition with a single camera or multiple cameras. In the case of multiple cameras, the acquisition is synchronized between cameras. The DVR comes with a graphical user interface (GUI) to allow previewing the camera streams, setting recording parameters, and associating "names" to cameras. The acquisition code as well as the DVR GUI are written in Python. The open-source software also includes a GUI for playback of recorded video. The versatility of the DVR is demonstrated with a life science research application involving high-throughput monitoring of fruit-flies.
视频采集与分析已成为科学研究不可或缺的一部分。视频采集系统的两个主要组成部分是相机的选择和采集软件。市场上有各种各样的相机。然而,交钥匙式多相机同步采集软件却没有那么普及。由于包括成本在内的诸多因素,树莓派(RPi)在原型应用中得到了广泛应用。有从单个RPi相机进行视频采集和预览的实现方式,包括RPi组织自身发布的一种实现方式。然而,对于RPi来说,没有多相机采集解决方案。本文介绍了一种适用于流行的RPi相机的开源数字视频录像机(DVR)系统。该DVR易于设置,可用于单个相机或多个相机的采集。在多相机的情况下,相机之间的采集是同步的。该DVR配有图形用户界面(GUI),可用于预览相机流、设置录制参数以及为相机关联“名称”。采集代码以及DVR GUI均用Python编写。该开源软件还包括一个用于回放录制视频的GUI。通过一个涉及果蝇高通量监测的生命科学研究应用展示了该DVR的多功能性。