首页|期刊导航|华南农业大学学报|面向复杂环境的多猪只行为识别方法研究

面向复杂环境的多猪只行为识别方法研究OA

Research on a method for recognizing multi-pig behavior in complex environments

中文摘要英文摘要

[目的]为实现复杂环境下多猪只行为的准确识别,助力精准畜牧业的发展,并为猪只状态、疾病监测提供支持.[方法]本研究提出了一种基于 YOLOv8n 的轻量化目标检测模型 LAD-YOLO,对猪只背景相似、光照变化以及个体遮挡等因素干扰下的行为检测方法展开探索.在骨干网络引入可变核卷积(Alterable kernel convolution,AKConv)模块,任意数量的参数和可变的采样形状卷积核增强了多尺度特征提取能力;嵌入自适应动态下采样(Adaptive downsample,ADown)模块,通过减小步长、平均池化等方式降低模型参数的同时保留关键信息;在颈部将大型可分离核注意力(Large separable kernel attention,LSKA)模块集成至 C2f 模块,利用LSKA 的特征提取能力增强 C2f 的全局特征以及关键区域感知.[结果]试验结果表明,LAD-YOLO 模型准确率和召回率较基线模型 YOLOv8n 分别提升 2.5 和 7.2 个百分点,mAP50 达到 98.7%,模型权重仅为 4.9 MB,参数量减少 18.9%.在复杂背景和光照变化的影响下,与其他主流检测器相比,LAD-YOLO 模型不仅更轻量且具有更高检测精度和鲁棒性.[结论]LAD-YOLO 在复杂环境下的多猪只行为识别中表现优异,为智能化养殖管理提供了高效、可靠的技术支撑.

[Objective]This study was designed to enable accurate recognition of multiple pig behaviors in complex environments,facilitate the development of precision livestock farming,and support pig status and disease monitoring.[Method]A lightweight object detection model named LAD-YOLO,based on YOLOv8n,was proposed to address the challenges in behavior detection in scenarios characterized by background similarity,illumination variations,and inter-individual occlusion.An alterable kernel convolution(AKConv)module was incorporated into the backbone network,where its flexible parameterization and variable sampling-shape kernels were used to enhance multi-scale feature extraction.The adaptive downsampling(ADown)module was embedded to reduce model parameters through shortened strides and average pooling,while preserving critical information.In the neck,the large separable kernel attention(LSKA)mechanism was integrated into the C2f module,leveraging its feature extraction capability to enhance the global feature representation and key region awareness of C2f.[Result]Experimental results demonstrated that LAD-YOLO increased precision and recall by 2.5 and 7.2 percentage points respectively compared with the baseline model YOLOv8n,achieved an mAP50 of 98.7%,and reduced the model weight to 4.9 MB with an 18.9%decrease in parameters.Compared with mainstream detectors and under complex backgrounds and lighting variations,LAD-YOLO exhibited lighter weight,higher detection accuracy,and better robustness.[Conclusion]LAD-YOLO performs excellently in recognizing multiple pig behaviors under complex environments and offers an efficient and reliable technical solution for intelligent livestock management.

司秀丽;陈会容;李树龙;姜冬辉;曹丽英

吉林农业大学 信息技术学院,吉林 长春 130118吉林农业大学 信息技术学院,吉林 长春 130118吉林农业大学 信息技术学院,吉林 长春 130118吉林农业大学 信息技术学院,吉林 长春 130118吉林农业大学 信息技术学院,吉林 长春 130118

农业科技

复杂环境YOLO行为识别目标检测

PigComplex environmentYOLOBehavior recognitionObject detection

《华南农业大学学报》 2026 (4)

710-722,13

吉林省科技发展计划(20250601061RC)

10.7671/j.issn.1001-411X.202511023

评论