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

error when running depth_vpi.py #3

Open
KuvvatGarayev opened this issue Jul 27, 2023 · 4 comments
Open

error when running depth_vpi.py #3

KuvvatGarayev opened this issue Jul 27, 2023 · 4 comments

Comments

@KuvvatGarayev
Copy link

I was able to follow the steps until depth_vpi.py where when I run python3 depth_vpi.py I get below error:
Reading camera calibration...

Traceback (most recent call last):

File "depth_vpi.py", line 229, in

depth = Depth()

File "depth_vpi.py", line 19, in init

self._cam_r = CameraThread(0)

File "depth_vpi.py", line 196, in init

self._camera = Camera(sensor_id)

TypeError: init() takes 1 positional argument but 2 were given

@tomasz-lewicki
Copy link
Contributor

tomasz-lewicki commented Jul 28, 2023

Are you running the exact same code in https://github.com/NVIDIA-AI-IOT/jetson-stereo-depth/blob/master/depth_pipeline_python/depth_vpi.py or did you modify it somehow?

Is it possible that you're overriding the Camera class somewhere?

@KuvvatGarayev
Copy link
Author

Yes, same exact code.

@tomasz-lewicki
Copy link
Contributor

tomasz-lewicki commented Jul 31, 2023

I will try to reproduce that error today in hardware. What JetPack version are you running?

@KuvvatGarayev
Copy link
Author

JetPack version: 4.6-b197

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

No branches or pull requests

2 participants