A novel open-source raspberry Pi-based behavioral testing in zebrafish
Yunlin Li,Fengye Wu,Qinyan Wu,Wenya Liu,Guanghui Li,Benxing Yao,Ran Xiao,Yudie Hu,Junsong Wang
DOI: https://doi.org/10.1371/journal.pone.0279550
IF: 3.7
2022-12-28
PLoS ONE
Abstract:The zebrafish ( Danio rerio ) is widely used as a promising high-throughput model organism in neurobehavioral research. The mobility of zebrafish can be dissected into multiple behavior endpoints to assess its neurobehavioral performance. However, such facilities on the market are expensive and clumsy to be used in laboratories. Here, we designed a low-cost, automatic zebrafish behavior assay apparatus, barely without unintentional human operational errors. The data acquisition part, composed of Raspberry Pi and HQ Camera, automatically performs video recording and data storage. Then, the data processing process is also on the Raspberry Pi. Water droplets and inner wall reflection of multi-well cell culture plates (used for placing zebrafish) will affect the accuracy of object recognition. And during the rapid movement of zebrafish, the probability of zebrafish tracking loss increased significantly. Thus, ROI region and related thresholds were set, and the Kalman filter algorithm was performed to estimate the best position of zebrafish in each frame. In addition, all functions of this device are realized by the custom-written behavior analysis algorithm, which makes the optimization of the setup more efficient. Furthermore, this setup was also used to analyze the behavioral changes of zebrafish under different concentrations of alcohol exposure to verify the reliability and accuracy. The alcohol exposure induced an inverted U-shape dose-dependent behavior change in zebrafish, which was consistent with previous studies, showcasing that the data obtained from the setup proposed in this study are accurate and reliable. Finally, the setup was comprehensively assessed by evaluating the accuracy of zebrafish detection (precision, recall, F-score), and predicting alcohol concentration by XGBoost. In conclusion, this study provides a simple, and low-cost package for the determination of multiple behavioral parameters of zebrafish with high accuracy, which could be easily adapted for various other fields.
multidisciplinary sciences