# Is it possible to get a depth map from a ZED X ONE?

**URL:** <https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757>\
**Category:** ZED X\
**Created:** [December 20, 2024, 10:53am UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757 "2024-12-20T10:53:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![han12580](https://community.stereolabs.com/user_avatar/community.stereolabs.com/han12580/32/3516_2.png) [@han12580](https://community.stereolabs.com/u/han12580)\
**Post date:** [December 20, 2024, 10:53am UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757/1 "2024-12-20T10:53:26Z")

</div>

Is it possible to get depth map from a ZED X ONE? If so, how do to access depth map?

---

<div class="post-metadata">

**Author:** ![han12580](https://community.stereolabs.com/user_avatar/community.stereolabs.com/han12580/32/3516_2.png) [@han12580](https://community.stereolabs.com/u/han12580)\
**Post date:** [December 20, 2024, 11:11am UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757/2 "2024-12-20T11:11:51Z")

</div>

```auto
def main():
    filepath = opt.input_svo_file # Path to the .svo file to be playbacked
    input_type = sl.InputType()
    input_type.set_from_svo_file(filepath) # Set init parameter to run from the .svo 
    init = sl.InitParameters(input_t=input_type, svo_real_time_mode=False)
    init.depth_mode = sl.DEPTH_MODE.PERFORMANCE # Set depth mode to performance
    cam = sl.Camera()
    status = cam.open(init)

```

Logging this:

```auto
Camera Model ZED XOne GS unsupported

```

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [December 20, 2024, 2:00pm UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757/3 "2024-12-20T14:00:16Z")

</div>

Hi @han12580  
you must use two coupled ZED X One to create a virtual stereo camera to retrieve depth information.

Read more [here](https://support.stereolabs.com/hc/en-us/articles/20851232732311-Setting-up-your-Stereo-Rig-with-two-ZED-X-One-cameras).

---

<div class="post-metadata">

**Author:** ![metalwork72](https://community.stereolabs.com/user_avatar/community.stereolabs.com/metalwork72/32/3784_2.png) [@metalwork72](https://community.stereolabs.com/u/metalwork72)\
**Post date:** [December 30, 2024, 12:34pm UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757/4 "2024-12-30T12:34:41Z")

</div>

Well, there could be a way to get a good estimate if there is a known feature in your scene. For example if a street sign, cars, or even an adult is present; it could be used as a reference to estimate at least its distance. Do I have specific coding examples of how to do this, but I know some backup cameras work this way.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [December 30, 2024, 2:51pm UTC](https://community.stereolabs.com/t/is-it-possible-to-get-a-depth-map-from-a-zed-x-one/7757/5 "2024-12-30T14:51:17Z")

</div>

There are many interesting mono-camera depth estimator libraries.  
For example [this one from NVIDIA](https://github.com/dusty-nv/jetson-inference/blob/master/docs/depthnet.md), but the ZED SDK does not provide direct support to it.  
You can use the ZED SDK API to retrieve the color stream, the camera calibration parameters, and use the required information with the depth net library.
