Owing to the demand for smoke and flame detection in natural scenes, this paper proposes a lightweight deep learning model, SF-YOLO (Smoke and Fire-YOLO), for video smoke and flame detection in such environments. Firstly, YOLOv11 is employed as the backbone network, combined with the C3k2 module based on a two-path residual attention mechanism, and a target detection head frame with an embedded attention mechanism. This combination enhances the response of the unobscured regions to compensate for the feature loss in occluded regions, thereby addressing the occlusion problem in dynamic backgrounds. Then, a two-channel loss function (W-SIoU) based on dynamic tuning and intelligent focusing is designed to enhance loss computation in the boundary regions, thus improving the YOLOv11 model’s ability to recognize targets with ambiguous boundaries. Finally, the algorithms proposed in this paper are experimentally validated using the self-generated dataset S-Firedata and the public smoke and flame virtual dataset M4SFWD. These datasets are derived from internet smoke and flame video frame extraction images and open-source smoke and flame dataset images, respectively. The experimental results demonstrate, compared with deep learning models such as YOLOv8, Gold-YOLO, and Faster-RCNN, the SF-YOLO model proposed in this paper is more lightweight and exhibits higher detection accuracy and robustness. The metrics mAP50 and mAP50-95 are improved by 2.5% and 2.4%, respectively, in the self-made dataset S-Firedata, and by 0.7% and 1.4%, respectively, in the publicly available dataset M4SFWD. The research presented in this paper provides practical methods for the automatic detection of smoke and flame in natural scenes, which can further enhance the effectiveness of fire monitoring systems.
Urban park green spaces (UPGSs) play a critical role in enhancing residents’ quality of life, particularly for older adults. However, inequities in accessibility and resource distribution remain persistent challenges in aging urban areas. To address this issue, this study takes Gulou District, Nanjing City, as an example and proposes a comprehensive framework to evaluate the overall quality of UPGSs. Furthermore, an enhanced Gaussian two-step floating catchment area (2SFCA) method is introduced that incorporates (1) a multidimensional park quality score derived from an objective evaluation system encompassing ecological conditions, service quality, age-friendly facilities, and basic infrastructure; and (2) a Gaussian distance decay function calibrated to reflect the walking and public transit mobility patterns of the older adults in the study area. The improved method calculates the accessibility values of UPGSs for older adults living in residential communities under the walking and public transportation scenarios. Finally, factors influencing the social equity of UPGSs are analyzed using Pearson correlation coefficients. The experimental results demonstrate that (1) high-accessibility service areas exhibit clustered distributions, with significant differences in accessibility levels across the transportation modes and clear spatial gradient disparities. Specifically, traditional residential neighborhoods often present accessibility blind spots under the walking scenario, accounting for 50.8%, which leads to insufficient accessibility to public green spaces. (2) Structural imbalance and inequities in public service provision have resulted in barriers to UPGS utilization for older adults in certain communities. On this basis, targeted improvement strategies based on accessibility characteristics under different transportation modes are proposed, including the establishment of multi-tiered networked UPGSs and the upgrading of slow-moving transportation infrastructure. The research findings can enhance service efficiency through evidence-based spatial resource reallocation, offering actionable insights for optimizing the spatial layout of UPGSs and advancing the equitable distribution of public services in urban core areas.