دورية أكاديمية

Research on Dynamic Pig Counting Method Based on Improved YOLOv7 Combined with DeepSORT.

التفاصيل البيبلوغرافية
العنوان: Research on Dynamic Pig Counting Method Based on Improved YOLOv7 Combined with DeepSORT.
المؤلفون: Shao, Xiaobao, Liu, Chengcheng, Zhou, Zhixuan, Xue, Wenjing, Zhang, Guoye, Liu, Jianyu, Yan, Hongwen
المصدر: Animals (2076-2615); Apr2024, Vol. 14 Issue 8, p1227, 30p
مصطلحات موضوعية: ANIMAL culture, SWINE farms, COUNTING, SWINE, ANIMAL industry, SOLID state drives, SWINE housing, DEEP learning
مستخلص: Simple Summary: A pig inventory is an important part of realizing accurate and large-scale farming. Distinguishing from the current, mostly overhead scene or static map counting, this study proposes a video-based dynamic counting method through which pigs can be counted automatically and continuously in complex scenes. The improved model effectively reduces the counting error and improves the operation efficiency, which provides data and experimental references for the study of automated pig counting, and it also provides technical support to improve the management efficiency of pig farms, reducing the cost and promoting the intelligent transformation of the animal husbandry industry. A pig inventory is a crucial component of achieving precise and large-scale farming. In complex pigsty environments, due to pigs' stress reactions and frequent obstructions, it is challenging to count them accurately and automatically. This difficulty contrasts with most current deep learning studies, which rely on overhead views or static images for counting. This research proposes a video-based dynamic counting method, combining YOLOv7 with DeepSORT. By utilizing the YOLOv7 network structure and optimizing the second and third 3 × 3 convolution operations in the head network ELAN-W with PConv, the model reduces the computational demand and improves the inference speed without sacrificing accuracy. To ensure that the network acquires accurate position perception information at oblique angles and extracts rich semantic information, we introduce the coordinate attention (CA) mechanism before the three re-referentialization paths (REPConv) in the head network, enhancing robustness in complex scenarios. Experimental results show that, compared to the original model, the improved model increases the mAP by 3.24, 0.05, and 1.00 percentage points for oblique, overhead, and all pig counting datasets, respectively, while reducing the computational cost by 3.6 GFLOPS. The enhanced YOLOv7 outperforms YOLOv5, YOLOv4, YOLOv3, Faster RCNN, and SSD in target detection with mAP improvements of 2.07, 5.20, 2.16, 7.05, and 19.73 percentage points, respectively. In dynamic counting experiments, the improved YOLOv7 combined with DeepSORT was tested on videos with total pig counts of 144, 201, 285, and 295, yielding errors of -3, -3, -4, and -26, respectively, with an average accuracy of 96.58% and an FPS of 22. This demonstrates the model's capability of performing the real-time counting of pigs in various scenes, providing valuable data and references for automated pig counting research. [ABSTRACT FROM AUTHOR]
Copyright of Animals (2076-2615) is the property of MDPI and its content may not be copied or emailed to multiple sites or posted to a listserv without the copyright holder's express written permission. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
قاعدة البيانات: Complementary Index
الوصف
تدمد:20762615
DOI:10.3390/ani14081227