Tyndall National Institute, University College Cork, Cork, Ireland.
PLoS One. 2023 Jun 21;18(6):e0286311. doi: 10.1371/journal.pone.0286311. eCollection 2023.
The aim of this study was to design a new canine posture estimation system specifically for working dogs. The system was composed of Inertial Measurement Units (IMUs) that are commercially available, and a supervised learning algorithm which was developed for different behaviours. Three IMUs, each containing a 3-axis accelerometer, gyroscope, and magnetometer, were attached to the dogs' chest, back, and neck. To build and test the model, data were collected during a video-recorded behaviour test where the trainee assistance dogs performed static postures (standing, sitting, lying down) and dynamic activities (walking, body shake). Advanced feature extraction techniques were employed for the first time in this field, including statistical, temporal, and spectral methods. The most important features for posture prediction were chosen using Select K Best with ANOVA F-value. The individual contributions of each IMU, sensor, and feature type were analysed using Select K Best scores and Random Forest feature importance. Results showed that the back and chest IMUs were more important than the neck IMU, and the accelerometers were more important than the gyroscopes. The addition of IMUs to the chest and back of dog harnesses is recommended to improve performance. Additionally, statistical and temporal feature domains were more important than spectral feature domains. Three novel cascade arrangements of Random Forest and Isolation Forest were fitted to the dataset. The best classifier achieved an f1-macro of 0.83 and an f1-weighted of 0.90 for the prediction of the five postures, demonstrating a better performance than previous studies. These results were attributed to the data collection methodology (number of subjects and observations, multiple IMUs, use of common working dog breeds) and novel machine learning techniques (advanced feature extraction, feature selection and modelling arrangements) employed. The dataset and code used are publicly available on Mendeley Data and GitHub, respectively.
本研究旨在设计一种专门用于工作犬的新型犬体姿态估计系统。该系统由市售的惯性测量单元 (IMU) 和针对不同行为开发的监督学习算法组成。三个 IMU 分别贴在狗的胸部、背部和颈部,每个 IMU 都包含一个三轴加速度计、陀螺仪和磁力计。为了构建和测试模型,我们在视频记录的行为测试中收集了数据,训练有素的辅助犬在测试中执行静态姿势(站立、坐、躺)和动态活动(行走、身体抖动)。该领域首次采用了先进的特征提取技术,包括统计、时间和频谱方法。使用 ANOVA F 值的 Select K Best 选择了最重要的姿态预测特征。使用 Select K Best 得分和随机森林特征重要性分析了每个 IMU、传感器和特征类型的个体贡献。结果表明,背部和胸部 IMU 比颈部 IMU 更重要,加速度计比陀螺仪更重要。建议在狗背带的背部和胸部增加 IMU 以提高性能。此外,统计和时间特征域比频谱特征域更重要。将随机森林和隔离森林的三个新级联排列拟合到数据集。最佳分类器在五个姿态的预测中实现了 0.83 的 f1-宏和 0.90 的 f1-加权,优于先前的研究。这些结果归因于所采用的数据收集方法(受试者和观察数量、多个 IMU、常见工作犬品种的使用)和新颖的机器学习技术(先进的特征提取、特征选择和建模安排)。数据集和代码分别在 Mendeley Data 和 GitHub 上公开。