高级检索+

基于围栏式养殖的牛只区域监测与越界预警方法

Regional monitoring and cross-border early warnings of cattle using fence-type breeding

  • 摘要: 在围栏养殖背景下,牛只监测主要依赖人工巡查。当牛只靠近围栏边缘发生逃逸等异常情况时,传统监管手段难以及时发现并干预,导致牛只丢失,给养殖户造成经济损失。针对围栏式养殖环境中牛只逃逸事件难以及时准确监测与预警的问题,该研究提出了一种基于实例分割与多目标跟踪的STWBD(segment tracking with boundary detection)牛只区域监测与越界预警方法。首先,构建改进RDL-YOLO11n-seg(C3K2-RetBlock、C2DA、Segment-LSCD,RDL)实例分割模型,提升牛只在围栏区域内活动状态的空间感知与实时监测能力;其次,利用DeepOCSORT算法赋予每头牛只ID,实现牛只在复杂场景下的持续跟踪;最后,结合实际牛舍栏杆结构设计多边形电子围栏以界定牛只安全活动区域,并集成轨迹可视化、实时跟踪速度与数量统计等多维监测机制,对监控区域内牛只的运动轨迹与位置分布进行持续分析,实现越界行为的实时监测与智能预警。试验结果表明,RDL-YOLO11n-seg模型精确率、召回率与分割精度分别为94.9%、87.4%和92.5%,相比原模型分别提高了2.0、3.1和3.1个百分点,参数量降低了17.8%,浮点计算量为8.6 G;DeepOCSORT的高阶跟踪精度、多目标跟踪准确率、识别平均数比率分别为81.4%、91.6%和95.8%;逃逸事件检测的精确率、召回率和F1分数分别为96.2%、100.0%和98.1%。研究表明,该方法能够有效监测围栏式牛只养殖环境中出现的越界逃逸事件,为牛只智慧化预警监管提供技术支撑。

     

    Abstract: Cattle monitoring can rely mainly on manual inspections in the fence farming. Once the cattle escaped near the edge of the fence, the conventional regulatory system could not fully detect and intervene in time, resulting in the loss of cattle. In this study, a cattle area monitoring and boundary-crossing early warning system was proposed for the cattle using fence-type breeding. Instance segmentation and multi-object tracking, named STWBD (Segment Tracking with Boundary Detection), were also utilized to monitor the cattle activities in real time within the fenced area. Intelligent early warnings of the potential boundary-crossing behaviors were then provided to enhance the safety level of the fenced cattle farming. Firstly, an improved RDL-YOLO11n-seg instance segmentation was constructed into the framework. The C3K2-RetBlock module was also introduced to the original YOLO11n-seg, in order to enhance the response capability to the spatial displacement of the cattle. The C2DA structure was combined to improve the expression of the multi-scale features. The Segment-LSCD module was employed to optimize the segmentation head. The object detection and instance segmentation were facilitated to accurately capture the cattle contours and postures. As a result, the spatial perception and real-time monitoring of the cattle were enhanced within the fenced area. Secondly, the DeepOCSORT algorithm was assigned an identity ID to each cattle, particularly for the continuous tracking in different scenarios. Some challenges were effectively handled, such as the small target scale, severe occlusion, low lighting, and cattle close to the boundary. The continuity and stability of the multi-object tracking were provided for the reliable trajectory data to detect the later boundary-crossing behavior. In terms of the fence boundary design, the actual structure of the cattle shed fences was combined to construct a polygonal electronic fence. The safe activity area of the cattle was defined for the continuous analysis of the movement trajectories and position distribution of the cattle. The system was integrated with some functions, such as the trajectory visualization, real-time speed tracking, and statistics of the cattle population. The STWBD was used to monitor the boundary-crossing behavior of the cattle in real time and promptly trigger the intelligent early warnings. Experimental results showed that the precision, recall, and segmentation accuracy of the RDL-YOLO11n-seg model reached 94.9%, 87.4%, and 92.5%, respectively, which were 2.0, 3.1, and 3.1 percentage points higher than the original, and the parameters were reduced by 17.8%, with a floating-point operation count of 8.6 G. The high-order tracking accuracy (HOTA), multiple object tracking accuracy (MOTA), and identity F1-Score (IDFI) of DeepOCSORT were 81.4%, 91.6%, and 95.8%, respectively, while the precision, recall, and F1 score of the escape event detection were 96.2 %, 100.0 %, and 98.1 %, respectively. The movement trajectories of the cattle were efficiently monitored in the small-scale fenced farming environments. The boundary-crossing escape events were effectively identified to provide the reliable technical support for the intelligent early warning and supervision of the cattle. This finding can provide real-time access to the cattle population, distribution, and movement patterns. While the risk was predicted after trajectory and speed analysis. The finding can offer a scientific basis for the secure and efficient management of the confined cattle farming.

     

/

返回文章
返回