BSuruchi commited on
Commit
d20c619
1 Parent(s): 847126a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def calculateAngle(landmark1, landmark2, landmark3):
37
 
38
  # Calculate the angle between the three points
39
  angle = math.degrees(math.atan2(y3 - y2, x3 - x2) - math.atan2(y1 - y2, x1 - x2))
40
- angle = abs(angle) # Convert the angle to an absolute value.
41
 
42
 
43
  # Check if the angle is less than zero.
 
37
 
38
  # Calculate the angle between the three points
39
  angle = math.degrees(math.atan2(y3 - y2, x3 - x2) - math.atan2(y1 - y2, x1 - x2))
40
+ # angle = abs(angle) # Convert the angle to an absolute value.
41
 
42
 
43
  # Check if the angle is less than zero.