leapuvc icon indicating copy to clipboard operation
leapuvc copied to clipboard

stereoExample.py and "Rectify" in cameraControlExample.py both only produce black image

Open Lissanro opened this issue 4 years ago • 3 comments

This happens in Windows and Linux, with both retail Leap Motion and DevKit units. If "Rectify" is off, then cameraControlExample.py works perfectly for me. As soon as I enable "Rectify", I get only black frames. This is the reason why stereoExample.py does not work either - it uses image rectification. I'm using Python 3.8.6 and opencv-python 4.4.0.44. I also tried opencv-python 3.4.11.43 (latest 3.4 release) but the result is the same - "Rectify" just makes everything black.

Any ideas how to fix this?

Lissanro avatar Oct 30 '20 12:10 Lissanro

Hi, I tested cameraControlExample.py. I got the same issue. Black images are shown if I set the Rectify option to 1.

gruossomonica avatar Feb 16 '21 10:02 gruossomonica

Has anyone found a solution to this?

80sVectorz avatar May 19 '24 15:05 80sVectorz

Found a solution: https://github.com/leapmotion/leapuvc/issues/16#issuecomment-709424172

80sVectorz avatar May 19 '24 16:05 80sVectorz