IO-YOLOv5: Improved Pig Detection under Various Illuminations and Heavy Occlusion

Author:

Lai Jiajun1,Liang Yun12,Kuang Yingjie1,Xie Zhannan1,He Hongyuan1,Zhuo Yuxin1,Huang Zekai3,Zhu Shijie1,Huang Zenghang3

Affiliation:

1. College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China

2. Guangzhou Key Laboratory of Intelligent Agriculture, South China Agricultural University, Guangzhou 510642, China

3. College of Engineering, South China Agricultural University, Guangzhou 510642, China

Abstract

Accurate detection and counting of live pigs are integral to scientific breeding and production in intelligent agriculture. However, existing pig counting methods are challenged by heavy occlusion and varying illumination conditions. To overcome these challenges, we proposed IO-YOLOv5 (Illumination-Occlusion YOLOv5), an improved network that expands on the YOLOv5 framework with three key contributions. Firstly, we introduced the Simple Attention Receptive Field Block (SARFB) module to expand the receptive field and give greater weight to important features at different levels. The Ghost Spatial Pyramid Pooling Fast Cross Stage Partial Connections (GSPPFC) module was also introduced to enhance model feature reuse and information flow. Secondly, we optimized the loss function by using Varifocal Loss to improve the model’s learning ability on high-quality and challenging samples. Thirdly, we proposed a public dataset consisting of 1270 images and 15,672 pig labels. Experiments demonstrated that IO-YOLOv5 achieved a mean average precision (mAP) of 90.8% and a precision of 86.4%, surpassing the baseline model by 2.2% and 3.7% respectively. By using a model ensemble and test time augmentation, we further improved the mAP to 92.6%, which is a 4% improvement over the baseline model. Extensive experiments showed that IO-YOLOv5 exhibits excellent performance in pig recognition, particularly under heavy occlusion and various illuminations. These results provide a strong foundation for pig recognition in complex breeding environments.

Funder

National College Student Innovation and Entrepreneurship Training Program

the National College Student Innovation and Entrepreneurship Training Program Support Project

National Natural Science Foundation of China

key R&D project of Guangzhou

Special Fund for Rural Revitalization Strategy of Guangdong

Publisher

MDPI AG

Subject

Plant Science,Agronomy and Crop Science,Food Science

Reference34 articles.

1. Effect of Market Information Quality, Sharing and Utilisation on the Innovation Behaviour of Smallholder Pig Producers;Mugonya;Cogent Food Agric.,2021

2. Model-Based Detection of Pigs in Images under Sub-Optimal Conditions;Traulsen;Comput. Electron. Agric.,2018

3. A Review of Deep Learning Algorithms for Computer Vision Systems in Livestock;Bresolin;Livest. Sci.,2021

4. Insect Classification and Detection in Field Crops Using Modern Machine Learning Techniques;Kasinathan;Inf. Process. Agric.,2021

5. Detection of Crop Diseases Using Enhanced Variability Imagery Data and Convolutional Neural Networks;Kendler;Comput. Electron. Agric.,2022

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3