Christian Richardt

Results 3 comments of Christian Richardt

> Or using `os` **before** importing `cv2` works > > ```python > os.environ["OPENCV_IO_ENABLE_OPENEXR"]="1" > ``` FYI, this environment variable can also be defined after importing `cv2`, as it is only...

You can use the default values provided by the function (`baseline=1` and `focal=1`), which computes depth as inverse disparity. Please note that the depth has an arbitrary scale. If you...

Your code works fine for me in a fresh shell (Python 3.8.13, OpenCV 4.6.0, Ubuntu). Not sure why it fails for you. Maybe there's an issue with updating the environment...