Distance calculation using zed mini camera

Hello guys,
My goal is to calculate the distance of an object from zed mini camera to that object. I’m a fresher and facing some difficulties. Can anyone help me or please suggest me a good tutorial.
I will appreciate your help.
Thank you so much!

Hi @javed
Welcome to the Stereolabs community.

I suggest you start with the ZED Online documentation:

passing then to our exhaustive set of Github examples and tutorials:

1 Like

Hi,
Thank you so much for the guidance. I want to ask is calculate the distance of an object from zed mini camera to that object called depth or spatial detection? I’m confusing in this.

I’m sorry, but your question is not clear.

1 Like

I’m trying to know the term depth. When we are dealing with Zed mini camera.
Is depth term same as calculate the distance of an object from zed mini camera to that object? Hope you will understand now.

The “depth” is the distance of a pixel from the camera plane.

An object is digitalized with many pixels, each keeping its own distance from the camera.
If you are instead speaking about object detection using AI, things are different…
please provide more details about what you want to do and what information you need.