Chayanat commited on
Commit
1ece780
·
verified ·
1 Parent(s): b23b87f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def drawOnTop(img, landmarks, original_shape):
108
  image = cv2.line(image, (int(rl_top[0]), int(rl_top[1])), (int(ll_top[0]), int(ll_top[1])), (0, 1, 0), 1)
109
 
110
  # Add tilt angle text
111
- tilt_text = f"Tilt: {tilt_angle:.1f}°"
112
  cv2.putText(image, tilt_text, (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 1, 0), 2)
113
 
114
  # Correct landmarks for tilt
 
108
  image = cv2.line(image, (int(rl_top[0]), int(rl_top[1])), (int(ll_top[0]), int(ll_top[1])), (0, 1, 0), 1)
109
 
110
  # Add tilt angle text
111
+ tilt_text = f"Tilt: {tilt_angle:.1f} degrees"
112
  cv2.putText(image, tilt_text, (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 1, 0), 2)
113
 
114
  # Correct landmarks for tilt