Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -38,46 +38,50 @@ More details on model performance across various devices, can be found
|
|
38 |
|
39 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
40 |
|---|---|---|---|---|---|---|---|---|
|
41 |
-
| MediaPipeFaceDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.
|
42 |
-
| MediaPipeFaceDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.297 ms | 0 -
|
43 |
-
| MediaPipeFaceDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.
|
44 |
-
| MediaPipeFaceDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.
|
45 |
-
| MediaPipeFaceDetector |
|
46 |
-
| MediaPipeFaceDetector |
|
47 |
-
| MediaPipeFaceDetector |
|
48 |
-
| MediaPipeFaceDetector |
|
49 |
-
| MediaPipeFaceDetector |
|
50 |
-
| MediaPipeFaceDetector |
|
51 |
-
| MediaPipeFaceDetector |
|
52 |
-
| MediaPipeFaceDetector |
|
53 |
-
| MediaPipeFaceDetector |
|
54 |
-
| MediaPipeFaceDetector |
|
55 |
-
| MediaPipeFaceDetector |
|
56 |
-
| MediaPipeFaceDetector |
|
57 |
-
| MediaPipeFaceDetector |
|
58 |
-
| MediaPipeFaceDetector |
|
59 |
-
| MediaPipeFaceDetector |
|
60 |
-
| MediaPipeFaceDetector |
|
61 |
-
|
|
62 |
-
|
|
63 |
-
| MediaPipeFaceLandmarkDetector | Samsung Galaxy
|
64 |
-
| MediaPipeFaceLandmarkDetector | Samsung Galaxy
|
65 |
-
| MediaPipeFaceLandmarkDetector |
|
66 |
-
| MediaPipeFaceLandmarkDetector |
|
67 |
-
| MediaPipeFaceLandmarkDetector |
|
68 |
-
| MediaPipeFaceLandmarkDetector |
|
69 |
-
| MediaPipeFaceLandmarkDetector |
|
70 |
-
| MediaPipeFaceLandmarkDetector |
|
71 |
-
| MediaPipeFaceLandmarkDetector |
|
72 |
-
| MediaPipeFaceLandmarkDetector |
|
73 |
-
| MediaPipeFaceLandmarkDetector |
|
74 |
-
| MediaPipeFaceLandmarkDetector |
|
75 |
-
| MediaPipeFaceLandmarkDetector |
|
76 |
-
| MediaPipeFaceLandmarkDetector |
|
77 |
-
| MediaPipeFaceLandmarkDetector |
|
78 |
-
| MediaPipeFaceLandmarkDetector |
|
79 |
-
| MediaPipeFaceLandmarkDetector |
|
80 |
-
| MediaPipeFaceLandmarkDetector |
|
|
|
|
|
|
|
|
|
81 |
|
82 |
|
83 |
|
@@ -87,10 +91,11 @@ More details on model performance across various devices, can be found
|
|
87 |
This model can be installed as a Python package via pip.
|
88 |
|
89 |
```bash
|
90 |
-
pip install qai-hub-models
|
91 |
```
|
92 |
|
93 |
|
|
|
94 |
## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
|
95 |
|
96 |
Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
|
@@ -142,7 +147,7 @@ MediaPipeFaceDetector
|
|
142 |
Device : Samsung Galaxy S23 (13)
|
143 |
Runtime : TFLITE
|
144 |
Estimated inference time (ms) : 0.3
|
145 |
-
Estimated peak memory usage (MB): [0,
|
146 |
Total # Ops : 121
|
147 |
Compute Unit(s) : NPU (121 ops)
|
148 |
|
@@ -151,7 +156,7 @@ MediaPipeFaceLandmarkDetector
|
|
151 |
Device : Samsung Galaxy S23 (13)
|
152 |
Runtime : TFLITE
|
153 |
Estimated inference time (ms) : 0.2
|
154 |
-
Estimated peak memory usage (MB): [0,
|
155 |
Total # Ops : 117
|
156 |
Compute Unit(s) : NPU (117 ops)
|
157 |
```
|
|
|
38 |
|
39 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
40 |
|---|---|---|---|---|---|---|---|---|
|
41 |
+
| MediaPipeFaceDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.279 ms | 0 - 4 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
42 |
+
| MediaPipeFaceDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.297 ms | 0 - 6 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.so](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.so) |
|
43 |
+
| MediaPipeFaceDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.189 ms | 0 - 32 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
44 |
+
| MediaPipeFaceDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.207 ms | 0 - 17 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.so](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.so) |
|
45 |
+
| MediaPipeFaceDetector | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.203 ms | 0 - 23 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
46 |
+
| MediaPipeFaceDetector | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.21 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
|
47 |
+
| MediaPipeFaceDetector | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 0.68 ms | 0 - 24 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
48 |
+
| MediaPipeFaceDetector | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 0.785 ms | 0 - 8 MB | FP16 | NPU | Use Export Script |
|
49 |
+
| MediaPipeFaceDetector | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 4.955 ms | 0 - 6 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
50 |
+
| MediaPipeFaceDetector | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.265 ms | 0 - 1 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
51 |
+
| MediaPipeFaceDetector | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.306 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
52 |
+
| MediaPipeFaceDetector | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.274 ms | 0 - 2 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
53 |
+
| MediaPipeFaceDetector | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.304 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
54 |
+
| MediaPipeFaceDetector | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 0.274 ms | 0 - 2 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
55 |
+
| MediaPipeFaceDetector | SA8775 (Proxy) | SA8775P Proxy | QNN | 0.307 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
56 |
+
| MediaPipeFaceDetector | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.271 ms | 0 - 2 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
57 |
+
| MediaPipeFaceDetector | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.304 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
58 |
+
| MediaPipeFaceDetector | SA8295P ADP | SA8295P | TFLITE | 0.638 ms | 0 - 22 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
59 |
+
| MediaPipeFaceDetector | SA8295P ADP | SA8295P | QNN | 0.743 ms | 0 - 6 MB | FP16 | NPU | Use Export Script |
|
60 |
+
| MediaPipeFaceDetector | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.322 ms | 0 - 33 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceDetector.tflite) |
|
61 |
+
| MediaPipeFaceDetector | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.356 ms | 0 - 19 MB | FP16 | NPU | Use Export Script |
|
62 |
+
| MediaPipeFaceDetector | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.415 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
|
63 |
+
| MediaPipeFaceLandmarkDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.177 ms | 0 - 60 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
64 |
+
| MediaPipeFaceLandmarkDetector | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.217 ms | 0 - 3 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.so](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.so) |
|
65 |
+
| MediaPipeFaceLandmarkDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.131 ms | 0 - 27 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
66 |
+
| MediaPipeFaceLandmarkDetector | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.162 ms | 0 - 13 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.so](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.so) |
|
67 |
+
| MediaPipeFaceLandmarkDetector | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.142 ms | 0 - 18 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
68 |
+
| MediaPipeFaceLandmarkDetector | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.147 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
|
69 |
+
| MediaPipeFaceLandmarkDetector | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 0.414 ms | 0 - 18 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
70 |
+
| MediaPipeFaceLandmarkDetector | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 0.547 ms | 0 - 8 MB | FP16 | NPU | Use Export Script |
|
71 |
+
| MediaPipeFaceLandmarkDetector | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 2.867 ms | 0 - 2 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
72 |
+
| MediaPipeFaceLandmarkDetector | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.18 ms | 0 - 1 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
73 |
+
| MediaPipeFaceLandmarkDetector | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.219 ms | 0 - 1 MB | FP16 | NPU | Use Export Script |
|
74 |
+
| MediaPipeFaceLandmarkDetector | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.186 ms | 0 - 68 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
75 |
+
| MediaPipeFaceLandmarkDetector | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.217 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
76 |
+
| MediaPipeFaceLandmarkDetector | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 0.175 ms | 0 - 68 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
77 |
+
| MediaPipeFaceLandmarkDetector | SA8775 (Proxy) | SA8775P Proxy | QNN | 0.218 ms | 0 - 1 MB | FP16 | NPU | Use Export Script |
|
78 |
+
| MediaPipeFaceLandmarkDetector | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.184 ms | 0 - 35 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
79 |
+
| MediaPipeFaceLandmarkDetector | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.221 ms | 0 - 1 MB | FP16 | NPU | Use Export Script |
|
80 |
+
| MediaPipeFaceLandmarkDetector | SA8295P ADP | SA8295P | TFLITE | 0.495 ms | 0 - 17 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
81 |
+
| MediaPipeFaceLandmarkDetector | SA8295P ADP | SA8295P | QNN | 0.721 ms | 0 - 6 MB | FP16 | NPU | Use Export Script |
|
82 |
+
| MediaPipeFaceLandmarkDetector | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.216 ms | 0 - 26 MB | FP16 | NPU | [MediaPipe-Face-Detection-Quantized.tflite](https://huggingface.co/qualcomm/MediaPipe-Face-Detection-Quantized/blob/main/MediaPipeFaceLandmarkDetector.tflite) |
|
83 |
+
| MediaPipeFaceLandmarkDetector | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.26 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
|
84 |
+
| MediaPipeFaceLandmarkDetector | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.313 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
|
85 |
|
86 |
|
87 |
|
|
|
91 |
This model can be installed as a Python package via pip.
|
92 |
|
93 |
```bash
|
94 |
+
pip install "qai-hub-models[mediapipe_face_quantized]"
|
95 |
```
|
96 |
|
97 |
|
98 |
+
|
99 |
## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
|
100 |
|
101 |
Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
|
|
|
147 |
Device : Samsung Galaxy S23 (13)
|
148 |
Runtime : TFLITE
|
149 |
Estimated inference time (ms) : 0.3
|
150 |
+
Estimated peak memory usage (MB): [0, 4]
|
151 |
Total # Ops : 121
|
152 |
Compute Unit(s) : NPU (121 ops)
|
153 |
|
|
|
156 |
Device : Samsung Galaxy S23 (13)
|
157 |
Runtime : TFLITE
|
158 |
Estimated inference time (ms) : 0.2
|
159 |
+
Estimated peak memory usage (MB): [0, 60]
|
160 |
Total # Ops : 117
|
161 |
Compute Unit(s) : NPU (117 ops)
|
162 |
```
|