• TSA-BSGMM:基于时间和空间注意力机制的运动目标检测算法

    TSA-BSGMM: A motion target detection algorithm based on time and space attention mechanisms

    • 运动目标检测是计算机视觉中的一个重要研究方向,旨在从视频或连续图像序列中识别运动物体。然而,传统运动目标检测算法在动态背景、光照变化等复杂环境下检测精度较低。为此,本文提出一种基于时空注意力机制的高斯混合建模背景消除法(Gaussian Mixture Model-based Background Subtraction with Temporal and Spatial Attention Mechanisms, TSA-BSGMM)。该算法以传统高斯混合建模背景消除法为基础,在背景建模阶段引入空间注意力机制以提升背景模型的准确性;在背景与前景分割阶段采用形态学处理来抑制噪声并增强目标形状;在背景模型更新阶段引入多级时序注意力机制,使模型能够快速适应如光照突变等环境变化。实验结果表明,TSA-BSGMM 在自建数据集上取得了87.92%的准确率,并且在发生光照突变后的13帧内,其检测准确率能够恢复至突变前水平的90%以上,综合性能显著优于现有主流运动目标检测算法。

       

      Abstract: Motion object detection is a critical research area in computer vision, aiming to identify moving objects from videos or continuous image sequences. However, traditional motion object detection algorithms often suffer from low detection accuracy in complex environments, such as dynamic backgrounds and varying illumination conditions. To address this limitation, this paper proposes a Gaussian Mixture Model-based Background Subtraction method with Temporal and Spatial Attention mechanisms (TSA-BSGMM). Built upon the traditional Gaussian mixture model-based background subtraction framework, the proposed method incorporates a spatial attention mechanism in the background modeling phase to enhance model precision. During the background-foreground segmentation stage, morphological processing is applied to suppress noise and reinforce object shapes. Furthermore, a multi-level temporal attention mechanism is introduced in the background update phase, enabling the model to rapidly adapt to abrupt environmental changes, such as sudden illumination variations. Experimental results show that the TSA-BSGMM achieves an accuracy of 87.92% on a self-built dataset. Moreover, within 13 frames after a sudden change in illumination, the detection accuracy recovers to over 90% of the pre-change level, demonstrating significant superiority over existing state-of-the-art motion object detection methods.

       

    /

    返回文章
    返回