---
title: "depth"
sidebar_label: "depth"
description: "Kotlin binding reference: depth."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[VisionModel](index.md)/[depth](depth.md)

# depth

[common]\
fun [depth](depth.md)(image: [ImageInput](../ImageInput/index.md), listener: [VisionListener](../VisionListener/index.md)): [VisionHandle](../VisionHandle/index.md)

Estimate the depth of every pixel of [image](depth.md); [VisionListener.onDepth](../VisionListener/onDepth.md) gets the map at the picture's resolution.