v0.30.5
Browse filesSee https://github.com/quic/ai-hub-models/releases/v0.30.5 for changelog.
- Facial-Landmark-Detection_w8a8.onnx +2 -2
- Facial-Landmark-Detection_w8a8.tflite +1 -1
- README.md +66 -74
Facial-Landmark-Detection_w8a8.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e294342e7f0964b375d84c1445c1e5f11d8413354dc5a6694c4e1eed7d3083b
|
| 3 |
+
size 21753623
|
Facial-Landmark-Detection_w8a8.tflite
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5530960
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f32f2aa4fc51c5be05e96aa6324e27f3ba511ddd65bc4e9a7c95ed25ca489b6e
|
| 3 |
size 5530960
|
README.md
CHANGED
|
@@ -11,13 +11,9 @@ pipeline_tag: keypoint-detection
|
|
| 11 |

|
| 12 |
|
| 13 |
# Facial-Landmark-Detection: Optimized for Mobile Deployment
|
| 14 |
-
##
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
Real-time 3D facial landmark detection optimized for mobile and edge.
|
| 18 |
-
|
| 19 |
-
This model is an implementation of Facial-Landmark-Detection found [here](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/facemap_3dmm/model.py).
|
| 20 |
|
|
|
|
| 21 |
|
| 22 |
This repository provides scripts to run Facial-Landmark-Detection on Qualcomm® devices.
|
| 23 |
More details on model performance across various devices, can be found
|
|
@@ -35,67 +31,67 @@ More details on model performance across various devices, can be found
|
|
| 35 |
|
| 36 |
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 37 |
|---|---|---|---|---|---|---|---|---|
|
| 38 |
-
| Facial-Landmark-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE |
|
| 39 |
-
| Facial-Landmark-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN |
|
| 40 |
-
| Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.
|
| 41 |
-
| Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.
|
| 42 |
-
| Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.
|
| 43 |
-
| Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.
|
| 44 |
-
| Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.
|
| 45 |
-
| Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.
|
| 46 |
-
| Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE |
|
| 47 |
-
| Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN |
|
| 48 |
-
| Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.
|
| 49 |
-
| Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.
|
| 50 |
-
| Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.
|
| 51 |
-
| Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.
|
| 52 |
-
| Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.
|
| 53 |
-
| Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.
|
| 54 |
-
| Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.
|
| 55 |
-
| Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.
|
| 56 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.
|
| 57 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.
|
| 58 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.
|
| 59 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.
|
| 60 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.
|
| 61 |
-
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.
|
| 62 |
-
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.
|
| 63 |
-
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.
|
| 64 |
-
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.
|
| 65 |
-
| Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.
|
| 66 |
-
| Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.
|
| 67 |
-
| Facial-Landmark-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 0.
|
| 68 |
-
| Facial-Landmark-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN |
|
| 69 |
-
| Facial-Landmark-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.
|
| 70 |
-
| Facial-Landmark-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.
|
| 71 |
-
| Facial-Landmark-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.
|
| 72 |
-
| Facial-Landmark-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.
|
| 73 |
-
| Facial-Landmark-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.
|
| 74 |
-
| Facial-Landmark-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.
|
| 75 |
-
| Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 0.
|
| 76 |
-
| Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 0.
|
| 77 |
-
| Facial-Landmark-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 1.
|
| 78 |
-
| Facial-Landmark-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 0.
|
| 79 |
-
| Facial-Landmark-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN |
|
| 80 |
-
| Facial-Landmark-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.
|
| 81 |
-
| Facial-Landmark-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.
|
| 82 |
-
| Facial-Landmark-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.
|
| 83 |
-
| Facial-Landmark-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.
|
| 84 |
-
| Facial-Landmark-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.
|
| 85 |
-
| Facial-Landmark-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.
|
| 86 |
-
| Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.
|
| 87 |
-
| Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.
|
| 88 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.
|
| 89 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.165 ms | 0 -
|
| 90 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.
|
| 91 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.
|
| 92 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.
|
| 93 |
-
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.
|
| 94 |
-
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.
|
| 95 |
-
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.
|
| 96 |
-
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.
|
| 97 |
-
| Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.
|
| 98 |
-
| Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.
|
| 99 |
|
| 100 |
|
| 101 |
|
|
@@ -159,7 +155,7 @@ Profiling Results
|
|
| 159 |
Facial-Landmark-Detection
|
| 160 |
Device : cs_8275 (ANDROID 14)
|
| 161 |
Runtime : TFLITE
|
| 162 |
-
Estimated inference time (ms) :
|
| 163 |
Estimated peak memory usage (MB): [0, 13]
|
| 164 |
Total # Ops : 37
|
| 165 |
Compute Unit(s) : npu (37 ops) gpu (0 ops) cpu (0 ops)
|
|
@@ -249,13 +245,13 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
|
|
| 249 |
You can also run the demo on-device.
|
| 250 |
|
| 251 |
```bash
|
| 252 |
-
python -m qai_hub_models.models.facemap_3dmm.demo --on-device
|
| 253 |
```
|
| 254 |
|
| 255 |
**NOTE**: If you want running in a Jupyter Notebook or Google Colab like
|
| 256 |
environment, please add the following to your cell (instead of the above).
|
| 257 |
```
|
| 258 |
-
%run -m qai_hub_models.models.facemap_3dmm.demo -- --on-device
|
| 259 |
```
|
| 260 |
|
| 261 |
|
|
@@ -285,10 +281,6 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
-
## References
|
| 289 |
-
* [Source Model Implementation](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/facemap_3dmm/model.py)
|
| 290 |
-
|
| 291 |
-
|
| 292 |
|
| 293 |
## Community
|
| 294 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
|
|
|
| 11 |

|
| 12 |
|
| 13 |
# Facial-Landmark-Detection: Optimized for Mobile Deployment
|
| 14 |
+
## Real-time 3D facial landmark detection optimized for mobile and edge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
Detects facial landmarks (eg, nose, mouth, etc.). 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.
|
| 17 |
|
| 18 |
This repository provides scripts to run Facial-Landmark-Detection on Qualcomm® devices.
|
| 19 |
More details on model performance across various devices, can be found
|
|
|
|
| 31 |
|
| 32 |
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 33 |
|---|---|---|---|---|---|---|---|---|
|
| 34 |
+
| Facial-Landmark-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 6.286 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 35 |
+
| Facial-Landmark-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 6.271 ms | 0 - 10 MB | NPU | Use Export Script |
|
| 36 |
+
| Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.386 ms | 0 - 31 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 37 |
+
| Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.469 ms | 0 - 19 MB | NPU | Use Export Script |
|
| 38 |
+
| Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.282 ms | 0 - 100 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 39 |
+
| Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.274 ms | 0 - 3 MB | NPU | Use Export Script |
|
| 40 |
+
| Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.502 ms | 0 - 15 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 41 |
+
| Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.475 ms | 0 - 12 MB | NPU | Use Export Script |
|
| 42 |
+
| Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 6.286 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 43 |
+
| Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 6.271 ms | 0 - 10 MB | NPU | Use Export Script |
|
| 44 |
+
| Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.279 ms | 0 - 100 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 45 |
+
| Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.273 ms | 0 - 11 MB | NPU | Use Export Script |
|
| 46 |
+
| Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.637 ms | 0 - 18 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 47 |
+
| Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.624 ms | 0 - 17 MB | NPU | Use Export Script |
|
| 48 |
+
| Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.28 ms | 0 - 101 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 49 |
+
| Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.279 ms | 0 - 2 MB | NPU | Use Export Script |
|
| 50 |
+
| Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.502 ms | 0 - 15 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 51 |
+
| Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.475 ms | 0 - 12 MB | NPU | Use Export Script |
|
| 52 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.285 ms | 0 - 101 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 53 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.282 ms | 0 - 49 MB | NPU | Use Export Script |
|
| 54 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.388 ms | 0 - 30 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
| 55 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.209 ms | 0 - 32 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 56 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.226 ms | 8 - 28 MB | NPU | Use Export Script |
|
| 57 |
+
| Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.3 ms | 0 - 26 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
| 58 |
+
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.216 ms | 0 - 14 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
| 59 |
+
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.191 ms | 0 - 14 MB | NPU | Use Export Script |
|
| 60 |
+
| Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.272 ms | 0 - 15 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
| 61 |
+
| Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.33 ms | 0 - 0 MB | NPU | Use Export Script |
|
| 62 |
+
| Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.359 ms | 10 - 10 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
| 63 |
+
| Facial-Landmark-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 0.451 ms | 0 - 11 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 64 |
+
| Facial-Landmark-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 1.07 ms | 0 - 9 MB | NPU | Use Export Script |
|
| 65 |
+
| Facial-Landmark-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.215 ms | 0 - 27 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 66 |
+
| Facial-Landmark-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.233 ms | 0 - 34 MB | NPU | Use Export Script |
|
| 67 |
+
| Facial-Landmark-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.171 ms | 0 - 43 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 68 |
+
| Facial-Landmark-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.164 ms | 0 - 3 MB | NPU | Use Export Script |
|
| 69 |
+
| Facial-Landmark-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.336 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 70 |
+
| Facial-Landmark-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.315 ms | 0 - 12 MB | NPU | Use Export Script |
|
| 71 |
+
| Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 0.553 ms | 0 - 22 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 72 |
+
| Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 0.612 ms | 0 - 14 MB | NPU | Use Export Script |
|
| 73 |
+
| Facial-Landmark-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 1.94 ms | 0 - 11 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 74 |
+
| Facial-Landmark-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 0.451 ms | 0 - 11 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 75 |
+
| Facial-Landmark-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 1.07 ms | 0 - 9 MB | NPU | Use Export Script |
|
| 76 |
+
| Facial-Landmark-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.167 ms | 0 - 43 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 77 |
+
| Facial-Landmark-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.161 ms | 0 - 2 MB | NPU | Use Export Script |
|
| 78 |
+
| Facial-Landmark-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.44 ms | 0 - 15 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 79 |
+
| Facial-Landmark-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.446 ms | 0 - 17 MB | NPU | Use Export Script |
|
| 80 |
+
| Facial-Landmark-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.168 ms | 0 - 43 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 81 |
+
| Facial-Landmark-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.155 ms | 0 - 2 MB | NPU | Use Export Script |
|
| 82 |
+
| Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.336 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 83 |
+
| Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.315 ms | 0 - 12 MB | NPU | Use Export Script |
|
| 84 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.174 ms | 0 - 42 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 85 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.165 ms | 0 - 43 MB | NPU | Use Export Script |
|
| 86 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.448 ms | 0 - 18 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
|
| 87 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.14 ms | 0 - 32 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 88 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.131 ms | 0 - 25 MB | NPU | Use Export Script |
|
| 89 |
+
| Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.33 ms | 0 - 40 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
|
| 90 |
+
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.129 ms | 0 - 17 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
|
| 91 |
+
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.126 ms | 0 - 17 MB | NPU | Use Export Script |
|
| 92 |
+
| Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.381 ms | 0 - 20 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
|
| 93 |
+
| Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.23 ms | 0 - 0 MB | NPU | Use Export Script |
|
| 94 |
+
| Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.475 ms | 4 - 4 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
|
| 95 |
|
| 96 |
|
| 97 |
|
|
|
|
| 155 |
Facial-Landmark-Detection
|
| 156 |
Device : cs_8275 (ANDROID 14)
|
| 157 |
Runtime : TFLITE
|
| 158 |
+
Estimated inference time (ms) : 6.3
|
| 159 |
Estimated peak memory usage (MB): [0, 13]
|
| 160 |
Total # Ops : 37
|
| 161 |
Compute Unit(s) : npu (37 ops) gpu (0 ops) cpu (0 ops)
|
|
|
|
| 245 |
You can also run the demo on-device.
|
| 246 |
|
| 247 |
```bash
|
| 248 |
+
python -m qai_hub_models.models.facemap_3dmm.demo --eval-mode on-device
|
| 249 |
```
|
| 250 |
|
| 251 |
**NOTE**: If you want running in a Jupyter Notebook or Google Colab like
|
| 252 |
environment, please add the following to your cell (instead of the above).
|
| 253 |
```
|
| 254 |
+
%run -m qai_hub_models.models.facemap_3dmm.demo -- --eval-mode on-device
|
| 255 |
```
|
| 256 |
|
| 257 |
|
|
|
|
| 281 |
|
| 282 |
|
| 283 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
|
| 285 |
## Community
|
| 286 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|