Citation: | NA Risu, ZHAI Lihao, XING Haipeng, et al. Detecting cattle manure in pastoral areas using the YOLO network[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(22): 145-153. DOI: 10.11975/j.issn.1002-6819.202405003 |
Grassland animal husbandry is the main form of animal husbandry. Cow manure is the by-product of grassland animal husbandry on the vast grassland areas. Since cow manure can serve as an important source of energy, there is a negative impact on grass growth. The distribution of cow manure is also characterized by scattered and concentrated areas in natural grasslands. However, manual picking is still used to collect cow manure in pastoral areas at present, leading to the high labor intensity and cost. Alternatively, computer vision can be expected to apply to the collection of cow manure in recent years. In this article, an image detection model was proposed for cow manure using improved YOLOv5. Firstly, New CSP-Darknet53 was replaced with EfficientFormerV2, in order to improve the boundary sensitivity for low complexity of the model. Experimental results showed that the computational complexity was significantly reduced, compared with the original model. Secondly, PANET was replaced with BiFPN to enhance the feature fusion capability for the high accuracy of detection. There was an increase in the accuracy of detection. Furthermore, CIoU Loss was replaced with Inner IoU Loss, in order to improve the localization accuracy of bounding box regression. Once the ratio value was greater than 1, the larger auxiliary bounding boxes were generated to accelerate the convergence of the sample. A comparison with different ratio values showed that the best performance was achieved when the ratio value was 1.10. From then on, the Bottleneck was replaced in the C3 module with an improved FasterNet block. Leaky Relu was used instead of Relu as the activation function for the FasterNet block module, resulting in significant improvements in the accuracy, recall, and average precision. Additionally, the number of parameters and floating-point operations decreased significantly. The computational complexity was reduced to accelerate the inference speed. Finally, a picking judgment mechanism was added using the YOLOv5 detection box, in order to evaluate the size of the cow manure block and the density of the cow manure group. The cow manure was classified in a certain area for intelligent conditional picking of cow manure. The accuracy of the improved network model was 92.6%, the recall rate was 87.7%, the average accuracy was 87.4%, the parameter count was 4022847B, and the floating-point operation count was 8.1G. The improved model significantly reduced the parameter and operation for the high detection accuracy, in order to significantly improve the performance of the model. A dataset of cow manure was established in pastoral areas, in order to improve data diversity. The collected data was randomly combined using five operations: flipping, scaling and translation, motion blur, random occlusion, and brightness change, in order to enhance data augmentation. Comparison experiments were conducted on the multiple networks and the improved model on the dataset. The experimental results showed that the accuracy of the improved model was superior to other models with the same level of parameter and computational complexity. The improved YOLOv5 model classified the cow manure, according to its different sizes during the inference stage, and then distinguished it using different colored bounding boxes. The recognition and localization of cow manure were achieved in the pastoral areas. The finding can also provide technical support to the intelligent picking vehicles of cow manure.
[1] |
丁勇,春亮,孙娟娟,等. 中国,40%国土是草原[N]. 中国绿色时报,2021-03-11(8).
|
[2] |
邵浩宸,衣淑娟,沈玉君,等. 不同工艺对牛粪堆沤肥过程气体排放的影响[J]. 农业工程学报,2024,40(2):323-331. doi: 10.11975/j.issn.1002-6819.202308158
SHAO Haochen, YI Shujuan, SHEN Yujun, et al. Effects of different processes on gas emission during composting of cow manure[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(2): 323-331. (in Chinese with English abstract) doi: 10.11975/j.issn.1002-6819.202308158
|
[3] |
周海宾,刘娟,丁京涛,等. 采用EEM-FRI方法研究黑曲霉对牛粪堆肥腐熟及纤维素降解影响[J]. 农业工程学报,2022,38(1):276-286. doi: 10.11975/j.issn.1002-6819.2022.01.031
ZHOU Haibin, LIU Juan, DING Jingtao, et al. Effects of Aspergillus niger on maturity and cellulose degradation of cow manure composting using EEM-FRI method[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2022, 38(1): 276-286. (in Chinese with English abstract) doi: 10.11975/j.issn.1002-6819.2022.01.031
|
[4] |
张胜茂,李佳康,唐峰华,等. 基于深度学习的鱼类养殖监测研究进展[J]. 农业工程学报,2024,40(5):1-13. doi: 10.11975/j.issn.1002-6819.202311047
ZHANG Shengmao, LI Jiakang, TANG Fenghua, et al. Research progress on fish farming monitoring based on deep learning technology[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(5): 1-13. (in Chinese with English abstract) doi: 10.11975/j.issn.1002-6819.202311047
|
[5] |
GIRSHICK R, DONAHUE J, DARRELL T, et al. Rich feature hierarchies for accurate object detection and semantic segmentation[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Columbus, USA: IEEE , 2014: 580-587.
|
[6] |
GIRSHICK R. Fast R-CNN[C]// Proceedings of the IEEE International Conference on Computer Vision. Santiago, Chile: IEEE , 2015: 1440-1448.
|
[7] |
REN S, HE K, GIRSHICK R, et al. Faster R-CNN: Towards real-time object detection with region proposal net works[C]// Proceedings of International Conference on Neural Information Processing Systems. Montreal, Canada: NIPS, 2015: 91-99.
|
[8] |
赵永强,饶元,董世鹏,等. 深度学习目标检测方法综述[J]. 中国图象图形学报,2020,25(4):629-654. doi: 10.11834/jig.190307
ZHAO Yongqiang, RAO Yuan, DONG Shipeng, et al. Survey on deep learning object detection[J]. Journal of Image and Graphics, 2020, 25(4): 629-654. (in Chinese with English abstract) doi: 10.11834/jig.190307
|
[9] |
REDMON J, DIVVALA S, GIRSHICK R, et al. You only look once: unified, real-time object detection[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Boston, USA: IEEE, 2015: 779-788.
|
[10] |
LIU W, ANGUELOV D, ERHAN D, et al. SSD: single shot multibox detector[C]// Proceedings of European Conference on Computer Vision. Amsterdam, The Netherlands: Springer, 2016: 21-37.
|
[11] |
陈科圻,朱志亮,邓小明,等. 多尺度目标检测的深度学习研究综述[J]. 软件学报,2021,32(4):1201-1227.
CHEN Keqi, ZHU Zhiliang, DENG Xiaoming, et al. Deep learning for multi-scale object detection: A survey[J]. Journal of Software, 2021, 32(4): 1201-1227. (in Chinese with English abstract)
|
[12] |
黄健,张钢. 深度卷积神经网络的目标检测算法综述[J]. 计算机工程与应用,2020,56(17):12-23.
HUANG Jian, ZHANG Gang. Survey of object detection algorithms for deep convolutional neural networks[J]. Computer Engineering and Applications, 2020, 56(17): 12-23. (in Chinese with English abstract)
|
[13] |
吕璐,程虎,朱鸿泰,等. 基于深度学习的目标检测研究与应用综述[J]. 电子与封装,2022,22(1):010307.
LYU Lu, CHENG Hu, ZHU Hongtai, et al. Progress of research and application of object detection based on deep learning[J]. Electronics & Packaging, 2022, 22(1): 010307. (in Chinese with English abstract)
|
[14] |
SANGDOO Yun, DONGYOON Han, SEONG Joon, et al. CutMix: Regularization strategy to train strong classifiers with localizable features[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Long Beach, USA: IEEE , 2019: 6023-6032.
|
[15] |
WANG C Y, LIAO H Y M, WU Y H, et al. CSPNet: A new backbone that can enhance learning capability of CNN[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Virtual: IEEE, 2020: 390-391.
|
[16] |
LIU S, QI L, QIN HH, et al. Path aggregation network for instance segmentation[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Salt Lake City, USA: IEEE, 2018: 8759-8768.
|
[17] |
JOSEPH Redmon, ALI Farhadi. YOLOv3: An incremental improvement[EB/OL]. (2018-5-8) [2024-10-30]. https://arxiv. org/pdf/1804.02767.
|
[18] |
BRYAN L W, SCOTT M L, ROGER A E, et al. Electromagnetic induction sensor data to identify areas of manure accumulation on a feedlot surface[J]. Soil Science Society of America Journal, 2009, 12: 2068-2077.
|
[19] |
KELLY S, DANICA S, REBECCA L. Muenich. Using remote sensing to identify liquid manure applications in eastern North Carolina[J]. Journal of Environmental Management, 2022, 317(9): 115334.
|
[20] |
唐瑜嵘,沈明霞,薛鸿翔,等. 人工智能技术在畜禽养殖业的发展现状与展望[J]. 智能化农业装备学报,2023,4(1):1-16.
TANG Yurong, SHEN Mingxia, XUE Hongxiang, et al. Development status and prospect of artificial intelligence Technology in livestock and poultry breeding[J]. Journal of Intelligent Agricultural Mechanization, 2023, 4(1): 1-16. (in Chinese with English abstract)
|
[21] |
胡振楠,孙红敏,李晓明,等. 猪舍自动清粪控制系统设计与实现[J]. 南方农机,2021,52(1):8-11. doi: 10.3969/j.issn.1672-3872.2021.01.005
|
[22] |
LI YY, HU J, WEN Y, et al. Rethinking vsion transformers for mobilenet size and speed[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Vancouver, Canada: IEEE, 2023: 16843-16854.
|
[23] |
LI YY, YUAN G, WEN Y, et al. EfficientFormer: Vision transformers at mobilenet speed[EB/OL]. (2022-6-2) [2024-10-30]. https://arxiv.org/pdf/2206.01191.
|
[24] |
GONG C Y, WANG D L, LI M , et al. NASViT: Neural architecture search for efficient vision transformers with gradient conflict aware supernet training[C]// International Conference on Learning Representations. Virtual: OpenReview. net. 2022.
|
[25] |
FRANÇOIS Chollet. Xception: Deep learning with depthwise separable convolutions[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Las Vegas, USA: IEEE, 2016: 1800-1807.
|
[26] |
TAN MX, PANG RM, QUOC V. Le. EfficientDet: scalable and efficient object detection[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Long Beach, USA: IEEE, 2019: 10778-10787.
|
[27] |
ZHENG Z, WANG P. Enhancing geometric factors in model learning and inference for object detection and instance segmentation[J]. IEEE Transactions on Cybernetics, 2020, 52: 8574-8586.
|
[28] |
ZHANG H, XU C, ZHANG S. Inner-IoU: More effective intersection over union loss with auxiliary bounding box[EB/OL]. (2023-11-14) [2024-10-30]. https://arxiv.org/pdf/ 2311.02877.
|
[29] |
HYOJIN P, YOUNGJOON Y, GEONSEOK S, et al. C3: Concentrated-comprehensive convolution and its application to semantic segmentation[EB/OL]. (2019-7-28) [2024-10-30]. https://arxiv.org/pdf/1812.04920.
|
[30] |
CHEN J R, KAO S H, He H, et al. Run, Do not walk: Chasing higher FLOPS for faster neural networks[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Vancouver, Canada: IEEE, 2023: 12021-12031.
|
[31] |
ANDREW L. Maas, AWNI Y. Hannun, ANDREW Y. Ng. Rectifier nonlinearities improve neural network acoustic models[C]// Proceedings of the 30 th International Conference on Machine Learning. Atlanta, USA, 2013: 16489696.
|
[32] |
JOSEPH R, ALI F. Yolo9000: Better, faster, stronger[C]// Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Hawaii, USA: IEEE, 2017: 6517-6525.
|
[33] |
SELVARAJU R R, COGSWELL M, DAS A, et al. Grad-cam: Visual explanations from deep networks via gradient-based localization[C]// Proceedings of the IEEE international conference on computer vision. Venice, Italy: IEEE, 2017: 618-626.
|
[1] | YI Shujuan, SHAO Haochen, SHEN Yujun, DING Jingtao, ZHOU Haibin, ZHANG Buyuan, WANG Jian, ZHANG Xi, XU Pengxiang, CHENG Hongsheng, CHENG Qiongyi. Stratification law of the mixed aerobic composting process of cow manure and maize stovers[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2023, 39(3): 180-189. DOI: 10.11975/j.issn.1002-6819.202210178 |
[2] | Shen Yujun, Zhang Buyuan, Ding Jingtao, Meng Haibo, Zhou Haibin, Cheng Hongsheng, Zhang Xi, Wang Jian. Optimization of the ventilation technology for the mixed fermentation of cow manure and crop straw[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2022, 38(4): 242-250. DOI: 10.11975/j.issn.1002-6819.2022.04.028 |
[3] | Zhou Haibin, Liu Juan, Ding Jingtao, Meng Haibo, Zhang Xi, Cheng Hongsheng, Wang Jian, Cheng Qiongyi, Shen Yujun, Luo Wenhai. Effects of Aspergillus niger on the maturity and cellulose degradation of cow manure composting using EEM-FRI method[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2022, 38(1): 276-286. DOI: 10.11975/j.issn.1002-6819.2022.01.031 |
[4] | Li Wentao, Fan Jinxia, Li Wenzhe, Yuan Hu. Antibacterial mechanism of cow manure biogasslurry on Rhizoctonia solani[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2013, 29(3): 207-212. |
[5] | Gao Maofang, Qiu Jianjun, Li Changsheng, Wang Ligang, Li Hu, Gao Chunyu. Modelling nitrogen pollution from livestock breeding using Manure-DNDC model[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2012, 28(9): 183-189. |
[6] | Li Wenzhe, Wang Zhongjiang, Wang Lili, Xia Jiqing, Guan Zhengjun. Factors affecting acetic acid content in the process of high-concentration hydrolysis and acidogenesis of cow manure[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2008, 24(4). |
[7] | Li Jie, Li Wenzhe, Xu Hongwei, Wang Yongcheng. Rules of anaerobic digestion of cow manure by wet method and the effect of carriers[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2007, 23(3): 186-191. |
[8] | Li Jie, Li Wenzhe, Wang Yongcheng, Xu Hongwei. Effect of carriers on anaerobic digestion of cow manure and microbes adhered to them[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2006, 22(14): 248-251. |
[9] | Yu Haixia, Sun Li, Luan Dongmei. Effects of different bulking agents on cattle manure composting[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2006, 22(14): 235-238. |
[10] | Li Fahu. Effects of cow manure on release regulation of microelements in coal bottom ash[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2004, 20(6): 260-265. |
1. |
梁青芳,梁超琼,郭晖,谢毓芬,黄昱,龙韶博,陈鹏. 基于改进YOLOv5的自然场景下异常变色松树检测方法. 农业工程学报. 2025(05): 165-174 .
![]() |