Advanced dairy cow monitoring: enhanced detection with precision 3D tracking
Ranran Wang,Yingxiu Li,Peng Yue,Chunhong Yuan,Fuyang Tian,Xin Lu
DOI: https://doi.org/10.1007/s11042-024-19791-8
IF: 2.577
2024-07-14
Multimedia Tools and Applications
Abstract:Ensuring the welfare of dairy cows requires precise monitoring of their daily exercise to evaluate their physical health. This necessitates innovative methods beyond traditional motion sensors. We present a novel method that integrates an enhanced YOLOv5s object detection model with the DeepSORT multi-object tracking algorithm to meticulously track dairy cow movements, providing holistic information about their health. Our research started with the establishment of a dedicated dataset tailored for cow detection. We then segmented the detection scope to focus on specific regions of interest. Within the modified YOLOv5s model, we replaced the standard CSPDarknet53 backbone with DenseNet to achieve deep separable convolution and feature reorganization modules, leading to reduced parameters, augmented feature expression, and better information flow. In particular, the SPD-Conv module was incorporated to retain intricate details, essential for detecting smaller and low-resolution targets. The transition from Generalized Intersection over Union (GIoU) Loss to Complete Intersection over Union (CIoU) loss improved detection accuracy and sped up model convergence. Our clustering approach, based on the elbow rule, optimized K-means clustering, enhancing speed and precision. For multi-object tracking, the DeepSORT model was tailored to cater to varying cow sizes, and we chose an algorithm to associate appearance information. We converted pixel data into real-world distances, providing exact 3D cow movement metrics. Experimental validation confirmed the efficacy of our approach. Our enhanced model surpassed the original YOLOv5s in performance by 11.1% for accuracy (97.4%), 9.6% for recall (97.8%), and 11.0% for average accuracy (98.2%). The comprehensive accuracy stood at 92.1% for our model. In conclusion, our innovative methodology offers a non-invasive means to monitor dairy cow exercise, paving the way for advanced health assessment techniques in the dairy sector.
computer science, information systems, theory & methods,engineering, electrical & electronic, software engineering