Chen Geng, Yuan Zhiyu, Luo Xinhui, Liang Jinxin, Wang Chunxin
Animal Husbandry and Veterinary Research Institute, Jilin Academy of Agricultural Sciences, Shengtai Street, Changchun 130033, China.
College of Animal Science and Technology, Jilin Agricultural University, Xincheng Street, Changchun 130118, China.
Animals (Basel). 2024 Nov 7;14(22):3197. doi: 10.3390/ani14223197.
Liaoning Cashmere Goats are a high-quality dual-purpose breed valued for both their cashmere and meat. They are also a key national genetic resource for the protection of livestock and poultry in China, with their intensive farming model currently taking shape. Leveraging new productivity advantages and reducing labor costs are urgent issues for intensive breeding. Recognizing goatbehavior in large-scale intelligent breeding not only improves health monitoring and saves labor, but also improves welfare standards by providing management insights. Traditional methods of goat behavior detection are inefficient and prone to cause stress in goats. Therefore, the development of a convenient and rapid detection method is crucial for the efficiency and quality improvement of the industry. This study introduces a deep learning-based behavior recognition and online detection system for Liaoning Cashmere Goats. We compared the convergence speed and detection accuracy of the two-stage algorithm Faster R-CNN and the one-stage algorithm YOLO in behavior recognition tasks. YOLOv8n demonstrated superior performance, converging within 50 epochs with an average accuracy of 95.31%, making it a baseline for further improvements. We improved YOLOv8n through dataset expansion, algorithm lightweighting, attention mechanism integration, and loss function optimization. Our improved model achieved the highest detection accuracy of 98.11% compared to other state-of-the-art (SOTA) target detection algorithms. The Liaoning Cashmere Goat Online Behavior Detection System demonstrated real-time detection capabilities, with a relatively low error rate compared to manual video review, and can effectively replace manual labor for online behavior detection. This study introduces detection algorithms and develops the Liaoning Cashmere Goat Online Behavior Detection System, offering an effective solution for intelligent goat management.
辽宁绒山羊是一种优质的两用品种,因其羊绒和肉而受到重视。它们也是中国国家重点保护的畜禽遗传资源,目前其集约化养殖模式正在形成。利用新的生产力优势和降低劳动力成本是集约化养殖的紧迫问题。在大规模智能养殖中识别山羊行为,不仅可以改善健康监测并节省劳动力,还能通过提供管理见解提高福利标准。传统的山羊行为检测方法效率低下,容易给山羊造成压力。因此,开发一种方便快捷的检测方法对于提高该行业的效率和质量至关重要。本研究介绍了一种基于深度学习的辽宁绒山羊行为识别与在线检测系统。我们比较了两阶段算法Faster R-CNN和一阶段算法YOLO在行为识别任务中的收敛速度和检测精度。YOLOv8n表现出卓越性能,在50个轮次内收敛,平均准确率达95.31%,成为进一步改进的基线。我们通过数据集扩展、算法轻量化、注意力机制整合和损失函数优化对YOLOv8n进行了改进。与其他先进的(SOTA)目标检测算法相比,我们改进后的模型实现了最高98.11%的检测准确率。辽宁绒山羊在线行为检测系统具备实时检测能力,与人工视频审查相比错误率相对较低,能够有效替代人工进行在线行为检测。本研究介绍了检测算法并开发了辽宁绒山羊在线行为检测系统,为智能山羊管理提供了有效解决方案。