3-class classification โ Mask On, Mask Incorrect, No Mask โ powered by EfficientNetB0 TFLite at 98.33% accuracy. Upload an image or use your webcam, directly in the browser.
Two-stage inference โ face detection followed by mask classification, all running in the browser.
8-epoch benchmark across three architectures on the same dataset and training setup.
| Model | Val Accuracy | Size | Train Time | |
|---|---|---|---|---|
| EfficientNetB0 | 8.4 MB | 205 s | โ Deployed | |
| YOLOv8n-cls (TF) | 13.6 MB | 182 s | ||
| MobileNetV2 | 9.5 MB | 155 s |
Browser-based for sharing, or native OpenCV window for real-time local detection.
Upload a photo or use your webcam to detect mask usage instantly.