Body tracking resolution troubleshoot

Good evening

I’m currently running the “body tracking” python code on my Laptop but when the 2D viewer opens the image is zoomed in to the max and when i check the prompted error it states “Resolution not callable”.

Yet when I open the ZED Explorer the displayed video has no problems at all so I’m at a complete loss

Also when i try to run the same code in a PC everything goes all right.

Any help would be appreciated

Thanks in advance

Hello and thank you for reaching us out,

I’ll need a little more information to help you. Can you run Zed Diagnostics from your laptop? It may not be compatible with our SDK.
ZED Explorer is a little different than other applications, as it does not use the SDK. This was done enable a few features (SVO recording for example) on non CUDA compatible devices. What happens if you run ZED Depth Viewer, which uses the SDK?

Best regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

This is what I get

“AI Models”: {
“info”: [
“MULTI CLASS MEDIUM DETECTION is not optimized”,
“MULTI CLASS ACCURATE DETECTION is not optimized”,
“HUMAN BODY MEDIUM DETECTION is not optimized”,
“PERSON HEAD DETECTION is not optimized”,
“REID ASSOCIATION is not optimized”,
“NEURAL DEPTH is not optimized”
],
“valid”: [
“MULTI CLASS DETECTION is optimized”,
“HUMAN BODY FAST DETECTION is optimized”,
“HUMAN BODY ACCURATE DETECTION is optimized”
]
},
“Camera Test”: {
“InternalDevicesCount”: 2,
“ZEDCount”: 1,
“camera”: {
“Device ID”: 0,
“Firmware”: 1523,
“Init Output”: “OK”,
“Model”: “ZED 2i”,
“Serial Number”: 31987317,
“valid”: [
Camera: ZED 2i”,
Firmware: 1523”
]
},
“resolutions”: {
“HD1080@15”: {
“fps (input)”: 15,
“fps (output)”: 15,
“height (input)”: 1080,
“height (output)”: 1080,
“initialization”: “OK”,
“status”: true,
“width (input)”: 1920,
“width (output)”: 1920
},
“HD1080@30”: {
“fps (input)”: 30,
“fps (output)”: 30,
“height (input)”: 1080,
“height (output)”: 1080,
“initialization”: “OK”,
“status”: true,
“width (input)”: 1920,
“width (output)”: 1920
},
“HD2K@15”: {
“fps (input)”: 15,
“fps (output)”: 15,
“height (input)”: 1242,
“height (output)”: 1242,
“initialization”: “OK”,
“status”: true,
“width (input)”: 2208,
“width (output)”: 2208
},
“HD720@15”: {
“fps (input)”: 15,
“fps (output)”: 15,
“height (input)”: 720,
“height (output)”: 720,
“initialization”: “OK”,
“status”: true,
“width (input)”: 1280,
“width (output)”: 1280
},
“HD720@30”: {
“fps (input)”: 30,
“fps (output)”: 30,
“height (input)”: 720,
“height (output)”: 720,
“initialization”: “OK”,
“status”: true,
“width (input)”: 1280,
“width (output)”: 1280
},
“HD720@60”: {
“dropCount”: 2,
“fps (input)”: 60,
“fps (output)”: 60,
“height (input)”: 720,
“height (output)”: 720,
“imageCount”: 498,
“initialization”: “OK”,
“status”: true,
“tearingCount”: 0,
“width (input)”: 1280,
“width (output)”: 1280
},
“VGA@100”: {
“fps (input)”: 100,
“fps (output)”: 97,
“height (input)”: 376,
“height (output)”: 376,
“initialization”: “OK”,
“status”: true,
“width (input)”: 672,
“width (output)”: 672
},
“VGA@15”: {
“fps (input)”: 15,
“fps (output)”: 15,
“height (input)”: 376,
“height (output)”: 376,
“initialization”: “OK”,
“status”: true,
“width (input)”: 672,
“width (output)”: 672
},
“VGA@30”: {
“fps (input)”: 30,
“fps (output)”: 30,
“height (input)”: 376,
“height (output)”: 376,
“initialization”: “OK”,
“status”: true,
“width (input)”: 672,
“width (output)”: 672
},
“VGA@60”: {
“fps (input)”: 60,
“fps (output)”: 59,
“height (input)”: 376,
“height (output)”: 376,
“initialization”: “OK”,
“status”: true,
“width (input)”: 672,
“width (output)”: 672
}
},
“sensors”: {
“Firmware”: 777,
“Init Output”: “OK”,
“Model”: “ZED 2i (MCU)”,
“Serial Number”: 31987317
}
},
“Graphics Card”: {
“deviceCount”: 1,
“deviceDriverVersion”: 11070,
“devices”: [
{
“arch”: “Ampere”,
“computeCapability”: “8.6”,
“cores”: 2560,
“name”: “NVIDIA GeForce RTX 3050 Ti Laptop GPU”,
“totalMemoryBytes”: “4294443008”,
“totalMemoryMB”: 4095.5
}
],
“initResult”: 0,
“valid”: [
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU”
]
},
“Processor”: {
“OS”: “Windows 10 FallCreators”,
“avxSupported”: true,
“coreCount”: “8”,
“cpu”: "AMD Ryzen 9 5900HS with Radeon Graphics ",
“datetime”: “2022-06-23 18:02:39”,
“hyperThreading”: “1”,
“motherboard”: “GA401QE, ASUSTeK COMPUTER INC.”,
“ramCapacity”: “15.4067”,
“ramUsage”: “8.9336e-312”,
“ramUsed”: “7.72591”,
“threadCount”: “16”,
“valid”: [
"Processor: AMD Ryzen 9 5900HS with Radeon Graphics ",
Motherboard: GA401QE, ASUSTeK COMPUTER INC.”
]
},
“USB”: {
“ASMediaFound”: false,
“CorruptedFirmware”: false,
“MCUDetected”: true,
“OC_Cam_Detected”: false,
“OtherUSBDevices”: [
],
“USBList”: [
{
“USB_path”: “/3”,
“idProduct”: “0x19b6”,
“idVendor”: “0x0b05”
},
{
“USB_path”: “/3”,
“idProduct”: “0x19b6”,
“idVendor”: “0x0b05”
},
{
“USBMode”: 3,
“USB_path”: “/6”,
“bDescriptorType”: 1,
“bDeviceProtocol”: 1,
“bLength”: 18,
“bMaxPacketSize0”: 9,
“bNumConfigurations”: 1,
“bcdDevice”: “1.0”,
“bcdUSB”: “3.0”,
“bcdUSBClass”: 239,
“bcdUSBSubClass”: 2,
“busNumber”: 2,
“device”: “ZED2i”,
“iManufacturer”: 1,
“iProduct”: 2,
“iSerial”: 4,
“idProduct”: “0xf880”,
“idVendor”: “0x2b03”
},
{
“USB_path”: “/2”,
“idProduct”: “0x2512”,
“idVendor”: “0x0424”
},
{
“USB_path”: “/1”,
“idProduct”: “0x0084”,
“idVendor”: “0x1532”
},
{
“USB_path”: “/4”,
“idProduct”: “0x3563”,
“idVendor”: “0x13d3”
},
{
“USB_path”: “/3”,
“idProduct”: “0x521d”,
“idVendor”: “0x27c6”
},
{
“USBMode”: 2,
“USB_path”: “/2/2”,
“bDescriptorType”: 1,
“bDeviceProtocol”: 0,
“bLength”: 18,
“bMaxPacketSize0”: 64,
“bNumConfigurations”: 1,
“bcdDevice”: “3.9”,
“bcdUSB”: “2.0”,
“bcdUSBClass”: 0,
“bcdUSBSubClass”: 0,
“busNumber”: 2,
“device”: “ZED2i MCU”,
“iManufacturer”: 1,
“iProduct”: 2,
“iSerial”: 3,
“idProduct”: “0xf881”,
“idVendor”: “0x2b03”
}
],
“USBMode”: 3,
“ZED Camera Module Detected”: 63616,
“ZED MCU Module Detected”: 63617,
“ZEDDetected”: true,
“captureDevices”: [
],
“controllers”: [
{
“CompatibleIDs”: “PCI\VEN_1022&DEV_1639&REV_00”,
“Description”: “Controladora de host USB gen�rico compatible con xHCI”,
“DeviceName”: “Controlador de host eXtensible AMD USB 3.10 - 1.10 (Microsoft)”,
“Driver”: “{36fc9e60-c465-11cf-8056-444553540000}\0000”,
“Location”: “Bus PCI 4, dispositivo 0, funci�n 3”,
“Manufacturer”: “Controladora de host USB gen�rico xHCI”,
“Name”: “PCI”,
“PhysicalName”: “\Device\NTPNP_PCI0024”
},
{
“CompatibleIDs”: “”,
“Description”: “Concentrador ra�z USB (USB 3.0)”,
“DeviceName”: “”,
“Driver”: “{36fc9e60-c465-11cf-8056-444553540000}\0003”,
“Location”: “”,
“Manufacturer”: “(Concentradores USB est�ndar)”,
“Name”: “USB”,
“PhysicalName”: “\Device\USBPDO-0”
},
{
“CompatibleIDs”: “USB\USB20_HUB”,
“Description”: “Concentrador USB gen�rico”,
“DeviceName”: “”,
“Driver”: “{36fc9e60-c465-11cf-8056-444553540000}\0013”,
“Location”: “Port_#0001.Hub_#0002”,
“Manufacturer”: “(Concentradores USB est�ndar)”,
“Name”: “USB”,
“PhysicalName”: “”
}
],
“valid”: [
USB Bandwidth: OK”
]
},
“ZED SDK”: {
“CUDA Toolkit version”: “V11.5.119 -->located in C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin/nvcc.exe”,
“CUDA loading”: false,
“CUDA_reachable”: true,
“ZED SDK Version (Diag)”: “3.7.4”,
“ZED SDK Version (RT)”: “3.7.4”,
“ai”: {
“checkAI”: true,
“cudaVersion”: 11050,
“cudnnCudartVersion”: 11030,
“cudnnVersion”: 8201,
“cudnnVersionExpected”: 8201,
“tensorVersion”: 8201
},
“binFiles”: [
“cudnn64_8.dll”,
“cudnn_adv_infer64_8.dll”,
“cudnn_adv_train64_8.dll”,
“cudnn_cnn_infer64_8.dll”,
“cudnn_cnn_train64_8.dll”,
“cudnn_ops_infer64_8.dll”,
“cudnn_ops_train64_8.dll”,
“nvinfer.dll”,
“nvinfer_builder_resource.dll”,
“nvinfer_plugin.dll”,
“nvonnxparser.dll”,
“nvparsers.dll”,
“sl_ai64.dll”,
“sl_zed64.dll”
],
“driverVersion”: “516.40”,
“drivervDllVersion”: “31.0.15.1640”,
“resourcesFiles”: [
“objects_performance_2.1.model”,
“objects_performance_2.1.model_optimized-ebgbw-1-86-11050-8201-8201-5-128-2048-48-100-512-20-0”,
“skeleton_accurate_2.0.model”,
“skeleton_accurate_2.0.model_optimized-aaabw-1-86-11050-8201-8201-5-128-2048-48-100-512-20-0”,
“skeleton_performance_2.1.model”,
“skeleton_performance_2.1.model_optimized-aaabw-1-86-11050-8201-8201”,
“skeleton_performance_2.1.model_optimized-aaabw-1-86-11050-8201-8201-5-128-2048-48-100-512-20-0”
],
“resourcesFilesExpected”: [
“objects_performance_2.1”
],
“runtimeDllVersion”: 11050,
“valid”: [
ZED SDK version: 3.7.4”,
CUDA version: V11.5.119”
]
}
}

And when I run the Depth viewer it opens without any problems at all

Thank you for your reply

Hello again,

Your setup seems allright. If Depth Viewer runs, it’s even better.
Can you investigate the error by telling me at which line this happens, and the exact error message? You can either run the debugging, or add some logs (print("I'm here") to do that.
I could not find this error message in our code, but it does not come from nowhere.

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support