LangGas: Introducing Language in Selective Zero-Shot Background Subtraction for Semi-Transparent Gas Leak Detection with a New Dataset

Wenqi Guo, Yiyang Du, Shan Du
3/4/2025
cs.CVcs.AI

Official code: weathon/Lang-Gas (15 stars, last commit 2025-06-12).

Abstract

Gas leakage poses a significant hazard that requires prevention. Traditionally, human inspection has been used for detection, a slow and labour-intensive process. Recent research has applied machine learning techniques to this problem, yet there remains a shortage of high-quality, publicly available datasets. This paper introduces a synthetic dataset, SimGas, featuring diverse backgrounds, interfering foreground objects, diverse leak locations, and precise segmentation ground truth. We propose a zero-shot method that combines background subtraction, zero-shot object detection, filtering, and segmentation to leverage this dataset. Experimental results indicate that our approach significantly outperforms baseline methods based solely on background subtraction and zero-shot object detection with segmentation, reaching an IoU of 69%. We also present an analysis of various prompt configurations and threshold settings to provide deeper insights into the performance of our method. Finally, we qualitatively (because of the lack of ground truth) tested our performance on GasVid and reached decent results on the real-world dataset. The dataset, code, and full qualitative results are available at https://github.com/weathon/Lang-Gas.

View on arXivView PDF

Code Implementations(1)

weathon/Lang-GasOfficial100%
152Shell, PythonApr 1, 20251 years ago

Similar Papers

Cite this paper

@article{guo2025langgas,
  title  = {LangGas: Introducing Language in Selective Zero-Shot Background Subtraction for Semi-Transparent Gas Leak Detection with a New Dataset},
  author = {Wenqi Guo and Yiyang Du and Shan Du},
  year   = {2025},
  eprint = {2503.02910},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.02910v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.02910.svg)](https://codeofpaper.com/paper/2503.02910)

Discussion