CREStereo: Optimized for Qualcomm Devices
CREStereo (Cascaded Recurrent Network with Adaptive Correlation) is a CVPR 2022 Oral paper that achieves state-of-the-art stereo matching accuracy.
This is based on the implementation of CREStereo 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 | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit CREStereo 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 CREStereo on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.depth_estimation
Model Stats:
- Input: Rectified stereo pair — left and right RGB images
- Input resolution: 240x320
- Model checkpoint: CREStereo ETH3D pretrained (crestereo_eth3d.pt)
- Model size (float): 20.7 MB
- Number of parameters: 5.43M
- Output: Disparity map
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| CREStereo | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 86.123 ms | 2 - 756 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 115.525 ms | 55 - 1038 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® X2 Elite | 88.192 ms | 70 - 70 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® X Elite | 207.318 ms | 70 - 70 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 150.158 ms | 3 - 1323 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 296.803 ms | 52 - 1342 MB | NPU |
| CREStereo | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 208.148 ms | 32 - 67 MB | NPU |
| CREStereo | ONNX | float | Qualcomm® QCS8450 | 296.803 ms | 52 - 1342 MB | NPU |
| CREStereo | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 273.592 ms | 55 - 59 MB | NPU |
| CREStereo | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 207.318 ms | 70 - 70 MB | NPU |
| CREStereo | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 115.525 ms | 55 - 1038 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 70.105 ms | 55 - 1060 MB | NPU |
| CREStereo | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 99.094 ms | 56 - 836 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 91.671 ms | 24 - 957 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 125.914 ms | 24 - 1169 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 156.354 ms | 1 - 1594 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 316.302 ms | 25 - 1474 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 288.372 ms | 24 - 98 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 226.005 ms | 25 - 33 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® SA8650P | 5476.969 ms | 43 - 76 MB | CPU |
| CREStereo | TFLITE | float | Qualcomm® SA8255P | 5476.969 ms | 43 - 76 MB | CPU |
| CREStereo | TFLITE | float | Qualcomm® QCS8450 | 316.302 ms | 25 - 1474 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 284.774 ms | 24 - 97 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 125.914 ms | 24 - 1169 MB | NPU |
| CREStereo | TFLITE | float | Qualcomm® SA8295P | 323.127 ms | 25 - 1145 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 87.007 ms | 24 - 1195 MB | NPU |
| CREStereo | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 105.325 ms | 24 - 1010 MB | NPU |
License
- The license for the original implementation of CREStereo can be found here.
References
- Practical Stereo Matching via Cascaded Recurrent Network with Adaptive Correlation
- 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.
