I have been trying the example:
On Windows 10 using my HTC Vive Pro (HVP) and Leap Motion (LM). The LM is on and tracking fine in Unity but when using it via opencv it seems to be grabbing the L/R camera from the HVP. I tried changing the default source to 1 (in leapuvc.py)
So I change the line:
def init(self, source = 1, resolution = (640, 480), timeout=3.0)
But I get
(base) C:\Users\staylor\Documents\Python\leapuvc-master\Python>python minimumExample.py
[ WARN:1] videoio(MSMF): OnReadSample() is called with error status: -1072875772
[ WARN:1] videoio(MSMF): async ReadSample() call is failed with error status: -1072875772
[ WARN:2] videoio(MSMF): can't grab frame. Error: -1072875772
[ WARN:2] videoio(MSMF): can't grab frame. Error: -2147483638
Exiting Leap Image Thread!
[ WARN:0] terminating async callback
Any help would be much appreciated!