Realizing Cattle and Sheep Target Detection in Ecological Livestock Farming Based on Improved YOLOv8 Model

Shi Dong,Jianshuo Guo,Xin Zhang,Shenglei Pei,Lin Tan
DOI: https://doi.org/10.1109/ASIP63198.2024.00012
2024-06-13
Abstract:With the advancement of AI and big data technology, the livestock industry in Qinghai Province has encountered a significant opportunity for livestock monitoring and management. The abundance of image data has provided a new driving force for economic development, but variations in lighting, background, and animal posture present challenges for target detection. To adapt to the plateau environment, continuous innovation and optimization of algorithms are necessary.In order to address the challenges in livestock monitoring, a large number of image data of cattle and sheep were collected through widespread deployment of cameras in Qinghai Province. After thorough investigation of YOLO series models, it was determined that YOLOv8 outperformed YOLOv5, YOLOv6, and YOLOv7 in accuracy while also demonstrating superior stability compared to YOLOv9. As a result, YOLOv8 was selected as the base model for optimization leading to the development of a new object detection model - YOLOV8-ZX. During the optimization process, several innovative strategies were implemented including selecting ODC-FPN as the backbone network to enhance feature extraction capability; introducing c2f-cam-Neck structure to improve recognition ability in complex backgrounds; unifying object detection head and integrating attention mechanism (Dy-Head)[2] which not only improved generalization performance but also significantly reduced computational complexity. These optimizations enabled YOLOv8-ZX to maintain excellent detection accuracy and stability even in complex and variable environments. Furthermore, introduction of attention mechanism enhanced network's ability to identify key features thereby improving accuracy and robustness of detection. Compared with YOLOV8 model alone,YOLOV8-ZX demonstrated 4.4% increase in mAP50 , 5.4% increase MAP50-95, and 3.7% decrease box damage . Experimental results indicate that optimizedYolo v8 model exhibits exceptional generalization performance & robustness when addressing livestock detection tasks within Qinghai province thus providing an efficient & practical technical solution for livestock monitoring. These research findings not only promote application computer vision within animal husbandry but also provide effective reference solutions similar target detections problems within similar environments.
Environmental Science,Computer Science,Agricultural and Food Sciences
What problem does this paper attempt to address?