Methane Leak Quantification on Edge Devices Using Deep Learning
Keywords:
methane emissions, deep learning, artificial intelligence, spatial and temporal preprocessingAbstract
Oil and gas domain deals with a varied set of problems ranging from methane leaks to prognostics and health management. This study demonstrates a solution to identify whether there is a methane leak or not and classify on what level the leak occurs based on different flow rates (5.3 g/h – 2051.6 g/h) at 5 distances (4.6 m - 15.6 m), using various spatial and temporal preprocessing techniques and deep learning models. For this study, we are using the GasVid methane leak dataset which consists of videos taken from infrared cameras on 2 different separators with a frame rate of 15 frames per second. Firstly, we applied a series of preprocessing steps, including contrast enhancement, Gaussian blur, three different background subtraction methods, namely moving average background subtraction method, KNN Gaussian mixture model, and Gunnar Farneback optical flow analysis. To save computational resources, temporal down-sampling was applied on the video frames. Thereafter, experiments were conducted using the 3D CNN model by modifying hyperparameters. It was found that on comparing the Adam and Lion (EvoLved Sign Momentum) optimizers, the Lion Optimizer increased accuracy by more than 34% and achieved state-of-the-art accuracy of 41.36% on 4.6 m videos. Further, the moving average background subtraction method's performance surpassed other background subtraction techniques. In addition, applying spatial preprocessing and down-sampling raw videos were compressed from 2.3GB to ~200MB which is a reduction factor of 11.
References
[1] J. Wang, L. P. Tchapmi, A. P. Ravikumar, M. McGuire, C. S. Bell, D. Zimmerle, S. Savarese, and A. R. Brandt, “Machine vision for natural gas methane emissions detection using an infrared camera.” Applied Energy, vol. 257, 113998, 2020.
[2] J. Wang, J. Ji, A. P. Ravikumar, S. Savarese, and A. R. Brandt, “Videogasnet: Deep learning for natural gas methane leak classification using an infrared camera.” Energy, vol. 238, 121516, 2022.
[3] A. P. Ravikumar, J. Wang, and A. R. Brandt. (2017, Jan.). “Are optical gas imaging technologies effective for methane leak detection?.” Environmental Science & Technology. [Online]. 51(1), pp. 718–724. Available: https://doi.org/10.1021/acs.est.6b04512 [Apr. 17, 2025].
[4] Couto-Silva, C. M., Shetty, S., Olid-Gonzalez, A., Wallez, G., Chatelet, V., and A. Kohar. "Mitigating Nonproductive Time: A Novel Algorithm for Dsl Fault Detection." Paper presented at the International Petroleum Technology Conference, Dhahran, Saudi Arabia, February 2024. doi: https://doi.org/10.2523/IPTC-24515-MS
[5] Duarte, J. J., Vaithianathan, S., Mohan, D. K., Nakamura, M., Soin, M., Tilakpure, N, Tan, D., and A. Kohar. "Condition-Based Maintenance of Oilfield Cement Pumper: A Data-Driven Approach." Paper presented at the SPE Western Regional Meeting, Palo Alto, California, USA, April 2024. doi: https://doi.org/10.2118/218870-MS
[6] Rodriguez, A., Rey-Torres, C., Kohar, A., and A. Malik. "MWD Tools’ Electronic Components Data-Driven Failure Detection." Paper presented at the SPE Western Regional Meeting, Palo Alto, California, USA, April 2024. doi: https://doi.org/10.2118/218834-MS
[7] A. Kohar., J. Sirignano, J. Peng, “Deep learning models for high‑frequency financial data.” Ph.D. dissertation, University of Illinois at Urbana‑Champaign, Urbana, IL, USA, 2019.
[8] Agora IoT, "AgoraGateway 403 product-sheet." Internet: agoraiot.com/Agora/media/Agora/AgoraGateway_403_Product-Sheet_2022_v8.pdf, 2022.
[9] N. Rouet-Leduc and C. G. Hulbert, “Automatic detection of methane emissions in multispectral satellite imagery using a vision transformer.” Nature Communications, vol. 15, 47754, 2024.
[10] I. Daugėla, J. Sužiedelytė Visockienė, and J. Kumpiene, “Detection and analysis of methane emissions from a landfill using unmanned aerial drone systems and semiconductor sensors.” Detritus, vol. 10, pp. 127-138, 2020.
[11] M. Kwaśny and A. Bombalska, “Optical Methods of Methane Detection.” Sensors, vol. 23, no. 5, 2834, 2023.
[12] D. R. Thompson, I. Leifer, H. Bovensmann, M. Eastwood, M. Fladeland, C. Frankenberg, K. Gerilowski, R. O. Green, S. Kratwurst, T. Krings, B. Luna, and A. K. Thorpe, “Real-time remote detection and measurement for airborne imaging spectroscopy: a case study with methane.” Atmospheric Measurement Techniques, vol. 8, pp. 4383-4397, 2015.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Journal of Sciences: Basic and Applied Research (IJSBAR)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Authors who submit papers with this journal agree to the following terms.