Promptable Fire Segmentation: Unleashing SAM2's Potential for Real-Time Mobile Deployment with Strategic Bounding Box Guidance
Emmanuel U. Ugwu, Zhang Xinming
TL;DR
This work addresses real-time fire segmentation by systematically evaluating SAM2.1 variants and mobile PROMPTable configurations under bounding-box prompting. It demonstrates that bounding-box prompts, especially Box+MP, substantially enhance segmentation quality on fire datasets, with lightweight variants like TinySAM and MobileSAM offering favorable efficiency for edge scenarios albeit without achieving true real-time performance. Across three datasets, the study benchmarks accuracy versus efficiency, highlighting the gap between zero-shot SAM2.1 capabilities and supervised domain-specific methods but underscoring the potential for practical deployment via prompt design and hardware-aware models. The findings establish benchmarks and practical guidelines for deploying promptable segmentation in fire monitoring, informing future work toward real-time, resource-constrained surveillance systems.
Abstract
Fire segmentation remains a critical challenge in computer vision due to flames' irregular boundaries, translucent edges, and highly variable intensities. While the Segment Anything Models (SAM and SAM2) have demonstrated impressive cross-domain generalization capabilities, their effectiveness in fire segmentation -- particularly under mobile deployment constraints -- remains largely unexplored. This paper presents the first comprehensive evaluation of SAM2 variants for fire segmentation, focusing on bounding box prompting strategies to enhance deployment feasibility. We systematically evaluate four SAM2.1 variants (tiny, small, base_plus, large) alongside mobile-oriented variants (TinySAM, MobileSAM) across three fire datasets using multiple prompting strategies: automatic, single positive point (SP), single positive point + single negative point (SP+SN), multiple positive points (MP), bounding box (Box), and hybrid variants (Box+SP and Box+MP). Our experimental results demonstrate that bounding box prompts consistently outperform automatic and single point-based approaches, with Box+MP achieving the highest mean IoU (0.64) and Dice coefficient (0.75) on the Khan dataset. Lightweight variants such as TinySAM and MobileSAM further reduce memory and computational costs, making them more suitable for latency-tolerant edge scenarios. Overall, this work provides critical insights for deploying promptable segmentation models in fire monitoring systems and establishes benchmarks for future research in domain-specific SAM applications. Code is available at: https://github.com/UEmmanuel5/ProFSAM
