数字农科院2.0

YOLOv5DA: An Improved YOLOv5 Model for Posture Detection of Grouped Pigs

文献类型: 外文期刊

作者: Wenhui Shi;Xiaopin Wang;Xuan Li;Yuhua Fu;Xiaolei Liu;Haiyan Wang

作者机构:

关键词: (0-1-4)agricultural automation;deep learning;machine vision;object detection;pig posture detection

期刊名称: Applied Sciences (Switzerland)

ISSN: 2076-3417

年卷期: 2025 年 14 卷 22 期

页码:

收录情况: SCIE(2025版) ; ; EI(2025版)

摘要: Accurate posture detection is the foundation for analyzing animal behavior, which can promote animal welfare. With the development of computer vision, such technology has been widely used in analyzing animal behavior without physical contact. However, computer vision technology for pig posture detection often suffers from problems of missed or false detection due to complex scenarios. To solve the problem, this study proposed a novel object detection model YOLOv5DA, which was based on YOLOv5s and designed for pig posture detection from 2D camera video. Firstly, we established the annotated dataset (7220 images) including the training set (5776 images), validation set (722 images), and test set (722 images). Secondly, an object detection model YOLOv5DA based on YOLOv5s was proposed to recognize pig postures (standing, prone lying, and side lying), which incorporated Mosaic9 data augmentation, deformable convolution, and adaptive spatial feature fusion. The comparative and ablation experiments were conducted to verify the model’s effectiveness and reliability. Finally, we used YOLOv5DA to detect the posture distribution of pigs. The results revealed that the standing posture was more frequent in the morning and afternoon and the side-lying posture was most common at noon. This observation demonstrated that the posture of pigs is influenced by temperature variations. The study demonstrated that YOLOv5DA could accurately identify three postures of standing, prone lying, and side lying with an average precision (AP) of 99.4%, 99.1%, and 99.1%, respectively. Compared with YOLOv5s, YOLOv5DA could effectively handle occlusion while increasing the mean precision (mAP) by 1.7%. Overall, our work provided a highly accurate, effective, low-cost, and non-contact strategy of posture detection in grouped pigs, which can be used to monitor pig behavior and assist in the early prevention of disease.

分类号:

  • 相关文献

[1]A Review of Posture Detection Methods for Pigs Using Deep Learning. Chen, Zhe,Lu, Jisheng,Wang, Haiyan. 2023

[2]Bionic technology and deep learning in agricultural engineering: Current status and future prospects. Chunlei Tu,Jinxia Li,Xingsong Wang,Shen Cheng,Jie Li. 2021

[3]Intelligent Monitoring System of Migratory Pests Based on Searchlight Trap and Machine Vision. Sun, Guojia;Liu, Shuhua;Luo, Haolun;Feng, Zelin;Yang, Baojun;Luo, Ju;Tang, Jian,Yao, Qing,Xu, Jiajun. 2022

[4]MRUNet: A two-stage segmentation model for small insect targets in complex environments. Fu kuan WANG,Yi qi HUANG,Zhao cheng HUANG,Hao SHEN,Cong HUANG,Xi QIAO,Wan qiang QIAN. 2023

[5]Real-Time Object Detection Based on UAV Remote Sensing: A Systematic Literature Review. Zhen Cao,Lammert Kooistra,Wensheng Wang,Leifeng Guo,João Valente. 2023

[6]Automatic detection and counting of planthoppers on white flat plate images captured by AR glasses for planthopper field survey. Haiyuan Sheng,Qing Yao,Ju Luo,Yongjian Liu,Xiangfu Chen,Zhongru Ye,Tiezhuang Zhao,Heping Ling,Jian Tang,Shuhua Liu. 2024

[7]Design and implementation of a seed potato cutting robot using deep learning and delta robotic system with accuracy and speed for automated processing of agricultural products. Jie Huang,Fangxuan Yi,Yingjun Cui,Xiangyou Wang,Chengqian Jin,Fernando Auat Cheein. 2025

[8]Study on Cherry Blossom Detection and Pollination Parameter Optimization Using the SMD-YOLO Model. Ren, Longlong,Du, Yonghui,Li, Yuqiang,Gao, Ang,Ma, Wei,Song, Yuepeng,Han, Xingchang. 2025

[9]Mapping grapevine leafroll disease epidemics from UAV images. Yixue Liu,Jinya Su,Dizhu Liu,Yuyang Song,Yulin Fang,Baofeng Su,Peng Yang. 2025

[10]ENT-YOLO: An improved lightweight YOLO for cotton organ detection in mulched drip irrigation systems in southern Xinjiang. Shao, Jingcui,Zhao, Qingqing,Gong, Zhi,Guo, Xinhua,Geng, Shiyi,Li, Zhaoyang,Li, Dongwei. 2025

[11]Identification of fruit and branch in natural scenes for citrus harvesting robot using machine vision and support vector machine. Qiang, Lu,Lie, Deng,Cai Jianrong,Bin, Liu,Zhang Yajing. 2014

[12]Plant Identification Based on Artificial Intelligence. Hou Chun Sheng,Zhou Ting. 2011

[13]Research on moisture content detection method during green tea processing based on machine vision and near-infrared spectroscopy technology. Zhongyuan Liu,Rentian Zhang,Chongshan Yang,Bin Hu,Xin Luo,Yang Li,Chunwang Dong. 2022

[14]Data fusion strategy for rapid prediction of moisture content during drying of black tea based on micro-NIR spectroscopy and machine vision. Sheng, Xufeng,Zan, Jiezhong,Jiang, Yongwen,Shen, Shuai,Li, Li,Yuan, Haibo. 2023

[15]Application status and challenges of machine vision in plant factory—A review. Zhiwei Tian,Wei Ma,Qichang Yang,Famin Duan. 2022

[16]The Application Status and Trends of Machine Vision in Tea Production. Zhiming Yang,Wei Ma,Jinzhu Lu,Zhiwei Tian,Kaiqian Peng. 2023

[17]Application of Machine Vision Technology in Citrus Production. Kaiqian Peng,Wei Ma,Jinzhu Lu,Zhiwei Tian,Zhiming Yang. 2023

[18]DESIGN AND IMPLEMENTATION OF THE POSITIONING AND DIRECTING PRECISION SEEDER FOR CUCURBITA FICIFOLIA SEEDS. Ding, Xinting,Chen, Tong,Wei, Yongzhe,He, Zhi,Cui, Yongjie,Yang, Qichang. 2024

[19]From Outside to Inside: The Subtle Probing of Globular Fruits and Solanaceous Vegetables Using Machine Vision and Near-Infrared Methods. Junhua Lu,Mei Zhang,Yongsong Hu,Wei Ma,Zhiwei Tian,Hongsen Liao,Jiawei Chen,Yuxin Yang. 2024

[20]Rep-ViG-Apple: A CNN-GCN Hybrid Model for Apple Detection in Complex Orchard Environments. Bo Han,Ziao Lu,Jingjing Zhang,Rolla Almodfer,Zhengting Wang,Wei Sun,Luan Dong. 2024

作者其他论文 更多>>