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.1 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | 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.17.0 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.43, TFLite 2.17.0 | 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® X Elite | 1.537 ms | 12 - 12 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.904 ms | 0 - 104 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS8550 (Proxy) | 1.32 ms | 0 - 16 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS9075 | 2.49 ms | 1 - 3 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.697 ms | 0 - 52 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.566 ms | 0 - 74 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® X2 Elite | 0.645 ms | 13 - 13 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X Elite | 1.152 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.622 ms | 0 - 67 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS6490 | 83.349 ms | 26 - 30 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.968 ms | 0 - 9 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS9075 | 1.487 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCM6690 | 37.914 ms | 26 - 34 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.491 ms | 0 - 45 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 28.931 ms | 29 - 38 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.416 ms | 0 - 44 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X2 Elite | 0.45 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X Elite | 0.636 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.367 ms | 0 - 59 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS6490 | 16.24 ms | 5 - 13 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.507 ms | 0 - 9 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS9075 | 0.822 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCM6690 | 9.098 ms | 6 - 16 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.294 ms | 0 - 43 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 6.882 ms | 7 - 18 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.256 ms | 0 - 43 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X2 Elite | 0.236 ms | 6 - 6 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X Elite | 1.319 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.82 ms | 0 - 73 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 4.996 ms | 1 - 51 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 1.109 ms | 1 - 29 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8775P | 1.784 ms | 1 - 63 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS9075 | 2.276 ms | 1 - 3 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 2.016 ms | 0 - 47 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA7255P | 4.996 ms | 1 - 51 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8295P | 2.3 ms | 0 - 30 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.609 ms | 0 - 61 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.483 ms | 1 - 59 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X2 Elite | 0.71 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X Elite | 1.043 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.582 ms | 0 - 55 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 2.98 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8275 (Proxy) | 2.117 ms | 0 - 35 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.877 ms | 0 - 4 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8775P | 1.133 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 1.341 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 6.586 ms | 0 - 175 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 1.181 ms | 0 - 57 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA7255P | 2.117 ms | 0 - 35 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8295P | 1.532 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.46 ms | 0 - 34 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 1.033 ms | 0 - 39 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.384 ms | 0 - 39 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 0.562 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X Elite | 0.62 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.333 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS6490 | 1.869 ms | 2 - 4 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.3 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.475 ms | 0 - 21 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.753 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS9075 | 0.765 ms | 2 - 4 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCM6690 | 3.241 ms | 0 - 166 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.779 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA7255P | 1.3 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8295P | 0.993 ms | 0 - 30 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.285 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.598 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.245 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.374 ms | 0 - 0 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.794 ms | 0 - 84 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 5.001 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 1.137 ms | 0 - 2 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA8775P | 1.814 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.064 ms | 0 - 55 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA7255P | 5.001 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA8295P | 2.299 ms | 0 - 31 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.628 ms | 0 - 57 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.48 ms | 0 - 58 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.403 ms | 0 - 51 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS6490 | 2.965 ms | 0 - 17 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.446 ms | 0 - 31 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.564 ms | 0 - 2 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8775P | 0.81 ms | 0 - 36 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS9075 | 0.89 ms | 0 - 9 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCM6690 | 4.781 ms | 0 - 164 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.85 ms | 0 - 52 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA7255P | 1.446 ms | 0 - 31 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8295P | 1.074 ms | 0 - 30 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.318 ms | 0 - 32 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1.32 ms | 0 - 37 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.27 ms | 0 - 38 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.
