This sounds insane, but I'm unable to detect the right leg with the vision framework.
import Vision
let rightLeg = try observation.recognizedPoints(.rightLeg)
print(rightLeg)
The result is:
[C.VNHumanBodyPoseObservationJointName(_rawValue: left_foot_joint): [0.000000; 1.000000], C.VNHumanBodyPoseObservationJointName(_rawValue: left_leg_joint): [0.751968; 0.281050], __C.VNHumanBodyPoseObservationJointName(_rawValue: left_upLeg_joint): [0.767090; 0.715324]]
As you can see, it seems to be tracking the left leg. This is similar to the result if I change the groupName value to .leftLeg.
.leftArm & .rightArm work as expected as well. Only .rightLeg is not working.
I've tested detection on several people with the same results.
How is this possible?