PPE-Detection: Optimized for Qualcomm Devices
Detect if a person is wearing personal protective equipments (PPE) in real-time. This model's architecture was developed by Qualcomm. The model was trained by Qualcomm on a proprietary dataset, but can be used on any image.
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Getting Started
There are two ways to deploy this model on your device:
Option 1: Download Pre-Exported Models
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.3 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.42, ONNX Runtime 1.24.3 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.42, ONNX Runtime 1.24.3 | Download |
| QNN_DLC | float | Universal | QAIRT 2.43 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.43 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.43 | Download |
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.19.1 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.43, TFLite 2.19.1 | Download |
For more device-specific assets and performance metrics, visit PPE-Detection on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:
- Custom weights (e.g., fine-tuned checkpoints)
- Custom input shapes
- Target device and runtime configurations
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for PPE-Detection on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.object_detection
Model Stats:
- Inference latency: RealTime
- Input resolution: 320x192
- Number of output classes: 2
- Number of parameters: 6.19M
- Model size (float): 23.6 MB
- Model size (w8a8): 6.23 MB
- Model size (w8a16): 6.65 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.568 ms | 0 - 74 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® X2 Elite | 0.65 ms | 13 - 13 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® X Elite | 1.527 ms | 12 - 12 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.913 ms | 0 - 101 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS8550 (Proxy) | 1.325 ms | 0 - 16 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS9075 | 2.482 ms | 1 - 4 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.699 ms | 0 - 56 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.415 ms | 0 - 45 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X2 Elite | 0.651 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X Elite | 1.174 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.625 ms | 0 - 67 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS6490 | 84.341 ms | 28 - 31 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.968 ms | 0 - 13 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS9075 | 1.488 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCM6690 | 37.582 ms | 28 - 36 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.491 ms | 0 - 38 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 28.421 ms | 28 - 37 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.257 ms | 0 - 43 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X2 Elite | 0.245 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X Elite | 0.649 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.354 ms | 0 - 59 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS6490 | 14.767 ms | 4 - 11 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.507 ms | 0 - 9 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS9075 | 0.825 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCM6690 | 9.08 ms | 7 - 16 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.297 ms | 0 - 43 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 6.807 ms | 7 - 17 MB | CPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.484 ms | 1 - 57 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X2 Elite | 0.707 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X Elite | 1.298 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.824 ms | 0 - 72 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 5.038 ms | 1 - 52 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 1.113 ms | 1 - 3 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8775P | 1.77 ms | 1 - 64 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS9075 | 2.278 ms | 1 - 3 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 2.017 ms | 0 - 48 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA7255P | 5.038 ms | 1 - 52 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8295P | 2.3 ms | 0 - 29 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.611 ms | 1 - 63 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.394 ms | 0 - 40 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 0.546 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X Elite | 1.051 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.576 ms | 0 - 55 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 3.017 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8275 (Proxy) | 2.154 ms | 0 - 34 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.873 ms | 0 - 28 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8775P | 1.12 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 1.346 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 6.584 ms | 0 - 175 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 1.189 ms | 0 - 55 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA7255P | 2.154 ms | 0 - 34 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8295P | 1.552 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.461 ms | 0 - 33 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 1.036 ms | 0 - 38 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.244 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.417 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X Elite | 0.616 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.331 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS6490 | 1.938 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.268 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.485 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8775P | 0.712 ms | 0 - 35 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS9075 | 0.759 ms | 2 - 4 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCM6690 | 3.238 ms | 0 - 167 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.79 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA7255P | 1.268 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8295P | 1.009 ms | 0 - 30 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.283 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.596 ms | 0 - 36 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.485 ms | 0 - 58 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.809 ms | 0 - 84 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 5.028 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 1.12 ms | 0 - 3 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA8775P | 1.807 ms | 0 - 67 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS9075 | 2.286 ms | 0 - 15 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 2.038 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA7255P | 5.028 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA8295P | 2.297 ms | 0 - 32 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.639 ms | 0 - 66 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.275 ms | 0 - 38 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.403 ms | 0 - 52 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS6490 | 3.788 ms | 0 - 17 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.462 ms | 0 - 31 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.557 ms | 0 - 2 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8775P | 0.806 ms | 0 - 36 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS9075 | 0.897 ms | 0 - 9 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCM6690 | 4.715 ms | 0 - 164 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.839 ms | 0 - 52 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA7255P | 1.462 ms | 0 - 31 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8295P | 1.088 ms | 0 - 30 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.316 ms | 0 - 33 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1.322 ms | 0 - 37 MB | NPU |
License
- The license for the original implementation of PPE-Detection can be found here.
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
