[iOS 14 Beta 5] Some issues with the hand tracking API in the Vision Framework.

I was trying to use the demo app showcased in WWDC20 and I've noticed it's not working very well because of API changes. It didn't draw points when I pinched my index and thumb.

After I debugged the sample app a bit, I noticed that some raw values are mismatched.

(lldb) po VNRecognizedPointKey.handLandmarkKeyThumbTIP.rawValue
"VNHLKTTIP"

(lldb) po point.key.rawValue
"VNHLKTTip"

Notice the raw values, one is full upper case, the other has lower case characters at the end.

Another issue I've noticed is that asking for the index group actually gave me the locations for the middle finger group. I'm talking about handLandmarkRegionKeyMiddleFinger and handLandmarkRegionKeyIndexFinger.

With those issues fixed, the hand tracking in the Vision framework works really nicely.
These issues should be fixed in the latest beta release.
[iOS 14 Beta 5] Some issues with the hand tracking API in the Vision Framework.
 
 
Q