AI-Driven Facility Inspection Using Vision-Language Models and Image Classification: Model Selection and Prompt Design
Abstract
Visual inspection remains essential at dispersed oil and gas facilities because many operating conditions cannot be inferred from instruments alone. Routine site visits provide this visual evidence, but they become difficult to scale when facilities are numerous and most inspections find nothing actionable. FieldView addresses this challenge through scheduled photography, automated image assessment, and human review. In the studied deployment, 200 cameras across 100 facilities produce about 2,000 images per day. This paper considers two practical decisions in designing image-based inspections. The first is whether a task is better suited to an object detector, which locates and classifies a defined target, or a vision-language model (VLM), which can interpret evidence across a wider scene. The second is how much instruction a VLM prompt should contain. Rain-cap, flare, smoke, and spill inspections are used to examine how the visual evidence required by an engineering decision can guide model and prompt selection. The study evaluates fixed detector and VLM configurations on expert-labeled field images for rain-cap, flare, smoke, and spill inspections. Matched-image comparisons are used where possible, with class-level metrics, statistical analysis, and error review used to interpret overall performance. The rain-cap detector achieved 97.72% mAP@0.5 on its validation set, demonstrating strong performance for a localized and consistently labeled target. For flare-state classification, the full-image VLM achieved 91.2% accuracy on the 227-image benchmark, compared with 69.2% for the fine-tuned detector workflow. The smoke configuration achieved 96.2% accuracy, while the selected spill configuration achieved 77.0% accuracy and a macro F1 of 0.756. Controlled prompt comparisons also showed that additional instructions, response fields, and decision procedures did not consistently improve accuracy. Together, the evaluations provide quantitative evidence across both localized targets and scene-level inspection decisions. These results are used to support engineering selection and validation of complete inspection configurations rather than to claim that one model family is universally superior. The results indicate that model choice should follow the structure of the inspection rather than a preference for one model family. A detector performed well for the localized rain-cap task, while a full-image VLM was more effective for flare-state classification on the studied benchmark. Across flare and spill evaluations, additional prompt detail did not consistently improve accuracy. These findings support a measured workflow: define the visual evidence needed for the decision, test complete configurations on representative images, retain prompt additions only when they demonstrate value, and preserve human review for operational disposition.