Depth Estimation
PyTorch
android

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.50, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.50 Download
TFLITE float Universal QAIRT 2.50 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 80.729 ms 2 - 809 MB NPU
CREStereo ONNX float Snapdragon® 8 Elite For Galaxy Mobile 114.065 ms 2 - 1020 MB NPU
CREStereo ONNX float Snapdragon® X2 Elite 84.96 ms 2 - 2 MB NPU
CREStereo ONNX float Snapdragon® X Elite 200.77 ms 22 - 22 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 293.626 ms 3 - 1319 MB NPU
CREStereo ONNX float Qualcomm® Dragonwing™ IQ-8275 274.864 ms 3 - 7 MB NPU
CREStereo ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 200.699 ms 0 - 27 MB NPU
CREStereo ONNX float Qualcomm® QCS8450 293.626 ms 3 - 1319 MB NPU
CREStereo ONNX float Qualcomm® Dragonwing™ IQ-9075 268.14 ms 3 - 6 MB NPU
CREStereo ONNX float Qualcomm® Dragonwing™ IQ-X7181 200.77 ms 22 - 22 MB NPU
CREStereo ONNX float Qualcomm® Dragonwing™ Q-8750 114.065 ms 2 - 1020 MB NPU
CREStereo QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 80.701 ms 0 - 720 MB NPU
CREStereo QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 114.739 ms 2 - 932 MB NPU
CREStereo QNN_DLC float Snapdragon® X2 Elite 85.327 ms 2 - 2 MB NPU
CREStereo QNN_DLC float Snapdragon® X Elite 201.859 ms 2 - 2 MB NPU
CREStereo QNN_DLC float Snapdragon® 8 Gen 3 Mobile 149.397 ms 2 - 1231 MB NPU
CREStereo QNN_DLC float Snapdragon® 8 Gen 1 Mobile 292.86 ms 1 - 1218 MB NPU
CREStereo QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 274.793 ms 2 - 7 MB NPU
CREStereo QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 202.384 ms 2 - 6 MB NPU
CREStereo QNN_DLC float Qualcomm® QCS8450 292.86 ms 1 - 1218 MB NPU
CREStereo QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 268.465 ms 2 - 6 MB NPU
CREStereo QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 201.859 ms 2 - 2 MB NPU
CREStereo QNN_DLC float Qualcomm® Dragonwing™ Q-8750 114.739 ms 2 - 932 MB NPU
CREStereo QNN_DLC float Qualcomm® SA8295P 311.051 ms 3 - 975 MB NPU
CREStereo TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 91.32 ms 0 - 1057 MB NPU
CREStereo TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 124.04 ms 1 - 1246 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 314.268 ms 1 - 1523 MB NPU
CREStereo TFLITE float Qualcomm® Dragonwing™ IQ-8275 283.533 ms 0 - 45 MB NPU
CREStereo TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 219.051 ms 1 - 8 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 314.268 ms 1 - 1523 MB NPU
CREStereo TFLITE float Qualcomm® Dragonwing™ IQ-9075 279.908 ms 0 - 44 MB NPU
CREStereo TFLITE float Qualcomm® Dragonwing™ Q-8750 124.04 ms 1 - 1246 MB NPU
CREStereo TFLITE float Qualcomm® SA8295P 320.198 ms 1 - 1203 MB NPU

License

  • The license for the original implementation of CREStereo can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/CREStereo