Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'pyzed.sl' has no attribute 'CameraOne', when running zed one/python/svo_playback.py #670

Open
2 tasks done
1158191255 opened this issue Jan 8, 2025 · 1 comment
Open
2 tasks done

Comments

@1158191255
Copy link

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

When I run zed one/python/svo_playback.py, there aren't Class CameraOne and InitParametersOne in pyzed. I can't find them in https://www.stereolabs.com/docs/api/python too. They can only be found in C++ API. I have installed SDK 4.2.2 and run codes about stereo camera successfully. It just don't work about Zed X One in python.

Steps to Reproduce

  1. Install SDK 4.2.2
  2. run zed one/python/svo_playback.py

...

Expected Result

Success

Actual Result

AttributeError: module 'pyzed.sl' has no attribute 'CameraOne'. Did you mean: 'Camera'?

ZED Camera model

ZED

Environment

OS: Windows 11
CPU: 12th Gen Intel(R) Core(TM) i7-12700F
GPU: NVIDIA GeForce RTX 3060
ZED SDK version: v4.2.2
Other info:

Anything else?

No response

@1158191255
Copy link
Author

I try to run the svo_playback.cpp in Linux. (because the Cmake file say 'ZED One is not yet supported on windows.') But there is still a bug. The method 'grab()' don't grab the latest images from svo2 file. When I run the method first, it return ERROR_CODE::SUCCESS and method 'getSVOPostion()' return 1, this result is correct. But when I run it second time, method 'grab()' return 'END OF SVO FILE REACHED'. That's wrong. My svo2 file has 212 frames. Why method return wrong result when I just run it twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant