Within precision agriculture, combining artificial intelligence with high-power laser systems for weed management yields substantial improvements in both efficiency and accuracy. Nonetheless, the detection and tracking of weed targets remain considerable challenges. In object detection, the diverse sizes and traits of weeds can lead to smaller targets being missed. In the domain of tracking prediction, the resemblance among weed forms may degrade the precision of pose estimation. At the same time, the erratic camera movements inherent to laser weeding platforms further heighten the chance of tracking loss. To overcome these hurdles, this work proposes a spatial attention mechanism to improve weed detection precision. It applies refined multi-feature layer extraction and optimal feature-matching methods to generate motion estimates. An adaptive extended Kalman filtering scheme is then incorporated, yielding a weed-tracking method that fuses temporal and spatial cues, enabling fast and accurate weed detection and tracking suited to laser weeding conditions. The detection accuracy of the refined algorithm was examined on both open-source and custom-collected detection datasets, reaching a mean Average Precision (mAP) of 97.29% and 85.83%, respectively. Tracking capability was further assessed using the LettuceMOT and self-collected WeedsMOT datasets, yielding gains in Higher-Order Tracking Accuracy (HOTA) of 12.01% and 8.75% over the ByteTrack and DeepOCSORT algorithms, respectively. The experimental results verify the effectiveness of the introduced weed detection and tracking pipeline, serving as a useful benchmark for advancing laser weeding systems in precision agriculture.