qaihm-bot commited on
Commit
63571a0
·
verified ·
1 Parent(s): 2353f01

See https://github.com/quic/ai-hub-models/releases/v0.30.5 for changelog.

Facial-Landmark-Detection_w8a8.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:239fba6784a6e9d04e704ad2701bc6cfe26d7e1c46193de9aaf3b2ef07cb230b
3
- size 21748310
 
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:9b3b1ca816d2dac6c412eeebd2beb6604875d39be5c1a38a385a81c06a2fb29b
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
  ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/facemap_3dmm/web-assets/model_demo.png)
12
 
13
  # Facial-Landmark-Detection: Optimized for Mobile Deployment
14
- ## Facial landmark predictor with 3DMM
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 | 1.158 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
39
- | Facial-Landmark-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 1.156 ms | 0 - 9 MB | NPU | Use Export Script |
40
- | Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.447 ms | 0 - 31 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
41
- | Facial-Landmark-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.556 ms | 0 - 21 MB | NPU | Use Export Script |
42
- | Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.287 ms | 0 - 96 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
43
- | Facial-Landmark-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.27 ms | 0 - 3 MB | NPU | Use Export Script |
44
- | Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.514 ms | 0 - 16 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
45
- | Facial-Landmark-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.489 ms | 0 - 15 MB | NPU | Use Export Script |
46
- | Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.158 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
47
- | Facial-Landmark-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 1.156 ms | 0 - 9 MB | NPU | Use Export Script |
48
- | Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.286 ms | 0 - 95 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
49
- | Facial-Landmark-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.282 ms | 0 - 3 MB | NPU | Use Export Script |
50
- | Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.662 ms | 0 - 18 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
51
- | Facial-Landmark-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.627 ms | 0 - 18 MB | NPU | Use Export Script |
52
- | Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.281 ms | 0 - 95 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
53
- | Facial-Landmark-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.276 ms | 0 - 2 MB | NPU | Use Export Script |
54
- | Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.514 ms | 0 - 16 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
55
- | Facial-Landmark-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.489 ms | 0 - 15 MB | NPU | Use Export Script |
56
- | Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.284 ms | 0 - 95 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
57
- | Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.285 ms | 0 - 32 MB | NPU | Use Export Script |
58
- | Facial-Landmark-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.41 ms | 0 - 36 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
59
- | Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.227 ms | 0 - 30 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
60
- | Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.216 ms | 0 - 20 MB | NPU | Use Export Script |
61
- | Facial-Landmark-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.283 ms | 0 - 18 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
62
- | Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.2 ms | 0 - 22 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
63
- | Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.202 ms | 0 - 13 MB | NPU | Use Export Script |
64
- | Facial-Landmark-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.303 ms | 0 - 13 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
65
- | Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.338 ms | 0 - 0 MB | NPU | Use Export Script |
66
- | Facial-Landmark-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.364 ms | 10 - 10 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
67
- | Facial-Landmark-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 0.478 ms | 0 - 11 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 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 0.442 ms | 0 - 9 MB | NPU | Use Export Script |
69
- | Facial-Landmark-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.272 ms | 0 - 26 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 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.302 ms | 0 - 29 MB | NPU | Use Export Script |
71
- | Facial-Landmark-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.172 ms | 0 - 38 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 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.171 ms | 0 - 3 MB | NPU | Use Export Script |
73
- | Facial-Landmark-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.35 ms | 0 - 14 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 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.319 ms | 0 - 15 MB | NPU | Use Export Script |
75
- | Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 0.521 ms | 0 - 26 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
76
- | Facial-Landmark-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 0.588 ms | 0 - 12 MB | NPU | Use Export Script |
77
- | Facial-Landmark-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 1.724 ms | 0 - 3 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
78
- | Facial-Landmark-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 0.478 ms | 0 - 11 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 | SA7255P ADP | Qualcomm® SA7255P | QNN | 0.442 ms | 0 - 9 MB | NPU | Use Export Script |
80
- | Facial-Landmark-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.178 ms | 0 - 37 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 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.158 ms | 0 - 2 MB | NPU | Use Export Script |
82
- | Facial-Landmark-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.46 ms | 0 - 20 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 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.436 ms | 0 - 18 MB | NPU | Use Export Script |
84
- | Facial-Landmark-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.181 ms | 0 - 37 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 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.173 ms | 0 - 3 MB | NPU | Use Export Script |
86
- | Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.35 ms | 0 - 14 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
87
- | Facial-Landmark-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.319 ms | 0 - 15 MB | NPU | Use Export Script |
88
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.176 ms | 0 - 36 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
89
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.165 ms | 0 - 37 MB | NPU | Use Export Script |
90
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.436 ms | 0 - 16 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
91
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.143 ms | 0 - 27 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
92
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.136 ms | 0 - 29 MB | NPU | Use Export Script |
93
- | Facial-Landmark-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.337 ms | 0 - 35 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
94
- | Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.152 ms | 0 - 17 MB | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.tflite) |
95
- | Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.127 ms | 0 - 16 MB | NPU | Use Export Script |
96
- | Facial-Landmark-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.384 ms | 0 - 21 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
97
- | Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.22 ms | 1 - 1 MB | NPU | Use Export Script |
98
- | Facial-Landmark-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.47 ms | 4 - 4 MB | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection_w8a8.onnx) |
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) : 1.2
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
  ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/facemap_3dmm/web-assets/model_demo.png)
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.