Pig-ear detection from the thermal infrared image based on improved YOLOv8n

被引:5
|
作者
Han, Hui [1 ,2 ]
Xue, Xianglong [2 ]
Li, Qifeng [2 ]
Gao, Hongfeng [1 ]
Wang, Rong [2 ]
Jiang, Ruixiang [2 ]
Ren, Zhiyu [2 ]
Meng, Rui [2 ]
Li, Mingyu [2 ]
Guo, Yuhang [2 ]
Liu, Yu [2 ]
Ma, Weihong [2 ]
机构
[1] Henan Univ Sci & Technol, Coll Informat Engn, Luoyang 471023, Henan, Peoples R China
[2] Beijing Acad Agr & Forestry Sci, Informat Technol Res Ctr, Beijing Agr Sci Bldg 11,Shuguang Garden Middle Rd, Beijing 100097, Peoples R China
来源
INTELLIGENCE & ROBOTICS | 2024年 / 4卷 / 01期
关键词
Thermal infrared image; YOLOv8n; target detection; convolution; MHSA; loss function; BODY-TEMPERATURE; THERMOGRAPHY; CATTLE;
D O I
10.20517/ir.2024.02
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the current pig scale breeding process, considering the low accuracy and speed of the infrared thermal camera automatic measurement concerning the pig body surface temperature, this paper proposes an improved algorithm for target detection of the pig ear thermal infrared image based on the YOLOv8n model. The algorithm firstly replaces the standard convolution in the CSPDarknet-53 and neck network with Deformable Convolution v2, so that the convolution kernel can adjust its shape according to the actual situation, thus enhancing the extraction of input features; secondly, the Multi-Head Self-Attention module is integrated into the backbone network, which extends the sensory horizons of the backbone network; finally, the Focal-Efficient Intersection Over Union loss function was introduced into the loss of bounding box regression, which increases the Intersection Over Union loss and gradient of the target and, in turn, improves the accuracy of the bounding box regression. Apart from that, a pig training set, including 3,000 infrared images from 50 different individual pigs, was constructed, trained, and tested. The performance of the proposed algorithm was evaluated by comparing it with the current mainstream target detection algorithms, such as Faster-RCNN, SSD, and YOLO families. The experimental results showed that the improved model achieves 97.0%, 98.1% and 98.5% in terms of Precision, Recall and mean Average Precision, which are 3.3, 0.7 and 4.7 percentage points higher compared to the baseline model. At the same time, the detection speed can reach 131 frames per second, which meets the requirement of real-time detection. The research results show that the improved pig ear detection method based on YOLOv8n proposed in this paper can accurately locate the pig ear in thermal infrared images and provide a reference and basis for the subsequent pig body temperature detection.
引用
收藏
页码:20 / 38
页数:19
相关论文
共 50 条
  • [1] Infrared image detection of defects in lightweight solar panels based on improved MSRCR and YOLOv8n
    Hong, Yan
    Pan, Ruixian
    Su, Jingming
    Li, Mushi
    INFRARED PHYSICS & TECHNOLOGY, 2024, 141
  • [2] Research on identification and detection of coal and gangue based on infrared thermal imaging technology and improved YOLOv8n
    Wang, Yan
    Zhang, Zongtang
    Zhang, Xiulei
    Guan, Mingjuan
    Fang, Liao
    Li, Cong
    Ye, Xincheng
    INTERNATIONAL JOURNAL OF COAL PREPARATION AND UTILIZATION, 2024,
  • [3] Research on Bubble Detection Based on Improved YOLOv8n
    Chen, Tingting
    Zeng, Qingzhu
    IEEE ACCESS, 2024, 12 : 9659 - 9668
  • [4] Fabric Defect Detection Based on Improved Lightweight YOLOv8n
    Ma, Shuangbao
    Liu, Yuna
    Zhang, Yapeng
    APPLIED SCIENCES-BASEL, 2024, 14 (17):
  • [5] Improved YOLOv8n for Lightweight Ship Detection
    Gao, Zhiguang
    Yu, Xiaoyan
    Rong, Xianwei
    Wang, Wenqi
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2024, 12 (10)
  • [6] Improved Road Damage Detection Algorithm Based on YOLOv8n
    Li, Xudong
    Zhang, Yujun
    IAENG International Journal of Computer Science, 2024, 51 (11) : 1720 - 1730
  • [7] Traffic Sign Detection Algorithm Based on Improved YOLOv8n
    Peng, Jun
    Mou, Biao
    Jin, Shangzhu
    Lu, Yiyi
    Li, Chenxi
    Chen, Wei
    Jiang, Aiping
    2024 IEEE 19TH CONFERENCE ON INDUSTRIAL ELECTRONICS AND APPLICATIONS, ICIEA 2024, 2024,
  • [8] RDB-YOLOv8n: Insulator defect detection based on improved lightweight YOLOv8n model
    Jiang, Yong
    Wang, Shuai
    Cao, Weifeng
    Liang, Wanyong
    Shi, Jun
    Zhou, Lintao
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2024, 21 (05)
  • [9] Detection algorithm of aircraft skin defects based on improved YOLOv8n
    Wang, Hao
    Fu, Lanxue
    Wang, Liwen
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (04) : 3877 - 3891
  • [10] Chili Pepper Object Detection Method Based on Improved YOLOv8n
    Ma, Na
    Wu, Yulong
    Bo, Yifan
    Yan, Hongwen
    PLANTS-BASEL, 2024, 13 (17):