Skip to content

Files

Latest commit

Jul 31, 2025
43fc721 · Jul 31, 2025

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 31, 2025
Jul 31, 2025
Jul 31, 2025
Jul 31, 2025
Jul 31, 2025
Jul 31, 2025
Jul 16, 2025
Jul 31, 2025
Jul 31, 2025
May 7, 2025
Jul 31, 2025

README.md

Midas is designed for estimating depth at each point in an image.

This is based on the implementation of Midas-V2 found here. This repository contains scripts for optimized on-device export suitable to run on Qualcomm® devices. More details on model performance accross various devices, can be found here.

Sign up to start using Qualcomm AI Hub and run these models on a hosted Qualcomm® device.

Example & Usage

Install the package via pip:

pip install "qai-hub-models[midas]"

Once installed, run the following simple CLI demo:

python -m qai_hub_models.models.midas.demo { --quantize w8a8 }

More details on the CLI tool can be found with the --help option. See demo.py for sample usage of the model including pre/post processing scripts. Please refer to our general instructions on using models for more usage instructions.

Export for on-device deployment

This repository contains export scripts that produce a model optimized for on-device deployment. This can be run as follows:

python -m qai_hub_models.models.midas.export { --quantize w8a8 }

Additional options are documented with the --help option.

License

  • The license for the original implementation of Midas-V2 can be found here.
  • The license for the compiled assets for on-device deployment can be found here

References

Community