
Light-weight model that segments a person from the background in square or landscape selfie and video conference imagery.
This is based on the implementation of MediaPipe-Selfie-Segmentation found here. 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.
There are two ways to deploy this model on your device:
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.50 | Download |
| TFLITE | float | Universal | QAIRT 2.50 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit MediaPipe-Selfie-Segmentation on Qualcomm® AI Hub.
Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for MediaPipe-Selfie-Segmentation on GitHub for usage instructions.
Model Type: Model_use_case.semantic_segmentation
Model Stats:
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.342 ms | 0 - 31 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.372 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® X2 Elite | 0.365 ms | 2 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® X Elite | 0.701 ms | 2 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.459 ms | 0 - 42 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 0.983 ms | 1 - 49 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 0.878 ms | 1 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.699 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® QCS8450 | 0.983 ms | 1 - 49 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 0.906 ms | 1 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 0.701 ms | 2 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 0.372 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation |
| ONNX |
| w8a16 |
| Snapdragon® 8 Elite Gen 5 For Galaxy Mobile |
| 0.381 ms |
| 0 - 40 MB |
| NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.442 ms | 0 - 42 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® X2 Elite | 0.383 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® X Elite | 0.855 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.545 ms | 0 - 46 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 0.984 ms | 0 - 54 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 1.525 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 0.847 ms | 0 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.82 ms | 0 - 38 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® QCS8450 | 0.984 ms | 0 - 54 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 0.958 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 0.855 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1.662 ms | 0 - 141 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 0.673 ms | 0 - 36 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 0.442 ms | 0 - 42 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 0.673 ms | 0 - 36 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.148 ms | 0 - 35 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.155 ms | 0 - 36 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® X2 Elite | 0.132 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® X Elite | 0.265 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.193 ms | 0 - 44 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.358 ms | 0 - 51 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 0.944 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.346 ms | 0 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.281 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® QCS8450 | 0.358 ms | 0 - 51 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.43 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 0.265 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 0.923 ms | 0 - 33 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.279 ms | 0 - 33 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.155 ms | 0 - 36 MB | NPU |
| MediaPipe-Selfie-Segmentation | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.279 ms | 0 - 33 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.293 ms | 1 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.317 ms | 1 - 33 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® X2 Elite | 0.417 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® X Elite | 0.711 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.393 ms | 0 - 40 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 0.846 ms | 0 - 47 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 0.702 ms | 1 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.604 ms | 1 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® SA8650P | 0.962 ms | 1 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® SA8255P | 0.962 ms | 1 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® QCS8450 | 0.846 ms | 0 - 47 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 0.751 ms | 1 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 0.711 ms | 1 - 1 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 0.317 ms | 1 - 33 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | float | Qualcomm® SA8295P | 1.064 ms | 0 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.268 ms | 0 - 35 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.33 ms | 0 - 31 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 0.404 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® X Elite | 0.747 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.421 ms | 0 - 39 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 0.721 ms | 0 - 43 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 1.172 ms | 2 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 0.659 ms | 0 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.605 ms | 1 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® SA8650P | 0.813 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® SA8255P | 0.813 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 0.721 ms | 0 - 43 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 0.74 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 0.747 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1.414 ms | 0 - 134 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 0.614 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 0.33 ms | 0 - 31 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Qualcomm® SA8295P | 0.951 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 0.614 ms | 0 - 30 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.133 ms | 0 - 29 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.135 ms | 0 - 27 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.214 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® X Elite | 0.348 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.162 ms | 0 - 37 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.3 ms | 0 - 38 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 0.795 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.316 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.246 ms | 0 - 31 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® SA8650P | 0.456 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® SA8255P | 0.456 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 0.3 ms | 0 - 38 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.335 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 0.348 ms | 0 - 0 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 0.775 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.238 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.135 ms | 0 - 27 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Qualcomm® SA8295P | 0.46 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.238 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.3 ms | 0 - 29 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.354 ms | 0 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.397 ms | 0 - 38 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 0.861 ms | 0 - 47 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 0.717 ms | 0 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.607 ms | 0 - 2 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® SA8650P | 0.987 ms | 0 - 27 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® SA8255P | 0.987 ms | 0 - 27 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® QCS8450 | 0.861 ms | 0 - 47 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 0.768 ms | 0 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 0.354 ms | 0 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | float | Qualcomm® SA8295P | 1.078 ms | 0 - 28 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.14 ms | 0 - 27 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.14 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.171 ms | 0 - 35 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.305 ms | 0 - 41 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 0.618 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.297 ms | 0 - 4 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.245 ms | 0 - 5 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® SA8650P | 0.454 ms | 0 - 25 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® SA8255P | 0.454 ms | 0 - 25 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® QCS8450 | 0.305 ms | 0 - 41 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.355 ms | 0 - 3 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 0.79 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.244 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.14 ms | 0 - 26 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® SA7255P | 3.056 ms | 1 - 28 MB | GPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Qualcomm® SA8295P | 0.479 ms | 0 - 25 MB | NPU |
| MediaPipe-Selfie-Segmentation | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.244 ms | 0 - 26 MB | NPU |