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® X2 Elite | 0.643 ms | 13 - 13 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® X Elite | 1.526 ms | 12 - 12 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.915 ms | 0 - 107 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS8550 (Proxy) | 1.332 ms | 0 - 15 MB | NPU |
| PPE-Detection | ONNX | float | Qualcomm® QCS9075 | 2.496 ms | 1 - 3 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.704 ms | 0 - 61 MB | NPU |
| PPE-Detection | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.556 ms | 0 - 74 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X2 Elite | 0.445 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® X Elite | 1.159 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.625 ms | 0 - 63 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS6490 | 81.484 ms | 30 - 34 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.965 ms | 0 - 9 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCS9075 | 1.483 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Qualcomm® QCM6690 | 37.613 ms | 30 - 39 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.491 ms | 0 - 46 MB | NPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 29.001 ms | 28 - 37 MB | CPU |
| PPE-Detection | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.417 ms | 0 - 45 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X2 Elite | 0.247 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® X Elite | 0.654 ms | 6 - 6 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.357 ms | 0 - 59 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS6490 | 15.704 ms | 4 - 11 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.506 ms | 0 - 10 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCS9075 | 0.818 ms | 0 - 3 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Qualcomm® QCM6690 | 9.107 ms | 5 - 14 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.296 ms | 0 - 36 MB | NPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 6.898 ms | 5 - 15 MB | CPU |
| PPE-Detection | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.257 ms | 0 - 43 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X2 Elite | 0.731 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® X Elite | 1.294 ms | 1 - 1 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.818 ms | 0 - 74 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 4.969 ms | 1 - 51 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 1.114 ms | 1 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8775P | 7.218 ms | 1 - 61 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS9075 | 2.273 ms | 1 - 3 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 2.04 ms | 0 - 48 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA7255P | 4.969 ms | 1 - 51 MB | NPU |
| PPE-Detection | QNN_DLC | float | Qualcomm® SA8295P | 2.294 ms | 0 - 30 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.608 ms | 1 - 57 MB | NPU |
| PPE-Detection | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.483 ms | 1 - 57 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 0.536 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® X Elite | 1.039 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.116 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8275 (Proxy) | 2.138 ms | 0 - 34 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.874 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8775P | 4.677 ms | 0 - 35 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 1.352 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 6.501 ms | 0 - 175 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 1.197 ms | 0 - 56 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA7255P | 2.138 ms | 0 - 34 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Qualcomm® SA8295P | 1.573 ms | 0 - 37 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.462 ms | 0 - 39 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 1.039 ms | 0 - 39 MB | NPU |
| PPE-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.387 ms | 0 - 39 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.357 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® X Elite | 0.603 ms | 0 - 0 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.343 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS6490 | 1.944 ms | 2 - 4 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.298 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.475 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8775P | 0.705 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS9075 | 0.768 ms | 0 - 2 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCM6690 | 3.303 ms | 0 - 167 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.777 ms | 0 - 53 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA7255P | 1.298 ms | 0 - 32 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Qualcomm® SA8295P | 1.0 ms | 0 - 30 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.282 ms | 0 - 33 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.595 ms | 0 - 36 MB | NPU |
| PPE-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.246 ms | 0 - 37 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.799 ms | 0 - 83 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 5.001 ms | 0 - 54 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 1.118 ms | 0 - 81 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® SA8775P | 1.804 ms | 0 - 68 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS9075 | 2.287 ms | 0 - 15 MB | NPU |
| PPE-Detection | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 2.036 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.295 ms | 0 - 32 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.633 ms | 0 - 65 MB | NPU |
| PPE-Detection | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.488 ms | 0 - 59 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.408 ms | 0 - 52 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS6490 | 4.006 ms | 0 - 17 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 1.449 ms | 0 - 32 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 0.557 ms | 0 - 2 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8775P | 0.82 ms | 0 - 36 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS9075 | 0.895 ms | 0 - 8 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCM6690 | 4.782 ms | 0 - 164 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 0.855 ms | 0 - 53 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA7255P | 1.449 ms | 0 - 32 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Qualcomm® SA8295P | 1.105 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.337 ms | 0 - 37 MB | NPU |
| PPE-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.272 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.
