v2 working
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user