# Real-Time Personal Protective Equipment (PPE) Compliance and Clinical Tool Monitoring Using Generative AI: A Novel Approach for Adaptive and Automated Healthcare Surveillance

**Authors:** Manit Gupta, Rajaram Gairaboni, Andrei Lyle Bautista, Katherine Vo Brown, Bhavit Gupta, Austin Bautista, Alexander Bautista, Lady Christine Ong Sio, Shuchita Garg

PMC · DOI: 10.7759/cureus.95182 · Cureus · 2025-10-22

## TL;DR

A new generative AI system monitors PPE compliance in real-time, adapting to changing hospital rules without retraining, and shows high accuracy in tests.

## Contribution

A generative AI system that translates natural language rules into real-time monitoring logic without retraining.

## Key findings

- The system achieved 95.8% accuracy and 91.0% recall in mannequin-based trials.
- Performance was consistent across different skin tones and prompt types with no false positives.
- The system showed high adaptability and cost efficiency for real-time healthcare surveillance.

## Abstract

Background: Hospital-acquired infections (HAIs) remain a critical patient safety concern, affecting one in 31 hospitalized patients daily. Non-compliance with personal protective equipment (PPE) protocols is a preventable driver. Current monitoring methods, such as manual audits and closed-circuit television (CCTV), are limited by delays, inconsistency, and reactivity. Traditional artificial intelligence (AI) systems are rigid and require retraining when protocols change.

Objective: To construct and evaluate a generative AI-driven compliance monitoring system, built with Google Gemini (Mountain View, CA, USA) on Raspberry Pi (Cambridge, UK) hardware that translates hospital rulebooks or free-text prompts into real-time enforcement logic without retraining.

Methods: The system integrated Gemini, OpenCV (Dover, DE, USA) and Streamlit (San Francisco, CA, USA) to convert natural language rules into executable logic. Performance was tested in 168 mannequin-based trials under varied conditions (skin tones, orientations, and object presence). Outcomes were compared with reference labels using accuracy, recall, specificity, F1 score, and Cohen’s Kappa.

Results: The system achieved 95.8% accuracy, 91.0% recall, 100% specificity, F1 = 0.95, and Cohen’s Kappa = 0.92. Performance was consistent across mannequin skin tones and between rulebook-derived and free-text prompts, with no false positives recorded.

Conclusion: This generative AI compliance system demonstrated strong accuracy, adaptability, and cost efficiency. Integration into hospital workflows could enable proactive real-time monitoring of evolving safety protocols, improving compliance and reducing costs relative to current methods

## Full-text entities

- **Diseases:** infections (MESH:D007239), HAIs (MESH:D003428)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12638041/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12638041/full.md

## References

14 references — full list in the complete paper: https://tomesphere.com/paper/PMC12638041/full.md

---
Source: https://tomesphere.com/paper/PMC12638041