In this work, we introduced an open-source data-driven algorithm for optimizing sensor placement on oil and gas sites. The demonstration example (METEC experiment) and the real oil and gas site case study outlined in this paper detail the workflow and highlight the efficiency and accuracy of our proposed framework. This algorithm provides site-specific solutions that are more accurate and reliable than traditional sensor placement strategies and those proposed in prior studies. Additionally, our algorithm's analysis of the relationship between sensor budget and detection efficiency is crucial for operators when making decisions during the planning phase.