h, w, c = img.shape
try:
for index, landmarks in enumerate(results.pose_landmarks.landmark):
cx = int(results.pose_landmarks.landmark[index].x * w)
cy = int(results.pose_landmarks.landmark[index].y * h)
cz = results.pose_landmarks.landmark[index].z
v = results.pose_landmarks.landmark[index].visibility
print('姿态:x轴', cx, ',y轴', cy, ',z轴', cz, ',置信度', v, end=',')
print('----------姿态-----------\n')
except Exception as e:
pass