NVIDIA-AI-IOT / jetson-stereo-depth

MIT License
79 stars 20 forks source link

error when running depth_vpi.py #3

Open KuvvatGarayev opened 1 year ago

KuvvatGarayev commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Yes, same exact code.

tomasz-lewicki commented 1 year ago

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

KuvvatGarayev commented 1 year ago

JetPack version: 4.6-b197