ehsanhon commited on
Commit
34a86ff
·
verified ·
1 Parent(s): 4d4ec2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -196,11 +196,9 @@ def calculate_and_display_angles(image1, return_angles=False):
196
  # Get pose landmarks
197
  results = pose.process(image_rgb)
198
 
 
 
199
  if results.pose_landmarks:
200
- # landmarks = results.pose_landmarks
201
- ########
202
- return 'hi'
203
-
204
  ang , locs = calculate_angles_landmarks(results.pose_landmarks)
205
 
206
  #if only angles needed
 
196
  # Get pose landmarks
197
  results = pose.process(image_rgb)
198
 
199
+ return 'hi'
200
+
201
  if results.pose_landmarks:
 
 
 
 
202
  ang , locs = calculate_angles_landmarks(results.pose_landmarks)
203
 
204
  #if only angles needed