Sehara Keisuke, Zimmer-Harwood Paul, Larkum Matthew E, Sachdev Robert N S
Institute of Biology, Humboldt University of Berlin, Berlin D-10117, Germany
Department of Physiology, Anatomy and Genetics, University of Oxford, Oxford OX1 3PT, United Kingdom.
eNeuro. 2021 Apr 16;8(2). doi: 10.1523/ENEURO.0415-20.2021. Print 2021 Mar-Apr.
Computer vision approaches have made significant inroads into offline tracking of behavior and estimating animal poses. In particular, because of their versatility, deep-learning approaches have been gaining attention in behavioral tracking without any markers. Here, we developed an approach using DeepLabCut for real-time estimation of movement. We trained a deep-neural network (DNN) offline with high-speed video data of a mouse whisking, then transferred the trained network to work with the same mouse, whisking in real-time. With this approach, we tracked the tips of three whiskers in an arc and converted positions into a TTL output within behavioral time scales, i.e., 10.5 ms. With this approach, it is possible to trigger output based on movement of individual whiskers, or on the distance between adjacent whiskers. Flexible closed-loop systems like the one we have deployed here can complement optogenetic approaches and can be used to directly manipulate the relationship between movement and neural activity.
计算机视觉方法已在行为的离线跟踪和动物姿态估计方面取得了重大进展。特别是,由于其通用性,深度学习方法在无需任何标记的行为跟踪中受到了关注。在此,我们开发了一种使用DeepLabCut进行运动实时估计的方法。我们使用小鼠胡须抽动的高速视频数据离线训练了一个深度神经网络(DNN),然后将训练好的网络转移到同一只小鼠上,以实时跟踪其胡须抽动。通过这种方法,我们跟踪了呈弧形的三根胡须的尖端,并在行为时间尺度(即10.5毫秒)内将位置转换为TTL输出。通过这种方法,可以根据单个胡须的运动或相邻胡须之间的距离触发输出。像我们在此部署的这种灵活的闭环系统可以补充光遗传学方法,并可用于直接操纵运动与神经活动之间的关系。