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.45, ONNX Runtime 1.25.0 Download
ONNX w8a16 Universal QAIRT 2.45, ONNX Runtime 1.25.0 Download
ONNX w8a16_mixed_int16 Universal QAIRT 2.45, ONNX Runtime 1.25.0 Download
ONNX w8a8 Universal QAIRT 2.45, ONNX Runtime 1.25.0 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® X2 Elite 1.146 ms 212 - 212 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® X Elite 2.043 ms 154 - 154 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Gen 3 Mobile 1.08 ms 1 - 147 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Gen 1 Mobile 3.025 ms 1 - 152 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS8550 (Proxy) 1.942 ms 0 - 6 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS8450 3.025 ms 1 - 152 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Elite Mobile 0.894 ms 0 - 141 MB NPU
Lightweight-Face-Detection ONNX float Snapdragon® 8 Elite Gen 5 Mobile 1.082 ms 0 - 142 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS9075 2.54 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS8750 0.894 ms 0 - 141 MB NPU
Lightweight-Face-Detection ONNX float Qualcomm® QCS7181 2.043 ms 154 - 154 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® X2 Elite 0.891 ms 212 - 212 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® X Elite 1.867 ms 149 - 149 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 0.988 ms 0 - 146 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 2.016 ms 1 - 154 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS6490 3.774 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS8550 (Proxy) 1.776 ms 0 - 8 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS8450 2.016 ms 1 - 154 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.831 ms 0 - 142 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 8 Elite Mobile 0.849 ms 0 - 148 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS9075 2.11 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 2.715 ms 0 - 139 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCM6690 7.503 ms 0 - 140 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS7790 2.715 ms 0 - 139 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS8750 0.849 ms 0 - 148 MB NPU
Lightweight-Face-Detection ONNX w8a16 Qualcomm® QCS7181 1.867 ms 149 - 149 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® X2 Elite 0.902 ms 212 - 212 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® X Elite 1.908 ms 149 - 149 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Gen 3 Mobile 1.032 ms 0 - 147 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS8550 (Proxy) 1.84 ms 0 - 24 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCM6690 8.109 ms 1 - 140 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Elite Gen 5 Mobile 0.85 ms 0 - 144 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS9075 2.117 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 8 Elite Mobile 0.846 ms 0 - 143 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 2.707 ms 0 - 140 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS7790 2.707 ms 0 - 140 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS8750 0.846 ms 0 - 143 MB NPU
Lightweight-Face-Detection ONNX w8a16_mixed_int16 Qualcomm® QCS7181 1.908 ms 149 - 149 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® X2 Elite 0.227 ms 181 - 181 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® X Elite 0.426 ms 180 - 180 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 0.299 ms 0 - 144 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 0.581 ms 0 - 150 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS6490 1.648 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS8550 (Proxy) 0.431 ms 0 - 21 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS8450 0.581 ms 0 - 150 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS9075 0.664 ms 0 - 46 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCM6690 2.897 ms 0 - 139 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 0.514 ms 0 - 138 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.222 ms 0 - 143 MB NPU
Lightweight-Face-Detection ONNX w8a8 Snapdragon® 8 Elite Mobile 0.239 ms 0 - 148 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS7790 0.514 ms 0 - 138 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS8750 0.239 ms 0 - 148 MB NPU
Lightweight-Face-Detection ONNX w8a8 Qualcomm® QCS7181 0.426 ms 180 - 180 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® X2 Elite 1.363 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® X Elite 2.775 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Gen 3 Mobile 1.604 ms 0 - 41 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Gen 1 Mobile 4.287 ms 1 - 48 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8275 6.685 ms 1 - 28 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8550 (Proxy) 2.51 ms 1 - 3 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8450 4.287 ms 1 - 48 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Elite Mobile 1.218 ms 0 - 29 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA7255P 6.685 ms 1 - 28 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® SA8295P 3.784 ms 0 - 26 MB NPU
Lightweight-Face-Detection QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 1.081 ms 1 - 32 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS9075 3.693 ms 1 - 4 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS8750 1.218 ms 0 - 29 MB NPU
Lightweight-Face-Detection QNN_DLC float Qualcomm® QCS7181 2.775 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® X2 Elite 0.916 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® X Elite 1.968 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 0.965 ms 0 - 157 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 2.881 ms 1 - 159 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS6490 6.319 ms 2 - 4 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8275 2.956 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8550 (Proxy) 1.769 ms 1 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8450 2.881 ms 1 - 159 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.709 ms 1 - 141 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 0.769 ms 0 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS9075 2.209 ms 0 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 2.572 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCM6690 13.038 ms 1 - 144 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA8295P 2.263 ms 0 - 137 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® SA7255P 2.956 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS7790 2.572 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS8750 0.769 ms 0 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16 Qualcomm® QCS7181 1.968 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® X2 Elite 0.92 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® X Elite 2.008 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Gen 3 Mobile 0.963 ms 0 - 158 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS8275 3.201 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS8550 (Proxy) 1.806 ms 1 - 21 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCM6690 13.372 ms 1 - 145 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Elite Gen 5 Mobile 0.742 ms 1 - 141 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS9075 2.312 ms 1 - 3 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 8 Elite Mobile 0.791 ms 0 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Snapdragon® 7 Gen 4 Mobile 2.543 ms 1 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® SA7255P 3.201 ms 1 - 139 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS7790 2.543 ms 1 - 140 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS8750 0.791 ms 0 - 143 MB NPU
Lightweight-Face-Detection QNN_DLC w8a16_mixed_int16 Qualcomm® QCS7181 2.008 ms 1 - 1 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® X2 Elite 0.296 ms 0 - 0 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® X Elite 0.512 ms 0 - 0 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 0.286 ms 0 - 35 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 0.495 ms 0 - 41 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS6490 1.365 ms 0 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8275 1.073 ms 0 - 25 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 0.408 ms 0 - 6 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8450 0.495 ms 0 - 41 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS9075 0.553 ms 0 - 2 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA7255P 1.073 ms 0 - 25 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCM6690 2.762 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 0.477 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® SA8295P 0.849 ms 0 - 23 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.195 ms 0 - 25 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 Qualcomm® QCS7790 0.477 ms 0 - 138 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS8750 0.227 ms 0 - 26 MB NPU
Lightweight-Face-Detection QNN_DLC w8a8 Qualcomm® QCS7181 0.512 ms 0 - 0 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Gen 3 Mobile 1.635 ms 0 - 42 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Gen 1 Mobile 4.276 ms 0 - 47 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8275 6.587 ms 0 - 28 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8550 (Proxy) 2.532 ms 0 - 2 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8775P 8.428 ms 0 - 28 MB GPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8650P 8.428 ms 0 - 28 MB GPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8255P 8.428 ms 0 - 28 MB GPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8450 4.276 ms 0 - 47 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Elite Mobile 1.242 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA7255P 6.587 ms 0 - 28 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® SA8295P 3.796 ms 0 - 26 MB NPU
Lightweight-Face-Detection TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 1.07 ms 0 - 32 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS9075 3.704 ms 0 - 5 MB NPU
Lightweight-Face-Detection TFLITE float Qualcomm® QCS8750 1.242 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 0.281 ms 0 - 34 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 0.501 ms 0 - 39 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS6490 1.216 ms 0 - 3 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8275 1.131 ms 0 - 24 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8550 (Proxy) 0.408 ms 0 - 65 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8775P 9.027 ms 1 - 29 MB GPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8650P 9.027 ms 1 - 29 MB GPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8255P 9.027 ms 1 - 29 MB GPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8450 0.501 ms 0 - 39 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS9075 0.574 ms 0 - 3 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA7255P 1.131 ms 0 - 24 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCM6690 2.717 ms 0 - 137 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 0.482 ms 0 - 136 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® SA8295P 0.85 ms 0 - 22 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.199 ms 0 - 25 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Snapdragon® 8 Elite Mobile 0.234 ms 0 - 24 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS7790 0.482 ms 0 - 136 MB NPU
Lightweight-Face-Detection TFLITE w8a8 Qualcomm® QCS8750 0.234 ms 0 - 24 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