StereoNet: Optimized for Qualcomm Devices
StereoNet is an end-to-end deep architecture for real-time stereo matching that produces high-quality, edge-preserved disparity maps from a rectified stereo image pair.
This is based on the implementation of StereoNet 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.
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 | ONNX Runtime 1.28.0 | Download |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | Download |
For more device-specific assets and performance metrics, visit StereoNet on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models 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 StereoNet on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.depth_estimation
Model Stats:
- Input resolution: 786x490
- Model checkpoint: KeystoneDepth (epoch=21-step=696366.ckpt)
- Model size (float): 7.41 MB
- Number of parameters: 1.94M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| StereoNet | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 203.51 ms | 3 - 2841 MB | NPU |
| StereoNet | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 237.727 ms | 3 - 2773 MB | NPU |
| StereoNet | ONNX | float | Snapdragon® X2 Elite | 206.939 ms | 5 - 5 MB | NPU |
| StereoNet | ONNX | float | Snapdragon® X Elite | 361.968 ms | 39 - 39 MB | NPU |
| StereoNet | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 467.514 ms | 3 - 10 MB | NPU |
| StereoNet | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 365.28 ms | 0 - 49 MB | NPU |
| StereoNet | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 439.657 ms | 3 - 10 MB | NPU |
| StereoNet | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 361.968 ms | 39 - 39 MB | NPU |
| StereoNet | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 237.727 ms | 3 - 2773 MB | NPU |
| StereoNet | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 183.492 ms | 6 - 2835 MB | NPU |
| StereoNet | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 206.7 ms | 6 - 2832 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 189.239 ms | 2 - 2839 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 222.534 ms | 0 - 2769 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® X2 Elite | 193.175 ms | 0 - 0 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® X Elite | 347.261 ms | 0 - 0 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 270.213 ms | 3 - 3860 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 450.486 ms | 0 - 5 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 448.809 ms | 0 - 4 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® SA8650P | 461.966 ms | 1 - 3260 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® SA8255P | 461.966 ms | 1 - 3260 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 422.94 ms | 2 - 6 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 347.261 ms | 0 - 0 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 222.534 ms | 0 - 2769 MB | NPU |
| StereoNet | QNN_DLC | float | Qualcomm® SA8295P | 521.66 ms | 0 - 2968 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 168.753 ms | 0 - 2833 MB | NPU |
| StereoNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 187.924 ms | 0 - 2823 MB | NPU |
| StereoNet | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 251.348 ms | 50 - 3291 MB | NPU |
| StereoNet | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 276.775 ms | 51 - 3195 MB | NPU |
| StereoNet | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 354.328 ms | 73 - 4245 MB | NPU |
| StereoNet | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 560.786 ms | 51 - 153 MB | NPU |
| StereoNet | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 506.142 ms | 51 - 54 MB | NPU |
| StereoNet | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 551.708 ms | 50 - 151 MB | NPU |
| StereoNet | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 276.775 ms | 51 - 3195 MB | NPU |
| StereoNet | TFLITE | float | Qualcomm® SA8295P | 608.616 ms | 51 - 3185 MB | NPU |
| StereoNet | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 233.802 ms | 50 - 3238 MB | NPU |
| StereoNet | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 241.722 ms | 49 - 3298 MB | NPU |
License
- The license for the original implementation of StereoNet can be found here.
References
- StereoNet: Guided Hierarchical Refinement for Real-Time Edge-Aware Depth Prediction
- Source Model Implementation
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
