v2 working

This commit is contained in:
2025-12-08 20:25:20 +01:00
parent 4943a20c11
commit b84c43a898
20 changed files with 956 additions and 162 deletions

View File

@ -52,7 +52,7 @@ def compare_poses(f1, f2):
def compare_poses_boolean(f1, f2):
l2, cos_sim = compare_poses(f1, f2)
return l2 < 0.7 and cos_sim > 0.90
return l2 < 1.2 and cos_sim > 0.85
def center(keypoints):
mid_hip = (keypoints[11] + keypoints[12]) / 2 # left_hip=11, right_hip=12