SuperPoint / README.md
qaihm-bot's picture
v0.67.0
4b9149d verified
|
Raw History Blame Contribute Delete
13.3 kB
---
library_name: pytorch
license: mit
tags:
- real_time
- android
pipeline_tag: keypoint-detection
---
![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/web-assets/model_demo.png)
# SuperPoint: Optimized for Qualcomm Devices
SuperPoint is a self-supervised framework for detecting interest points and computing their descriptors in a single forward pass. It uses a VGG-style encoder shared between a keypoint detector head and a descriptor head, trained via homographic adaptation on synthetic shapes and real images. The model outputs up to 500 keypoints per image with 256-dimensional L2-normalised descriptors, suitable for feature matching, visual localisation, and SLAM.
This is based on the implementation of SuperPoint found [here](https://github.com/rpautrat/SuperPoint).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/superpoint) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) 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.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-onnx-float.zip)
| ONNX | w8a8 | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-onnx-w8a8.zip)
| QNN_DLC | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-qnn_dlc-float.zip)
| QNN_DLC | w8a8 | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-qnn_dlc-w8a8.zip)
| TFLITE | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-tflite-float.zip)
| TFLITE | w8a8 | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/superpoint/releases/v0.67.0/superpoint-tflite-w8a8.zip)
For more device-specific assets and performance metrics, visit **[SuperPoint on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/superpoint)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/superpoint) 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 [SuperPoint on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/superpoint) for usage instructions.
## Model Details
**Model Type:** Model_use_case.pose_estimation
**Model Stats:**
- Descriptor dimension: 256
- Input resolution: 480x640
- Model checkpoint: superpoint_v6_from_tf.pth
- Model size (float): 19.6 MB
- Model size (w8a8): 3.22 MB
- Number of parameters: 5.12M
- Output keypoints (max): 500
## Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|---|---|---|---|---|---|---
| SuperPoint | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.838 ms | 29 - 202 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 9.353 ms | 28 - 196 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® X2 Elite | 7.462 ms | 40 - 40 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® X Elite | 16.627 ms | 40 - 40 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 29.432 ms | 33 - 272 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 28.504 ms | 7 - 18 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 16.708 ms | 31 - 124 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® QCS8450 | 29.432 ms | 33 - 272 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 24.857 ms | 7 - 17 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 16.627 ms | 40 - 40 MB | NPU
| SuperPoint | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 9.353 ms | 28 - 196 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.5 ms | 33 - 200 MB | NPU
| SuperPoint | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.625 ms | 21 - 186 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.298 ms | 0 - 156 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 3.101 ms | 0 - 158 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® X2 Elite | 2.624 ms | 8 - 8 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® X Elite | 5.716 ms | 8 - 8 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 9.285 ms | 8 - 198 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 27.792 ms | 17 - 20 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 5.43 ms | 7 - 11 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.428 ms | 8 - 10 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® QCS8450 | 9.285 ms | 8 - 198 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 5.247 ms | 8 - 11 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 5.716 ms | 8 - 8 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 88.282 ms | 17 - 176 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 9.709 ms | 17 - 169 MB | NPU
| SuperPoint | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 3.101 ms | 0 - 158 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 9.709 ms | 17 - 169 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.998 ms | 1 - 158 MB | NPU
| SuperPoint | ONNX | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 2.343 ms | 0 - 156 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.867 ms | 4 - 173 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 9.319 ms | 4 - 171 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® X2 Elite | 7.996 ms | 7 - 7 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® X Elite | 16.862 ms | 7 - 7 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 28.825 ms | 4 - 239 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 28.407 ms | 7 - 29 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 16.509 ms | 4 - 5 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® SA8650P | 23.662 ms | 0 - 160 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® SA8255P | 23.662 ms | 0 - 160 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® QCS8450 | 28.825 ms | 4 - 239 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 24.502 ms | 7 - 28 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 16.862 ms | 7 - 7 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 9.319 ms | 4 - 171 MB | NPU
| SuperPoint | QNN_DLC | float | Qualcomm® SA8295P | 29.025 ms | 0 - 178 MB | NPU
| SuperPoint | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.319 ms | 7 - 173 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.292 ms | 0 - 153 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 3.083 ms | 1 - 149 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 2.992 ms | 2 - 2 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® X Elite | 5.957 ms | 2 - 2 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 9.037 ms | 1 - 77 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 5.357 ms | 1 - 9 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.374 ms | 2 - 54 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® SA8650P | 19.86 ms | 2 - 105 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® SA8255P | 19.86 ms | 2 - 105 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 9.037 ms | 1 - 77 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 5.145 ms | 1 - 8 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 5.957 ms | 2 - 2 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 3.083 ms | 1 - 149 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Qualcomm® SA8295P | 10.301 ms | 2 - 43 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2.007 ms | 1 - 152 MB | NPU
| SuperPoint | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 2.323 ms | 1 - 151 MB | NPU
| SuperPoint | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.808 ms | 10 - 178 MB | NPU
| SuperPoint | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 9.188 ms | 11 - 177 MB | NPU
| SuperPoint | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 28.75 ms | 0 - 237 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 28.301 ms | 0 - 25 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 17.086 ms | 12 - 17 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® SA8650P | 24.709 ms | 12 - 176 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® SA8255P | 24.709 ms | 12 - 176 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® QCS8450 | 28.75 ms | 0 - 237 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 24.375 ms | 0 - 24 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 9.188 ms | 11 - 177 MB | NPU
| SuperPoint | TFLITE | float | Qualcomm® SA7255P | 5295.922 ms | 1 - 18 MB | GPU
| SuperPoint | TFLITE | float | Qualcomm® SA8295P | 31.033 ms | 12 - 189 MB | NPU
| SuperPoint | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.441 ms | 10 - 176 MB | NPU
| SuperPoint | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.642 ms | 10 - 174 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.338 ms | 0 - 155 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 3.179 ms | 0 - 151 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 9.275 ms | 3 - 82 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 50.04 ms | 5 - 36 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 5.44 ms | 3 - 13 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.162 ms | 3 - 6 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® SA8650P | 20.427 ms | 3 - 105 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® SA8255P | 20.427 ms | 3 - 105 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® QCS8450 | 9.275 ms | 3 - 82 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 5.331 ms | 2 - 11 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 109.935 ms | 4 - 160 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 14.673 ms | 3 - 152 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 3.179 ms | 0 - 151 MB | NPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® SA7255P | 461.107 ms | 21 - 43 MB | GPU
| SuperPoint | TFLITE | w8a8 | Qualcomm® SA8295P | 10.626 ms | 3 - 46 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 14.673 ms | 3 - 152 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2.04 ms | 0 - 47 MB | NPU
| SuperPoint | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 2.353 ms | 0 - 152 MB | NPU
## License
* The license for the original implementation of SuperPoint can be found
[here](https://github.com/rpautrat/SuperPoint/blob/master/LICENSE.txt).
## References
* [SuperPoint: Self-Supervised Interest Point Detection and Description](https://arxiv.org/abs/1712.07629)
* [Source Model Implementation](https://github.com/rpautrat/SuperPoint)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).