{"title":"通过改进 YOLOv5s 的 SPPF 和 C3,建立新型笼养鸭日常行为识别模型","authors":"Gen Zhang , Chuntao Wang , Deqin Xiao","doi":"10.1016/j.compag.2024.109580","DOIUrl":null,"url":null,"abstract":"<div><div>Intensive duck farming can improve production efficiency and reduce environmental pollution. In modern intensive farming, ensuring the well-being and health of ducks is a paramount concern. Generally, the health status of ducks is determined by monitoring their daily behaviors, such as eating. However, research on cage-reared duck daily behavior recognition is scarce. Therefore, this study proposes a cage-reared duck daily behavior recognition model based on the improved YOLOv5s, denoted DBR-YOLOv5s for notational convenience. Specifically, to tackle the interfered features caused by the duck cage, an improved shrinkage mechanism is introduced in block SPPF of YOLOv5s. To decrease the feature information loss, the convolution operation replaces the maxpool operation in SPPF. Moreover, to cope with the issue of occlusion, the last three C3 blocks in module Neck of YOLOv5s are optimized via the multi-scale convolution operation, promoting the capability of DBR-YOLOv5s to extract contextual information. Extensive experiments were conducted on the self-constructed duck daily behavior dataset. The test precision of the proposed DBR-YOLOv5s is 92.8% for drinking, 96.8% for lying, 93.8% for standing, 98.5% for eating, 89.9% for preening, and 96.7% for spreading. Compared with the state-of-the-art YOLOv8x and YOLOv9c models, the average precision of DBR-YOLOv5s is 1.3% and 2.4% higher, respectively. The results indicate that the proposed DBR-YOLOv5s is effective for cage-reared duck daily behavior recognition, providing a non-contact method for duck daily behavior recognition.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A novel daily behavior recognition model for cage-reared ducks by improving SPPF and C3 of YOLOv5s\",\"authors\":\"Gen Zhang , Chuntao Wang , Deqin Xiao\",\"doi\":\"10.1016/j.compag.2024.109580\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Intensive duck farming can improve production efficiency and reduce environmental pollution. In modern intensive farming, ensuring the well-being and health of ducks is a paramount concern. Generally, the health status of ducks is determined by monitoring their daily behaviors, such as eating. However, research on cage-reared duck daily behavior recognition is scarce. Therefore, this study proposes a cage-reared duck daily behavior recognition model based on the improved YOLOv5s, denoted DBR-YOLOv5s for notational convenience. Specifically, to tackle the interfered features caused by the duck cage, an improved shrinkage mechanism is introduced in block SPPF of YOLOv5s. To decrease the feature information loss, the convolution operation replaces the maxpool operation in SPPF. Moreover, to cope with the issue of occlusion, the last three C3 blocks in module Neck of YOLOv5s are optimized via the multi-scale convolution operation, promoting the capability of DBR-YOLOv5s to extract contextual information. Extensive experiments were conducted on the self-constructed duck daily behavior dataset. The test precision of the proposed DBR-YOLOv5s is 92.8% for drinking, 96.8% for lying, 93.8% for standing, 98.5% for eating, 89.9% for preening, and 96.7% for spreading. Compared with the state-of-the-art YOLOv8x and YOLOv9c models, the average precision of DBR-YOLOv5s is 1.3% and 2.4% higher, respectively. The results indicate that the proposed DBR-YOLOv5s is effective for cage-reared duck daily behavior recognition, providing a non-contact method for duck daily behavior recognition.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-10-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169924009712\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924009712","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
A novel daily behavior recognition model for cage-reared ducks by improving SPPF and C3 of YOLOv5s
Intensive duck farming can improve production efficiency and reduce environmental pollution. In modern intensive farming, ensuring the well-being and health of ducks is a paramount concern. Generally, the health status of ducks is determined by monitoring their daily behaviors, such as eating. However, research on cage-reared duck daily behavior recognition is scarce. Therefore, this study proposes a cage-reared duck daily behavior recognition model based on the improved YOLOv5s, denoted DBR-YOLOv5s for notational convenience. Specifically, to tackle the interfered features caused by the duck cage, an improved shrinkage mechanism is introduced in block SPPF of YOLOv5s. To decrease the feature information loss, the convolution operation replaces the maxpool operation in SPPF. Moreover, to cope with the issue of occlusion, the last three C3 blocks in module Neck of YOLOv5s are optimized via the multi-scale convolution operation, promoting the capability of DBR-YOLOv5s to extract contextual information. Extensive experiments were conducted on the self-constructed duck daily behavior dataset. The test precision of the proposed DBR-YOLOv5s is 92.8% for drinking, 96.8% for lying, 93.8% for standing, 98.5% for eating, 89.9% for preening, and 96.7% for spreading. Compared with the state-of-the-art YOLOv8x and YOLOv9c models, the average precision of DBR-YOLOv5s is 1.3% and 2.4% higher, respectively. The results indicate that the proposed DBR-YOLOv5s is effective for cage-reared duck daily behavior recognition, providing a non-contact method for duck daily behavior recognition.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.