stereolabs/zed-sdk

Does ZED SDK Python use CUDA or not?

ElliotHYLee opened this issue · 1 comments

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

Does python api actually use CUDA? Any GPU usage in python drops the loop rate to half. ie. 60hz to 30 hz. While c++ code doesn't happen.

excertp from get_python_api.py of 4.1 SDK for u22, jetson, etc.

disp_str = "Detected platform: \n\t " + str(OS_VERSION) + "\n\t Python " + str(PYTHON_MAJOR) + "." + str(PYTHON_MINOR)
disp_str += "\n\t ZED SDK " + str(ZED_SDK_MAJOR) + "." + str(ZED_SDK_MINOR)
print(disp_str)

Steps to Reproduce

  1. Follow your seemingly outdated documentation: https://www.stereolabs.com/docs/app-development/python/install

...

Expected Result

Using depth map with PYthon should not decrease the frame rate 60 hz to 30 hz. Using C++ mem::GPU doesn't have it. I wonder if python API has the capability of it

Actual Result

as least simliar performance

ZED Camera model

ZED

Environment

OS: U22
CUDA:12.1
SDK:4.1

Anything else?

s

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days