| 注册
首页|期刊导航|农业工程学报|基于改进YOLOv8n的叠层笼养鸡只笼位采食量估测

基于改进YOLOv8n的叠层笼养鸡只笼位采食量估测

冀横溢 张哲 滕光辉 周振宇 刘慕霖 葛绍娟 刘健

农业工程学报2024,Vol.40Issue(24):218-225,8.
农业工程学报2024,Vol.40Issue(24):218-225,8.DOI:10.11975/j.issn.1002-6819.202408041

基于改进YOLOv8n的叠层笼养鸡只笼位采食量估测

Estimation of chicken cage's feed intake based on improved YOLOv8n in stacked-cage-raising system

冀横溢 1张哲 1滕光辉 1周振宇 1刘慕霖 1葛绍娟 1刘健1

作者信息

  • 1. 中国农业大学水利与土木工程学院,北京 100083||农业部设施农业工程重点实验室,北京 100083||北京市畜禽健康养殖环境工程技术研究中心,北京 100083
  • 折叠

摘要

Abstract

This study aims to estimate the feed intake of chickens in stacked-cage-raising systems.Meat-type breeder chickens were selected as the research object.An improved lightweight version of the YOLOv8n model,named YOLO-FSG,was developed to recognize chicken feeding behaviors.A multivariate linear regression model was established to estimate feed intake using feeding duration and frequency as variables.A dataset of 2043 images was constructed.The data augmentation was applied to the training and validation sets using random rotation,flipping,brightness alteration,and Gaussian blurring.The expanded training and validation set contained 3 268 and 408 images,respectively.Meanwhile,the test set contained 204 images.The YOLO-FSG model was achieved in the lightweight performance after three key modifications:1)In the backbone network,the efficient multi-scale attention(EMA)module,Faster-NetBlock,and C2F(CSPDarknet53 to two-stage feature pyramid network)were combined to create the C2F-FEblock,thus enhancing feature extraction while reducing model complexity.2)In the neck network,a Slim-Neck design strategy was employed to replace the convolutional layers and C2F modules with GSConv(group shuffle convolution)and VovGSCSP(GSConv spatial cross stage partial)modules,in order to optimize the feature fusion and processing.3)In the detection head,grouped convolutional modules with two shared parameters were replaced by four convolutional modules to reduce the computational load.The YOLO-FSG model achieved a 97.1%mean average precision at a 0.5 threshold(mAP0.5)and a 47.4%mean average precision across 0.5-0.95 thresholds(mAP0.5-0.95),with a model size of 1.94 M,4.0 G floating-point operations(FLOPs),and a detection time of 3.6 ms.Compared with YOLOv8n,the improved model was enhanced by 0.2 percentage points at mAP0.5-0.95 and maintained the same mAP0.5;There was a decrease in the number of parameters,where FLOPs were reduced by 35.3%and 50.6%,respectively;The detection time decreased by 0.2 ms,leading to the more portable model.The improved model outperformed the common object detection models,such as YOLOv5n,YOLOv7n,and YOLOv9t.Feeding duration and frequency were calculated to convert hourly feeding video recordings into sequential image frames.Each frame was analyzed to detect objects using the YOLO-FSG model.The bounding boxes were obtained to detect the entities,in order to complete their coordinates and cage classification.A predefined threshold line was used to delineate the feeding area proximate to the troughs.Once the centroid of a chicken's head fell within this designated feeding area,it was classified as actively feeding.The duration of each feeding episode was determined to count the number of successive frames during feeding activity.An increment was recorded in feeding frequency,whenever there was a pause exceeding 3 s between two feeding episodes.Thus,the feeding frequency and feeding duration were obtained for each cage position within a one-hour period.Correspondingly,the actual feed intake of chickens was measured manually within different cages over one hour.A total of 185 samples were obtained after the removal of unusable data.The training and testing sets were divided at an 8:2 ratio.The feed intake estimation model was achieved in a coefficient of determination(R2)and root mean square error(RMSE)on the test set of 0.9 and 5.91,respectively.In the future,automatic weighing equipment for feed should be utilized to develop more accurate feed intake estimation models.This finding can provide technological support to the fine management of chickens in stacked-cage-raising systems,thereby promoting intelligent development in poultry farming.

关键词

YOLOv8n/叠层笼养/采食量//多元线性回归

Key words

YOLOv8n/stacked cage raising/feed intake/chicken/multiple linear regression

分类

农业科技

引用本文复制引用

冀横溢,张哲,滕光辉,周振宇,刘慕霖,葛绍娟,刘健..基于改进YOLOv8n的叠层笼养鸡只笼位采食量估测[J].农业工程学报,2024,40(24):218-225,8.

基金项目

国家重点研发计划(2023YFD2000805) (2023YFD2000805)

山东省重点研发计划(2022TZXD0015) (2022TZXD0015)

农业工程学报

OA北大核心CSTPCD

1002-6819

访问量0
|
下载量0
段落导航相关论文