A real-time face mask detection system built with YOLO that detects and classifies three states — mask on, no mask, and partial mask — directly from a live camera feed.
| 😷 Mask On | ❌ No Mask | |
|---|---|---|
![]() |
![]() |
![]() |
- 😷 Detects mask, no mask, and partial mask in real time
- 🎥 Works on live webcam feed
- ⚡ Fast and accurate using YOLO
- 🏷️ Bounding boxes with class labels and confidence scores
| Label | Meaning |
|---|---|
with_mask |
Mask worn correctly |
without_mask |
No mask detected |
mask_weared_incorrect |
Mask worn partially |
- Python
- YOLO (Ultralytics)
- OpenCV
Muhammad Rehman Ashraf


