Lightweight-Face-Detection: Optimized for Qualcomm Devices

A small and accurate model for detecting bounding boxes for faces in images. This model's architecture was developed by Qualcomm. The model was trained by Qualcomm on a proprietary dataset of faces, 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 w8a16_mixed_int16 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.45 Download
QNN_DLC w8a16 Universal QAIRT 2.45 Download
QNN_DLC w8a16_mixed_int16 Universal QAIRT 2.45 Download
QNN_DLC w8a8 Universal QAIRT 2.45 Download
TFLITE float Universal QAIRT 2.45 Download
TFLITE w8a8 Universal QAIRT 2.45 Download

For more device-specific assets and performance metrics, visit Lightweight-Face-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 Lightweight-Face-Detection on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.object_detection

Model Stats:

  • Model checkpoint: qfd360_sl_model.pt
  • Inference latency: RealTime
  • Input resolution: 480x640
  • Number of parameters: 878K
  • Model size (float): 3.37 MB
  • Model size (w8a8): 965 KB
  • Model size (w8a16): 1.09 MB

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Lightweight-Face-Detection ONNX float Snapdragon® 8 Elite Gen 5 Mobile 1.077 ms 0 - 148 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Elite Mobile 0.892 ms 1 - 147 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® X2 Elite 1.16 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® X Elite 2.209 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® X Elite 2.209 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Gen 3 Mobile 1.085 ms 0 - 159 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS8550 (Proxy) 1.96 ms 1 - 22 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS9075 2.493 ms 1 - 4 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Elite For Galaxy Mobile 0.892 ms 1 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.83 ms 0 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Elite Mobile 0.851 ms 0 - 142 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® X2 Elite 0.907 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® X Elite 1.991 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® X Elite 1.991 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 0.987 ms 0 - 157 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS6490 86.328 ms 28 - 31 MB CPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS8550 (Proxy) 1.742 ms 0 - 3 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS9075 2.105 ms 0 - 3 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCM6690 44.286 ms 28 - 35 MB CPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 0.851 ms 0 - 142 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 34.107 ms 28 - 36 MB CPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 34.107 ms 28 - 36 MB CPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Elite Gen 5 Mobile 0.854 ms 0 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Elite Mobile 0.867 ms 0 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® X2 Elite 0.922 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® X Elite 1.937 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® X Elite 1.937 ms 1 - 1 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Gen 3 Mobile 1.021 ms 0 - 159 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS6490 87.09 ms 32 - 35 MB CPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS8550 (Proxy) 1.712 ms 0 - 28 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS9075 2.129 ms 0 - 3 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCM6690 44.604 ms 27 - 34 MB CPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Elite For Galaxy Mobile 0.867 ms 0 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 34.243 ms 28 - 35 MB CPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 34.243 ms 28 - 35 MB CPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.221 ms 0 - 145 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Elite Mobile 0.241 ms 0 - 139 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® X2 Elite 0.222 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® X Elite 0.572 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® X Elite 0.572 ms 0 - 0 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 0.297 ms 0 - 154 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS6490 17.104 ms 13 - 17 MB CPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS8550 (Proxy) 0.439 ms 0 - 3 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS9075 0.632 ms 0 - 3 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCM6690 12.812 ms 13 - 21 MB CPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.241 ms 0 - 139 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 9.562 ms 13 - 22 MB CPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 9.562 ms 13 - 22 MB CPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 1.082 ms 1 - 35 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Elite Mobile 1.216 ms 0 - 28 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® X2 Elite 1.376 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® X Elite 2.803 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® X Elite 2.803 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Gen 3 Mobile 1.6 ms 0 - 41 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8275 (Proxy) 6.73 ms 1 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8550 (Proxy) 2.525 ms 1 - 3 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA8775P 3.233 ms 1 - 30 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA8775P 3.233 ms 1 - 30 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA8775P 3.233 ms 1 - 30 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS9075 3.697 ms 1 - 4 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8450 (Proxy) 4.294 ms 0 - 43 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA7255P 6.73 ms 1 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA8295P 3.787 ms 1 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 1.216 ms 0 - 28 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.709 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 0.771 ms 0 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® X2 Elite 0.937 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® X Elite 2.005 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® X Elite 2.005 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 0.959 ms 0 - 156 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS6490 6.41 ms 0 - 3 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8275 (Proxy) 2.951 ms 1 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8550 (Proxy) 1.767 ms 1 - 71 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA8775P 1.871 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA8775P 1.871 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA8775P 1.871 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS9075 2.206 ms 0 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCM6690 12.74 ms 1 - 144 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8450 (Proxy) 2.876 ms 0 - 154 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA7255P 2.951 ms 1 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA8295P 2.264 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 0.771 ms 0 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 2.577 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 2.577 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Elite Gen 5 Mobile 0.756 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Elite Mobile 0.813 ms 0 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® X2 Elite 0.949 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® X Elite 1.921 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® X Elite 1.921 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Gen 3 Mobile 0.996 ms 0 - 153 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS8275 (Proxy) 3.306 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS8550 (Proxy) 1.704 ms 1 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® SA8775P 1.909 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® SA8775P 1.909 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® SA8775P 1.909 ms 1 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS9075 2.337 ms 1 - 3 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCM6690 14.192 ms 1 - 142 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® SA7255P 3.306 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Elite For Galaxy Mobile 0.813 ms 0 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 2.597 ms 1 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 2.597 ms 1 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.189 ms 0 - 28 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 0.227 ms 0 - 26 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® X2 Elite 0.302 ms 0 - 0 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® X Elite 0.55 ms 0 - 0 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® X Elite 0.55 ms 0 - 0 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 0.289 ms 0 - 35 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS6490 1.249 ms 0 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8275 (Proxy) 1.077 ms 0 - 25 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 0.41 ms 0 - 21 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA8775P 0.6 ms 0 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA8775P 0.6 ms 0 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA8775P 0.6 ms 0 - 27 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS9075 0.553 ms 2 - 4 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCM6690 2.825 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8450 (Proxy) 0.499 ms 0 - 37 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA7255P 1.077 ms 0 - 25 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA8295P 0.821 ms 0 - 23 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.227 ms 0 - 26 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 0.477 ms 0 - 137 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 0.477 ms 0 - 137 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 1.075 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Elite Mobile 1.238 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Gen 3 Mobile 1.63 ms 0 - 42 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8275 (Proxy) 6.601 ms 0 - 28 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8550 (Proxy) 2.533 ms 0 - 76 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8775P 3.325 ms 0 - 31 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8775P 3.325 ms 0 - 31 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8775P 3.325 ms 0 - 31 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS9075 3.722 ms 0 - 5 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8450 (Proxy) 4.292 ms 0 - 43 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA7255P 6.601 ms 0 - 28 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8295P 3.8 ms 0 - 27 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 1.238 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.194 ms 0 - 27 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Elite Mobile 0.229 ms 0 - 29 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 0.288 ms 0 - 35 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS6490 1.382 ms 0 - 3 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8275 (Proxy) 1.102 ms 0 - 24 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8550 (Proxy) 0.411 ms 0 - 2 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8775P 0.621 ms 0 - 26 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8775P 0.621 ms 0 - 26 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8775P 0.621 ms 0 - 26 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS9075 0.576 ms 0 - 3 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCM6690 2.825 ms 0 - 137 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8450 (Proxy) 0.507 ms 0 - 36 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA7255P 1.102 ms 0 - 24 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8295P 0.83 ms 0 - 21 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.229 ms 0 - 29 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 0.483 ms 0 - 137 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 0.483 ms 0 - 137 MB NPU

License

  • The license for the original implementation of Lightweight-Face-Detection can be found here.

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support