I’m trying to get the Python example code for stereo disparity provided in the VPI documentation to work, but when I try to run it, I get:
streamLeft = vpi.Stream() TypeError: vpi.Stream: No constructor defined!
Note that this is on line 71 of the provided example code. I tried changing those lines to
streamLeft = vpi.Stream(0)
streamRight = vpi.Stream(1)
in case they needed identifiers, but it still didn’t work. I’m guessing I’m missing something here, or I need to update somehow (I have been using apt to update packages regularly).
I am using the Python 3.6 installation that comes with the NVIDIA Jetson Nano Ubuntu image.
Thanks in advance,