Depth Estimation models

Use the ST Edge AI Model Explorer to browse STM32 AI models and find candidates for your application and target. Before choosing a model, check that it is supported by your target and validate its accuracy, latency, and memory use in your deployment setup.

Registered model type

The depth-estimation service currently recognizes fast_depth as its model type. This value is used by prediction post-processing for FastDepth outputs. It is distinct from the pretrained model name, which is fastdepth in the pretrained-model registry.

You can provide a compatible local model through model.model_path; the depth-estimation prediction flow supports TensorFlow Lite ( .tflite) and ONNX ( .onnx) models. Other architectures and model files may require compatible input/output layouts and task-specific post-processing, so validate them with the prediction examples before use.

Available pretrained models

The service registry currently contains three FastDepth TFLite variants, keyed by the pretrained dataset tag ( nyu_depthv2), input shape, and precision ( w8a8_ptq):

Artifact

Input resolution

Format

Public URL

fastdepth_224_int8.tflite

224×224

INT8 TFLite

fastdepth_256_int8.tflite

256×256

INT8 TFLite

fastdepth_320_int8.tflite

320×320

INT8 TFLite

Selecting a pretrained variant

For registry-based loading, set model_name: fastdepth, pretrained_dataset_name: nyu_depthv2, input_shape to one of the listed shapes, and model_precision: w8a8_ptq. The checked-in prediction and benchmarking examples provide complete configurations. To use a different local model file instead, set model_path and use a format supported by the depth-estimation prediction flow.