A little bit of preliminary infos. I've installed the v2 sdk and followed the tutorial on how to compile the library for python3 (I'm on python3.7.7, configured for 64bit).
For now I'm able to get the coordinates in the reference frame that the sensor uses for the palm position and that's good, this means that the compiled files works as expected.
Now I'm implementing gesture recognition in one of my projects (swipe in particular) but I've encountered a problem...
It seems that the function
frame.gestures() returns always something even if no gesture is performed (even if no hand is inframe).
An example of the output using
<Leap.GestureList; proxy of <Swig Object of type 'Leap::GestureList *' at 0x0000000003344150> >
I've crosschecked with another pc with python2 and sdk 2 configured and I receive this kind of output only when an actual gesture is performed. It seems that the sensor signals a gesture even if no hand or movement is present...very strange, and nonsense to me.
Have anyone had the same issue as me with Python3? I know that is not natively supported but I really need to stay on P3.
Thanks in advance for the help.