# Using ZED M in Python 

**URL:** <https://community.stereolabs.com/t/using-zed-m-in-python/10430>\
**Category:** Software\
**Tags:** python, depth, windows\
**Created:** [November 26, 2025, 11:01am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430 "2025-11-26T11:01:10Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 26, 2025, 11:01am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/1 "2025-11-26T11:01:10Z")

</div>

Hello guys, currently I’m dealing with this problem. I’m trying to run this code [zed-sdk/camera control/python at master · stereolabs/zed-sdk · GitHub](https://github.com/stereolabs/zed-sdk/tree/master/camera%20control/python) . I’ve tried to reinstall everything multiple times but still problem with neural depth. Can you provide me some installation guide? I’ve tried downloading tensorRT and adding it to path but without success.

 ![image](https://community.stereolabs.com/uploads/default/original/2X/5/51a1cb82dc0c5df55ae636d3ba21cd9669e8fabe.png)

---

<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:** [November 26, 2025, 11:09am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/2 "2025-11-26T11:09:38Z")

</div>

Hi @nehovortake  
Welcome to the [Stereolabs](https://www.stereolabs.com/) community.

Please run the [ZED Diagnostic tool](https://www.stereolabs.com/docs/development/zed-tools/zed-diagnostics) and share the content (copy&paste) of the JSON diagnostic file that it generates.

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 27, 2025, 10:41am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/3 "2025-11-27T10:41:38Z")

</div>

{

```
"AI Models": {

    "info": \[

        "MULTI CLASS DETECTION is not optimized",

        "MULTI CLASS MEDIUM DETECTION is not optimized",

        "MULTI CLASS ACCURATE DETECTION is not optimized",

        "HUMAN BODY FAST DETECTION is not optimized",

        "HUMAN BODY MEDIUM DETECTION is not optimized",

        "HUMAN BODY ACCURATE DETECTION is not optimized",

        "HUMAN BODY 38 FAST DETECTION is not optimized",

        "HUMAN BODY 38 MEDIUM DETECTION is not optimized",

        "HUMAN BODY 38 ACCURATE DETECTION is not optimized",

        "PERSON HEAD DETECTION is not optimized",

        "PERSON HEAD ACCURATE DETECTION is not optimized",

        "REID ASSOCIATION is not optimized",

        "NEURAL LIGHT DEPTH is not optimized",

        "NEURAL DEPTH is not optimized",

        "NEURAL PLUS DEPTH is not optimized"

    \]

},

"Camera Test": {

    "ASMediaFound": \[

    \],

    "CorruptedFirmware": \[

    \],

    "InternalDevicesCount (GMSL)": \[

    \],

    "InternalDevicesCount (USB)": \[

    \],

    "MCUDetected": \[

    \],

    "OC_Cam_Detected": \[

    \],

    "OtherUSBDevices": \[

    \],

    "Serial Number": \[

    \],

    "USBList": \[

        {

            "USBMode": 3,

            "USB_path": "/17",

            "bDescriptorType": 1,

            "bDeviceProtocol": 1,

            "bLength": 18,

            "bMaxPacketSize0": 9,

            "bNumConfigurations": 1,

            "bcdDevice": "1.0",

            "bcdUSB": "3.0",

            "bcdUSBClass": 239,

            "bcdUSBSubClass": 2,

            "busNumber": 1,

            "device": "ZED mini",

            "iManufacturer": 1,

            "iProduct": 2,

            "iSerial": 0,

            "idProduct": "0xf682",

            "idVendor": "0x2b03"

        },

        {

            "USB_path": "/14",

            "idProduct": "0x4853",

            "idVendor": "0x0bda"

        },

        {

            "USBMode": 3,

            "USB_path": "/17",

            "bDescriptorType": 1,

            "bDeviceProtocol": 1,

            "bLength": 18,

            "bMaxPacketSize0": 9,

            "bNumConfigurations": 1,

            "bcdDevice": "1.0",

            "bcdUSB": "3.0",

            "bcdUSBClass": 239,

            "bcdUSBSubClass": 2,

            "busNumber": 1,

            "device": "ZED mini",

            "iManufacturer": 1,

            "iProduct": 2,

            "iSerial": 0,

            "idProduct": "0xf682",

            "idVendor": "0x2b03"

        },

        {

            "USB_path": "/6",

            "idProduct": "0x54b6",

            "idVendor": "0x13d3"

        },

        {

            "USB_path": "/6",

            "idProduct": "0x54b6",

            "idVendor": "0x13d3"

        },

        {

            "USBMode": 2,

            "USB_path": "/3",

            "bDescriptorType": 1,

            "bDeviceProtocol": 0,

            "bLength": 18,

            "bMaxPacketSize0": 64,

            "bNumConfigurations": 1,

            "bcdDevice": "2.3",

            "bcdUSB": "2.0",

            "bcdUSBClass": 0,

            "bcdUSBSubClass": 0,

            "busNumber": 1,

            "device": "ZED mini MCU",

            "iManufacturer": 1,

            "iProduct": 2,

            "iSerial": 3,

            "idProduct": "0xf681",

            "idVendor": "0x2b03"

        },

        {

            "USB_path": "/8",

            "idProduct": "0xc996",

            "idVendor": "0x048d"

        }

    \],

    "USBMode": \[

    \],

    "ZED Camera Module Detected": \[

    \],

    "ZED MCU Module Detected": \[

    \],

    "ZEDCount": \[

    \],

    "ZEDDetected": \[

    \],

    "ZEDs": \[

    \],

    "camera": \[

    \],

    "captureDevices": \[

    \],

    "controllers": \[

        {

            "CompatibleIDs": "USB\\\\USB30_HUB",

            "Description": "Generic SuperSpeed USB Hub",

            "DeviceName": "",

            "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\\\0033",

            "Location": "Port\_#0020.Hub\_#0001",

            "Manufacturer": "(Standard USB HUBs)",

            "Name": "USB",

            "PhysicalName": ""

        },

        {

            "CompatibleIDs": "",

            "Description": "USB Root Hub (USB 3.0)",

            "DeviceName": "",

            "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\\\0001",

            "Location": "",

            "Manufacturer": "(Standard USB HUBs)",

            "Name": "USB",

            "PhysicalName": "\\\\Device\\\\USBPDO-0"

        },

        {

            "CompatibleIDs": "PCI\\\\VEN_8086&DEV_7AE0&REV_11",

            "Description": "USB xHCI Compliant Host Controller",

            "DeviceName": "Intel(R) USB 3.20 eXtensible Host Controller - 1.20 (Microsoft)",

            "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\\\0000",

            "Location": "PCI bus 0, device 20, function 0",

            "Manufacturer": "Generic USB xHCI Host Controller",

            "Name": "PCI",

            "PhysicalName": "\\\\Device\\\\NTPNP_PCI0005"

        },

        {

            "CompatibleIDs": "USB\\\\USB20_HUB",

            "Description": "Generic USB Hub",

            "DeviceName": "",

            "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\\\0034",

            "Location": "Port\_#0009.Hub\_#0001",

            "Manufacturer": "(Standard USB HUBs)",

            "Name": "USB",

            "PhysicalName": ""

        }

    \],

    "resolutions": \[

    \],

    "sensors": \[

    \],

    "valid": \[

        "<b>Camera: </b>ZED Mini",

        "<b>USB Bandwidth: </b> OK",

        "<b>USB Bandwidth: </b> OK"

    \]

},

"Graphics Card": {

    "deviceCount": 1,

    "deviceDriverVersion": 13000,

    "devices": \[

        {

            "arch": "Ampere",

            "computeCapability": "8.6",

            "cores": 2560,

            "name": "NVIDIA GeForce RTX 3050 6GB Laptop GPU",

            "totalMemoryBytes": "6441926656",

            "totalMemoryMB": 6143.5

        }

    \],

    "initResult": 0,

    "valid": \[

        "<b>Graphics card: </b> NVIDIA GeForce RTX 3050 6GB Laptop GPU"

    \]

},

"Processor": {

    "OS": "Windows 10 FallCreators",

    "avxSupported": true,

    "coreCount": "8",

    "cpu": "12th Gen Intel(R) Core(TM) i5-12450HX",

    "datetime": "2025-11-26 13:46:26",

    "hyperThreading": "1",

    "motherboard": ", ",

    "ramCapacity": "23.7811",

    "ramUsage": "0",

    "ramUsed": "7.63828",

    "threadCount": "12",

    "valid": \[

        "<b>Processor: </b> 12th Gen Intel(R) Core(TM) i5-12450HX"

    \]

},

"ZED SDK": {

    "CUDA Toolkit version": "V13.0.88 -->located in C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0/bin/nvcc.exe",

    "CUDA loading": false,

    "ZED SDK Version (Diag)": "5.1.1",

    "ZED SDK Version (RT)": "5.1.1",

    "ai": {

        "checkAI": true,

        "cudaVersion": 13000,

        "tensorVersion": 101303

    },

    "binFiles": \[

        "nvinfer_10.dll",

        "nvinfer_builder_resource_10.dll",

        "nvinfer_plugin_10.dll",

        "nvonnxparser_10.dll",

        "sl_ai64.dll",

        "sl_zed64.dll",

        "zlibwapi.dll"

    \],

    "driverVersion": "581.29",

    "drivervDllVersion": "32.0.15.8129",

    "resourcesFiles": \[

        "neural_depth_5.3.model"

    \],

    "resourcesFilesExpected": \[

        "objects_performance_3.2"

    \],

    "runtimeDllVersion": 13000,

    "valid": \[

        "<b>ZED SDK version:</b> 5.1.1",

        "<b>CUDA version:</b> V13.0.88"

    \]

}

```

}

---

<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:** [November 27, 2025, 1:23pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/4 "2025-11-27T13:23:17Z")

</div>

> [@nehovortake](#):
>
> I’ve tried downloading tensorRT and adding it to path but without success.

This can be the cause of the problem. The ZED SDK installs the required TensorRT libraries.

I recommend you manually install the ZED SDK, CUDA, any installed NVIDIA library, and the GPU driver.  
Then reboot and reinstall the latest GPU driver (not CUDA).  
Finally launch again the ZED SDK installer and let it install CUDA and the NVIDIA libraries.

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 27, 2025, 4:01pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/5 "2025-11-27T16:01:50Z")

</div>

Is this big issue?

 ![image](https://community.stereolabs.com/uploads/default/original/2X/4/4fdb0818446d8cca6f7f59e2813cab021f3b108c.png)

In next window NVIDIA Installer has finished every Component has Status Installed

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 27, 2025, 8:56pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/6 "2025-11-27T20:56:03Z")

</div>

Ive deleted everything, reinstalled zed sdk, got only warning to install CUDA and get this from diagnostic

 ![image](https://community.stereolabs.com/uploads/default/original/2X/a/a1d82783a98ac0d9f3ad9624f088a540bcd6b466.png)

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 27, 2025, 9:40pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/7 "2025-11-27T21:40:55Z")

</div>

Please can you provide me detailed step by step guide as it seems like what Ive installed is still not working. Still got the same error. In this path C:\Program Files\NVIDIA GPU Computing Toolkit are both CUDA and TensorRT-10.14.1.48. Even GPU is updated to latest.

---

<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:** [November 28, 2025, 8:38am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/8 "2025-11-28T08:38:33Z")

</div>

> [@nehovortake](#):
>
> Ive deleted everything, reinstalled zed sdk, got only warning to install CUDA and get this from diagnostic
> 
> ![image](https://community.stereolabs.com/uploads/default/original/2X/a/a1d82783a98ac0d9f3ad9624f088a540bcd6b466.png)

The screenshot only shows that the software is not correctly installed, not why.

Please save the report and share it.

I recommend you read the [ZED Diagnostic documentation](https://www.stereolabs.com/docs/development/zed-tools/zed-diagnostics) and the [Get Started on Windows documentation](https://www.stereolabs.com/docs/development/zed-sdk/windows).

Please also be sure that secure boot is not enabled in the BIOS of your laptop.

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 28, 2025, 8:44am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/9 "2025-11-28T08:44:30Z")

</div>

Once Ive installed CUDA it was ok. Ive tried using GPT in this case and his advice is that for zed sdk 5.x I have to use CUDA 12.x not 13.x and tensorRT 8 not 10. Is this true?

---

<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:** [November 28, 2025, 9:49am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/10 "2025-11-28T09:49:34Z")

</div>

I believe the information on our [Download page](https://www.stereolabs.com/developers/release) is more accurate than that provided by ChatGPT.

TensorRT 8 must be used with old GPU models. You have an “NVIDIA GeForce RTX 3050 6GB Laptop GPU,” which supports CUDA 13 and TensorRT 10.

Have you checked “Secure Boot” as I told you before?

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 28, 2025, 10:22am UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/11 "2025-11-28T10:22:33Z")

</div>

Yes. Still the same problem with tensorRT.

---

<div class="post-metadata">

**Author:** ![nehovortake](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nehovortake/32/5493_2.png) [@nehovortake](https://community.stereolabs.com/u/nehovortake)\
**Post date:** [November 28, 2025, 9:47pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/12 "2025-11-28T21:47:23Z")

</div>

Im clueless. Your advice didnt work, Ive tried Stereocolab assistant to navigate me trough installation process that also didnt work. And finally made sure the paths are correct and still same result.

 ![image](https://community.stereolabs.com/uploads/default/original/2X/5/58c6693114f5a45ee2ee1c98df47c9a42ec38b66.png)

I really need this to work as it is ment for my Diploma thesis. I have everything ready but this camera refuses to work when it comes to neural depth.

---

<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 1, 2025, 1:26pm UTC](https://community.stereolabs.com/t/using-zed-m-in-python/10430/13 "2025-12-01T13:26:00Z")

</div>

Have you tried what’s described in this thread?

> [@Sharing a Solution: ZED Camera Python API Issue with Microsoft Store Python](https://community.stereolabs.com/t/sharing-a-solution-zed-camera-python-api-issue-with-microsoft-store-python/9373):
>
> Hi everyone, I’d like to share a solution I discovered after spending a significant amount of time troubleshooting a persistent issue with the ZED camera Python API. I hope this helps others facing similar problems. For reference, here’s the official installation guide: Background I was preparing for large-scale data collection using ZED cameras as labels, and it was critical to get everything running on a specific laptop. However, I encountered a problem where the skeleton (body tracking) w…
