A detection method for dead caged hens based on improved YOLOv7

被引:11
作者
Yang, Jikang [1 ]
Zhang, Tiemin [1 ,2 ,3 ]
Fang, Cheng [1 ]
Zheng, Haikun [1 ]
Ma, Chuang [1 ]
Wu, Zhenlong [1 ]
机构
[1] South China Agr Univ, Coll Engn, Guangzhou 510642, Peoples R China
[2] State Key Lab Swine & Poultry Breeding Ind, Guangzhou 510642, Peoples R China
[3] Natl Engn Res Ctr Breeding Swine Ind, Guangzhou 510642, Peoples R China
关键词
Dead caged hens; Object detection; YOLO; Hen occlusion; SICK; CHICKENS; SYSTEM;
D O I
10.1016/j.compag.2024.109388
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
In large-scale laying hen farms, daily inspection of dead hens is a relevant task to monitor the health of the flock and prevent disease spreading. The current manual inspection method used in caged hen farms is inefficient, costly, and particularly difficult for high-rise cages. To address this issue, a dead caged hen detection method based on improved You Only Look Once version 7 (YOLOv7) was proposed in this study, which was optimized to improve detection performance and speed in complex farming environments, such as cage wire mesh occlusion and crowded hen occlusion. First, the Convolutional Block Attention Module was used to enable the model to learn target features accurately. Second, the Distance Intersection over Union Non-maximum Suppression and repulsion loss were introduced to improve crowded hen occlusion and reduce missed detections. Additionally, to facilitate the deployment of the proposed method on mobile devices, the MobileNetv3 lightweight network was used to replace the backbone of YOLOv7. Furthermore, the lightweight model was trained using the knowledge distillation method to enhance its performance. Finally, a comparison experiment of different object detection networks and an ablation experiment were conducted to evaluate the proposed method. The experimental results reveal that the improved YOLOv7 model proposed in this study performs optimally. Its precision, recall, F1 score, and mAP@0.5 for the dead hens in the test set are 95.7 %, 86.8 %, 0.910, and 86.2 %, respectively. Compared with the original YOLOv7 model, precision, recall, and mAP@0.5 were increased by 6 %, 10 %, and 13.4 %, respectively. The model parameters and Giga Floating-point Operations were decreased by 31.95 % and 60.56 %, respectively, resulting in a detection speed increase of 43 Frames Per Second. Furthermore, with the assistance of an inspection robot, the proposed dead hen detection model was deployed in the actual farming environments. Compared with methods proposed by other researchers, the proposed model is more suitable for complex actual farming environments and achieves higher detection accuracy, which can offer a reference for automated caged hen detection.
引用
收藏
页数:17
相关论文
共 38 条
[1]   Detection system of dead and sick chickens in large scale farms based on artificial intelligence [J].
Bao, Yiqin ;
Lu, Hongbing ;
Zhao, Qiang ;
Yang, Zhongxue ;
Xu, Wenbin .
MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2021, 18 (05) :6117-6135
[2]  
Chen GB, 2017, ADV NEUR IN, V30
[3]   Automatic Newcastle disease detection using sound technology and deep learning method [J].
Cuan, Kaixuan ;
Zhang, Tiemin ;
Li, Zeying ;
Huang, Junduan ;
Ding, Yangbao ;
Fang, Cheng .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2022, 194
[4]   Detection of avian influenza-infected chickens based on a chicken sound convolutional neural network [J].
Cuan, Kaixuan ;
Zhang, Tiemin ;
Huang, Junduan ;
Fang, Cheng ;
Guan, Yun .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2020, 178
[5]   RepVGG: Making VGG-style ConvNets Great Again [J].
Ding, Xiaohan ;
Zhang, Xiangyu ;
Ma, Ningning ;
Han, Jungong ;
Ding, Guiguang ;
Sun, Jian .
2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, :13728-13737
[6]   The Pascal Visual Object Classes (VOC) Challenge [J].
Everingham, Mark ;
Van Gool, Luc ;
Williams, Christopher K. I. ;
Winn, John ;
Zisserman, Andrew .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2010, 88 (02) :303-338
[7]   MCP: Multi-Chicken Pose Estimation Based on Transfer Learning [J].
Fang, Cheng ;
Wu, Zhenlong ;
Zheng, Haikun ;
Yang, Jikang ;
Ma, Chuang ;
Zhang, Tiemin .
ANIMALS, 2024, 14 (12)
[8]   Pose estimation and behavior classification of broiler chickens based on deep neural networks [J].
Fang, Cheng ;
Zhang, Tiemin ;
Zheng, Haikun ;
Huang, Junduan ;
Cuan, Kaixuan .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2021, 180
[9]   Comparative study on poultry target tracking algorithms based on a deep regression network [J].
Fang, Cheng ;
Huang, Junduan ;
Cuan, Kaixuan ;
Zhuang, Xiaolin ;
Zhang, Tiemin .
BIOSYSTEMS ENGINEERING, 2020, 190 :176-183
[10]  
Ge Z, 2021, Arxiv, DOI arXiv:2107.08430