FastDepth

April 16, 2026 ยท View on GitHub

Use case : Depth Estimation

Model description

FastDepth is a lightweight encoder-decoder network designed for real-time monocular depth estimation, optimized for edge devices. This implementation is based on model number 146 from PINTO's model zoo, which builds upon a MobileNetV1 based feature extractor and a fast decoder.

Although the original training dataset is not explicitly provided, it is most likely NYU Depth V2, a standard benchmark dataset for indoor depth estimation.

Network information

Network InformationValue
FrameworkTensorFlowLite
Quantizationint8
ProvenancePINTO Model Zoo #146
PaperLink to Paper

The models are quantized using tensorflow lite converter.

Network inputs / outputs

Input ShapeDescription
(1, H, W, 3)Single RGB image (int8)
Output ShapeDescription
(1, H, W, 1)Single-channel depth prediction (int8)
PlatformSupportedRecommended
STM32L0[][]
STM32L4[][]
STM32U5[][]
STM32H7[][]
STM32MP1[][]
STM32MP2[x][x]
STM32N6[x][x]

Performances

Metrics

Measures are done with default STEdgeAI Core version configuration with enabled input / output allocated option.

Reference NPU memory footprint

ModelDatasetFormatResolutionSeriesInternal RAM (KiB)External RAM (KiB)Weights Flash (KiB)STEdgeAI Core version
Fast DepthNYU depth v2Int8224x224x3STM32N62728.501347.974.0.0
Fast DepthNYU depth v2Int8256x256x3STM32N6268810241354.094.0.0
Fast DepthNYU depth v2Int8320x320x3STM32N6280028001376.784.0.0

Reference NPU inference time

ModelDatasetFormatResolutionBoardExecution EngineInference time (ms)Inf / secSTEdgeAI Core version
Fast DepthNYU depth v2Int8224x224x3STM32N6570-DKNPU/MCU24.4940.834.0.0
Fast DepthNYU depth v2Int8256x256x3STM32N6570-DKNPU/MCU75.0113.334.0.0
Fast DepthNYU depth v2Int8320x320x3STM32N6570-DKNPU/MCU477.932.094.0.0

Please refer to the stm32ai-modelzoo-services GitHub here